@magic-sdk/provider 32.0.0 → 32.0.1-canary.9adf27d.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.
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/es/index.js +1 -1
- package/dist/es/index.js.map +1 -1
- package/dist/es/index.mjs +1 -1
- package/dist/es/index.mjs.map +1 -1
- package/dist/types/modules/auth.d.ts +3 -2
- package/package.json +2 -2
|
@@ -30,7 +30,7 @@ export declare class AuthModule extends BaseModule {
|
|
|
30
30
|
}>;
|
|
31
31
|
/**
|
|
32
32
|
* Initiate an SMS login flow for a user. If successful,
|
|
33
|
-
* this method will return a
|
|
33
|
+
* this method will return a Decentralized ID token (with a default lifespan
|
|
34
34
|
* of 15 minutes)
|
|
35
35
|
*/
|
|
36
36
|
loginWithSMS(configuration: LoginWithSmsConfiguration): import("..").PromiEvent<string | null, {
|
|
@@ -54,7 +54,7 @@ export declare class AuthModule extends BaseModule {
|
|
|
54
54
|
}>;
|
|
55
55
|
/**
|
|
56
56
|
* Initiate an Email with OTP login flow for a user. If successful,
|
|
57
|
-
* this method will return a
|
|
57
|
+
* this method will return a Decentralized ID token (with a default lifespan
|
|
58
58
|
* of 15 minutes)
|
|
59
59
|
*/
|
|
60
60
|
loginWithEmailOTP(configuration: LoginWithEmailOTPConfiguration): import("..").PromiEvent<string | null, {
|
|
@@ -67,6 +67,7 @@ export declare class AuthModule extends BaseModule {
|
|
|
67
67
|
"recovery-code-sent-handle": () => void;
|
|
68
68
|
"invalid-recovery-code": () => void;
|
|
69
69
|
"recovery-code-success": () => void;
|
|
70
|
+
"max-attempts-reached": () => void;
|
|
70
71
|
"Auth/id-token-created": (idToken: string) => void;
|
|
71
72
|
"Wallet/wallet-info-fetched": () => void;
|
|
72
73
|
"verify-email-otp": (otp: string) => void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@magic-sdk/provider",
|
|
3
|
-
"version": "32.0.0",
|
|
3
|
+
"version": "32.0.1-canary.9adf27d.0",
|
|
4
4
|
"description": "Core business logic for Magic SDK packages.",
|
|
5
5
|
"author": "Magic Labs <team@magic.link> (https://magic.link/)",
|
|
6
6
|
"license": "MIT",
|
|
@@ -38,5 +38,5 @@
|
|
|
38
38
|
"peerDependencies": {
|
|
39
39
|
"localforage": "^1.7.4"
|
|
40
40
|
},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "9adf27de54e6d17cd518e3bcab3f3aaafaf16ce9"
|
|
42
42
|
}
|