@magic-sdk/react-native-expo 22.3.0-canary.665.6909142870.0 → 22.3.0-canary.665.6934462457.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 +3 -3
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -77,12 +77,12 @@ When attempting to import `Magic`, take note that the React Native metro bundler
77
77
  For this issue consider using Microsoft's [rnx-kit](https://microsoft.github.io/rnx-kit/docs/guides/bundling) suite of tools that include a plugin for metro that fixes this symlink related error.
78
78
 
79
79
  ### Handling internet connection problems
80
- When an app is opened without internet connection, any request to the Magic SDK will result in a rejection with the following error:
80
+ When an app is opened without internet connection, any request to the Magic SDK will result in a rejection with a `MagicSDKError`:
81
81
 
82
82
  ```json
83
83
  {
84
- "code": -32603,
85
- "message": "Connection to Magic SDK not ready. Please check your internet connection."
84
+ "code": "MODAL_NOT_READY",
85
+ "rawMessage": "Modal is not ready."
86
86
  }
87
87
  ```
88
88
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@magic-sdk/react-native-expo",
3
- "version": "22.3.0-canary.665.6909142870.0",
3
+ "version": "22.3.0-canary.665.6934462457.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": "17.3.0-canary.665.6909142870.0",
22
- "@magic-sdk/provider": "21.3.0-canary.665.6909142870.0",
21
+ "@magic-sdk/commons": "17.3.0-canary.665.6934462457.0",
22
+ "@magic-sdk/provider": "21.3.0-canary.665.6934462457.0",
23
23
  "@magic-sdk/types": "^17.2.0",
24
24
  "@react-native-async-storage/async-storage": "^1.15.5",
25
25
  "@types/lodash": "^4.14.158",
@@ -54,5 +54,5 @@
54
54
  "react-native-safe-area-context": ">=4.4.1",
55
55
  "react-native-webview": ">=12.4.0"
56
56
  },
57
- "gitHead": "532b52e8d65684145742c7d9175784868b92052a"
57
+ "gitHead": "d60013e2446cda47f0d96239cf09fc6a128782a3"
58
58
  }