@magic-sdk/react-native-bare 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
@@ -10,6 +10,9 @@
10
10
  <a href="https://github.com/magiclabs/magic-js/blob/master/CONTRIBUTING.md">Contributing Guide</a>
11
11
  </p>
12
12
 
13
+ ## ⚠️ Removal of `loginWithMagicLink()` ⚠️
14
+ 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)
15
+
13
16
  ## 📖 Documentation
14
17
 
15
18
  See the [developer documentation](https://magic.link/docs) to learn how you can master the Magic SDK in a matter of minutes.
@@ -56,7 +59,7 @@ export default function App() {
56
59
  }
57
60
 
58
61
  // Somewhere else in your code...
59
- await magic.auth.loginWithMagicLink({ email: 'your.email@example.com' });
62
+ await magic.auth.loginWithEmailOTP({ email: 'your.email@example.com' });
60
63
  ```
61
64
  ⁠⁠👉 Check out some of our [React Native Demo apps](https://github.com/magiclabs/react-native-demo) for inspiration! 👀
62
65
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@magic-sdk/react-native-bare",
3
- "version": "18.5.0",
3
+ "version": "19.0.0-canary.516.5326098666.0",
4
4
  "description": "Passwordless authentication for React Native (Bare).",
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",
@@ -52,5 +52,5 @@
52
52
  "react-native-safe-area-context": ">=4.4.1",
53
53
  "react-native-webview": ">=11.0.0"
54
54
  },
55
- "gitHead": "a96da1aa7897174c39a1603818b1bd94c259a65f"
55
+ "gitHead": "085178b6bb373171fcc3c46c2e298d96ec4ef6d7"
56
56
  }