@authorizerdev/authorizer-js 1.1.2-beta.0 → 1.1.2
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/lib/cjs/types.d.ts +2 -0
- package/lib/esm/types.d.ts +2 -0
- package/package.json +1 -1
- package/src/types.ts +2 -2
package/lib/cjs/types.d.ts
CHANGED
|
@@ -71,10 +71,12 @@ export declare type MagicLinkLoginInput = {
|
|
|
71
71
|
};
|
|
72
72
|
export declare type VerifyEmailInput = {
|
|
73
73
|
token: string;
|
|
74
|
+
state?: string;
|
|
74
75
|
};
|
|
75
76
|
export declare type VerifyOtpInput = {
|
|
76
77
|
email: string;
|
|
77
78
|
otp: string;
|
|
79
|
+
state?: string;
|
|
78
80
|
};
|
|
79
81
|
export declare type ResendOtpInput = {
|
|
80
82
|
email: string;
|
package/lib/esm/types.d.ts
CHANGED
|
@@ -71,10 +71,12 @@ export declare type MagicLinkLoginInput = {
|
|
|
71
71
|
};
|
|
72
72
|
export declare type VerifyEmailInput = {
|
|
73
73
|
token: string;
|
|
74
|
+
state?: string;
|
|
74
75
|
};
|
|
75
76
|
export declare type VerifyOtpInput = {
|
|
76
77
|
email: string;
|
|
77
78
|
otp: string;
|
|
79
|
+
state?: string;
|
|
78
80
|
};
|
|
79
81
|
export declare type ResendOtpInput = {
|
|
80
82
|
email: string;
|
package/package.json
CHANGED
package/src/types.ts
CHANGED
|
@@ -77,9 +77,9 @@ export type MagicLinkLoginInput = {
|
|
|
77
77
|
redirect_uri?: string;
|
|
78
78
|
};
|
|
79
79
|
|
|
80
|
-
export type VerifyEmailInput = { token: string };
|
|
80
|
+
export type VerifyEmailInput = { token: string; state?: string };
|
|
81
81
|
|
|
82
|
-
export type VerifyOtpInput = { email: string; otp: string };
|
|
82
|
+
export type VerifyOtpInput = { email: string; otp: string; state?: string };
|
|
83
83
|
|
|
84
84
|
export type ResendOtpInput = { email: string };
|
|
85
85
|
|