@magic-sdk/provider 18.6.0 → 18.6.1-canary.596.5674472989.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.
@@ -1,4 +1,4 @@
1
- import { LoginWithMagicLinkConfiguration, LoginWithSmsConfiguration, LoginWithEmailOTPConfiguration, LoginWithEmailOTPEvents, LoginWithMagicLinkEvents, UpdateEmailConfiguration } from '@magic-sdk/types';
1
+ import { LoginWithMagicLinkConfiguration, LoginWithSmsConfiguration, LoginWithEmailOTPConfiguration, UpdateEmailConfiguration } from '@magic-sdk/types';
2
2
  import { BaseModule } from './base-module';
3
3
  import { UpdateEmailEvents } from './user';
4
4
  export declare const ProductConsolidationMethodRemovalVersions: {
@@ -13,7 +13,11 @@ export declare class AuthModule extends BaseModule {
13
13
  * this method will return a Decentralized ID token (with a default lifespan
14
14
  * of 15 minutes).
15
15
  */
16
- loginWithMagicLink(configuration: LoginWithMagicLinkConfiguration): import("..").PromiEvent<string | null, LoginWithMagicLinkEvents & {
16
+ loginWithMagicLink(configuration: LoginWithMagicLinkConfiguration): import("..").PromiEvent<string | null, {
17
+ 'email-sent': () => void;
18
+ 'email-not-deliverable': () => void;
19
+ retry: () => void;
20
+ } & import("@magic-sdk/types").DeviceVerificationEvents & {
17
21
  done: (result: string | null) => void;
18
22
  error: (reason: any) => void;
19
23
  settled: () => void;
@@ -33,7 +37,12 @@ export declare class AuthModule extends BaseModule {
33
37
  * this method will return a Decenteralized ID token (with a default lifespan
34
38
  * of 15 minutes)
35
39
  */
36
- loginWithEmailOTP(configuration: LoginWithEmailOTPConfiguration): import("..").PromiEvent<string | null, LoginWithEmailOTPEvents & {
40
+ loginWithEmailOTP(configuration: LoginWithEmailOTPConfiguration): import("..").PromiEvent<string | null, {
41
+ 'email-otp-sent': () => void;
42
+ 'invalid-email-otp': () => void;
43
+ 'verify-email-otp': (otp: string) => void;
44
+ cancel: () => void;
45
+ } & import("@magic-sdk/types").DeviceVerificationEvents & {
37
46
  done: (result: string | null) => void;
38
47
  error: (reason: any) => void;
39
48
  settled: () => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@magic-sdk/provider",
3
- "version": "18.6.0",
3
+ "version": "18.6.1-canary.596.5674472989.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",
@@ -35,12 +35,12 @@
35
35
  "tslib": "^2.3.1"
36
36
  },
37
37
  "dependencies": {
38
- "@magic-sdk/types": "^15.8.0",
38
+ "@magic-sdk/types": "15.8.1-canary.596.5674472989.0",
39
39
  "eventemitter3": "^4.0.4",
40
40
  "web3-core": "1.5.2"
41
41
  },
42
42
  "peerDependencies": {
43
43
  "localforage": "^1.7.4"
44
44
  },
45
- "gitHead": "6013a775b3be92cf98a0eb2cfb36805702ee89e7"
45
+ "gitHead": "133c147f5f0be3882378d6c1e6bcd605b4999ae2"
46
46
  }