@magic-sdk/react-native-expo 18.5.0 → 19.0.0-canary.516.5326098666.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +4 -1
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -9,6 +9,9 @@
9
9
  <a href="https://github.com/magiclabs/magic-js/blob/master/CONTRIBUTING.md">Contributing Guide</a>
10
10
  </p>
11
11
 
12
+ ## ⚠️ Removal of `loginWithMagicLink()` ⚠️
13
+ As of `v19.0.0`, passcodes (ie. `loginWithSMS()`, `loginWithEmailOTP()`) are replacing Magic Links (ie. `loginWithMagicLink()`) for all of our Mobile SDKs⁠. [Learn more](https://magic.link/docs/auth/login-methods/email/email-link-update-march-2023)
14
+
12
15
  ## 📖 Documentation
13
16
 
14
17
  See the [developer documentation](https://magic.link/docs) to learn how you can master the Magic SDK in a matter of minutes.
@@ -52,7 +55,7 @@
52
55
  </>
53
56
  }
54
57
  // Somewhere else in your code...
55
- await magic.auth.loginWithMagicLink({ email: 'your.email@example.com' });
58
+ await magic.auth.loginWithEmailOTP({ email: 'your.email@example.com' });
56
59
  ```
57
60
  ⁠⁠👉 Check out some of our [React Native Demo apps](https://github.com/magiclabs/react-native-demo) for inspiration! 👀
58
61
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@magic-sdk/react-native-expo",
3
- "version": "18.5.0",
3
+ "version": "19.0.0-canary.516.5326098666.0",
4
4
  "description": "Passwordless authentication for React Native (Expo).",
5
5
  "author": "Magic Labs <team@magic.link> (https://magic.link/)",
6
6
  "license": "MIT",
@@ -18,8 +18,8 @@
18
18
  "types": "./dist/types/index.d.ts",
19
19
  "dependencies": {
20
20
  "@aveq-research/localforage-asyncstorage-driver": "^3.0.1",
21
- "@magic-sdk/commons": "^13.4.0",
22
- "@magic-sdk/provider": "^17.4.0",
21
+ "@magic-sdk/commons": "14.0.0-canary.516.5326098666.0",
22
+ "@magic-sdk/provider": "18.0.0-canary.516.5326098666.0",
23
23
  "@magic-sdk/types": "^15.4.0",
24
24
  "@react-native-async-storage/async-storage": "^1.15.5",
25
25
  "@types/lodash": "^4.14.158",
@@ -50,5 +50,5 @@
50
50
  "react-native-safe-area-context": ">=4.4.1",
51
51
  "react-native-webview": ">=11.0.0"
52
52
  },
53
- "gitHead": "a96da1aa7897174c39a1603818b1bd94c259a65f"
53
+ "gitHead": "085178b6bb373171fcc3c46c2e298d96ec4ef6d7"
54
54
  }