@auth0/auth0-acul-react 1.0.0-alpha.1 → 1.0.0-alpha.3
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/README.md +214 -11
- package/dist/export/getting-started.d.ts +1 -1
- package/dist/export/hooks.d.ts +1 -1
- package/dist/hooks/common/errors.d.ts +19 -19
- package/dist/hooks/common/errors.js +1 -1
- package/dist/hooks/common/errors.js.map +1 -1
- package/dist/hooks/index.d.ts +2 -1
- package/dist/hooks/utility/passkey-autofill.d.ts +86 -0
- package/dist/hooks/utility/passkey-autofill.js +2 -0
- package/dist/hooks/utility/passkey-autofill.js.map +1 -0
- package/dist/hooks/utility/polling-manager.d.ts +1 -0
- package/dist/hooks/utility/polling-manager.js.map +1 -1
- package/dist/hooks/utility/validate-password.js +1 -1
- package/dist/hooks/utility/validate-password.js.map +1 -1
- package/dist/hooks/utility/validate-username.js +1 -1
- package/dist/hooks/utility/validate-username.js.map +1 -1
- package/dist/screens/accept-invitation.d.ts +1 -1
- package/dist/screens/accept-invitation.js.map +1 -1
- package/dist/screens/consent.d.ts +1 -1
- package/dist/screens/consent.js.map +1 -1
- package/dist/screens/customized-consent.d.ts +1 -1
- package/dist/screens/customized-consent.js.map +1 -1
- package/dist/screens/device-code-activation-allowed.d.ts +1 -1
- package/dist/screens/device-code-activation-allowed.js.map +1 -1
- package/dist/screens/device-code-activation-denied.d.ts +1 -1
- package/dist/screens/device-code-activation-denied.js.map +1 -1
- package/dist/screens/device-code-activation.d.ts +1 -1
- package/dist/screens/device-code-activation.js.map +1 -1
- package/dist/screens/device-code-confirmation.d.ts +1 -1
- package/dist/screens/device-code-confirmation.js.map +1 -1
- package/dist/screens/email-identifier-challenge.d.ts +1 -1
- package/dist/screens/email-identifier-challenge.js.map +1 -1
- package/dist/screens/email-otp-challenge.d.ts +1 -1
- package/dist/screens/email-otp-challenge.js.map +1 -1
- package/dist/screens/email-verification-result.d.ts +1 -1
- package/dist/screens/email-verification-result.js.map +1 -1
- package/dist/screens/interstitial-captcha.d.ts +1 -1
- package/dist/screens/interstitial-captcha.js.map +1 -1
- package/dist/screens/login-email-verification.d.ts +1 -1
- package/dist/screens/login-email-verification.js.map +1 -1
- package/dist/screens/login-id.d.ts +2 -1
- package/dist/screens/login-id.js +1 -1
- package/dist/screens/login-id.js.map +1 -1
- package/dist/screens/login-password.d.ts +3 -2
- package/dist/screens/login-password.js +1 -1
- package/dist/screens/login-password.js.map +1 -1
- package/dist/screens/login-passwordless-email-code.d.ts +1 -1
- package/dist/screens/login-passwordless-email-code.js.map +1 -1
- package/dist/screens/login-passwordless-sms-otp.d.ts +1 -1
- package/dist/screens/login-passwordless-sms-otp.js.map +1 -1
- package/dist/screens/login.d.ts +1 -1
- package/dist/screens/login.js.map +1 -1
- package/dist/screens/logout-aborted.d.ts +1 -1
- package/dist/screens/logout-aborted.js.map +1 -1
- package/dist/screens/logout-complete.d.ts +1 -1
- package/dist/screens/logout-complete.js.map +1 -1
- package/dist/screens/logout.d.ts +1 -1
- package/dist/screens/logout.js.map +1 -1
- package/dist/screens/mfa-begin-enroll-options.d.ts +1 -1
- package/dist/screens/mfa-begin-enroll-options.js.map +1 -1
- package/dist/screens/mfa-country-codes.d.ts +1 -1
- package/dist/screens/mfa-country-codes.js.map +1 -1
- package/dist/screens/mfa-detect-browser-capabilities.d.ts +1 -1
- package/dist/screens/mfa-detect-browser-capabilities.js.map +1 -1
- package/dist/screens/mfa-email-challenge.d.ts +1 -1
- package/dist/screens/mfa-email-challenge.js.map +1 -1
- package/dist/screens/mfa-email-list.d.ts +1 -1
- package/dist/screens/mfa-email-list.js.map +1 -1
- package/dist/screens/mfa-enroll-result.d.ts +1 -1
- package/dist/screens/mfa-enroll-result.js.map +1 -1
- package/dist/screens/mfa-login-options.d.ts +3 -2
- package/dist/screens/mfa-login-options.js +1 -1
- package/dist/screens/mfa-login-options.js.map +1 -1
- package/dist/screens/mfa-otp-challenge.d.ts +1 -1
- package/dist/screens/mfa-otp-challenge.js.map +1 -1
- package/dist/screens/mfa-otp-enrollment-code.d.ts +1 -1
- package/dist/screens/mfa-otp-enrollment-code.js.map +1 -1
- package/dist/screens/mfa-otp-enrollment-qr.d.ts +1 -1
- package/dist/screens/mfa-otp-enrollment-qr.js.map +1 -1
- package/dist/screens/mfa-phone-challenge.d.ts +1 -1
- package/dist/screens/mfa-phone-challenge.js.map +1 -1
- package/dist/screens/mfa-phone-enrollment.d.ts +1 -1
- package/dist/screens/mfa-phone-enrollment.js.map +1 -1
- package/dist/screens/mfa-push-challenge-push.d.ts +1 -1
- package/dist/screens/mfa-push-challenge-push.js.map +1 -1
- package/dist/screens/mfa-push-enrollment-qr.d.ts +4 -2
- package/dist/screens/mfa-push-enrollment-qr.js +1 -1
- package/dist/screens/mfa-push-enrollment-qr.js.map +1 -1
- package/dist/screens/mfa-push-list.d.ts +1 -1
- package/dist/screens/mfa-push-list.js.map +1 -1
- package/dist/screens/mfa-push-welcome.d.ts +1 -1
- package/dist/screens/mfa-push-welcome.js.map +1 -1
- package/dist/screens/mfa-recovery-code-challenge-new-code.d.ts +1 -1
- package/dist/screens/mfa-recovery-code-challenge-new-code.js.map +1 -1
- package/dist/screens/mfa-recovery-code-challenge.d.ts +1 -1
- package/dist/screens/mfa-recovery-code-challenge.js.map +1 -1
- package/dist/screens/mfa-recovery-code-enrollment.d.ts +1 -1
- package/dist/screens/mfa-recovery-code-enrollment.js.map +1 -1
- package/dist/screens/mfa-sms-challenge.d.ts +1 -1
- package/dist/screens/mfa-sms-challenge.js.map +1 -1
- package/dist/screens/mfa-sms-enrollment.d.ts +1 -1
- package/dist/screens/mfa-sms-enrollment.js.map +1 -1
- package/dist/screens/mfa-sms-list.d.ts +1 -1
- package/dist/screens/mfa-sms-list.js.map +1 -1
- package/dist/screens/mfa-voice-challenge.d.ts +1 -1
- package/dist/screens/mfa-voice-challenge.js.map +1 -1
- package/dist/screens/mfa-voice-enrollment.d.ts +1 -1
- package/dist/screens/mfa-voice-enrollment.js.map +1 -1
- package/dist/screens/mfa-webauthn-change-key-nickname.d.ts +1 -1
- package/dist/screens/mfa-webauthn-change-key-nickname.js.map +1 -1
- package/dist/screens/mfa-webauthn-enrollment-success.d.ts +1 -1
- package/dist/screens/mfa-webauthn-enrollment-success.js.map +1 -1
- package/dist/screens/mfa-webauthn-error.d.ts +1 -1
- package/dist/screens/mfa-webauthn-error.js.map +1 -1
- package/dist/screens/mfa-webauthn-not-available-error.d.ts +1 -1
- package/dist/screens/mfa-webauthn-not-available-error.js.map +1 -1
- package/dist/screens/mfa-webauthn-platform-challenge.d.ts +1 -1
- package/dist/screens/mfa-webauthn-platform-challenge.js.map +1 -1
- package/dist/screens/mfa-webauthn-platform-enrollment.d.ts +1 -1
- package/dist/screens/mfa-webauthn-platform-enrollment.js.map +1 -1
- package/dist/screens/mfa-webauthn-roaming-challenge.d.ts +1 -1
- package/dist/screens/mfa-webauthn-roaming-challenge.js.map +1 -1
- package/dist/screens/mfa-webauthn-roaming-enrollment.d.ts +1 -1
- package/dist/screens/mfa-webauthn-roaming-enrollment.js.map +1 -1
- package/dist/screens/organization-picker.d.ts +1 -1
- package/dist/screens/organization-picker.js.map +1 -1
- package/dist/screens/organization-selection.d.ts +1 -1
- package/dist/screens/organization-selection.js.map +1 -1
- package/dist/screens/passkey-enrollment-local.d.ts +1 -1
- package/dist/screens/passkey-enrollment-local.js.map +1 -1
- package/dist/screens/passkey-enrollment.d.ts +1 -1
- package/dist/screens/passkey-enrollment.js.map +1 -1
- package/dist/screens/phone-identifier-challenge.d.ts +3 -1
- package/dist/screens/phone-identifier-challenge.js +1 -1
- package/dist/screens/phone-identifier-challenge.js.map +1 -1
- package/dist/screens/phone-identifier-enrollment.d.ts +1 -1
- package/dist/screens/phone-identifier-enrollment.js.map +1 -1
- package/dist/screens/redeem-ticket.d.ts +1 -1
- package/dist/screens/redeem-ticket.js.map +1 -1
- package/dist/screens/reset-password-email.d.ts +1 -1
- package/dist/screens/reset-password-email.js.map +1 -1
- package/dist/screens/reset-password-error.d.ts +1 -1
- package/dist/screens/reset-password-error.js.map +1 -1
- package/dist/screens/reset-password-mfa-email-challenge.d.ts +1 -1
- package/dist/screens/reset-password-mfa-email-challenge.js.map +1 -1
- package/dist/screens/reset-password-mfa-otp-challenge.d.ts +1 -1
- package/dist/screens/reset-password-mfa-otp-challenge.js.map +1 -1
- package/dist/screens/reset-password-mfa-phone-challenge.d.ts +1 -1
- package/dist/screens/reset-password-mfa-phone-challenge.js.map +1 -1
- package/dist/screens/reset-password-mfa-push-challenge-push.d.ts +1 -1
- package/dist/screens/reset-password-mfa-push-challenge-push.js.map +1 -1
- package/dist/screens/reset-password-mfa-recovery-code-challenge.d.ts +1 -1
- package/dist/screens/reset-password-mfa-recovery-code-challenge.js.map +1 -1
- package/dist/screens/reset-password-mfa-sms-challenge.d.ts +1 -1
- package/dist/screens/reset-password-mfa-sms-challenge.js.map +1 -1
- package/dist/screens/reset-password-mfa-voice-challenge.d.ts +1 -1
- package/dist/screens/reset-password-mfa-voice-challenge.js.map +1 -1
- package/dist/screens/reset-password-mfa-webauthn-platform-challenge.d.ts +1 -1
- package/dist/screens/reset-password-mfa-webauthn-platform-challenge.js.map +1 -1
- package/dist/screens/reset-password-mfa-webauthn-roaming-challenge.d.ts +1 -1
- package/dist/screens/reset-password-mfa-webauthn-roaming-challenge.js.map +1 -1
- package/dist/screens/reset-password-request.d.ts +1 -1
- package/dist/screens/reset-password-request.js.map +1 -1
- package/dist/screens/reset-password-success.d.ts +1 -1
- package/dist/screens/reset-password-success.js.map +1 -1
- package/dist/screens/reset-password.d.ts +1 -1
- package/dist/screens/reset-password.js.map +1 -1
- package/dist/screens/signup-id.d.ts +1 -1
- package/dist/screens/signup-id.js.map +1 -1
- package/dist/screens/signup-password.d.ts +3 -2
- package/dist/screens/signup-password.js +1 -1
- package/dist/screens/signup-password.js.map +1 -1
- package/dist/screens/signup.d.ts +1 -1
- package/dist/screens/signup.js.map +1 -1
- package/dist/state/error-store.d.ts +14 -14
- package/dist/state/error-store.js +1 -1
- package/dist/state/error-store.js.map +1 -1
- package/dist/telemetry.js +1 -1
- package/package.json +4 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logout-aborted.js","sources":["../../src/screens/logout-aborted.tsx"],"sourcesContent":["import LogoutAborted from '@auth0/auth0-acul-js/logout-aborted';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type { LogoutAbortedMembers } from '@auth0/auth0-acul-js/logout-aborted';\n\n// Register the singleton instance of LogoutAborted\nconst instance = registerScreen<LogoutAbortedMembers>(LogoutAborted)!;\n\n// Context hooks\nconst factory = new ContextHooks<LogoutAbortedMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Common hooks\nexport {
|
|
1
|
+
{"version":3,"file":"logout-aborted.js","sources":["../../src/screens/logout-aborted.tsx"],"sourcesContent":["import LogoutAborted from '@auth0/auth0-acul-js/logout-aborted';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type { LogoutAbortedMembers } from '@auth0/auth0-acul-js/logout-aborted';\n\n// Register the singleton instance of LogoutAborted\nconst instance = registerScreen<LogoutAbortedMembers>(LogoutAborted)!;\n\n// Context hooks\nconst factory = new ContextHooks<LogoutAbortedMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';\n\n// Main instance hook. Returns singleton instance of LogoutAborted\nexport const useLogoutAborted = (): LogoutAbortedMembers => useMemo(() => instance, []);\n"],"names":["instance","registerScreen","LogoutAborted","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","useLogoutAborted","useMemo"],"mappings":"qXASA,MAAMA,EAAWC,EAAqCC,GAGhDC,EAAU,IAAIC,EAAmCJ,IAC1CK,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAMSW,EAAmB,IAA4BC,EAAQ,IAAMf,EAAU"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { LogoutCompleteMembers } from '@auth0/auth0-acul-js/logout-complete';
|
|
2
2
|
export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers, useTenant: () => import("@auth0/auth0-acul-js").TenantMembers, useBranding: () => import("@auth0/auth0-acul-js").BrandingMembers, useClient: () => import("@auth0/auth0-acul-js").ClientMembers, useOrganization: () => import("@auth0/auth0-acul-js").OrganizationMembers, usePrompt: () => import("@auth0/auth0-acul-js").PromptMembers, useScreen: () => import("@auth0/auth0-acul-js").ScreenMembers, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
|
|
3
|
-
export { useCurrentScreen, useErrors, useAuth0Themes
|
|
3
|
+
export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
|
|
4
4
|
export declare const useLogoutComplete: () => LogoutCompleteMembers;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logout-complete.js","sources":["../../src/screens/logout-complete.tsx"],"sourcesContent":["import LogoutComplete from '@auth0/auth0-acul-js/logout-complete';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type { LogoutCompleteMembers } from '@auth0/auth0-acul-js/logout-complete';\n\n// Register the singleton instance of LogoutComplete\nconst instance = registerScreen<LogoutCompleteMembers>(LogoutComplete)!;\n\n// Context hooks\nconst factory = new ContextHooks<LogoutCompleteMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Common hooks\nexport {
|
|
1
|
+
{"version":3,"file":"logout-complete.js","sources":["../../src/screens/logout-complete.tsx"],"sourcesContent":["import LogoutComplete from '@auth0/auth0-acul-js/logout-complete';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type { LogoutCompleteMembers } from '@auth0/auth0-acul-js/logout-complete';\n\n// Register the singleton instance of LogoutComplete\nconst instance = registerScreen<LogoutCompleteMembers>(LogoutComplete)!;\n\n// Context hooks\nconst factory = new ContextHooks<LogoutCompleteMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';\n\n// Main instance hook. Returns singleton instance of LogoutComplete\nexport const useLogoutComplete = (): LogoutCompleteMembers => useMemo(() => instance, []);\n"],"names":["instance","registerScreen","LogoutComplete","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","useLogoutComplete","useMemo"],"mappings":"sXASA,MAAMA,EAAWC,EAAsCC,GAGjDC,EAAU,IAAIC,EAAoCJ,IAC3CK,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAMSW,EAAoB,IAA6BC,EAAQ,IAAMf,EAAU"}
|
package/dist/screens/logout.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { LogoutMembers, ConfirmLogoutOptions } from '@auth0/auth0-acul-js/logout';
|
|
2
2
|
export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers, useTenant: () => import("@auth0/auth0-acul-js").TenantMembers, useBranding: () => import("@auth0/auth0-acul-js").BrandingMembers, useClient: () => import("@auth0/auth0-acul-js").ClientMembers, useOrganization: () => import("@auth0/auth0-acul-js").OrganizationMembers, usePrompt: () => import("@auth0/auth0-acul-js").PromptMembers, useScreen: () => import("@auth0/auth0-acul-js").ScreenMembers, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
|
|
3
3
|
export declare const confirmLogout: (payload: ConfirmLogoutOptions) => void | Promise<void>;
|
|
4
|
-
export { useCurrentScreen, useErrors, useAuth0Themes
|
|
4
|
+
export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
|
|
5
5
|
export declare const useLogout: () => LogoutMembers;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logout.js","sources":["../../src/screens/logout.tsx"],"sourcesContent":["import Logout from '@auth0/auth0-acul-js/logout';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type { LogoutMembers, ConfirmLogoutOptions } from '@auth0/auth0-acul-js/logout';\n\n// Register the singleton instance of Logout\nconst instance = registerScreen<LogoutMembers>(Logout)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<LogoutMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const confirmLogout = (payload: ConfirmLogoutOptions) =>\n withError(instance.confirmLogout(payload));\n\n// Common hooks\nexport {
|
|
1
|
+
{"version":3,"file":"logout.js","sources":["../../src/screens/logout.tsx"],"sourcesContent":["import Logout from '@auth0/auth0-acul-js/logout';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type { LogoutMembers, ConfirmLogoutOptions } from '@auth0/auth0-acul-js/logout';\n\n// Register the singleton instance of Logout\nconst instance = registerScreen<LogoutMembers>(Logout)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<LogoutMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const confirmLogout = (payload: ConfirmLogoutOptions) =>\n withError(instance.confirmLogout(payload));\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';\n\n// Main instance hook. Returns singleton instance of Logout\nexport const useLogout = (): LogoutMembers => useMemo(() => instance, []);\n"],"names":["instance","registerScreen","Logout","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","confirmLogout","payload","useLogout","useMemo"],"mappings":"saAUA,MAAMA,EAAWC,EAA8BC,IAGzCC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAA4BN,IACnCO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAiBC,GAC5Bd,EAAUH,EAASgB,cAAcC,IAMtBC,EAAY,IAAqBC,EAAQ,IAAMnB,EAAU"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MfaBeginEnrollOptionsMembers, MfaEnrollOptions } from '@auth0/auth0-acul-js/mfa-begin-enroll-options';
|
|
2
2
|
export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers, useTenant: () => import("@auth0/auth0-acul-js").TenantMembers, useBranding: () => import("@auth0/auth0-acul-js").BrandingMembers, useClient: () => import("@auth0/auth0-acul-js").ClientMembers, useOrganization: () => import("@auth0/auth0-acul-js").OrganizationMembers, usePrompt: () => import("@auth0/auth0-acul-js").PromptMembers, useScreen: () => import("@auth0/auth0-acul-js").ScreenMembers, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
|
|
3
3
|
export declare const enroll: (payload: MfaEnrollOptions) => void | Promise<void>;
|
|
4
|
-
export { useCurrentScreen, useErrors, useAuth0Themes
|
|
4
|
+
export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
|
|
5
5
|
export declare const useMfaBeginEnrollOptions: () => MfaBeginEnrollOptionsMembers;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mfa-begin-enroll-options.js","sources":["../../src/screens/mfa-begin-enroll-options.tsx"],"sourcesContent":["import MfaBeginEnrollOptions from '@auth0/auth0-acul-js/mfa-begin-enroll-options';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaBeginEnrollOptionsMembers,\n MfaEnrollOptions,\n} from '@auth0/auth0-acul-js/mfa-begin-enroll-options';\n\n// Register the singleton instance of MfaBeginEnrollOptions\nconst instance = registerScreen<MfaBeginEnrollOptionsMembers>(MfaBeginEnrollOptions)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaBeginEnrollOptionsMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const enroll = (payload: MfaEnrollOptions) => withError(instance.enroll(payload));\n\n// Common hooks\nexport {
|
|
1
|
+
{"version":3,"file":"mfa-begin-enroll-options.js","sources":["../../src/screens/mfa-begin-enroll-options.tsx"],"sourcesContent":["import MfaBeginEnrollOptions from '@auth0/auth0-acul-js/mfa-begin-enroll-options';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaBeginEnrollOptionsMembers,\n MfaEnrollOptions,\n} from '@auth0/auth0-acul-js/mfa-begin-enroll-options';\n\n// Register the singleton instance of MfaBeginEnrollOptions\nconst instance = registerScreen<MfaBeginEnrollOptionsMembers>(MfaBeginEnrollOptions)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaBeginEnrollOptionsMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const enroll = (payload: MfaEnrollOptions) => withError(instance.enroll(payload));\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';\n\n// Main instance hook. Returns singleton instance of MfaBeginEnrollOptions\nexport const useMfaBeginEnrollOptions = (): MfaBeginEnrollOptionsMembers =>\n useMemo(() => instance, []);\n"],"names":["instance","registerScreen","MfaBeginEnrollOptions","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","enroll","payload","useMfaBeginEnrollOptions","useMemo"],"mappings":"wbAaA,MAAMA,EAAWC,EAA6CC,IAGxDC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAA2CN,IAClDO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAUC,GAA8Bd,EAAUH,EAASgB,OAAOC,IAMlEC,EAA2B,IACtCC,EAAQ,IAAMnB,EAAU"}
|
|
@@ -2,5 +2,5 @@ import type { MfaCountryCodesMembers, SelectCountryCodeOptions, CustomOptions }
|
|
|
2
2
|
export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers, useTenant: () => import("@auth0/auth0-acul-js").TenantMembers, useBranding: () => import("@auth0/auth0-acul-js").BrandingMembers, useClient: () => import("@auth0/auth0-acul-js").ClientMembers, useOrganization: () => import("@auth0/auth0-acul-js").OrganizationMembers, usePrompt: () => import("@auth0/auth0-acul-js").PromptMembers, useScreen: () => import("@auth0/auth0-acul-js").ScreenMembersOnMfaCountryCodes, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
|
|
3
3
|
export declare const selectCountryCode: (payload: SelectCountryCodeOptions) => void | Promise<void>;
|
|
4
4
|
export declare const goBack: (payload?: CustomOptions) => void | Promise<void>;
|
|
5
|
-
export { useCurrentScreen, useErrors, useAuth0Themes
|
|
5
|
+
export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
|
|
6
6
|
export declare const useMfaCountryCodes: () => MfaCountryCodesMembers;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mfa-country-codes.js","sources":["../../src/screens/mfa-country-codes.tsx"],"sourcesContent":["import MfaCountryCodes from '@auth0/auth0-acul-js/mfa-country-codes';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaCountryCodesMembers,\n SelectCountryCodeOptions,\n CustomOptions,\n} from '@auth0/auth0-acul-js/mfa-country-codes';\n\n// Register the singleton instance of MfaCountryCodes\nconst instance = registerScreen<MfaCountryCodesMembers>(MfaCountryCodes)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaCountryCodesMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const selectCountryCode = (payload: SelectCountryCodeOptions) =>\n withError(instance.selectCountryCode(payload));\nexport const goBack = (payload?: CustomOptions) => withError(instance.goBack(payload));\n\n// Common hooks\nexport {
|
|
1
|
+
{"version":3,"file":"mfa-country-codes.js","sources":["../../src/screens/mfa-country-codes.tsx"],"sourcesContent":["import MfaCountryCodes from '@auth0/auth0-acul-js/mfa-country-codes';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaCountryCodesMembers,\n SelectCountryCodeOptions,\n CustomOptions,\n} from '@auth0/auth0-acul-js/mfa-country-codes';\n\n// Register the singleton instance of MfaCountryCodes\nconst instance = registerScreen<MfaCountryCodesMembers>(MfaCountryCodes)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaCountryCodesMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const selectCountryCode = (payload: SelectCountryCodeOptions) =>\n withError(instance.selectCountryCode(payload));\nexport const goBack = (payload?: CustomOptions) => withError(instance.goBack(payload));\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';\n\n// Main instance hook. Returns singleton instance of MfaCountryCodes\nexport const useMfaCountryCodes = (): MfaCountryCodesMembers => useMemo(() => instance, []);\n"],"names":["instance","registerScreen","MfaCountryCodes","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","selectCountryCode","payload","goBack","useMfaCountryCodes","useMemo"],"mappings":"ibAcA,MAAMA,EAAWC,EAAuCC,IAGlDC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAqCN,IAC5CO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAqBC,GAChCd,EAAUH,EAASgB,kBAAkBC,IAC1BC,EAAUD,GAA4Bd,EAAUH,EAASkB,OAAOD,IAMhEE,EAAqB,IAA8BC,EAAQ,IAAMpB,EAAU"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MfaDetectBrowserCapabilitiesMembers, CustomOptions } from '@auth0/auth0-acul-js/mfa-detect-browser-capabilities';
|
|
2
2
|
export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers, useTenant: () => import("@auth0/auth0-acul-js").TenantMembers, useBranding: () => import("@auth0/auth0-acul-js").BrandingMembers, useClient: () => import("@auth0/auth0-acul-js").ClientMembers, useOrganization: () => import("@auth0/auth0-acul-js").OrganizationMembers, usePrompt: () => import("@auth0/auth0-acul-js").PromptMembers, useScreen: () => import("@auth0/auth0-acul-js").ScreenMembers, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
|
|
3
3
|
export declare const detectCapabilities: (payload: CustomOptions) => void | Promise<void>;
|
|
4
|
-
export { useCurrentScreen, useErrors, useAuth0Themes
|
|
4
|
+
export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
|
|
5
5
|
export declare const useMfaDetectBrowserCapabilities: () => MfaDetectBrowserCapabilitiesMembers;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mfa-detect-browser-capabilities.js","sources":["../../src/screens/mfa-detect-browser-capabilities.tsx"],"sourcesContent":["import MfaDetectBrowserCapabilities from '@auth0/auth0-acul-js/mfa-detect-browser-capabilities';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaDetectBrowserCapabilitiesMembers,\n CustomOptions,\n} from '@auth0/auth0-acul-js/mfa-detect-browser-capabilities';\n\n// Register the singleton instance of MfaDetectBrowserCapabilities\nconst instance = registerScreen<MfaDetectBrowserCapabilitiesMembers>(MfaDetectBrowserCapabilities)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaDetectBrowserCapabilitiesMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const detectCapabilities = (payload: CustomOptions) =>\n withError(instance.detectCapabilities(payload));\n\n// Common hooks\nexport {
|
|
1
|
+
{"version":3,"file":"mfa-detect-browser-capabilities.js","sources":["../../src/screens/mfa-detect-browser-capabilities.tsx"],"sourcesContent":["import MfaDetectBrowserCapabilities from '@auth0/auth0-acul-js/mfa-detect-browser-capabilities';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaDetectBrowserCapabilitiesMembers,\n CustomOptions,\n} from '@auth0/auth0-acul-js/mfa-detect-browser-capabilities';\n\n// Register the singleton instance of MfaDetectBrowserCapabilities\nconst instance = registerScreen<MfaDetectBrowserCapabilitiesMembers>(MfaDetectBrowserCapabilities)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaDetectBrowserCapabilitiesMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const detectCapabilities = (payload: CustomOptions) =>\n withError(instance.detectCapabilities(payload));\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';\n\n// Main instance hook. Returns singleton instance of MfaDetectBrowserCapabilities\nexport const useMfaDetectBrowserCapabilities = (): MfaDetectBrowserCapabilitiesMembers =>\n useMemo(() => instance, []);\n"],"names":["instance","registerScreen","MfaDetectBrowserCapabilities","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","detectCapabilities","payload","useMfaDetectBrowserCapabilities","useMemo"],"mappings":"+bAaA,MAAMA,EAAWC,EAAoDC,IAG/DC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAkDN,IACzDO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAsBC,GACjCd,EAAUH,EAASgB,mBAAmBC,IAM3BC,EAAkC,IAC7CC,EAAQ,IAAMnB,EAAU"}
|
|
@@ -5,5 +5,5 @@ export declare const resendCode: (payload?: ResendCodeOptions) => void | Promise
|
|
|
5
5
|
export declare const tryAnotherMethod: (payload?: TryAnotherMethodOptions) => void | Promise<void>;
|
|
6
6
|
export declare const pickEmail: (payload?: CustomOptions) => void | Promise<void>;
|
|
7
7
|
export { useResend } from '../hooks/utility/resend-manager';
|
|
8
|
-
export { useCurrentScreen, useErrors, useAuth0Themes
|
|
8
|
+
export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
|
|
9
9
|
export declare const useMfaEmailChallenge: () => MfaEmailChallengeMembers;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mfa-email-challenge.js","sources":["../../src/screens/mfa-email-challenge.tsx"],"sourcesContent":["import MfaEmailChallenge from '@auth0/auth0-acul-js/mfa-email-challenge';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaEmailChallengeMembers,\n ContinueOptions,\n ResendCodeOptions,\n TryAnotherMethodOptions,\n CustomOptions,\n} from '@auth0/auth0-acul-js/mfa-email-challenge';\n\n// Register the singleton instance of MfaEmailChallenge\nconst instance = registerScreen<MfaEmailChallengeMembers>(MfaEmailChallenge)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaEmailChallengeMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const continueMethod = (payload: ContinueOptions) => withError(instance.continue(payload));\nexport const resendCode = (payload?: ResendCodeOptions) => withError(instance.resendCode(payload));\nexport const tryAnotherMethod = (payload?: TryAnotherMethodOptions) =>\n withError(instance.tryAnotherMethod(payload));\nexport const pickEmail = (payload?: CustomOptions) => withError(instance.pickEmail(payload));\n\n// Utility Hooks\nexport { useResend } from '../hooks/utility/resend-manager';\n\n// Common hooks\nexport {
|
|
1
|
+
{"version":3,"file":"mfa-email-challenge.js","sources":["../../src/screens/mfa-email-challenge.tsx"],"sourcesContent":["import MfaEmailChallenge from '@auth0/auth0-acul-js/mfa-email-challenge';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaEmailChallengeMembers,\n ContinueOptions,\n ResendCodeOptions,\n TryAnotherMethodOptions,\n CustomOptions,\n} from '@auth0/auth0-acul-js/mfa-email-challenge';\n\n// Register the singleton instance of MfaEmailChallenge\nconst instance = registerScreen<MfaEmailChallengeMembers>(MfaEmailChallenge)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaEmailChallengeMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const continueMethod = (payload: ContinueOptions) => withError(instance.continue(payload));\nexport const resendCode = (payload?: ResendCodeOptions) => withError(instance.resendCode(payload));\nexport const tryAnotherMethod = (payload?: TryAnotherMethodOptions) =>\n withError(instance.tryAnotherMethod(payload));\nexport const pickEmail = (payload?: CustomOptions) => withError(instance.pickEmail(payload));\n\n// Utility Hooks\nexport { useResend } from '../hooks/utility/resend-manager';\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';\n\n// Main instance hook. Returns singleton instance of MfaEmailChallenge\nexport const useMfaEmailChallenge = (): MfaEmailChallengeMembers => useMemo(() => instance, []);\n"],"names":["instance","registerScreen","MfaEmailChallenge","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","continueMethod","payload","continue","resendCode","tryAnotherMethod","pickEmail","useMfaEmailChallenge","useMemo"],"mappings":"6eAgBA,MAAMA,EAAWC,EAAyCC,IAGpDC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAuCN,IAC9CO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAkBC,GAA6Bd,EAAUH,EAASkB,SAASD,IAC3EE,EAAcF,GAAgCd,EAAUH,EAASmB,WAAWF,IAC5EG,EAAoBH,GAC/Bd,EAAUH,EAASoB,iBAAiBH,IACzBI,EAAaJ,GAA4Bd,EAAUH,EAASqB,UAAUJ,IAStEK,EAAuB,IAAgCC,EAAQ,IAAMvB,EAAU"}
|
|
@@ -2,5 +2,5 @@ import type { MfaEmailListMembers, SelectMfaEmailOptions, CustomOptions } from '
|
|
|
2
2
|
export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers, useTenant: () => import("@auth0/auth0-acul-js").TenantMembers, useBranding: () => import("@auth0/auth0-acul-js").BrandingMembers, useClient: () => import("@auth0/auth0-acul-js").ClientMembers, useOrganization: () => import("@auth0/auth0-acul-js").OrganizationMembers, usePrompt: () => import("@auth0/auth0-acul-js").PromptMembers, useScreen: () => import("@auth0/auth0-acul-js").ScreenMembersOnMfaEmailList, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
|
|
3
3
|
export declare const selectMfaEmail: (payload: SelectMfaEmailOptions) => void | Promise<void>;
|
|
4
4
|
export declare const goBack: (payload?: CustomOptions) => void | Promise<void>;
|
|
5
|
-
export { useCurrentScreen, useErrors, useAuth0Themes
|
|
5
|
+
export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
|
|
6
6
|
export declare const useMfaEmailList: () => MfaEmailListMembers;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mfa-email-list.js","sources":["../../src/screens/mfa-email-list.tsx"],"sourcesContent":["import MfaEmailList from '@auth0/auth0-acul-js/mfa-email-list';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaEmailListMembers,\n SelectMfaEmailOptions,\n CustomOptions,\n} from '@auth0/auth0-acul-js/mfa-email-list';\n\n// Register the singleton instance of MfaEmailList\nconst instance = registerScreen<MfaEmailListMembers>(MfaEmailList)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaEmailListMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const selectMfaEmail = (payload: SelectMfaEmailOptions) =>\n withError(instance.selectMfaEmail(payload));\nexport const goBack = (payload?: CustomOptions) => withError(instance.goBack(payload));\n\n// Common hooks\nexport {
|
|
1
|
+
{"version":3,"file":"mfa-email-list.js","sources":["../../src/screens/mfa-email-list.tsx"],"sourcesContent":["import MfaEmailList from '@auth0/auth0-acul-js/mfa-email-list';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaEmailListMembers,\n SelectMfaEmailOptions,\n CustomOptions,\n} from '@auth0/auth0-acul-js/mfa-email-list';\n\n// Register the singleton instance of MfaEmailList\nconst instance = registerScreen<MfaEmailListMembers>(MfaEmailList)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaEmailListMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const selectMfaEmail = (payload: SelectMfaEmailOptions) =>\n withError(instance.selectMfaEmail(payload));\nexport const goBack = (payload?: CustomOptions) => withError(instance.goBack(payload));\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';\n\n// Main instance hook. Returns singleton instance of MfaEmailList\nexport const useMfaEmailList = (): MfaEmailListMembers => useMemo(() => instance, []);\n"],"names":["instance","registerScreen","MfaEmailList","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","selectMfaEmail","payload","goBack","useMfaEmailList","useMemo"],"mappings":"8aAcA,MAAMA,EAAWC,EAAoCC,IAG/CC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAkCN,IACzCO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAkBC,GAC7Bd,EAAUH,EAASgB,eAAeC,IACvBC,EAAUD,GAA4Bd,EAAUH,EAASkB,OAAOD,IAMhEE,EAAkB,IAA2BC,EAAQ,IAAMpB,EAAU"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { MfaEnrollResultMembers } from '@auth0/auth0-acul-js/mfa-enroll-result';
|
|
2
2
|
export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers, useTenant: () => import("@auth0/auth0-acul-js").TenantMembers, useBranding: () => import("@auth0/auth0-acul-js").BrandingMembers, useClient: () => import("@auth0/auth0-acul-js").ClientMembers, useOrganization: () => import("@auth0/auth0-acul-js").OrganizationMembers, usePrompt: () => import("@auth0/auth0-acul-js").PromptMembers, useScreen: () => import("@auth0/auth0-acul-js").ScreenMembersOnMfaEnrollResult, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
|
|
3
|
-
export { useCurrentScreen, useErrors, useAuth0Themes
|
|
3
|
+
export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
|
|
4
4
|
export declare const useMfaEnrollResult: () => MfaEnrollResultMembers;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mfa-enroll-result.js","sources":["../../src/screens/mfa-enroll-result.tsx"],"sourcesContent":["import MfaEnrollResult from '@auth0/auth0-acul-js/mfa-enroll-result';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type { MfaEnrollResultMembers } from '@auth0/auth0-acul-js/mfa-enroll-result';\n\n// Register the singleton instance of MfaEnrollResult\nconst instance = registerScreen<MfaEnrollResultMembers>(MfaEnrollResult)!;\n\n// Context hooks\nconst factory = new ContextHooks<MfaEnrollResultMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Common hooks\nexport {
|
|
1
|
+
{"version":3,"file":"mfa-enroll-result.js","sources":["../../src/screens/mfa-enroll-result.tsx"],"sourcesContent":["import MfaEnrollResult from '@auth0/auth0-acul-js/mfa-enroll-result';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type { MfaEnrollResultMembers } from '@auth0/auth0-acul-js/mfa-enroll-result';\n\n// Register the singleton instance of MfaEnrollResult\nconst instance = registerScreen<MfaEnrollResultMembers>(MfaEnrollResult)!;\n\n// Context hooks\nconst factory = new ContextHooks<MfaEnrollResultMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';\n\n// Main instance hook. Returns singleton instance of MfaEnrollResult\nexport const useMfaEnrollResult = (): MfaEnrollResultMembers => useMemo(() => instance, []);\n"],"names":["instance","registerScreen","MfaEnrollResult","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","useMfaEnrollResult","useMemo"],"mappings":"wXASA,MAAMA,EAAWC,EAAuCC,GAGlDC,EAAU,IAAIC,EAAqCJ,IAC5CK,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAMSW,EAAqB,IAA8BC,EAAQ,IAAMf,EAAU"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import type { MfaLoginOptionsMembers, LoginEnrollOptions } from '@auth0/auth0-acul-js/mfa-login-options';
|
|
1
|
+
import type { MfaLoginOptionsMembers, LoginEnrollOptions, CustomOptions } from '@auth0/auth0-acul-js/mfa-login-options';
|
|
2
2
|
export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers, useTenant: () => import("@auth0/auth0-acul-js").TenantMembers, useBranding: () => import("@auth0/auth0-acul-js").BrandingMembers, useClient: () => import("@auth0/auth0-acul-js").ClientMembers, useOrganization: () => import("@auth0/auth0-acul-js").OrganizationMembers, usePrompt: () => import("@auth0/auth0-acul-js").PromptMembers, useScreen: () => import("@auth0/auth0-acul-js").ScreenMembersOnMfaLoginOptions, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
|
|
3
3
|
export declare const enroll: (payload: LoginEnrollOptions) => void | Promise<void>;
|
|
4
|
-
export
|
|
4
|
+
export declare const returnToPrevious: (payload?: CustomOptions) => void | Promise<void>;
|
|
5
|
+
export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
|
|
5
6
|
export declare const useMfaLoginOptions: () => MfaLoginOptionsMembers;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import o from"@auth0/auth0-acul-js/mfa-login-options";import{useMemo as r}from"react";export{useAuth0Themes}from"../hooks/common/auth0-themes.js";export{useCurrentScreen}from"../hooks/common/current-screen.js";import{errorManager as e}from"../hooks/common/errors.js";export{useErrors}from"../hooks/common/errors.js";import{ContextHooks as s}from"../hooks/context/index.js";import{registerScreen as t}from"../state/instance-store.js";const n=t(o),{withError:m}=e,u=new s(n),{useUser:a,useTenant:i,useBranding:c,useClient:h,useOrganization:p,usePrompt:f,useScreen:j,useTransaction:x,useUntrustedData:k}=u,l=o=>m(n.enroll(o)),d=()=>r(()=>n,[]);export{l as enroll,c as useBranding,h as useClient,d as useMfaLoginOptions,p as useOrganization,f as usePrompt,j as useScreen,i as useTenant,x as useTransaction,k as useUntrustedData,a as useUser};
|
|
1
|
+
import o from"@auth0/auth0-acul-js/mfa-login-options";import{useMemo as r}from"react";export{useAuth0Themes}from"../hooks/common/auth0-themes.js";export{useCurrentScreen}from"../hooks/common/current-screen.js";import{errorManager as e}from"../hooks/common/errors.js";export{useErrors}from"../hooks/common/errors.js";import{ContextHooks as s}from"../hooks/context/index.js";import{registerScreen as t}from"../state/instance-store.js";const n=t(o),{withError:m}=e,u=new s(n),{useUser:a,useTenant:i,useBranding:c,useClient:h,useOrganization:p,usePrompt:f,useScreen:j,useTransaction:x,useUntrustedData:k}=u,l=o=>m(n.enroll(o)),T=o=>m(n.returnToPrevious(o)),d=()=>r(()=>n,[]);export{l as enroll,T as returnToPrevious,c as useBranding,h as useClient,d as useMfaLoginOptions,p as useOrganization,f as usePrompt,j as useScreen,i as useTenant,x as useTransaction,k as useUntrustedData,a as useUser};
|
|
2
2
|
//# sourceMappingURL=mfa-login-options.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mfa-login-options.js","sources":["../../src/screens/mfa-login-options.tsx"],"sourcesContent":["import MfaLoginOptions from '@auth0/auth0-acul-js/mfa-login-options';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaLoginOptionsMembers,\n LoginEnrollOptions,\n} from '@auth0/auth0-acul-js/mfa-login-options';\n\n// Register the singleton instance of MfaLoginOptions\nconst instance = registerScreen<MfaLoginOptionsMembers>(MfaLoginOptions)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaLoginOptionsMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const enroll = (payload: LoginEnrollOptions) => withError(instance.enroll(payload));\n\n// Common hooks\nexport {
|
|
1
|
+
{"version":3,"file":"mfa-login-options.js","sources":["../../src/screens/mfa-login-options.tsx"],"sourcesContent":["import MfaLoginOptions from '@auth0/auth0-acul-js/mfa-login-options';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaLoginOptionsMembers,\n LoginEnrollOptions,\n CustomOptions,\n} from '@auth0/auth0-acul-js/mfa-login-options';\n\n// Register the singleton instance of MfaLoginOptions\nconst instance = registerScreen<MfaLoginOptionsMembers>(MfaLoginOptions)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaLoginOptionsMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const enroll = (payload: LoginEnrollOptions) => withError(instance.enroll(payload));\nexport const returnToPrevious = (payload?: CustomOptions) =>\n withError(instance.returnToPrevious(payload));\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';\n\n// Main instance hook. Returns singleton instance of MfaLoginOptions\nexport const useMfaLoginOptions = (): MfaLoginOptionsMembers => useMemo(() => instance, []);\n"],"names":["instance","registerScreen","MfaLoginOptions","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","enroll","payload","returnToPrevious","useMfaLoginOptions","useMemo"],"mappings":"ibAcA,MAAMA,EAAWC,EAAuCC,IAGlDC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAqCN,IAC5CO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAUC,GAAgCd,EAAUH,EAASgB,OAAOC,IACpEC,EAAoBD,GAC/Bd,EAAUH,EAASkB,iBAAiBD,IAMzBE,EAAqB,IAA8BC,EAAQ,IAAMpB,EAAU"}
|
|
@@ -2,5 +2,5 @@ import type { MfaOtpChallengeMembers, ContinueOptions, TryAnotherMethodOptions }
|
|
|
2
2
|
export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers, useTenant: () => import("@auth0/auth0-acul-js").TenantMembers, useBranding: () => import("@auth0/auth0-acul-js").BrandingMembers, useClient: () => import("@auth0/auth0-acul-js").ClientMembers, useOrganization: () => import("@auth0/auth0-acul-js").OrganizationMembers, usePrompt: () => import("@auth0/auth0-acul-js").PromptMembers, useScreen: () => import("@auth0/auth0-acul-js").ScreenMembersOnMfaOtpChallenge, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembersOnMfaOtpChallenge;
|
|
3
3
|
export declare const continueMethod: (payload: ContinueOptions) => void | Promise<void>;
|
|
4
4
|
export declare const tryAnotherMethod: (payload?: TryAnotherMethodOptions) => void | Promise<void>;
|
|
5
|
-
export { useCurrentScreen, useErrors, useAuth0Themes
|
|
5
|
+
export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
|
|
6
6
|
export declare const useMfaOtpChallenge: () => MfaOtpChallengeMembers;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mfa-otp-challenge.js","sources":["../../src/screens/mfa-otp-challenge.tsx"],"sourcesContent":["import MfaOtpChallenge from '@auth0/auth0-acul-js/mfa-otp-challenge';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaOtpChallengeMembers,\n ContinueOptions,\n TryAnotherMethodOptions,\n} from '@auth0/auth0-acul-js/mfa-otp-challenge';\n\n// Register the singleton instance of MfaOtpChallenge\nconst instance = registerScreen<MfaOtpChallengeMembers>(MfaOtpChallenge)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaOtpChallengeMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const continueMethod = (payload: ContinueOptions) => withError(instance.continue(payload));\nexport const tryAnotherMethod = (payload?: TryAnotherMethodOptions) =>\n withError(instance.tryAnotherMethod(payload));\n\n// Common hooks\nexport {
|
|
1
|
+
{"version":3,"file":"mfa-otp-challenge.js","sources":["../../src/screens/mfa-otp-challenge.tsx"],"sourcesContent":["import MfaOtpChallenge from '@auth0/auth0-acul-js/mfa-otp-challenge';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaOtpChallengeMembers,\n ContinueOptions,\n TryAnotherMethodOptions,\n} from '@auth0/auth0-acul-js/mfa-otp-challenge';\n\n// Register the singleton instance of MfaOtpChallenge\nconst instance = registerScreen<MfaOtpChallengeMembers>(MfaOtpChallenge)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaOtpChallengeMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const continueMethod = (payload: ContinueOptions) => withError(instance.continue(payload));\nexport const tryAnotherMethod = (payload?: TryAnotherMethodOptions) =>\n withError(instance.tryAnotherMethod(payload));\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';\n\n// Main instance hook. Returns singleton instance of MfaOtpChallenge\nexport const useMfaOtpChallenge = (): MfaOtpChallengeMembers => useMemo(() => instance, []);\n"],"names":["instance","registerScreen","MfaOtpChallenge","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","continueMethod","payload","continue","tryAnotherMethod","useMfaOtpChallenge","useMemo"],"mappings":"ibAcA,MAAMA,EAAWC,EAAuCC,IAGlDC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAqCN,IAC5CO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAkBC,GAA6Bd,EAAUH,EAASkB,SAASD,IAC3EE,EAAoBF,GAC/Bd,EAAUH,EAASmB,iBAAiBF,IAMzBG,EAAqB,IAA8BC,EAAQ,IAAMrB,EAAU"}
|
|
@@ -2,5 +2,5 @@ import type { MfaOtpEnrollmentCodeMembers, ContinueOptions, TryAnotherMethodOpti
|
|
|
2
2
|
export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers, useTenant: () => import("@auth0/auth0-acul-js").TenantMembers, useBranding: () => import("@auth0/auth0-acul-js").BrandingMembers, useClient: () => import("@auth0/auth0-acul-js").ClientMembers, useOrganization: () => import("@auth0/auth0-acul-js").OrganizationMembers, usePrompt: () => import("@auth0/auth0-acul-js").PromptMembers, useScreen: () => import("@auth0/auth0-acul-js").ScreenMembersOnMfaOtpEnrollmentCode, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
|
|
3
3
|
export declare const continueMethod: (payload: ContinueOptions) => void | Promise<void>;
|
|
4
4
|
export declare const tryAnotherMethod: (payload?: TryAnotherMethodOptions) => void | Promise<void>;
|
|
5
|
-
export { useCurrentScreen, useErrors, useAuth0Themes
|
|
5
|
+
export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
|
|
6
6
|
export declare const useMfaOtpEnrollmentCode: () => MfaOtpEnrollmentCodeMembers;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mfa-otp-enrollment-code.js","sources":["../../src/screens/mfa-otp-enrollment-code.tsx"],"sourcesContent":["import MfaOtpEnrollmentCode from '@auth0/auth0-acul-js/mfa-otp-enrollment-code';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaOtpEnrollmentCodeMembers,\n ContinueOptions,\n TryAnotherMethodOptions,\n} from '@auth0/auth0-acul-js/mfa-otp-enrollment-code';\n\n// Register the singleton instance of MfaOtpEnrollmentCode\nconst instance = registerScreen<MfaOtpEnrollmentCodeMembers>(MfaOtpEnrollmentCode)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaOtpEnrollmentCodeMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const continueMethod = (payload: ContinueOptions) => withError(instance.continue(payload));\nexport const tryAnotherMethod = (payload?: TryAnotherMethodOptions) =>\n withError(instance.tryAnotherMethod(payload));\n\n// Common hooks\nexport {
|
|
1
|
+
{"version":3,"file":"mfa-otp-enrollment-code.js","sources":["../../src/screens/mfa-otp-enrollment-code.tsx"],"sourcesContent":["import MfaOtpEnrollmentCode from '@auth0/auth0-acul-js/mfa-otp-enrollment-code';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaOtpEnrollmentCodeMembers,\n ContinueOptions,\n TryAnotherMethodOptions,\n} from '@auth0/auth0-acul-js/mfa-otp-enrollment-code';\n\n// Register the singleton instance of MfaOtpEnrollmentCode\nconst instance = registerScreen<MfaOtpEnrollmentCodeMembers>(MfaOtpEnrollmentCode)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaOtpEnrollmentCodeMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const continueMethod = (payload: ContinueOptions) => withError(instance.continue(payload));\nexport const tryAnotherMethod = (payload?: TryAnotherMethodOptions) =>\n withError(instance.tryAnotherMethod(payload));\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';\n\n// Main instance hook. Returns singleton instance of MfaOtpEnrollmentCode\nexport const useMfaOtpEnrollmentCode = (): MfaOtpEnrollmentCodeMembers =>\n useMemo(() => instance, []);\n"],"names":["instance","registerScreen","MfaOtpEnrollmentCode","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","continueMethod","payload","continue","tryAnotherMethod","useMfaOtpEnrollmentCode","useMemo"],"mappings":"ubAcA,MAAMA,EAAWC,EAA4CC,IAGvDC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAA0CN,IACjDO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAkBC,GAA6Bd,EAAUH,EAASkB,SAASD,IAC3EE,EAAoBF,GAC/Bd,EAAUH,EAASmB,iBAAiBF,IAMzBG,EAA0B,IACrCC,EAAQ,IAAMrB,EAAU"}
|
|
@@ -3,5 +3,5 @@ export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers,
|
|
|
3
3
|
export declare const toggleView: (payload?: CustomOptions) => void | Promise<void>;
|
|
4
4
|
export declare const continueMethod: (payload: ContinueOptions) => void | Promise<void>;
|
|
5
5
|
export declare const tryAnotherMethod: (payload?: CustomOptions) => void | Promise<void>;
|
|
6
|
-
export { useCurrentScreen, useErrors, useAuth0Themes
|
|
6
|
+
export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
|
|
7
7
|
export declare const useMfaOtpEnrollmentQr: () => MfaOtpEnrollmentQrMembers;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mfa-otp-enrollment-qr.js","sources":["../../src/screens/mfa-otp-enrollment-qr.tsx"],"sourcesContent":["import MfaOtpEnrollmentQr from '@auth0/auth0-acul-js/mfa-otp-enrollment-qr';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaOtpEnrollmentQrMembers,\n CustomOptions,\n ContinueOptions,\n} from '@auth0/auth0-acul-js/mfa-otp-enrollment-qr';\n\n// Register the singleton instance of MfaOtpEnrollmentQr\nconst instance = registerScreen<MfaOtpEnrollmentQrMembers>(MfaOtpEnrollmentQr)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaOtpEnrollmentQrMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const toggleView = (payload?: CustomOptions) => withError(instance.toggleView(payload));\nexport const continueMethod = (payload: ContinueOptions) => withError(instance.continue(payload));\nexport const tryAnotherMethod = (payload?: CustomOptions) =>\n withError(instance.tryAnotherMethod(payload));\n\n// Common hooks\nexport {
|
|
1
|
+
{"version":3,"file":"mfa-otp-enrollment-qr.js","sources":["../../src/screens/mfa-otp-enrollment-qr.tsx"],"sourcesContent":["import MfaOtpEnrollmentQr from '@auth0/auth0-acul-js/mfa-otp-enrollment-qr';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaOtpEnrollmentQrMembers,\n CustomOptions,\n ContinueOptions,\n} from '@auth0/auth0-acul-js/mfa-otp-enrollment-qr';\n\n// Register the singleton instance of MfaOtpEnrollmentQr\nconst instance = registerScreen<MfaOtpEnrollmentQrMembers>(MfaOtpEnrollmentQr)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaOtpEnrollmentQrMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const toggleView = (payload?: CustomOptions) => withError(instance.toggleView(payload));\nexport const continueMethod = (payload: ContinueOptions) => withError(instance.continue(payload));\nexport const tryAnotherMethod = (payload?: CustomOptions) =>\n withError(instance.tryAnotherMethod(payload));\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';\n\n// Main instance hook. Returns singleton instance of MfaOtpEnrollmentQr\nexport const useMfaOtpEnrollmentQr = (): MfaOtpEnrollmentQrMembers => useMemo(() => instance, []);\n"],"names":["instance","registerScreen","MfaOtpEnrollmentQr","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","toggleView","payload","continueMethod","continue","tryAnotherMethod","useMfaOtpEnrollmentQr","useMemo"],"mappings":"qbAcA,MAAMA,EAAWC,EAA0CC,IAGrDC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAwCN,IAC/CO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAcC,GAA4Bd,EAAUH,EAASgB,WAAWC,IACxEC,EAAkBD,GAA6Bd,EAAUH,EAASmB,SAASF,IAC3EG,EAAoBH,GAC/Bd,EAAUH,EAASoB,iBAAiBH,IAMzBI,EAAwB,IAAiCC,EAAQ,IAAMtB,EAAU"}
|
|
@@ -3,5 +3,5 @@ export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers,
|
|
|
3
3
|
export declare const continueMethod: (payload: ContinueOptions) => void | Promise<void>;
|
|
4
4
|
export declare const pickPhone: (payload?: PickPhoneOptions) => void | Promise<void>;
|
|
5
5
|
export declare const tryAnotherMethod: (payload?: PickAuthenticatorOptions) => void | Promise<void>;
|
|
6
|
-
export { useCurrentScreen, useErrors, useAuth0Themes
|
|
6
|
+
export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
|
|
7
7
|
export declare const useMfaPhoneChallenge: () => MfaPhoneChallengeMembers;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mfa-phone-challenge.js","sources":["../../src/screens/mfa-phone-challenge.tsx"],"sourcesContent":["import MfaPhoneChallenge from '@auth0/auth0-acul-js/mfa-phone-challenge';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaPhoneChallengeMembers,\n ContinueOptions,\n PickPhoneOptions,\n PickAuthenticatorOptions,\n} from '@auth0/auth0-acul-js/mfa-phone-challenge';\n\n// Register the singleton instance of MfaPhoneChallenge\nconst instance = registerScreen<MfaPhoneChallengeMembers>(MfaPhoneChallenge)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaPhoneChallengeMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const continueMethod = (payload: ContinueOptions) => withError(instance.continue(payload));\nexport const pickPhone = (payload?: PickPhoneOptions) => withError(instance.pickPhone(payload));\nexport const tryAnotherMethod = (payload?: PickAuthenticatorOptions) =>\n withError(instance.tryAnotherMethod(payload));\n\n// Common hooks\nexport {
|
|
1
|
+
{"version":3,"file":"mfa-phone-challenge.js","sources":["../../src/screens/mfa-phone-challenge.tsx"],"sourcesContent":["import MfaPhoneChallenge from '@auth0/auth0-acul-js/mfa-phone-challenge';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaPhoneChallengeMembers,\n ContinueOptions,\n PickPhoneOptions,\n PickAuthenticatorOptions,\n} from '@auth0/auth0-acul-js/mfa-phone-challenge';\n\n// Register the singleton instance of MfaPhoneChallenge\nconst instance = registerScreen<MfaPhoneChallengeMembers>(MfaPhoneChallenge)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaPhoneChallengeMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const continueMethod = (payload: ContinueOptions) => withError(instance.continue(payload));\nexport const pickPhone = (payload?: PickPhoneOptions) => withError(instance.pickPhone(payload));\nexport const tryAnotherMethod = (payload?: PickAuthenticatorOptions) =>\n withError(instance.tryAnotherMethod(payload));\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';\n\n// Main instance hook. Returns singleton instance of MfaPhoneChallenge\nexport const useMfaPhoneChallenge = (): MfaPhoneChallengeMembers => useMemo(() => instance, []);\n"],"names":["instance","registerScreen","MfaPhoneChallenge","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","continueMethod","payload","continue","pickPhone","tryAnotherMethod","useMfaPhoneChallenge","useMemo"],"mappings":"mbAeA,MAAMA,EAAWC,EAAyCC,IAGpDC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAuCN,IAC9CO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAkBC,GAA6Bd,EAAUH,EAASkB,SAASD,IAC3EE,EAAaF,GAA+Bd,EAAUH,EAASmB,UAAUF,IACzEG,EAAoBH,GAC/Bd,EAAUH,EAASoB,iBAAiBH,IAMzBI,EAAuB,IAAgCC,EAAQ,IAAMtB,EAAU"}
|
|
@@ -3,5 +3,5 @@ export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers,
|
|
|
3
3
|
export declare const pickCountryCode: (payload?: CustomOptions) => void | Promise<void>;
|
|
4
4
|
export declare const continueEnrollment: (payload: ContinueOptions) => void | Promise<void>;
|
|
5
5
|
export declare const tryAnotherMethod: (payload?: CustomOptions) => void | Promise<void>;
|
|
6
|
-
export { useCurrentScreen, useErrors, useAuth0Themes
|
|
6
|
+
export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
|
|
7
7
|
export declare const useMfaPhoneEnrollment: () => MfaPhoneEnrollmentMembers;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mfa-phone-enrollment.js","sources":["../../src/screens/mfa-phone-enrollment.tsx"],"sourcesContent":["import MfaPhoneEnrollment from '@auth0/auth0-acul-js/mfa-phone-enrollment';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaPhoneEnrollmentMembers,\n CustomOptions,\n ContinueOptions,\n} from '@auth0/auth0-acul-js/mfa-phone-enrollment';\n\n// Register the singleton instance of MfaPhoneEnrollment\nconst instance = registerScreen<MfaPhoneEnrollmentMembers>(MfaPhoneEnrollment)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaPhoneEnrollmentMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const pickCountryCode = (payload?: CustomOptions) =>\n withError(instance.pickCountryCode(payload));\nexport const continueEnrollment = (payload: ContinueOptions) =>\n withError(instance.continueEnrollment(payload));\nexport const tryAnotherMethod = (payload?: CustomOptions) =>\n withError(instance.tryAnotherMethod(payload));\n\n// Common hooks\nexport {
|
|
1
|
+
{"version":3,"file":"mfa-phone-enrollment.js","sources":["../../src/screens/mfa-phone-enrollment.tsx"],"sourcesContent":["import MfaPhoneEnrollment from '@auth0/auth0-acul-js/mfa-phone-enrollment';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaPhoneEnrollmentMembers,\n CustomOptions,\n ContinueOptions,\n} from '@auth0/auth0-acul-js/mfa-phone-enrollment';\n\n// Register the singleton instance of MfaPhoneEnrollment\nconst instance = registerScreen<MfaPhoneEnrollmentMembers>(MfaPhoneEnrollment)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaPhoneEnrollmentMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const pickCountryCode = (payload?: CustomOptions) =>\n withError(instance.pickCountryCode(payload));\nexport const continueEnrollment = (payload: ContinueOptions) =>\n withError(instance.continueEnrollment(payload));\nexport const tryAnotherMethod = (payload?: CustomOptions) =>\n withError(instance.tryAnotherMethod(payload));\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';\n\n// Main instance hook. Returns singleton instance of MfaPhoneEnrollment\nexport const useMfaPhoneEnrollment = (): MfaPhoneEnrollmentMembers => useMemo(() => instance, []);\n"],"names":["instance","registerScreen","MfaPhoneEnrollment","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","pickCountryCode","payload","continueEnrollment","tryAnotherMethod","useMfaPhoneEnrollment","useMemo"],"mappings":"obAcA,MAAMA,EAAWC,EAA0CC,IAGrDC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAwCN,IAC/CO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAmBC,GAC9Bd,EAAUH,EAASgB,gBAAgBC,IACxBC,EAAsBD,GACjCd,EAAUH,EAASkB,mBAAmBD,IAC3BE,EAAoBF,GAC/Bd,EAAUH,EAASmB,iBAAiBF,IAMzBG,EAAwB,IAAiCC,EAAQ,IAAMrB,EAAU"}
|
|
@@ -5,5 +5,5 @@ export declare const resendPushNotification: (payload?: WithRememberOptions) =>
|
|
|
5
5
|
export declare const enterCodeManually: (payload?: CustomOptions) => void | Promise<void>;
|
|
6
6
|
export declare const tryAnotherMethod: (payload?: CustomOptions) => void | Promise<void>;
|
|
7
7
|
export { useMfaPolling } from '../hooks/utility/polling-manager';
|
|
8
|
-
export { useCurrentScreen, useErrors, useAuth0Themes
|
|
8
|
+
export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
|
|
9
9
|
export declare const useMfaPushChallengePush: () => MfaPushChallengePushMembers;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mfa-push-challenge-push.js","sources":["../../src/screens/mfa-push-challenge-push.tsx"],"sourcesContent":["import MfaPushChallengePush from '@auth0/auth0-acul-js/mfa-push-challenge-push';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaPushChallengePushMembers,\n WithRememberOptions,\n CustomOptions,\n} from '@auth0/auth0-acul-js/mfa-push-challenge-push';\n\n// Register the singleton instance of MfaPushChallengePush\nconst instance = registerScreen<MfaPushChallengePushMembers>(MfaPushChallengePush)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaPushChallengePushMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const continueMethod = (payload?: WithRememberOptions) =>\n withError(instance.continue(payload));\nexport const resendPushNotification = (payload?: WithRememberOptions) =>\n withError(instance.resendPushNotification(payload));\nexport const enterCodeManually = (payload?: CustomOptions) =>\n withError(instance.enterCodeManually(payload));\nexport const tryAnotherMethod = (payload?: CustomOptions) =>\n withError(instance.tryAnotherMethod(payload));\n\n// Utility Hooks\nexport { useMfaPolling } from '../hooks/utility/polling-manager';\n\n// Common hooks\nexport {
|
|
1
|
+
{"version":3,"file":"mfa-push-challenge-push.js","sources":["../../src/screens/mfa-push-challenge-push.tsx"],"sourcesContent":["import MfaPushChallengePush from '@auth0/auth0-acul-js/mfa-push-challenge-push';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaPushChallengePushMembers,\n WithRememberOptions,\n CustomOptions,\n} from '@auth0/auth0-acul-js/mfa-push-challenge-push';\n\n// Register the singleton instance of MfaPushChallengePush\nconst instance = registerScreen<MfaPushChallengePushMembers>(MfaPushChallengePush)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaPushChallengePushMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const continueMethod = (payload?: WithRememberOptions) =>\n withError(instance.continue(payload));\nexport const resendPushNotification = (payload?: WithRememberOptions) =>\n withError(instance.resendPushNotification(payload));\nexport const enterCodeManually = (payload?: CustomOptions) =>\n withError(instance.enterCodeManually(payload));\nexport const tryAnotherMethod = (payload?: CustomOptions) =>\n withError(instance.tryAnotherMethod(payload));\n\n// Utility Hooks\nexport { useMfaPolling } from '../hooks/utility/polling-manager';\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';\n\n// Main instance hook. Returns singleton instance of MfaPushChallengePush\nexport const useMfaPushChallengePush = (): MfaPushChallengePushMembers =>\n useMemo(() => instance, []);\n"],"names":["instance","registerScreen","MfaPushChallengePush","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","continueMethod","payload","continue","resendPushNotification","enterCodeManually","tryAnotherMethod","useMfaPushChallengePush","useMemo"],"mappings":"sfAcA,MAAMA,EAAWC,EAA4CC,IAGvDC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAA0CN,IACjDO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAkBC,GAC7Bd,EAAUH,EAASkB,SAASD,IACjBE,EAA0BF,GACrCd,EAAUH,EAASmB,uBAAuBF,IAC/BG,EAAqBH,GAChCd,EAAUH,EAASoB,kBAAkBH,IAC1BI,EAAoBJ,GAC/Bd,EAAUH,EAASqB,iBAAiBJ,IASzBK,EAA0B,IACrCC,EAAQ,IAAMvB,EAAU"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import type { MfaPushEnrollmentQrMembers, CustomOptions } from '@auth0/auth0-acul-js/mfa-push-enrollment-qr';
|
|
1
|
+
import type { MfaPushEnrollmentQrMembers, CustomOptions, WithRememberOptions } from '@auth0/auth0-acul-js/mfa-push-enrollment-qr';
|
|
2
2
|
export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers, useTenant: () => import("@auth0/auth0-acul-js").TenantMembers, useBranding: () => import("@auth0/auth0-acul-js").BrandingMembers, useClient: () => import("@auth0/auth0-acul-js").ClientMembers, useOrganization: () => import("@auth0/auth0-acul-js").OrganizationMembers, usePrompt: () => import("@auth0/auth0-acul-js").PromptMembers, useScreen: () => import("@auth0/auth0-acul-js").ScreenMembersOnMfaPushEnrollmentQr, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
|
|
3
3
|
export declare const pickAuthenticator: (payload?: CustomOptions) => void | Promise<void>;
|
|
4
|
-
export
|
|
4
|
+
export declare const continueMethod: (payload?: WithRememberOptions) => void | Promise<void>;
|
|
5
|
+
export { useMfaPolling } from '../hooks/utility/polling-manager';
|
|
6
|
+
export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
|
|
5
7
|
export declare const useMfaPushEnrollmentQr: () => MfaPushEnrollmentQrMembers;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import o from"@auth0/auth0-acul-js/mfa-push-enrollment-qr";import{useMemo as r}from"react";export{useAuth0Themes}from"../hooks/common/auth0-themes.js";export{useCurrentScreen}from"../hooks/common/current-screen.js";import{errorManager as e}from"../hooks/common/errors.js";export{useErrors}from"../hooks/common/errors.js";import{ContextHooks as s}from"../hooks/context/index.js";import{registerScreen as t}from"../state/instance-store.js";const n=t(o),{withError:m}=e,u=new s(n),{useUser:a,useTenant:
|
|
1
|
+
import o from"@auth0/auth0-acul-js/mfa-push-enrollment-qr";import{useMemo as r}from"react";export{useAuth0Themes}from"../hooks/common/auth0-themes.js";export{useCurrentScreen}from"../hooks/common/current-screen.js";import{errorManager as e}from"../hooks/common/errors.js";export{useErrors}from"../hooks/common/errors.js";import{ContextHooks as s}from"../hooks/context/index.js";import{registerScreen as t}from"../state/instance-store.js";export{useMfaPolling}from"../hooks/utility/polling-manager.js";const n=t(o),{withError:m}=e,u=new s(n),{useUser:a,useTenant:i,useBranding:c,useClient:h,useOrganization:p,usePrompt:f,useScreen:l,useTransaction:j,useUntrustedData:k}=u,x=o=>m(n.pickAuthenticator(o)),g=o=>m(n.continue(o)),d=()=>r(()=>n,[]);export{g as continueMethod,x as pickAuthenticator,c as useBranding,h as useClient,d as useMfaPushEnrollmentQr,p as useOrganization,f as usePrompt,l as useScreen,i as useTenant,j as useTransaction,k as useUntrustedData,a as useUser};
|
|
2
2
|
//# sourceMappingURL=mfa-push-enrollment-qr.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mfa-push-enrollment-qr.js","sources":["../../src/screens/mfa-push-enrollment-qr.tsx"],"sourcesContent":["import MfaPushEnrollmentQr from '@auth0/auth0-acul-js/mfa-push-enrollment-qr';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaPushEnrollmentQrMembers,\n CustomOptions,\n} from '@auth0/auth0-acul-js/mfa-push-enrollment-qr';\n\n// Register the singleton instance of MfaPushEnrollmentQr\nconst instance = registerScreen<MfaPushEnrollmentQrMembers>(MfaPushEnrollmentQr)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaPushEnrollmentQrMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const pickAuthenticator = (payload?: CustomOptions) =>\n withError(instance.pickAuthenticator(payload));\n\n// Common hooks\nexport {
|
|
1
|
+
{"version":3,"file":"mfa-push-enrollment-qr.js","sources":["../../src/screens/mfa-push-enrollment-qr.tsx"],"sourcesContent":["import MfaPushEnrollmentQr from '@auth0/auth0-acul-js/mfa-push-enrollment-qr';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaPushEnrollmentQrMembers,\n CustomOptions,\n WithRememberOptions,\n} from '@auth0/auth0-acul-js/mfa-push-enrollment-qr';\n\n// Register the singleton instance of MfaPushEnrollmentQr\nconst instance = registerScreen<MfaPushEnrollmentQrMembers>(MfaPushEnrollmentQr)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaPushEnrollmentQrMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const pickAuthenticator = (payload?: CustomOptions) =>\n withError(instance.pickAuthenticator(payload));\nexport const continueMethod = (payload?: WithRememberOptions) =>\n withError(instance.continue(payload));\n\n// Utility Hooks\nexport { useMfaPolling } from '../hooks/utility/polling-manager';\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';\n\n// Main instance hook. Returns singleton instance of MfaPushEnrollmentQr\nexport const useMfaPushEnrollmentQr = (): MfaPushEnrollmentQrMembers => useMemo(() => instance, []);\n"],"names":["instance","registerScreen","MfaPushEnrollmentQr","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","pickAuthenticator","payload","continueMethod","continue","useMfaPushEnrollmentQr","useMemo"],"mappings":"qfAcA,MAAMA,EAAWC,EAA2CC,IAGtDC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAyCN,IAChDO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAqBC,GAChCd,EAAUH,EAASgB,kBAAkBC,IAC1BC,EAAkBD,GAC7Bd,EAAUH,EAASmB,SAASF,IASjBG,EAAyB,IAAkCC,EAAQ,IAAMrB,EAAU"}
|
|
@@ -2,5 +2,5 @@ import type { MfaPushListMembers, SelectMfaPushDeviceOptions, CustomOptions } fr
|
|
|
2
2
|
export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers, useTenant: () => import("@auth0/auth0-acul-js").TenantMembers, useBranding: () => import("@auth0/auth0-acul-js").BrandingMembers, useClient: () => import("@auth0/auth0-acul-js").ClientMembers, useOrganization: () => import("@auth0/auth0-acul-js").OrganizationMembers, usePrompt: () => import("@auth0/auth0-acul-js").PromptMembers, useScreen: () => import("@auth0/auth0-acul-js").ScreenMembers, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
|
|
3
3
|
export declare const selectMfaPushDevice: (payload: SelectMfaPushDeviceOptions) => void | Promise<void>;
|
|
4
4
|
export declare const goBack: (payload?: CustomOptions) => void | Promise<void>;
|
|
5
|
-
export { useCurrentScreen, useErrors, useAuth0Themes
|
|
5
|
+
export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
|
|
6
6
|
export declare const useMfaPushList: () => MfaPushListMembers;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mfa-push-list.js","sources":["../../src/screens/mfa-push-list.tsx"],"sourcesContent":["import MfaPushList from '@auth0/auth0-acul-js/mfa-push-list';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaPushListMembers,\n SelectMfaPushDeviceOptions,\n CustomOptions,\n} from '@auth0/auth0-acul-js/mfa-push-list';\n\n// Register the singleton instance of MfaPushList\nconst instance = registerScreen<MfaPushListMembers>(MfaPushList)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaPushListMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const selectMfaPushDevice = (payload: SelectMfaPushDeviceOptions) =>\n withError(instance.selectMfaPushDevice(payload));\nexport const goBack = (payload?: CustomOptions) => withError(instance.goBack(payload));\n\n// Common hooks\nexport {
|
|
1
|
+
{"version":3,"file":"mfa-push-list.js","sources":["../../src/screens/mfa-push-list.tsx"],"sourcesContent":["import MfaPushList from '@auth0/auth0-acul-js/mfa-push-list';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaPushListMembers,\n SelectMfaPushDeviceOptions,\n CustomOptions,\n} from '@auth0/auth0-acul-js/mfa-push-list';\n\n// Register the singleton instance of MfaPushList\nconst instance = registerScreen<MfaPushListMembers>(MfaPushList)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaPushListMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const selectMfaPushDevice = (payload: SelectMfaPushDeviceOptions) =>\n withError(instance.selectMfaPushDevice(payload));\nexport const goBack = (payload?: CustomOptions) => withError(instance.goBack(payload));\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';\n\n// Main instance hook. Returns singleton instance of MfaPushList\nexport const useMfaPushList = (): MfaPushListMembers => useMemo(() => instance, []);\n"],"names":["instance","registerScreen","MfaPushList","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","selectMfaPushDevice","payload","goBack","useMfaPushList","useMemo"],"mappings":"6aAcA,MAAMA,EAAWC,EAAmCC,IAG9CC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAiCN,IACxCO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAuBC,GAClCd,EAAUH,EAASgB,oBAAoBC,IAC5BC,EAAUD,GAA4Bd,EAAUH,EAASkB,OAAOD,IAMhEE,EAAiB,IAA0BC,EAAQ,IAAMpB,EAAU"}
|
|
@@ -2,5 +2,5 @@ import type { MfaPushWelcomeMembers, CustomOptions } from '@auth0/auth0-acul-js/
|
|
|
2
2
|
export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers, useTenant: () => import("@auth0/auth0-acul-js").TenantMembers, useBranding: () => import("@auth0/auth0-acul-js").BrandingMembers, useClient: () => import("@auth0/auth0-acul-js").ClientMembers, useOrganization: () => import("@auth0/auth0-acul-js").OrganizationMembers, usePrompt: () => import("@auth0/auth0-acul-js").PromptMembers, useScreen: () => import("@auth0/auth0-acul-js").ScreenMembersOnMfaPushWelcome, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
|
|
3
3
|
export declare const enroll: (payload?: CustomOptions) => void | Promise<void>;
|
|
4
4
|
export declare const pickAuthenticator: (payload?: CustomOptions) => void | Promise<void>;
|
|
5
|
-
export { useCurrentScreen, useErrors, useAuth0Themes
|
|
5
|
+
export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
|
|
6
6
|
export declare const useMfaPushWelcome: () => MfaPushWelcomeMembers;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mfa-push-welcome.js","sources":["../../src/screens/mfa-push-welcome.tsx"],"sourcesContent":["import MfaPushWelcome from '@auth0/auth0-acul-js/mfa-push-welcome';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type { MfaPushWelcomeMembers, CustomOptions } from '@auth0/auth0-acul-js/mfa-push-welcome';\n\n// Register the singleton instance of MfaPushWelcome\nconst instance = registerScreen<MfaPushWelcomeMembers>(MfaPushWelcome)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaPushWelcomeMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const enroll = (payload?: CustomOptions) => withError(instance.enroll(payload));\nexport const pickAuthenticator = (payload?: CustomOptions) =>\n withError(instance.pickAuthenticator(payload));\n\n// Common hooks\nexport {
|
|
1
|
+
{"version":3,"file":"mfa-push-welcome.js","sources":["../../src/screens/mfa-push-welcome.tsx"],"sourcesContent":["import MfaPushWelcome from '@auth0/auth0-acul-js/mfa-push-welcome';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type { MfaPushWelcomeMembers, CustomOptions } from '@auth0/auth0-acul-js/mfa-push-welcome';\n\n// Register the singleton instance of MfaPushWelcome\nconst instance = registerScreen<MfaPushWelcomeMembers>(MfaPushWelcome)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaPushWelcomeMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const enroll = (payload?: CustomOptions) => withError(instance.enroll(payload));\nexport const pickAuthenticator = (payload?: CustomOptions) =>\n withError(instance.pickAuthenticator(payload));\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';\n\n// Main instance hook. Returns singleton instance of MfaPushWelcome\nexport const useMfaPushWelcome = (): MfaPushWelcomeMembers => useMemo(() => instance, []);\n"],"names":["instance","registerScreen","MfaPushWelcome","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","enroll","payload","pickAuthenticator","useMfaPushWelcome","useMemo"],"mappings":"gbAUA,MAAMA,EAAWC,EAAsCC,IAGjDC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAoCN,IAC3CO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAUC,GAA4Bd,EAAUH,EAASgB,OAAOC,IAChEC,EAAqBD,GAChCd,EAAUH,EAASkB,kBAAkBD,IAM1BE,EAAoB,IAA6BC,EAAQ,IAAMpB,EAAU"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MfaRecoveryCodeChallengeNewCodeMembers, ContinueOptions } from '@auth0/auth0-acul-js/mfa-recovery-code-challenge-new-code';
|
|
2
2
|
export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers, useTenant: () => import("@auth0/auth0-acul-js").TenantMembers, useBranding: () => import("@auth0/auth0-acul-js").BrandingMembers, useClient: () => import("@auth0/auth0-acul-js").ClientMembers, useOrganization: () => import("@auth0/auth0-acul-js").OrganizationMembers, usePrompt: () => import("@auth0/auth0-acul-js").PromptMembers, useScreen: () => import("@auth0/auth0-acul-js").ScreenMembersOnMfaRecoveryCodeChallengeNewCode, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
|
|
3
3
|
export declare const continueMethod: (payload?: ContinueOptions) => void | Promise<void>;
|
|
4
|
-
export { useCurrentScreen, useErrors, useAuth0Themes
|
|
4
|
+
export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
|
|
5
5
|
export declare const useMfaRecoveryCodeChallengeNewCode: () => MfaRecoveryCodeChallengeNewCodeMembers;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mfa-recovery-code-challenge-new-code.js","sources":["../../src/screens/mfa-recovery-code-challenge-new-code.tsx"],"sourcesContent":["import MfaRecoveryCodeChallengeNewCode from '@auth0/auth0-acul-js/mfa-recovery-code-challenge-new-code';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaRecoveryCodeChallengeNewCodeMembers,\n ContinueOptions,\n} from '@auth0/auth0-acul-js/mfa-recovery-code-challenge-new-code';\n\n// Register the singleton instance of MfaRecoveryCodeChallengeNewCode\nconst instance = registerScreen<MfaRecoveryCodeChallengeNewCodeMembers>(\n MfaRecoveryCodeChallengeNewCode\n)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaRecoveryCodeChallengeNewCodeMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const continueMethod = (payload?: ContinueOptions) => withError(instance.continue(payload));\n\n// Common hooks\nexport {
|
|
1
|
+
{"version":3,"file":"mfa-recovery-code-challenge-new-code.js","sources":["../../src/screens/mfa-recovery-code-challenge-new-code.tsx"],"sourcesContent":["import MfaRecoveryCodeChallengeNewCode from '@auth0/auth0-acul-js/mfa-recovery-code-challenge-new-code';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaRecoveryCodeChallengeNewCodeMembers,\n ContinueOptions,\n} from '@auth0/auth0-acul-js/mfa-recovery-code-challenge-new-code';\n\n// Register the singleton instance of MfaRecoveryCodeChallengeNewCode\nconst instance = registerScreen<MfaRecoveryCodeChallengeNewCodeMembers>(\n MfaRecoveryCodeChallengeNewCode\n)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaRecoveryCodeChallengeNewCodeMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const continueMethod = (payload?: ContinueOptions) => withError(instance.continue(payload));\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';\n\n// Main instance hook. Returns singleton instance of MfaRecoveryCodeChallengeNewCode\nexport const useMfaRecoveryCodeChallengeNewCode = (): MfaRecoveryCodeChallengeNewCodeMembers =>\n useMemo(() => instance, []);\n"],"names":["instance","registerScreen","MfaRecoveryCodeChallengeNewCode","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","continueMethod","payload","continue","useMfaRecoveryCodeChallengeNewCode","useMemo"],"mappings":"ocAaA,MAAMA,EAAWC,EACfC,IAIIC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAqDN,IAC5DO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAkBC,GAA8Bd,EAAUH,EAASkB,SAASD,IAM5EE,EAAqC,IAChDC,EAAQ,IAAMpB,EAAU"}
|
|
@@ -2,5 +2,5 @@ import type { MfaRecoveryCodeChallengeMembers, ContinueOptions, CustomOptions }
|
|
|
2
2
|
export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers, useTenant: () => import("@auth0/auth0-acul-js").TenantMembers, useBranding: () => import("@auth0/auth0-acul-js").BrandingMembers, useClient: () => import("@auth0/auth0-acul-js").ClientMembers, useOrganization: () => import("@auth0/auth0-acul-js").OrganizationMembers, usePrompt: () => import("@auth0/auth0-acul-js").PromptMembers, useScreen: () => import("@auth0/auth0-acul-js").ScreenMembers, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
|
|
3
3
|
export declare const continueMethod: (payload: ContinueOptions) => void | Promise<void>;
|
|
4
4
|
export declare const tryAnotherMethod: (payload?: CustomOptions) => void | Promise<void>;
|
|
5
|
-
export { useCurrentScreen, useErrors, useAuth0Themes
|
|
5
|
+
export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
|
|
6
6
|
export declare const useMfaRecoveryCodeChallenge: () => MfaRecoveryCodeChallengeMembers;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mfa-recovery-code-challenge.js","sources":["../../src/screens/mfa-recovery-code-challenge.tsx"],"sourcesContent":["import MfaRecoveryCodeChallenge from '@auth0/auth0-acul-js/mfa-recovery-code-challenge';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaRecoveryCodeChallengeMembers,\n ContinueOptions,\n CustomOptions,\n} from '@auth0/auth0-acul-js/mfa-recovery-code-challenge';\n\n// Register the singleton instance of MfaRecoveryCodeChallenge\nconst instance = registerScreen<MfaRecoveryCodeChallengeMembers>(MfaRecoveryCodeChallenge)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaRecoveryCodeChallengeMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const continueMethod = (payload: ContinueOptions) => withError(instance.continue(payload));\nexport const tryAnotherMethod = (payload?: CustomOptions) =>\n withError(instance.tryAnotherMethod(payload));\n\n// Common hooks\nexport {
|
|
1
|
+
{"version":3,"file":"mfa-recovery-code-challenge.js","sources":["../../src/screens/mfa-recovery-code-challenge.tsx"],"sourcesContent":["import MfaRecoveryCodeChallenge from '@auth0/auth0-acul-js/mfa-recovery-code-challenge';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaRecoveryCodeChallengeMembers,\n ContinueOptions,\n CustomOptions,\n} from '@auth0/auth0-acul-js/mfa-recovery-code-challenge';\n\n// Register the singleton instance of MfaRecoveryCodeChallenge\nconst instance = registerScreen<MfaRecoveryCodeChallengeMembers>(MfaRecoveryCodeChallenge)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaRecoveryCodeChallengeMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const continueMethod = (payload: ContinueOptions) => withError(instance.continue(payload));\nexport const tryAnotherMethod = (payload?: CustomOptions) =>\n withError(instance.tryAnotherMethod(payload));\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';\n\n// Main instance hook. Returns singleton instance of MfaRecoveryCodeChallenge\nexport const useMfaRecoveryCodeChallenge = (): MfaRecoveryCodeChallengeMembers =>\n useMemo(() => instance, []);\n"],"names":["instance","registerScreen","MfaRecoveryCodeChallenge","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","continueMethod","payload","continue","tryAnotherMethod","useMfaRecoveryCodeChallenge","useMemo"],"mappings":"2bAcA,MAAMA,EAAWC,EAAgDC,IAG3DC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAA8CN,IACrDO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAkBC,GAA6Bd,EAAUH,EAASkB,SAASD,IAC3EE,EAAoBF,GAC/Bd,EAAUH,EAASmB,iBAAiBF,IAMzBG,EAA8B,IACzCC,EAAQ,IAAMrB,EAAU"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MfaRecoveryCodeEnrollmentMembers, MfaRecoveryCodeEnrollmentContinueOptions } from '@auth0/auth0-acul-js/mfa-recovery-code-enrollment';
|
|
2
2
|
export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers, useTenant: () => import("@auth0/auth0-acul-js").TenantMembers, useBranding: () => import("@auth0/auth0-acul-js").BrandingMembers, useClient: () => import("@auth0/auth0-acul-js").ClientMembers, useOrganization: () => import("@auth0/auth0-acul-js").OrganizationMembers, usePrompt: () => import("@auth0/auth0-acul-js").PromptMembers, useScreen: () => import("@auth0/auth0-acul-js").ScreenMembersOnMfaRecoveryCodeEnrollment, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
|
|
3
3
|
export declare const continueMethod: (payload: MfaRecoveryCodeEnrollmentContinueOptions) => void | Promise<void>;
|
|
4
|
-
export { useCurrentScreen, useErrors, useAuth0Themes
|
|
4
|
+
export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
|
|
5
5
|
export declare const useMfaRecoveryCodeEnrollment: () => MfaRecoveryCodeEnrollmentMembers;
|