@auth0/auth0-acul-react 1.0.0-alpha.2 → 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 +77 -77
- package/dist/export/getting-started.d.ts +1 -1
- package/dist/hooks/common/errors.d.ts +12 -12
- package/dist/hooks/common/errors.js +1 -1
- package/dist/hooks/common/errors.js.map +1 -1
- package/dist/hooks/index.d.ts +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 +1 -1
- package/dist/screens/login-id.js.map +1 -1
- package/dist/screens/login-password.d.ts +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 +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 +3 -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 +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 +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 +11 -11
- 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 +2 -2
|
@@ -3,5 +3,5 @@ export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers,
|
|
|
3
3
|
export declare const verify: (options?: VerifySecurityKeyOptions) => void | Promise<void>;
|
|
4
4
|
export declare const reportWebAuthnError: (options: ReportWebAuthnErrorOptions) => void | Promise<void>;
|
|
5
5
|
export declare const tryAnotherMethod: (options?: TryAnotherMethodOptions) => void | Promise<void>;
|
|
6
|
-
export { useCurrentScreen, useErrors, useAuth0Themes
|
|
6
|
+
export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
|
|
7
7
|
export declare const useMfaWebAuthnRoamingChallenge: () => MfaWebAuthnRoamingChallengeMembers;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mfa-webauthn-roaming-challenge.js","sources":["../../src/screens/mfa-webauthn-roaming-challenge.tsx"],"sourcesContent":["import MfaWebAuthnRoamingChallenge from '@auth0/auth0-acul-js/mfa-webauthn-roaming-challenge';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaWebAuthnRoamingChallengeMembers,\n VerifySecurityKeyOptions,\n ReportWebAuthnErrorOptions,\n TryAnotherMethodOptions,\n} from '@auth0/auth0-acul-js/mfa-webauthn-roaming-challenge';\n\n// Register the singleton instance of MfaWebAuthnRoamingChallenge\nconst instance = registerScreen<MfaWebAuthnRoamingChallengeMembers>(MfaWebAuthnRoamingChallenge)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaWebAuthnRoamingChallengeMembers>(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 verify = (options?: VerifySecurityKeyOptions) => withError(instance.verify(options));\nexport const reportWebAuthnError = (options: ReportWebAuthnErrorOptions) =>\n withError(instance.reportWebAuthnError(options));\nexport const tryAnotherMethod = (options?: TryAnotherMethodOptions) =>\n withError(instance.tryAnotherMethod(options));\n\n// Common hooks\nexport {
|
|
1
|
+
{"version":3,"file":"mfa-webauthn-roaming-challenge.js","sources":["../../src/screens/mfa-webauthn-roaming-challenge.tsx"],"sourcesContent":["import MfaWebAuthnRoamingChallenge from '@auth0/auth0-acul-js/mfa-webauthn-roaming-challenge';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaWebAuthnRoamingChallengeMembers,\n VerifySecurityKeyOptions,\n ReportWebAuthnErrorOptions,\n TryAnotherMethodOptions,\n} from '@auth0/auth0-acul-js/mfa-webauthn-roaming-challenge';\n\n// Register the singleton instance of MfaWebAuthnRoamingChallenge\nconst instance = registerScreen<MfaWebAuthnRoamingChallengeMembers>(MfaWebAuthnRoamingChallenge)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaWebAuthnRoamingChallengeMembers>(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 verify = (options?: VerifySecurityKeyOptions) => withError(instance.verify(options));\nexport const reportWebAuthnError = (options: ReportWebAuthnErrorOptions) =>\n withError(instance.reportWebAuthnError(options));\nexport const tryAnotherMethod = (options?: TryAnotherMethodOptions) =>\n withError(instance.tryAnotherMethod(options));\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';\n\n// Main instance hook. Returns singleton instance of MfaWebAuthnRoamingChallenge\nexport const useMfaWebAuthnRoamingChallenge = (): MfaWebAuthnRoamingChallengeMembers =>\n useMemo(() => instance, []);\n"],"names":["instance","registerScreen","MfaWebAuthnRoamingChallenge","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","verify","options","reportWebAuthnError","tryAnotherMethod","useMfaWebAuthnRoamingChallenge","useMemo"],"mappings":"8bAeA,MAAMA,EAAWC,EAAmDC,IAG9DC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAiDN,IACxDO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAUC,GAAuCd,EAAUH,EAASgB,OAAOC,IAC3EC,EAAuBD,GAClCd,EAAUH,EAASkB,oBAAoBD,IAC5BE,EAAoBF,GAC/Bd,EAAUH,EAASmB,iBAAiBF,IAMzBG,EAAiC,IAC5CC,EAAQ,IAAMrB,EAAU"}
|
|
@@ -3,5 +3,5 @@ export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers,
|
|
|
3
3
|
export declare const enroll: (payload: CustomOptions) => void | Promise<void>;
|
|
4
4
|
export declare const showError: (payload: ShowErrorOptions) => void | Promise<void>;
|
|
5
5
|
export declare const tryAnotherMethod: (payload?: TryAnotherMethodOptions) => void | Promise<void>;
|
|
6
|
-
export { useCurrentScreen, useErrors, useAuth0Themes
|
|
6
|
+
export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
|
|
7
7
|
export declare const useMfaWebAuthnRoamingEnrollment: () => MfaWebAuthnRoamingEnrollmentMembers;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mfa-webauthn-roaming-enrollment.js","sources":["../../src/screens/mfa-webauthn-roaming-enrollment.tsx"],"sourcesContent":["import MfaWebAuthnRoamingEnrollment from '@auth0/auth0-acul-js/mfa-webauthn-roaming-enrollment';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaWebAuthnRoamingEnrollmentMembers,\n CustomOptions,\n ShowErrorOptions,\n TryAnotherMethodOptions,\n} from '@auth0/auth0-acul-js/mfa-webauthn-roaming-enrollment';\n\n// Register the singleton instance of MfaWebAuthnRoamingEnrollment\nconst instance = registerScreen<MfaWebAuthnRoamingEnrollmentMembers>(MfaWebAuthnRoamingEnrollment)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaWebAuthnRoamingEnrollmentMembers>(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 showError = (payload: ShowErrorOptions) => withError(instance.showError(payload));\nexport const tryAnotherMethod = (payload?: TryAnotherMethodOptions) =>\n withError(instance.tryAnotherMethod(payload));\n\n// Common hooks\nexport {
|
|
1
|
+
{"version":3,"file":"mfa-webauthn-roaming-enrollment.js","sources":["../../src/screens/mfa-webauthn-roaming-enrollment.tsx"],"sourcesContent":["import MfaWebAuthnRoamingEnrollment from '@auth0/auth0-acul-js/mfa-webauthn-roaming-enrollment';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaWebAuthnRoamingEnrollmentMembers,\n CustomOptions,\n ShowErrorOptions,\n TryAnotherMethodOptions,\n} from '@auth0/auth0-acul-js/mfa-webauthn-roaming-enrollment';\n\n// Register the singleton instance of MfaWebAuthnRoamingEnrollment\nconst instance = registerScreen<MfaWebAuthnRoamingEnrollmentMembers>(MfaWebAuthnRoamingEnrollment)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaWebAuthnRoamingEnrollmentMembers>(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 showError = (payload: ShowErrorOptions) => withError(instance.showError(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 MfaWebAuthnRoamingEnrollment\nexport const useMfaWebAuthnRoamingEnrollment = (): MfaWebAuthnRoamingEnrollmentMembers =>\n useMemo(() => instance, []);\n"],"names":["instance","registerScreen","MfaWebAuthnRoamingEnrollment","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","enroll","payload","showError","tryAnotherMethod","useMfaWebAuthnRoamingEnrollment","useMemo"],"mappings":"+bAeA,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,EAAUC,GAA2Bd,EAAUH,EAASgB,OAAOC,IAC/DC,EAAaD,GAA8Bd,EAAUH,EAASkB,UAAUD,IACxEE,EAAoBF,GAC/Bd,EAAUH,EAASmB,iBAAiBF,IAMzBG,EAAkC,IAC7CC,EAAQ,IAAMrB,EAAU"}
|
|
@@ -5,5 +5,5 @@ export declare const selectOrganization: (payload: {
|
|
|
5
5
|
state: string;
|
|
6
6
|
}) => void | Promise<void>;
|
|
7
7
|
export declare const skipOrganizationSelection: (payload?: CustomOptions) => void | Promise<void>;
|
|
8
|
-
export { useCurrentScreen, useErrors, useAuth0Themes
|
|
8
|
+
export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
|
|
9
9
|
export declare const useOrganizationPicker: () => OrganizationPickerMembers;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organization-picker.js","sources":["../../src/screens/organization-picker.tsx"],"sourcesContent":["import OrganizationPicker from '@auth0/auth0-acul-js/organization-picker';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n OrganizationPickerMembers,\n CustomOptions,\n} from '@auth0/auth0-acul-js/organization-picker';\n\n// Register the singleton instance of OrganizationPicker\nconst instance = registerScreen<OrganizationPickerMembers>(OrganizationPicker)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<OrganizationPickerMembers>(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 selectOrganization = (payload: { organization: string; state: string }) =>\n withError(instance.selectOrganization(payload));\nexport const skipOrganizationSelection = (payload?: CustomOptions) =>\n withError(instance.skipOrganizationSelection(payload));\n\n// Common hooks\nexport {
|
|
1
|
+
{"version":3,"file":"organization-picker.js","sources":["../../src/screens/organization-picker.tsx"],"sourcesContent":["import OrganizationPicker from '@auth0/auth0-acul-js/organization-picker';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n OrganizationPickerMembers,\n CustomOptions,\n} from '@auth0/auth0-acul-js/organization-picker';\n\n// Register the singleton instance of OrganizationPicker\nconst instance = registerScreen<OrganizationPickerMembers>(OrganizationPicker)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<OrganizationPickerMembers>(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 selectOrganization = (payload: { organization: string; state: string }) =>\n withError(instance.selectOrganization(payload));\nexport const skipOrganizationSelection = (payload?: CustomOptions) =>\n withError(instance.skipOrganizationSelection(payload));\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';\n\n// Main instance hook. Returns singleton instance of OrganizationPicker\nexport const useOrganizationPicker = (): OrganizationPickerMembers => useMemo(() => instance, []);\n"],"names":["instance","registerScreen","OrganizationPicker","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","selectOrganization","payload","skipOrganizationSelection","useOrganizationPicker","useMemo"],"mappings":"mbAaA,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,EAAsBC,GACjCd,EAAUH,EAASgB,mBAAmBC,IAC3BC,EAA6BD,GACxCd,EAAUH,EAASkB,0BAA0BD,IAMlCE,EAAwB,IAAiCC,EAAQ,IAAMpB,EAAU"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { OrganizationSelectionMembers, ContinueWithOrganizationNameOptions } from '@auth0/auth0-acul-js/organization-selection';
|
|
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").ScreenMembersOnOrganizationSelection, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
|
|
3
3
|
export declare const continueWithOrganizationName: (payload: ContinueWithOrganizationNameOptions) => void | Promise<void>;
|
|
4
|
-
export { useCurrentScreen, useErrors, useAuth0Themes
|
|
4
|
+
export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
|
|
5
5
|
export declare const useOrganizationSelection: () => OrganizationSelectionMembers;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organization-selection.js","sources":["../../src/screens/organization-selection.tsx"],"sourcesContent":["import OrganizationSelection from '@auth0/auth0-acul-js/organization-selection';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n OrganizationSelectionMembers,\n ContinueWithOrganizationNameOptions,\n} from '@auth0/auth0-acul-js/organization-selection';\n\n// Register the singleton instance of OrganizationSelection\nconst instance = registerScreen<OrganizationSelectionMembers>(OrganizationSelection)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<OrganizationSelectionMembers>(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 continueWithOrganizationName = (payload: ContinueWithOrganizationNameOptions) =>\n withError(instance.continueWithOrganizationName(payload));\n\n// Common hooks\nexport {
|
|
1
|
+
{"version":3,"file":"organization-selection.js","sources":["../../src/screens/organization-selection.tsx"],"sourcesContent":["import OrganizationSelection from '@auth0/auth0-acul-js/organization-selection';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n OrganizationSelectionMembers,\n ContinueWithOrganizationNameOptions,\n} from '@auth0/auth0-acul-js/organization-selection';\n\n// Register the singleton instance of OrganizationSelection\nconst instance = registerScreen<OrganizationSelectionMembers>(OrganizationSelection)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<OrganizationSelectionMembers>(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 continueWithOrganizationName = (payload: ContinueWithOrganizationNameOptions) =>\n withError(instance.continueWithOrganizationName(payload));\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';\n\n// Main instance hook. Returns singleton instance of OrganizationSelection\nexport const useOrganizationSelection = (): OrganizationSelectionMembers =>\n useMemo(() => instance, []);\n"],"names":["instance","registerScreen","OrganizationSelection","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","continueWithOrganizationName","payload","useOrganizationSelection","useMemo"],"mappings":"sbAaA,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,EAAgCC,GAC3Cd,EAAUH,EAASgB,6BAA6BC,IAMrCC,EAA2B,IACtCC,EAAQ,IAAMnB,EAAU"}
|
|
@@ -2,5 +2,5 @@ import type { PasskeyEnrollmentLocalMembers, CustomOptions, AbortEnrollmentOptio
|
|
|
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").ScreenMembersOnPasskeyEnrollmentLocal, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
|
|
3
3
|
export declare const continuePasskeyEnrollment: (payload?: CustomOptions) => void | Promise<void>;
|
|
4
4
|
export declare const abortPasskeyEnrollment: (payload: AbortEnrollmentOptions) => void | Promise<void>;
|
|
5
|
-
export { useCurrentScreen, useErrors, useAuth0Themes
|
|
5
|
+
export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
|
|
6
6
|
export declare const usePasskeyEnrollmentLocal: () => PasskeyEnrollmentLocalMembers;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"passkey-enrollment-local.js","sources":["../../src/screens/passkey-enrollment-local.tsx"],"sourcesContent":["import PasskeyEnrollmentLocal from '@auth0/auth0-acul-js/passkey-enrollment-local';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n PasskeyEnrollmentLocalMembers,\n CustomOptions,\n AbortEnrollmentOptions,\n} from '@auth0/auth0-acul-js/passkey-enrollment-local';\n\n// Register the singleton instance of PasskeyEnrollmentLocal\nconst instance = registerScreen<PasskeyEnrollmentLocalMembers>(PasskeyEnrollmentLocal)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<PasskeyEnrollmentLocalMembers>(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 continuePasskeyEnrollment = (payload?: CustomOptions) =>\n withError(instance.continuePasskeyEnrollment(payload));\nexport const abortPasskeyEnrollment = (payload: AbortEnrollmentOptions) =>\n withError(instance.abortPasskeyEnrollment(payload));\n\n// Common hooks\nexport {
|
|
1
|
+
{"version":3,"file":"passkey-enrollment-local.js","sources":["../../src/screens/passkey-enrollment-local.tsx"],"sourcesContent":["import PasskeyEnrollmentLocal from '@auth0/auth0-acul-js/passkey-enrollment-local';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n PasskeyEnrollmentLocalMembers,\n CustomOptions,\n AbortEnrollmentOptions,\n} from '@auth0/auth0-acul-js/passkey-enrollment-local';\n\n// Register the singleton instance of PasskeyEnrollmentLocal\nconst instance = registerScreen<PasskeyEnrollmentLocalMembers>(PasskeyEnrollmentLocal)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<PasskeyEnrollmentLocalMembers>(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 continuePasskeyEnrollment = (payload?: CustomOptions) =>\n withError(instance.continuePasskeyEnrollment(payload));\nexport const abortPasskeyEnrollment = (payload: AbortEnrollmentOptions) =>\n withError(instance.abortPasskeyEnrollment(payload));\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';\n\n// Main instance hook. Returns singleton instance of PasskeyEnrollmentLocal\nexport const usePasskeyEnrollmentLocal = (): PasskeyEnrollmentLocalMembers =>\n useMemo(() => instance, []);\n"],"names":["instance","registerScreen","PasskeyEnrollmentLocal","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","continuePasskeyEnrollment","payload","abortPasskeyEnrollment","usePasskeyEnrollmentLocal","useMemo"],"mappings":"wbAcA,MAAMA,EAAWC,EAA8CC,IAGzDC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAA4CN,IACnDO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAA6BC,GACxCd,EAAUH,EAASgB,0BAA0BC,IAClCC,EAA0BD,GACrCd,EAAUH,EAASkB,uBAAuBD,IAM/BE,EAA4B,IACvCC,EAAQ,IAAMpB,EAAU"}
|
|
@@ -2,5 +2,5 @@ import type { PasskeyEnrollmentMembers, CustomOptions } from '@auth0/auth0-acul-
|
|
|
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").ScreenMembersOnPasskeyEnrollment, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
|
|
3
3
|
export declare const continuePasskeyEnrollment: (payload?: CustomOptions) => void | Promise<void>;
|
|
4
4
|
export declare const abortPasskeyEnrollment: (payload?: CustomOptions) => void | Promise<void>;
|
|
5
|
-
export { useCurrentScreen, useErrors, useAuth0Themes
|
|
5
|
+
export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
|
|
6
6
|
export declare const usePasskeyEnrollment: () => PasskeyEnrollmentMembers;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"passkey-enrollment.js","sources":["../../src/screens/passkey-enrollment.tsx"],"sourcesContent":["import PasskeyEnrollment from '@auth0/auth0-acul-js/passkey-enrollment';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n PasskeyEnrollmentMembers,\n CustomOptions,\n} from '@auth0/auth0-acul-js/passkey-enrollment';\n\n// Register the singleton instance of PasskeyEnrollment\nconst instance = registerScreen<PasskeyEnrollmentMembers>(PasskeyEnrollment)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<PasskeyEnrollmentMembers>(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 continuePasskeyEnrollment = (payload?: CustomOptions) =>\n withError(instance.continuePasskeyEnrollment(payload));\nexport const abortPasskeyEnrollment = (payload?: CustomOptions) =>\n withError(instance.abortPasskeyEnrollment(payload));\n\n// Common hooks\nexport {
|
|
1
|
+
{"version":3,"file":"passkey-enrollment.js","sources":["../../src/screens/passkey-enrollment.tsx"],"sourcesContent":["import PasskeyEnrollment from '@auth0/auth0-acul-js/passkey-enrollment';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n PasskeyEnrollmentMembers,\n CustomOptions,\n} from '@auth0/auth0-acul-js/passkey-enrollment';\n\n// Register the singleton instance of PasskeyEnrollment\nconst instance = registerScreen<PasskeyEnrollmentMembers>(PasskeyEnrollment)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<PasskeyEnrollmentMembers>(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 continuePasskeyEnrollment = (payload?: CustomOptions) =>\n withError(instance.continuePasskeyEnrollment(payload));\nexport const abortPasskeyEnrollment = (payload?: CustomOptions) =>\n withError(instance.abortPasskeyEnrollment(payload));\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';\n\n// Main instance hook. Returns singleton instance of PasskeyEnrollment\nexport const usePasskeyEnrollment = (): PasskeyEnrollmentMembers => useMemo(() => instance, []);\n"],"names":["instance","registerScreen","PasskeyEnrollment","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","continuePasskeyEnrollment","payload","abortPasskeyEnrollment","usePasskeyEnrollment","useMemo"],"mappings":"kbAaA,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,EAA6BC,GACxCd,EAAUH,EAASgB,0BAA0BC,IAClCC,EAA0BD,GACrCd,EAAUH,EAASkB,uBAAuBD,IAM/BE,EAAuB,IAAgCC,EAAQ,IAAMpB,EAAU"}
|
|
@@ -6,5 +6,5 @@ export declare const returnToPrevious: (payload?: CustomOptions) => void | Promi
|
|
|
6
6
|
export declare const switchToVoice: (payload?: CustomOptions) => void | Promise<void>;
|
|
7
7
|
export declare const switchToText: (payload?: CustomOptions) => void | Promise<void>;
|
|
8
8
|
export { useResend } from '../hooks/utility/resend-manager';
|
|
9
|
-
export { useCurrentScreen, useErrors, useAuth0Themes
|
|
9
|
+
export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
|
|
10
10
|
export declare const usePhoneIdentifierChallenge: () => PhoneIdentifierChallengeMembers;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"phone-identifier-challenge.js","sources":["../../src/screens/phone-identifier-challenge.tsx"],"sourcesContent":["import PhoneIdentifierChallenge from '@auth0/auth0-acul-js/phone-identifier-challenge';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n PhoneIdentifierChallengeMembers,\n PhoneChallengeOptions,\n CustomOptions,\n} from '@auth0/auth0-acul-js/phone-identifier-challenge';\n\n// Register the singleton instance of PhoneIdentifierChallenge\nconst instance = registerScreen<PhoneIdentifierChallengeMembers>(PhoneIdentifierChallenge)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<PhoneIdentifierChallengeMembers>(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 submitPhoneChallenge = (payload: PhoneChallengeOptions) =>\n withError(instance.submitPhoneChallenge(payload));\nexport const resendCode = (payload?: CustomOptions) => withError(instance.resendCode(payload));\nexport const returnToPrevious = (payload?: CustomOptions) =>\n withError(instance.returnToPrevious(payload));\nexport const switchToVoice = (payload?: CustomOptions) =>\n withError(instance.switchToVoice(payload));\nexport const switchToText = (payload?: CustomOptions) => withError(instance.switchToText(payload));\n\n// Utility Hooks\nexport { useResend } from '../hooks/utility/resend-manager';\n\n// Common hooks\nexport {
|
|
1
|
+
{"version":3,"file":"phone-identifier-challenge.js","sources":["../../src/screens/phone-identifier-challenge.tsx"],"sourcesContent":["import PhoneIdentifierChallenge from '@auth0/auth0-acul-js/phone-identifier-challenge';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n PhoneIdentifierChallengeMembers,\n PhoneChallengeOptions,\n CustomOptions,\n} from '@auth0/auth0-acul-js/phone-identifier-challenge';\n\n// Register the singleton instance of PhoneIdentifierChallenge\nconst instance = registerScreen<PhoneIdentifierChallengeMembers>(PhoneIdentifierChallenge)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<PhoneIdentifierChallengeMembers>(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 submitPhoneChallenge = (payload: PhoneChallengeOptions) =>\n withError(instance.submitPhoneChallenge(payload));\nexport const resendCode = (payload?: CustomOptions) => withError(instance.resendCode(payload));\nexport const returnToPrevious = (payload?: CustomOptions) =>\n withError(instance.returnToPrevious(payload));\nexport const switchToVoice = (payload?: CustomOptions) =>\n withError(instance.switchToVoice(payload));\nexport const switchToText = (payload?: CustomOptions) => withError(instance.switchToText(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 PhoneIdentifierChallenge\nexport const usePhoneIdentifierChallenge = (): PhoneIdentifierChallengeMembers =>\n useMemo(() => instance, []);\n"],"names":["instance","registerScreen","PhoneIdentifierChallenge","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","submitPhoneChallenge","payload","resendCode","returnToPrevious","switchToVoice","switchToText","usePhoneIdentifierChallenge","useMemo"],"mappings":"ofAcA,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,EAAwBC,GACnCd,EAAUH,EAASgB,qBAAqBC,IAC7BC,EAAcD,GAA4Bd,EAAUH,EAASkB,WAAWD,IACxEE,EAAoBF,GAC/Bd,EAAUH,EAASmB,iBAAiBF,IACzBG,EAAiBH,GAC5Bd,EAAUH,EAASoB,cAAcH,IACtBI,EAAgBJ,GAA4Bd,EAAUH,EAASqB,aAAaJ,IAS5EK,EAA8B,IACzCC,EAAQ,IAAMvB,EAAU"}
|
|
@@ -2,5 +2,5 @@ import type { PhoneIdentifierEnrollmentMembers, PhoneEnrollmentOptions, CustomOp
|
|
|
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").ScreenMembersOnPhoneIdentifierEnrollment, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
|
|
3
3
|
export declare const continuePhoneEnrollment: (payload: PhoneEnrollmentOptions) => void | Promise<void>;
|
|
4
4
|
export declare const returnToPrevious: (payload?: CustomOptions) => void | Promise<void>;
|
|
5
|
-
export { useCurrentScreen, useErrors, useAuth0Themes
|
|
5
|
+
export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
|
|
6
6
|
export declare const usePhoneIdentifierEnrollment: () => PhoneIdentifierEnrollmentMembers;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"phone-identifier-enrollment.js","sources":["../../src/screens/phone-identifier-enrollment.tsx"],"sourcesContent":["import PhoneIdentifierEnrollment from '@auth0/auth0-acul-js/phone-identifier-enrollment';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n PhoneIdentifierEnrollmentMembers,\n PhoneEnrollmentOptions,\n CustomOptions,\n} from '@auth0/auth0-acul-js/phone-identifier-enrollment';\n\n// Register the singleton instance of PhoneIdentifierEnrollment\nconst instance = registerScreen<PhoneIdentifierEnrollmentMembers>(PhoneIdentifierEnrollment)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<PhoneIdentifierEnrollmentMembers>(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 continuePhoneEnrollment = (payload: PhoneEnrollmentOptions) =>\n withError(instance.continuePhoneEnrollment(payload));\nexport const returnToPrevious = (payload?: CustomOptions) =>\n withError(instance.returnToPrevious(payload));\n\n// Common hooks\nexport {
|
|
1
|
+
{"version":3,"file":"phone-identifier-enrollment.js","sources":["../../src/screens/phone-identifier-enrollment.tsx"],"sourcesContent":["import PhoneIdentifierEnrollment from '@auth0/auth0-acul-js/phone-identifier-enrollment';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n PhoneIdentifierEnrollmentMembers,\n PhoneEnrollmentOptions,\n CustomOptions,\n} from '@auth0/auth0-acul-js/phone-identifier-enrollment';\n\n// Register the singleton instance of PhoneIdentifierEnrollment\nconst instance = registerScreen<PhoneIdentifierEnrollmentMembers>(PhoneIdentifierEnrollment)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<PhoneIdentifierEnrollmentMembers>(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 continuePhoneEnrollment = (payload: PhoneEnrollmentOptions) =>\n withError(instance.continuePhoneEnrollment(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 PhoneIdentifierEnrollment\nexport const usePhoneIdentifierEnrollment = (): PhoneIdentifierEnrollmentMembers =>\n useMemo(() => instance, []);\n"],"names":["instance","registerScreen","PhoneIdentifierEnrollment","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","continuePhoneEnrollment","payload","returnToPrevious","usePhoneIdentifierEnrollment","useMemo"],"mappings":"2bAcA,MAAMA,EAAWC,EAAiDC,IAG5DC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAA+CN,IACtDO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAA2BC,GACtCd,EAAUH,EAASgB,wBAAwBC,IAChCC,EAAoBD,GAC/Bd,EAAUH,EAASkB,iBAAiBD,IAMzBE,EAA+B,IAC1CC,EAAQ,IAAMpB,EAAU"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { RedeemTicketMembers, CustomOptions } from '@auth0/auth0-acul-js/redeem-ticket';
|
|
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?: CustomOptions) => void | Promise<void>;
|
|
4
|
-
export { useCurrentScreen, useErrors, useAuth0Themes
|
|
4
|
+
export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
|
|
5
5
|
export declare const useRedeemTicket: () => RedeemTicketMembers;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"redeem-ticket.js","sources":["../../src/screens/redeem-ticket.tsx"],"sourcesContent":["import RedeemTicket from '@auth0/auth0-acul-js/redeem-ticket';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type { RedeemTicketMembers, CustomOptions } from '@auth0/auth0-acul-js/redeem-ticket';\n\n// Register the singleton instance of RedeemTicket\nconst instance = registerScreen<RedeemTicketMembers>(RedeemTicket)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<RedeemTicketMembers>(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?: CustomOptions) => withError(instance.continue(payload));\n\n// Common hooks\nexport {
|
|
1
|
+
{"version":3,"file":"redeem-ticket.js","sources":["../../src/screens/redeem-ticket.tsx"],"sourcesContent":["import RedeemTicket from '@auth0/auth0-acul-js/redeem-ticket';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type { RedeemTicketMembers, CustomOptions } from '@auth0/auth0-acul-js/redeem-ticket';\n\n// Register the singleton instance of RedeemTicket\nconst instance = registerScreen<RedeemTicketMembers>(RedeemTicket)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<RedeemTicketMembers>(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?: CustomOptions) => withError(instance.continue(payload));\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';\n\n// Main instance hook. Returns singleton instance of RedeemTicket\nexport const useRedeemTicket = (): RedeemTicketMembers => useMemo(() => instance, []);\n"],"names":["instance","registerScreen","RedeemTicket","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","continueMethod","payload","continue","useRedeemTicket","useMemo"],"mappings":"6aAUA,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,GAA4Bd,EAAUH,EAASkB,SAASD,IAM1EE,EAAkB,IAA2BC,EAAQ,IAAMpB,EAAU"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ResetPasswordEmailMembers, CustomOptions } from '@auth0/auth0-acul-js/reset-password-email';
|
|
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").ScreenMembersOnResetPasswordEmail, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
|
|
3
3
|
export declare const resendEmail: (payload?: CustomOptions) => void | Promise<void>;
|
|
4
|
-
export { useCurrentScreen, useErrors, useAuth0Themes
|
|
4
|
+
export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
|
|
5
5
|
export declare const useResetPasswordEmail: () => ResetPasswordEmailMembers;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reset-password-email.js","sources":["../../src/screens/reset-password-email.tsx"],"sourcesContent":["import ResetPasswordEmail from '@auth0/auth0-acul-js/reset-password-email';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n ResetPasswordEmailMembers,\n CustomOptions,\n} from '@auth0/auth0-acul-js/reset-password-email';\n\n// Register the singleton instance of ResetPasswordEmail\nconst instance = registerScreen<ResetPasswordEmailMembers>(ResetPasswordEmail)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<ResetPasswordEmailMembers>(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 resendEmail = (payload?: CustomOptions) => withError(instance.resendEmail(payload));\n\n// Common hooks\nexport {
|
|
1
|
+
{"version":3,"file":"reset-password-email.js","sources":["../../src/screens/reset-password-email.tsx"],"sourcesContent":["import ResetPasswordEmail from '@auth0/auth0-acul-js/reset-password-email';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n ResetPasswordEmailMembers,\n CustomOptions,\n} from '@auth0/auth0-acul-js/reset-password-email';\n\n// Register the singleton instance of ResetPasswordEmail\nconst instance = registerScreen<ResetPasswordEmailMembers>(ResetPasswordEmail)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<ResetPasswordEmailMembers>(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 resendEmail = (payload?: CustomOptions) => withError(instance.resendEmail(payload));\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';\n\n// Main instance hook. Returns singleton instance of ResetPasswordEmail\nexport const useResetPasswordEmail = (): ResetPasswordEmailMembers => useMemo(() => instance, []);\n"],"names":["instance","registerScreen","ResetPasswordEmail","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","resendEmail","payload","useResetPasswordEmail","useMemo"],"mappings":"obAaA,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,EAAeC,GAA4Bd,EAAUH,EAASgB,YAAYC,IAM1EC,EAAwB,IAAiCC,EAAQ,IAAMnB,EAAU"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { ResetPasswordErrorMembers } from '@auth0/auth0-acul-js/reset-password-error';
|
|
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").ScreenMembersOnResetPasswordError, 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 useResetPasswordError: () => ResetPasswordErrorMembers;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reset-password-error.js","sources":["../../src/screens/reset-password-error.tsx"],"sourcesContent":["import ResetPasswordError from '@auth0/auth0-acul-js/reset-password-error';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type { ResetPasswordErrorMembers } from '@auth0/auth0-acul-js/reset-password-error';\n\n// Register the singleton instance of ResetPasswordError\nconst instance = registerScreen<ResetPasswordErrorMembers>(ResetPasswordError)!;\n\n// Context hooks\nconst factory = new ContextHooks<ResetPasswordErrorMembers>(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":"reset-password-error.js","sources":["../../src/screens/reset-password-error.tsx"],"sourcesContent":["import ResetPasswordError from '@auth0/auth0-acul-js/reset-password-error';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type { ResetPasswordErrorMembers } from '@auth0/auth0-acul-js/reset-password-error';\n\n// Register the singleton instance of ResetPasswordError\nconst instance = registerScreen<ResetPasswordErrorMembers>(ResetPasswordError)!;\n\n// Context hooks\nconst factory = new ContextHooks<ResetPasswordErrorMembers>(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 ResetPasswordError\nexport const useResetPasswordError = (): ResetPasswordErrorMembers => useMemo(() => instance, []);\n"],"names":["instance","registerScreen","ResetPasswordError","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","useResetPasswordError","useMemo"],"mappings":"2XASA,MAAMA,EAAWC,EAA0CC,GAGrDC,EAAU,IAAIC,EAAwCJ,IAC/CK,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAMSW,EAAwB,IAAiCC,EAAQ,IAAMf,EAAU"}
|
|
@@ -4,5 +4,5 @@ export declare const continueMethod: (payload: ContinueOptions) => void | Promis
|
|
|
4
4
|
export declare const resendCode: (payload?: ResendCodeOptions) => void | Promise<void>;
|
|
5
5
|
export declare const tryAnotherMethod: (payload?: TryAnotherMethodOptions) => void | Promise<void>;
|
|
6
6
|
export { useResend } from '../hooks/utility/resend-manager';
|
|
7
|
-
export { useCurrentScreen, useErrors, useAuth0Themes
|
|
7
|
+
export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
|
|
8
8
|
export declare const useResetPasswordMfaEmailChallenge: () => ResetPasswordMfaEmailChallengeMembers;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reset-password-mfa-email-challenge.js","sources":["../../src/screens/reset-password-mfa-email-challenge.tsx"],"sourcesContent":["import ResetPasswordMfaEmailChallenge from '@auth0/auth0-acul-js/reset-password-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 ResetPasswordMfaEmailChallengeMembers,\n ContinueOptions,\n ResendCodeOptions,\n TryAnotherMethodOptions,\n} from '@auth0/auth0-acul-js/reset-password-mfa-email-challenge';\n\n// Register the singleton instance of ResetPasswordMfaEmailChallenge\nconst instance = registerScreen<ResetPasswordMfaEmailChallengeMembers>(\n ResetPasswordMfaEmailChallenge\n)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<ResetPasswordMfaEmailChallengeMembers>(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));\n\n// Utility Hooks\nexport { useResend } from '../hooks/utility/resend-manager';\n\n// Common hooks\nexport {
|
|
1
|
+
{"version":3,"file":"reset-password-mfa-email-challenge.js","sources":["../../src/screens/reset-password-mfa-email-challenge.tsx"],"sourcesContent":["import ResetPasswordMfaEmailChallenge from '@auth0/auth0-acul-js/reset-password-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 ResetPasswordMfaEmailChallengeMembers,\n ContinueOptions,\n ResendCodeOptions,\n TryAnotherMethodOptions,\n} from '@auth0/auth0-acul-js/reset-password-mfa-email-challenge';\n\n// Register the singleton instance of ResetPasswordMfaEmailChallenge\nconst instance = registerScreen<ResetPasswordMfaEmailChallengeMembers>(\n ResetPasswordMfaEmailChallenge\n)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<ResetPasswordMfaEmailChallengeMembers>(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));\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 ResetPasswordMfaEmailChallenge\nexport const useResetPasswordMfaEmailChallenge = (): ResetPasswordMfaEmailChallengeMembers =>\n useMemo(() => instance, []);\n"],"names":["instance","registerScreen","ResetPasswordMfaEmailChallenge","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","continueMethod","payload","continue","resendCode","tryAnotherMethod","useResetPasswordMfaEmailChallenge","useMemo"],"mappings":"4fAeA,MAAMA,EAAWC,EACfC,IAIIC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAoDN,IAC3DO,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,IASzBI,EAAoC,IAC/CC,EAAQ,IAAMtB,EAAU"}
|
|
@@ -2,5 +2,5 @@ import type { ResetPasswordMfaOtpChallengeMembers, ContinueOptions, TryAnotherMe
|
|
|
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?: TryAnotherMethodOptions) => void | Promise<void>;
|
|
5
|
-
export { useCurrentScreen, useErrors, useAuth0Themes
|
|
5
|
+
export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
|
|
6
6
|
export declare const useResetPasswordMfaOtpChallenge: () => ResetPasswordMfaOtpChallengeMembers;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reset-password-mfa-otp-challenge.js","sources":["../../src/screens/reset-password-mfa-otp-challenge.tsx"],"sourcesContent":["import ResetPasswordMfaOtpChallenge from '@auth0/auth0-acul-js/reset-password-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 ResetPasswordMfaOtpChallengeMembers,\n ContinueOptions,\n TryAnotherMethodOptions,\n} from '@auth0/auth0-acul-js/reset-password-mfa-otp-challenge';\n\n// Register the singleton instance of ResetPasswordMfaOtpChallenge\nconst instance = registerScreen<ResetPasswordMfaOtpChallengeMembers>(ResetPasswordMfaOtpChallenge)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<ResetPasswordMfaOtpChallengeMembers>(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":"reset-password-mfa-otp-challenge.js","sources":["../../src/screens/reset-password-mfa-otp-challenge.tsx"],"sourcesContent":["import ResetPasswordMfaOtpChallenge from '@auth0/auth0-acul-js/reset-password-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 ResetPasswordMfaOtpChallengeMembers,\n ContinueOptions,\n TryAnotherMethodOptions,\n} from '@auth0/auth0-acul-js/reset-password-mfa-otp-challenge';\n\n// Register the singleton instance of ResetPasswordMfaOtpChallenge\nconst instance = registerScreen<ResetPasswordMfaOtpChallengeMembers>(ResetPasswordMfaOtpChallenge)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<ResetPasswordMfaOtpChallengeMembers>(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 ResetPasswordMfaOtpChallenge\nexport const useResetPasswordMfaOtpChallenge = (): ResetPasswordMfaOtpChallengeMembers =>\n useMemo(() => instance, []);\n"],"names":["instance","registerScreen","ResetPasswordMfaOtpChallenge","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","continueMethod","payload","continue","tryAnotherMethod","useResetPasswordMfaOtpChallenge","useMemo"],"mappings":"gcAcA,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,EAAkBC,GAA6Bd,EAAUH,EAASkB,SAASD,IAC3EE,EAAoBF,GAC/Bd,EAAUH,EAASmB,iBAAiBF,IAMzBG,EAAkC,IAC7CC,EAAQ,IAAMrB,EAAU"}
|
|
@@ -2,5 +2,5 @@ import type { ResetPasswordMfaPhoneChallengeMembers, ContinueOptions, TryAnother
|
|
|
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").ScreenMembersOnResetPasswordMfaPhoneChallenge, 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 useResetPasswordMfaPhoneChallenge: () => ResetPasswordMfaPhoneChallengeMembers;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reset-password-mfa-phone-challenge.js","sources":["../../src/screens/reset-password-mfa-phone-challenge.tsx"],"sourcesContent":["import ResetPasswordMfaPhoneChallenge from '@auth0/auth0-acul-js/reset-password-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 ResetPasswordMfaPhoneChallengeMembers,\n ContinueOptions,\n TryAnotherMethodOptions,\n} from '@auth0/auth0-acul-js/reset-password-mfa-phone-challenge';\n\n// Register the singleton instance of ResetPasswordMfaPhoneChallenge\nconst instance = registerScreen<ResetPasswordMfaPhoneChallengeMembers>(\n ResetPasswordMfaPhoneChallenge\n)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<ResetPasswordMfaPhoneChallengeMembers>(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":"reset-password-mfa-phone-challenge.js","sources":["../../src/screens/reset-password-mfa-phone-challenge.tsx"],"sourcesContent":["import ResetPasswordMfaPhoneChallenge from '@auth0/auth0-acul-js/reset-password-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 ResetPasswordMfaPhoneChallengeMembers,\n ContinueOptions,\n TryAnotherMethodOptions,\n} from '@auth0/auth0-acul-js/reset-password-mfa-phone-challenge';\n\n// Register the singleton instance of ResetPasswordMfaPhoneChallenge\nconst instance = registerScreen<ResetPasswordMfaPhoneChallengeMembers>(\n ResetPasswordMfaPhoneChallenge\n)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<ResetPasswordMfaPhoneChallengeMembers>(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 ResetPasswordMfaPhoneChallenge\nexport const useResetPasswordMfaPhoneChallenge = (): ResetPasswordMfaPhoneChallengeMembers =>\n useMemo(() => instance, []);\n"],"names":["instance","registerScreen","ResetPasswordMfaPhoneChallenge","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","continueMethod","payload","continue","tryAnotherMethod","useResetPasswordMfaPhoneChallenge","useMemo"],"mappings":"kcAcA,MAAMA,EAAWC,EACfC,IAIIC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAoDN,IAC3DO,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,EAAoC,IAC/CC,EAAQ,IAAMrB,EAAU"}
|
|
@@ -5,5 +5,5 @@ export declare const resendPushNotification: (payload?: CustomOptions) => void |
|
|
|
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 useResetPasswordMfaPushChallengePush: () => ResetPasswordMfaPushChallengePushMembers;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reset-password-mfa-push-challenge-push.js","sources":["../../src/screens/reset-password-mfa-push-challenge-push.tsx"],"sourcesContent":["import ResetPasswordMfaPushChallengePush from '@auth0/auth0-acul-js/reset-password-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 ResetPasswordMfaPushChallengePushMembers,\n CustomOptions,\n} from '@auth0/auth0-acul-js/reset-password-mfa-push-challenge-push';\n\n// Register the singleton instance of ResetPasswordMfaPushChallengePush\nconst instance = registerScreen<ResetPasswordMfaPushChallengePushMembers>(\n ResetPasswordMfaPushChallengePush\n)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<ResetPasswordMfaPushChallengePushMembers>(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?: CustomOptions) => withError(instance.continue(payload));\nexport const resendPushNotification = (payload?: CustomOptions) =>\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":"reset-password-mfa-push-challenge-push.js","sources":["../../src/screens/reset-password-mfa-push-challenge-push.tsx"],"sourcesContent":["import ResetPasswordMfaPushChallengePush from '@auth0/auth0-acul-js/reset-password-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 ResetPasswordMfaPushChallengePushMembers,\n CustomOptions,\n} from '@auth0/auth0-acul-js/reset-password-mfa-push-challenge-push';\n\n// Register the singleton instance of ResetPasswordMfaPushChallengePush\nconst instance = registerScreen<ResetPasswordMfaPushChallengePushMembers>(\n ResetPasswordMfaPushChallengePush\n)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<ResetPasswordMfaPushChallengePushMembers>(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?: CustomOptions) => withError(instance.continue(payload));\nexport const resendPushNotification = (payload?: CustomOptions) =>\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 ResetPasswordMfaPushChallengePush\nexport const useResetPasswordMfaPushChallengePush = (): ResetPasswordMfaPushChallengePushMembers =>\n useMemo(() => instance, []);\n"],"names":["instance","registerScreen","ResetPasswordMfaPushChallengePush","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","continueMethod","payload","continue","resendPushNotification","enterCodeManually","tryAnotherMethod","useResetPasswordMfaPushChallengePush","useMemo"],"mappings":"qgBAaA,MAAMA,EAAWC,EACfC,IAIIC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAuDN,IAC9DO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAkBC,GAA4Bd,EAAUH,EAASkB,SAASD,IAC1EE,EAA0BF,GACrCd,EAAUH,EAASmB,uBAAuBF,IAC/BG,EAAqBH,GAChCd,EAAUH,EAASoB,kBAAkBH,IAC1BI,EAAoBJ,GAC/Bd,EAAUH,EAASqB,iBAAiBJ,IASzBK,EAAuC,IAClDC,EAAQ,IAAMvB,EAAU"}
|
|
@@ -2,5 +2,5 @@ import type { ResetPasswordMfaRecoveryCodeChallengeMembers, 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").ScreenMembers, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
|
|
3
3
|
export declare const continueMethod: (code: string, payload?: CustomOptions) => 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 useResetPasswordMfaRecoveryCodeChallenge: () => ResetPasswordMfaRecoveryCodeChallengeMembers;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reset-password-mfa-recovery-code-challenge.js","sources":["../../src/screens/reset-password-mfa-recovery-code-challenge.tsx"],"sourcesContent":["import ResetPasswordMfaRecoveryCodeChallenge from '@auth0/auth0-acul-js/reset-password-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 ResetPasswordMfaRecoveryCodeChallengeMembers,\n CustomOptions,\n} from '@auth0/auth0-acul-js/reset-password-mfa-recovery-code-challenge';\n\n// Register the singleton instance of ResetPasswordMfaRecoveryCodeChallenge\nconst instance = registerScreen<ResetPasswordMfaRecoveryCodeChallengeMembers>(\n ResetPasswordMfaRecoveryCodeChallenge\n)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<ResetPasswordMfaRecoveryCodeChallengeMembers>(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 = (code: string, payload?: CustomOptions) =>\n withError(instance.continue(code, payload));\nexport const tryAnotherMethod = (payload?: CustomOptions) =>\n withError(instance.tryAnotherMethod(payload));\n\n// Common hooks\nexport {
|
|
1
|
+
{"version":3,"file":"reset-password-mfa-recovery-code-challenge.js","sources":["../../src/screens/reset-password-mfa-recovery-code-challenge.tsx"],"sourcesContent":["import ResetPasswordMfaRecoveryCodeChallenge from '@auth0/auth0-acul-js/reset-password-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 ResetPasswordMfaRecoveryCodeChallengeMembers,\n CustomOptions,\n} from '@auth0/auth0-acul-js/reset-password-mfa-recovery-code-challenge';\n\n// Register the singleton instance of ResetPasswordMfaRecoveryCodeChallenge\nconst instance = registerScreen<ResetPasswordMfaRecoveryCodeChallengeMembers>(\n ResetPasswordMfaRecoveryCodeChallenge\n)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<ResetPasswordMfaRecoveryCodeChallengeMembers>(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 = (code: string, payload?: CustomOptions) =>\n withError(instance.continue(code, 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 ResetPasswordMfaRecoveryCodeChallenge\nexport const useResetPasswordMfaRecoveryCodeChallenge =\n (): ResetPasswordMfaRecoveryCodeChallengeMembers => useMemo(() => instance, []);\n"],"names":["instance","registerScreen","ResetPasswordMfaRecoveryCodeChallenge","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","continueMethod","code","payload","continue","tryAnotherMethod","useResetPasswordMfaRecoveryCodeChallenge","useMemo"],"mappings":"0cAaA,MAAMA,EAAWC,EACfC,IAIIC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAA2DN,IAClEO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAiB,CAACC,EAAcC,IAC3Cf,EAAUH,EAASmB,SAASF,EAAMC,IACvBE,EAAoBF,GAC/Bf,EAAUH,EAASoB,iBAAiBF,IAMzBG,EACX,IAAoDC,EAAQ,IAAMtB,EAAU"}
|
|
@@ -5,5 +5,5 @@ export declare const resendCode: (payload?: CustomOptions) => void | Promise<voi
|
|
|
5
5
|
export declare const tryAnotherMethod: (payload?: CustomOptions) => void | Promise<void>;
|
|
6
6
|
export declare const getACall: (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 useResetPasswordMfaSmsChallenge: () => ResetPasswordMfaSmsChallengeMembers;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reset-password-mfa-sms-challenge.js","sources":["../../src/screens/reset-password-mfa-sms-challenge.tsx"],"sourcesContent":["import ResetPasswordMfaSmsChallenge from '@auth0/auth0-acul-js/reset-password-mfa-sms-challenge';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n ResetPasswordMfaSmsChallengeMembers,\n MfaSmsChallengeOptions,\n CustomOptions,\n} from '@auth0/auth0-acul-js/reset-password-mfa-sms-challenge';\n\n// Register the singleton instance of ResetPasswordMfaSmsChallenge\nconst instance = registerScreen<ResetPasswordMfaSmsChallengeMembers>(ResetPasswordMfaSmsChallenge)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<ResetPasswordMfaSmsChallengeMembers>(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 continueMfaSmsChallenge = (payload: MfaSmsChallengeOptions) =>\n withError(instance.continueMfaSmsChallenge(payload));\nexport const resendCode = (payload?: CustomOptions) => withError(instance.resendCode(payload));\nexport const tryAnotherMethod = (payload?: CustomOptions) =>\n withError(instance.tryAnotherMethod(payload));\nexport const getACall = (payload?: CustomOptions) => withError(instance.getACall(payload));\n\n// Utility Hooks\nexport { useResend } from '../hooks/utility/resend-manager';\n\n// Common hooks\nexport {
|
|
1
|
+
{"version":3,"file":"reset-password-mfa-sms-challenge.js","sources":["../../src/screens/reset-password-mfa-sms-challenge.tsx"],"sourcesContent":["import ResetPasswordMfaSmsChallenge from '@auth0/auth0-acul-js/reset-password-mfa-sms-challenge';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n ResetPasswordMfaSmsChallengeMembers,\n MfaSmsChallengeOptions,\n CustomOptions,\n} from '@auth0/auth0-acul-js/reset-password-mfa-sms-challenge';\n\n// Register the singleton instance of ResetPasswordMfaSmsChallenge\nconst instance = registerScreen<ResetPasswordMfaSmsChallengeMembers>(ResetPasswordMfaSmsChallenge)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<ResetPasswordMfaSmsChallengeMembers>(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 continueMfaSmsChallenge = (payload: MfaSmsChallengeOptions) =>\n withError(instance.continueMfaSmsChallenge(payload));\nexport const resendCode = (payload?: CustomOptions) => withError(instance.resendCode(payload));\nexport const tryAnotherMethod = (payload?: CustomOptions) =>\n withError(instance.tryAnotherMethod(payload));\nexport const getACall = (payload?: CustomOptions) => withError(instance.getACall(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 ResetPasswordMfaSmsChallenge\nexport const useResetPasswordMfaSmsChallenge = (): ResetPasswordMfaSmsChallengeMembers =>\n useMemo(() => instance, []);\n"],"names":["instance","registerScreen","ResetPasswordMfaSmsChallenge","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","continueMfaSmsChallenge","payload","resendCode","tryAnotherMethod","getACall","useResetPasswordMfaSmsChallenge","useMemo"],"mappings":"0fAcA,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,EAA2BC,GACtCd,EAAUH,EAASgB,wBAAwBC,IAChCC,EAAcD,GAA4Bd,EAAUH,EAASkB,WAAWD,IACxEE,EAAoBF,GAC/Bd,EAAUH,EAASmB,iBAAiBF,IACzBG,EAAYH,GAA4Bd,EAAUH,EAASoB,SAASH,IASpEI,EAAkC,IAC7CC,EAAQ,IAAMtB,EAAU"}
|
|
@@ -5,5 +5,5 @@ export declare const switchToSms: (payload?: CustomOptions) => void | Promise<vo
|
|
|
5
5
|
export declare const resendCode: (payload?: CustomOptions) => void | Promise<void>;
|
|
6
6
|
export declare const tryAnotherMethod: (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 useResetPasswordMfaVoiceChallenge: () => ResetPasswordMfaVoiceChallengeMembers;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reset-password-mfa-voice-challenge.js","sources":["../../src/screens/reset-password-mfa-voice-challenge.tsx"],"sourcesContent":["import ResetPasswordMfaVoiceChallenge from '@auth0/auth0-acul-js/reset-password-mfa-voice-challenge';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n ResetPasswordMfaVoiceChallengeMembers,\n ContinueOptions,\n CustomOptions,\n} from '@auth0/auth0-acul-js/reset-password-mfa-voice-challenge';\n\n// Register the singleton instance of ResetPasswordMfaVoiceChallenge\nconst instance = registerScreen<ResetPasswordMfaVoiceChallengeMembers>(\n ResetPasswordMfaVoiceChallenge\n)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<ResetPasswordMfaVoiceChallengeMembers>(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 switchToSms = (payload?: CustomOptions) => withError(instance.switchToSms(payload));\nexport const resendCode = (payload?: CustomOptions) => withError(instance.resendCode(payload));\nexport const tryAnotherMethod = (payload?: CustomOptions) =>\n withError(instance.tryAnotherMethod(payload));\n\n// Utility Hooks\nexport { useResend } from '../hooks/utility/resend-manager';\n\n// Common hooks\nexport {
|
|
1
|
+
{"version":3,"file":"reset-password-mfa-voice-challenge.js","sources":["../../src/screens/reset-password-mfa-voice-challenge.tsx"],"sourcesContent":["import ResetPasswordMfaVoiceChallenge from '@auth0/auth0-acul-js/reset-password-mfa-voice-challenge';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n ResetPasswordMfaVoiceChallengeMembers,\n ContinueOptions,\n CustomOptions,\n} from '@auth0/auth0-acul-js/reset-password-mfa-voice-challenge';\n\n// Register the singleton instance of ResetPasswordMfaVoiceChallenge\nconst instance = registerScreen<ResetPasswordMfaVoiceChallengeMembers>(\n ResetPasswordMfaVoiceChallenge\n)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<ResetPasswordMfaVoiceChallengeMembers>(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 switchToSms = (payload?: CustomOptions) => withError(instance.switchToSms(payload));\nexport const resendCode = (payload?: CustomOptions) => withError(instance.resendCode(payload));\nexport const tryAnotherMethod = (payload?: CustomOptions) =>\n withError(instance.tryAnotherMethod(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 ResetPasswordMfaVoiceChallenge\nexport const useResetPasswordMfaVoiceChallenge = (): ResetPasswordMfaVoiceChallengeMembers =>\n useMemo(() => instance, []);\n"],"names":["instance","registerScreen","ResetPasswordMfaVoiceChallenge","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","continueMethod","payload","continue","switchToSms","resendCode","tryAnotherMethod","useResetPasswordMfaVoiceChallenge","useMemo"],"mappings":"4fAcA,MAAMA,EAAWC,EACfC,IAIIC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAoDN,IAC3DO,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,EAAeF,GAA4Bd,EAAUH,EAASmB,YAAYF,IAC1EG,EAAcH,GAA4Bd,EAAUH,EAASoB,WAAWH,IACxEI,EAAoBJ,GAC/Bd,EAAUH,EAASqB,iBAAiBJ,IASzBK,EAAoC,IAC/CC,EAAQ,IAAMvB,EAAU"}
|
|
@@ -3,5 +3,5 @@ export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers,
|
|
|
3
3
|
export declare const continueWithPasskey: (options?: ContinueWithPasskeyOptions) => void | Promise<void>;
|
|
4
4
|
export declare const reportBrowserError: (options: ReportBrowserErrorOptions) => void | Promise<void>;
|
|
5
5
|
export declare const tryAnotherMethod: (options?: TryAnotherMethodOptions) => void | Promise<void>;
|
|
6
|
-
export { useCurrentScreen, useErrors, useAuth0Themes
|
|
6
|
+
export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
|
|
7
7
|
export declare const useResetPasswordMfaWebAuthnPlatformChallenge: () => ResetPasswordMfaWebAuthnPlatformChallengeMembers;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reset-password-mfa-webauthn-platform-challenge.js","sources":["../../src/screens/reset-password-mfa-webauthn-platform-challenge.tsx"],"sourcesContent":["import ResetPasswordMfaWebAuthnPlatformChallenge from '@auth0/auth0-acul-js/reset-password-mfa-webauthn-platform-challenge';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n ResetPasswordMfaWebAuthnPlatformChallengeMembers,\n ContinueWithPasskeyOptions,\n ReportBrowserErrorOptions,\n TryAnotherMethodOptions,\n} from '@auth0/auth0-acul-js/reset-password-mfa-webauthn-platform-challenge';\n\n// Register the singleton instance of ResetPasswordMfaWebAuthnPlatformChallenge\nconst instance = registerScreen<ResetPasswordMfaWebAuthnPlatformChallengeMembers>(\n ResetPasswordMfaWebAuthnPlatformChallenge\n)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<ResetPasswordMfaWebAuthnPlatformChallengeMembers>(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 continueWithPasskey = (options?: ContinueWithPasskeyOptions) =>\n withError(instance.continueWithPasskey(options));\nexport const reportBrowserError = (options: ReportBrowserErrorOptions) =>\n withError(instance.reportBrowserError(options));\nexport const tryAnotherMethod = (options?: TryAnotherMethodOptions) =>\n withError(instance.tryAnotherMethod(options));\n\n// Common hooks\nexport {
|
|
1
|
+
{"version":3,"file":"reset-password-mfa-webauthn-platform-challenge.js","sources":["../../src/screens/reset-password-mfa-webauthn-platform-challenge.tsx"],"sourcesContent":["import ResetPasswordMfaWebAuthnPlatformChallenge from '@auth0/auth0-acul-js/reset-password-mfa-webauthn-platform-challenge';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n ResetPasswordMfaWebAuthnPlatformChallengeMembers,\n ContinueWithPasskeyOptions,\n ReportBrowserErrorOptions,\n TryAnotherMethodOptions,\n} from '@auth0/auth0-acul-js/reset-password-mfa-webauthn-platform-challenge';\n\n// Register the singleton instance of ResetPasswordMfaWebAuthnPlatformChallenge\nconst instance = registerScreen<ResetPasswordMfaWebAuthnPlatformChallengeMembers>(\n ResetPasswordMfaWebAuthnPlatformChallenge\n)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<ResetPasswordMfaWebAuthnPlatformChallengeMembers>(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 continueWithPasskey = (options?: ContinueWithPasskeyOptions) =>\n withError(instance.continueWithPasskey(options));\nexport const reportBrowserError = (options: ReportBrowserErrorOptions) =>\n withError(instance.reportBrowserError(options));\nexport const tryAnotherMethod = (options?: TryAnotherMethodOptions) =>\n withError(instance.tryAnotherMethod(options));\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';\n\n// Main instance hook. Returns singleton instance of ResetPasswordMfaWebAuthnPlatformChallenge\nexport const useResetPasswordMfaWebAuthnPlatformChallenge =\n (): ResetPasswordMfaWebAuthnPlatformChallengeMembers => useMemo(() => instance, []);\n"],"names":["instance","registerScreen","ResetPasswordMfaWebAuthnPlatformChallenge","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","continueWithPasskey","options","reportBrowserError","tryAnotherMethod","useResetPasswordMfaWebAuthnPlatformChallenge","useMemo"],"mappings":"8cAeA,MAAMA,EAAWC,EACfC,IAIIC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAA+DN,IACtEO,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,EAAsBD,GACjCd,EAAUH,EAASkB,mBAAmBD,IAC3BE,EAAoBF,GAC/Bd,EAAUH,EAASmB,iBAAiBF,IAMzBG,EACX,IAAwDC,EAAQ,IAAMrB,EAAU"}
|
|
@@ -3,5 +3,5 @@ export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers,
|
|
|
3
3
|
export declare const useSecurityKey: (options?: UseSecurityKeyOptions) => void | Promise<void>;
|
|
4
4
|
export declare const showError: (options: ShowErrorOptions) => void | Promise<void>;
|
|
5
5
|
export declare const tryAnotherMethod: (options?: TryAnotherMethodOptions) => void | Promise<void>;
|
|
6
|
-
export { useCurrentScreen, useErrors, useAuth0Themes
|
|
6
|
+
export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
|
|
7
7
|
export declare const useResetPasswordMfaWebAuthnRoamingChallenge: () => ResetPasswordMfaWebAuthnRoamingChallengeMembers;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reset-password-mfa-webauthn-roaming-challenge.js","sources":["../../src/screens/reset-password-mfa-webauthn-roaming-challenge.tsx"],"sourcesContent":["import ResetPasswordMfaWebAuthnRoamingChallenge from '@auth0/auth0-acul-js/reset-password-mfa-webauthn-roaming-challenge';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n ResetPasswordMfaWebAuthnRoamingChallengeMembers,\n UseSecurityKeyOptions,\n ShowErrorOptions,\n TryAnotherMethodOptions,\n} from '@auth0/auth0-acul-js/reset-password-mfa-webauthn-roaming-challenge';\n\n// Register the singleton instance of ResetPasswordMfaWebAuthnRoamingChallenge\nconst instance = registerScreen<ResetPasswordMfaWebAuthnRoamingChallengeMembers>(\n ResetPasswordMfaWebAuthnRoamingChallenge\n)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<ResetPasswordMfaWebAuthnRoamingChallengeMembers>(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 useSecurityKey = (options?: UseSecurityKeyOptions) =>\n withError(instance.useSecurityKey(options));\nexport const showError = (options: ShowErrorOptions) => withError(instance.showError(options));\nexport const tryAnotherMethod = (options?: TryAnotherMethodOptions) =>\n withError(instance.tryAnotherMethod(options));\n\n// Common hooks\nexport {
|
|
1
|
+
{"version":3,"file":"reset-password-mfa-webauthn-roaming-challenge.js","sources":["../../src/screens/reset-password-mfa-webauthn-roaming-challenge.tsx"],"sourcesContent":["import ResetPasswordMfaWebAuthnRoamingChallenge from '@auth0/auth0-acul-js/reset-password-mfa-webauthn-roaming-challenge';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n ResetPasswordMfaWebAuthnRoamingChallengeMembers,\n UseSecurityKeyOptions,\n ShowErrorOptions,\n TryAnotherMethodOptions,\n} from '@auth0/auth0-acul-js/reset-password-mfa-webauthn-roaming-challenge';\n\n// Register the singleton instance of ResetPasswordMfaWebAuthnRoamingChallenge\nconst instance = registerScreen<ResetPasswordMfaWebAuthnRoamingChallengeMembers>(\n ResetPasswordMfaWebAuthnRoamingChallenge\n)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<ResetPasswordMfaWebAuthnRoamingChallengeMembers>(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 useSecurityKey = (options?: UseSecurityKeyOptions) =>\n withError(instance.useSecurityKey(options));\nexport const showError = (options: ShowErrorOptions) => withError(instance.showError(options));\nexport const tryAnotherMethod = (options?: TryAnotherMethodOptions) =>\n withError(instance.tryAnotherMethod(options));\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';\n\n// Main instance hook. Returns singleton instance of ResetPasswordMfaWebAuthnRoamingChallenge\nexport const useResetPasswordMfaWebAuthnRoamingChallenge =\n (): ResetPasswordMfaWebAuthnRoamingChallengeMembers => useMemo(() => instance, []);\n"],"names":["instance","registerScreen","ResetPasswordMfaWebAuthnRoamingChallenge","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","useSecurityKey","options","showError","tryAnotherMethod","useResetPasswordMfaWebAuthnRoamingChallenge","useMemo"],"mappings":"6cAeA,MAAMA,EAAWC,EACfC,IAIIC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAA8DN,IACrEO,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,EAAaD,GAA8Bd,EAAUH,EAASkB,UAAUD,IACxEE,EAAoBF,GAC/Bd,EAAUH,EAASmB,iBAAiBF,IAMzBG,EACX,IAAuDC,EAAQ,IAAMrB,EAAU"}
|
|
@@ -3,5 +3,5 @@ export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers,
|
|
|
3
3
|
export declare const resetPassword: (payload: ResetPasswordRequestOptions) => void | Promise<void>;
|
|
4
4
|
export declare const backToLogin: (payload?: CustomOptions) => void | Promise<void>;
|
|
5
5
|
export { useLoginIdentifiers } from '../hooks/utility/login-identifiers';
|
|
6
|
-
export { useCurrentScreen, useErrors, useAuth0Themes
|
|
6
|
+
export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
|
|
7
7
|
export declare const useResetPasswordRequest: () => ResetPasswordRequestMembers;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reset-password-request.js","sources":["../../src/screens/reset-password-request.tsx"],"sourcesContent":["import ResetPasswordRequest from '@auth0/auth0-acul-js/reset-password-request';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n ResetPasswordRequestMembers,\n ResetPasswordRequestOptions,\n CustomOptions,\n} from '@auth0/auth0-acul-js/reset-password-request';\n\n// Register the singleton instance of ResetPasswordRequest\nconst instance = registerScreen<ResetPasswordRequestMembers>(ResetPasswordRequest)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<ResetPasswordRequestMembers>(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 resetPassword = (payload: ResetPasswordRequestOptions) =>\n withError(instance.resetPassword(payload));\nexport const backToLogin = (payload?: CustomOptions) => withError(instance.backToLogin(payload));\n\n// Utility Hooks\nexport { useLoginIdentifiers } from '../hooks/utility/login-identifiers';\n\n// Common hooks\nexport {
|
|
1
|
+
{"version":3,"file":"reset-password-request.js","sources":["../../src/screens/reset-password-request.tsx"],"sourcesContent":["import ResetPasswordRequest from '@auth0/auth0-acul-js/reset-password-request';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n ResetPasswordRequestMembers,\n ResetPasswordRequestOptions,\n CustomOptions,\n} from '@auth0/auth0-acul-js/reset-password-request';\n\n// Register the singleton instance of ResetPasswordRequest\nconst instance = registerScreen<ResetPasswordRequestMembers>(ResetPasswordRequest)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<ResetPasswordRequestMembers>(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 resetPassword = (payload: ResetPasswordRequestOptions) =>\n withError(instance.resetPassword(payload));\nexport const backToLogin = (payload?: CustomOptions) => withError(instance.backToLogin(payload));\n\n// Utility Hooks\nexport { useLoginIdentifiers } from '../hooks/utility/login-identifiers';\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';\n\n// Main instance hook. Returns singleton instance of ResetPasswordRequest\nexport const useResetPasswordRequest = (): ResetPasswordRequestMembers =>\n useMemo(() => instance, []);\n"],"names":["instance","registerScreen","ResetPasswordRequest","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","resetPassword","payload","backToLogin","useResetPasswordRequest","useMemo"],"mappings":"6fAcA,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,EAAiBC,GAC5Bd,EAAUH,EAASgB,cAAcC,IACtBC,EAAeD,GAA4Bd,EAAUH,EAASkB,YAAYD,IAS1EE,EAA0B,IACrCC,EAAQ,IAAMpB,EAAU"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { ResetPasswordSuccessMembers } from '@auth0/auth0-acul-js/reset-password-success';
|
|
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").ScreenMembersOnResetPasswordSuccess, 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 useResetPasswordSuccess: () => ResetPasswordSuccessMembers;
|