From 060f64e7af817225f4e3c9427ab5eed893bb0971 Mon Sep 17 00:00:00 2001 From: Zetonia <80185221+Zetonia@users.noreply.github.com> Date: Sat, 3 Sep 2022 16:40:58 +0100 Subject: [PATCH] Update README.md --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 66a4bf9e..082fb89c 100644 --- a/README.md +++ b/README.md @@ -78,3 +78,10 @@ Moralis.setAsyncStorage(AsyncStorage); Typescript types are supported out-of-the box. The types are defined in `/types`. These are updated with every release. + +## Migration from v1. +If you have already been using moralis version 1 and would like to continue to use this version without migrating to v2 the easiest **non-breaking** way to continue to use it is to update your `package.json` file with the following which will allow you to continue using the default `moralis` import without having to change your codebase to use `moralis-v1` everywhere. + +``` +"moralis": "npm:moralis-v1@^1.xx.x" (where xx.xx is the version you would like) +```