postex-auth-sdk-stage 1.0.3 → 1.1.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/auth.d.ts +8 -0
- package/dist/postex-auth-sdk-stage.es.js +189 -149
- package/dist/postex-auth-sdk-stage.es.js.map +1 -1
- package/dist/postex-auth-sdk-stage.iife.js +1 -1
- package/dist/postex-auth-sdk-stage.iife.js.map +1 -1
- package/dist/postex-auth-sdk-stage.umd.js +1 -1
- package/dist/postex-auth-sdk-stage.umd.js.map +1 -1
- package/package.json +1 -4
package/dist/auth.d.ts
CHANGED
|
@@ -119,6 +119,14 @@ export declare class AuthSDK {
|
|
|
119
119
|
* Stores tokens from the response.
|
|
120
120
|
*/
|
|
121
121
|
verifyOTP(otp: string): Promise<OTPVerifyResponse>;
|
|
122
|
+
/**
|
|
123
|
+
* POST /resend - Resend OTP code to the user's email.
|
|
124
|
+
* No payload required, relies on auth_session cookie.
|
|
125
|
+
*/
|
|
126
|
+
resendOTP(): Promise<{
|
|
127
|
+
success: boolean;
|
|
128
|
+
message?: string;
|
|
129
|
+
}>;
|
|
122
130
|
/**
|
|
123
131
|
* GET /magic-link - Verify a magic link token.
|
|
124
132
|
* Sets auth_session cookie on success.
|