@ollaid/native-sso 2.7.4 → 2.7.6
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/components/LoginModal.d.ts +2 -1
- package/dist/components/SignupModal.d.ts +2 -1
- package/dist/components/ui.d.ts +1 -0
- package/dist/hooks/useMobileRegistration.d.ts +8 -0
- package/dist/hooks/useNativeAuth.d.ts +6 -0
- package/dist/index.cjs +188 -39
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +188 -39
- package/dist/index.js.map +1 -1
- package/dist/types/mobile.d.ts +2 -0
- package/dist/types/native.d.ts +1 -0
- package/package.json +1 -1
package/dist/types/mobile.d.ts
CHANGED
|
@@ -112,6 +112,8 @@ export interface MobileResendOtpResponse {
|
|
|
112
112
|
otp_code?: string;
|
|
113
113
|
cooldown_remaining?: number;
|
|
114
114
|
otp_code_dev?: string;
|
|
115
|
+
otp_method?: 'email' | 'sms';
|
|
116
|
+
otp_sent_to?: string;
|
|
115
117
|
}
|
|
116
118
|
export interface MobileAuthFinalResponse {
|
|
117
119
|
success: boolean;
|
package/dist/types/native.d.ts
CHANGED
|
@@ -124,6 +124,7 @@ export interface NativeResendOtpResponse {
|
|
|
124
124
|
error_type?: 'cooldown_active' | 'session_expired' | string;
|
|
125
125
|
cooldown_remaining?: number;
|
|
126
126
|
otp_sent_to?: string;
|
|
127
|
+
otp_method?: 'email' | 'sms';
|
|
127
128
|
otp_expires_in?: number;
|
|
128
129
|
otp_code_dev?: string;
|
|
129
130
|
}
|
package/package.json
CHANGED