@auth0/auth0-acul-react 1.0.0-alpha.2 → 1.0.0-alpha.4
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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"device-code-confirmation.js","sources":["../../src/screens/device-code-confirmation.tsx"],"sourcesContent":["import DeviceCodeConfirmation from '@auth0/auth0-acul-js/device-code-confirmation';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n DeviceCodeConfirmationMembers,\n CustomOptions,\n} from '@auth0/auth0-acul-js/device-code-confirmation';\n\n// Register the singleton instance of DeviceCodeConfirmation\nconst instance = registerScreen<DeviceCodeConfirmationMembers>(DeviceCodeConfirmation)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<DeviceCodeConfirmationMembers>(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 confirm = (payload?: CustomOptions) => withError(instance.confirm(payload));\nexport const cancel = (payload?: CustomOptions) => withError(instance.cancel(payload));\n\n// Common hooks\nexport {
|
|
1
|
+
{"version":3,"file":"device-code-confirmation.js","sources":["../../src/screens/device-code-confirmation.tsx"],"sourcesContent":["import DeviceCodeConfirmation from '@auth0/auth0-acul-js/device-code-confirmation';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n DeviceCodeConfirmationMembers,\n CustomOptions,\n} from '@auth0/auth0-acul-js/device-code-confirmation';\n\n// Register the singleton instance of DeviceCodeConfirmation\nconst instance = registerScreen<DeviceCodeConfirmationMembers>(DeviceCodeConfirmation)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<DeviceCodeConfirmationMembers>(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 confirm = (payload?: CustomOptions) => withError(instance.confirm(payload));\nexport const cancel = (payload?: CustomOptions) => withError(instance.cancel(payload));\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';\n\n// Main instance hook. Returns singleton instance of DeviceCodeConfirmation\nexport const useDeviceCodeConfirmation = (): DeviceCodeConfirmationMembers =>\n useMemo(() => instance, []);\n"],"names":["instance","registerScreen","DeviceCodeConfirmation","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","confirm","payload","cancel","useDeviceCodeConfirmation","useMemo"],"mappings":"wbAaA,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,EAAWC,GAA4Bd,EAAUH,EAASgB,QAAQC,IAClEC,EAAUD,GAA4Bd,EAAUH,EAASkB,OAAOD,IAMhEE,EAA4B,IACvCC,EAAQ,IAAMpB,EAAU"}
|
|
@@ -4,5 +4,5 @@ export declare const submitEmailChallenge: (payload: EmailChallengeOptions) => v
|
|
|
4
4
|
export declare const resendCode: (payload?: CustomOptions) => void | Promise<void>;
|
|
5
5
|
export declare const returnToPrevious: (payload?: CustomOptions) => 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 useEmailIdentifierChallenge: () => EmailIdentifierChallengeMembers;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"email-identifier-challenge.js","sources":["../../src/screens/email-identifier-challenge.tsx"],"sourcesContent":["import EmailIdentifierChallenge from '@auth0/auth0-acul-js/email-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 EmailIdentifierChallengeMembers,\n EmailChallengeOptions,\n CustomOptions,\n} from '@auth0/auth0-acul-js/email-identifier-challenge';\n\n// Register the singleton instance of EmailIdentifierChallenge\nconst instance = registerScreen<EmailIdentifierChallengeMembers>(EmailIdentifierChallenge)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<EmailIdentifierChallengeMembers>(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 submitEmailChallenge = (payload: EmailChallengeOptions) =>\n withError(instance.submitEmailChallenge(payload));\nexport const resendCode = (payload?: CustomOptions) => withError(instance.resendCode(payload));\nexport const returnToPrevious = (payload?: CustomOptions) =>\n withError(instance.returnToPrevious(payload));\n\n// Utility Hooks\nexport { useResend } from '../hooks/utility/resend-manager';\n\n// Common hooks\nexport {
|
|
1
|
+
{"version":3,"file":"email-identifier-challenge.js","sources":["../../src/screens/email-identifier-challenge.tsx"],"sourcesContent":["import EmailIdentifierChallenge from '@auth0/auth0-acul-js/email-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 EmailIdentifierChallengeMembers,\n EmailChallengeOptions,\n CustomOptions,\n} from '@auth0/auth0-acul-js/email-identifier-challenge';\n\n// Register the singleton instance of EmailIdentifierChallenge\nconst instance = registerScreen<EmailIdentifierChallengeMembers>(EmailIdentifierChallenge)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<EmailIdentifierChallengeMembers>(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 submitEmailChallenge = (payload: EmailChallengeOptions) =>\n withError(instance.submitEmailChallenge(payload));\nexport const resendCode = (payload?: CustomOptions) => withError(instance.resendCode(payload));\nexport const returnToPrevious = (payload?: CustomOptions) =>\n withError(instance.returnToPrevious(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 EmailIdentifierChallenge\nexport const useEmailIdentifierChallenge = (): EmailIdentifierChallengeMembers =>\n useMemo(() => instance, []);\n"],"names":["instance","registerScreen","EmailIdentifierChallenge","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","submitEmailChallenge","payload","resendCode","returnToPrevious","useEmailIdentifierChallenge","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,IASzBG,EAA8B,IACzCC,EAAQ,IAAMrB,EAAU"}
|
|
@@ -3,5 +3,5 @@ export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers,
|
|
|
3
3
|
export declare const submitCode: (options: OtpCodeOptions) => void | Promise<void>;
|
|
4
4
|
export declare const resendCode: (options?: CustomOptions) => void | Promise<void>;
|
|
5
5
|
export { useResend } from '../hooks/utility/resend-manager';
|
|
6
|
-
export { useCurrentScreen, useErrors, useAuth0Themes
|
|
6
|
+
export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
|
|
7
7
|
export declare const useEmailOTPChallenge: () => EmailOTPChallengeMembers;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"email-otp-challenge.js","sources":["../../src/screens/email-otp-challenge.tsx"],"sourcesContent":["import EmailOTPChallenge from '@auth0/auth0-acul-js/email-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 EmailOTPChallengeMembers,\n OtpCodeOptions,\n CustomOptions,\n} from '@auth0/auth0-acul-js/email-otp-challenge';\n\n// Register the singleton instance of EmailOTPChallenge\nconst instance = registerScreen<EmailOTPChallengeMembers>(EmailOTPChallenge)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<EmailOTPChallengeMembers>(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 submitCode = (options: OtpCodeOptions) => withError(instance.submitCode(options));\nexport const resendCode = (options?: CustomOptions) => withError(instance.resendCode(options));\n\n// Utility Hooks\nexport { useResend } from '../hooks/utility/resend-manager';\n\n// Common hooks\nexport {
|
|
1
|
+
{"version":3,"file":"email-otp-challenge.js","sources":["../../src/screens/email-otp-challenge.tsx"],"sourcesContent":["import EmailOTPChallenge from '@auth0/auth0-acul-js/email-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 EmailOTPChallengeMembers,\n OtpCodeOptions,\n CustomOptions,\n} from '@auth0/auth0-acul-js/email-otp-challenge';\n\n// Register the singleton instance of EmailOTPChallenge\nconst instance = registerScreen<EmailOTPChallengeMembers>(EmailOTPChallenge)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<EmailOTPChallengeMembers>(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 submitCode = (options: OtpCodeOptions) => withError(instance.submitCode(options));\nexport const resendCode = (options?: CustomOptions) => withError(instance.resendCode(options));\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 EmailOTPChallenge\nexport const useEmailOTPChallenge = (): EmailOTPChallengeMembers => useMemo(() => instance, []);\n"],"names":["instance","registerScreen","EmailOTPChallenge","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","submitCode","options","resendCode","useEmailOTPChallenge","useMemo"],"mappings":"6eAcA,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,EAAcC,GAA4Bd,EAAUH,EAASgB,WAAWC,IACxEC,EAAcD,GAA4Bd,EAAUH,EAASkB,WAAWD,IASxEE,EAAuB,IAAgCC,EAAQ,IAAMpB,EAAU"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { EmailVerificationResultMembers } from '@auth0/auth0-acul-js/email-verification-result';
|
|
2
2
|
export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers, useTenant: () => import("@auth0/auth0-acul-js").TenantMembers, useBranding: () => import("@auth0/auth0-acul-js").BrandingMembers, useClient: () => import("@auth0/auth0-acul-js").ClientMembers, useOrganization: () => import("@auth0/auth0-acul-js").OrganizationMembers, usePrompt: () => import("@auth0/auth0-acul-js").PromptMembers, useScreen: () => import("@auth0/auth0-acul-js").ScreenMembersOnEmailVerificationResult, 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 useEmailVerificationResult: () => EmailVerificationResultMembers;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"email-verification-result.js","sources":["../../src/screens/email-verification-result.tsx"],"sourcesContent":["import EmailVerificationResult from '@auth0/auth0-acul-js/email-verification-result';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type { EmailVerificationResultMembers } from '@auth0/auth0-acul-js/email-verification-result';\n\n// Register the singleton instance of EmailVerificationResult\nconst instance = registerScreen<EmailVerificationResultMembers>(EmailVerificationResult)!;\n\n// Context hooks\nconst factory = new ContextHooks<EmailVerificationResultMembers>(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":"email-verification-result.js","sources":["../../src/screens/email-verification-result.tsx"],"sourcesContent":["import EmailVerificationResult from '@auth0/auth0-acul-js/email-verification-result';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type { EmailVerificationResultMembers } from '@auth0/auth0-acul-js/email-verification-result';\n\n// Register the singleton instance of EmailVerificationResult\nconst instance = registerScreen<EmailVerificationResultMembers>(EmailVerificationResult)!;\n\n// Context hooks\nconst factory = new ContextHooks<EmailVerificationResultMembers>(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 EmailVerificationResult\nexport const useEmailVerificationResult = (): EmailVerificationResultMembers =>\n useMemo(() => instance, []);\n"],"names":["instance","registerScreen","EmailVerificationResult","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","useEmailVerificationResult","useMemo"],"mappings":"gYASA,MAAMA,EAAWC,EAA+CC,GAG1DC,EAAU,IAAIC,EAA6CJ,IACpDK,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAMSW,EAA6B,IACxCC,EAAQ,IAAMf,EAAU"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { InterstitialCaptchaMembers } from '@auth0/auth0-acul-js/interstitial-captcha';
|
|
2
2
|
export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers, useTenant: () => import("@auth0/auth0-acul-js").TenantMembers, useBranding: () => import("@auth0/auth0-acul-js").BrandingMembers, useClient: () => import("@auth0/auth0-acul-js").ClientMembers, useOrganization: () => import("@auth0/auth0-acul-js").OrganizationMembers, usePrompt: () => import("@auth0/auth0-acul-js").PromptMembers, useScreen: () => import("@auth0/auth0-acul-js").ScreenMembers, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
|
|
3
|
-
export { useCurrentScreen, useErrors, useAuth0Themes
|
|
3
|
+
export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
|
|
4
4
|
export declare const useInterstitialCaptcha: () => InterstitialCaptchaMembers;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interstitial-captcha.js","sources":["../../src/screens/interstitial-captcha.tsx"],"sourcesContent":["import InterstitialCaptcha from '@auth0/auth0-acul-js/interstitial-captcha';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type { InterstitialCaptchaMembers } from '@auth0/auth0-acul-js/interstitial-captcha';\n\n// Register the singleton instance of InterstitialCaptcha\nconst instance = registerScreen<InterstitialCaptchaMembers>(InterstitialCaptcha)!;\n\n// Context hooks\nconst factory = new ContextHooks<InterstitialCaptchaMembers>(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":"interstitial-captcha.js","sources":["../../src/screens/interstitial-captcha.tsx"],"sourcesContent":["import InterstitialCaptcha from '@auth0/auth0-acul-js/interstitial-captcha';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type { InterstitialCaptchaMembers } from '@auth0/auth0-acul-js/interstitial-captcha';\n\n// Register the singleton instance of InterstitialCaptcha\nconst instance = registerScreen<InterstitialCaptchaMembers>(InterstitialCaptcha)!;\n\n// Context hooks\nconst factory = new ContextHooks<InterstitialCaptchaMembers>(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 InterstitialCaptcha\nexport const useInterstitialCaptcha = (): InterstitialCaptchaMembers => useMemo(() => instance, []);\n"],"names":["instance","registerScreen","InterstitialCaptcha","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","useInterstitialCaptcha","useMemo"],"mappings":"2XASA,MAAMA,EAAWC,EAA2CC,GAGtDC,EAAU,IAAIC,EAAyCJ,IAChDK,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAMSW,EAAyB,IAAkCC,EAAQ,IAAMf,EAAU"}
|
|
@@ -3,5 +3,5 @@ export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers,
|
|
|
3
3
|
export declare const continueWithCode: (payload: ContinueWithCodeOptions) => void | Promise<void>;
|
|
4
4
|
export declare const resendCode: (payload?: ResendCodeOptions) => void | Promise<void>;
|
|
5
5
|
export { useResend } from '../hooks/utility/resend-manager';
|
|
6
|
-
export { useCurrentScreen, useErrors, useAuth0Themes
|
|
6
|
+
export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
|
|
7
7
|
export declare const useLoginEmailVerification: () => LoginEmailVerificationMembers;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"login-email-verification.js","sources":["../../src/screens/login-email-verification.tsx"],"sourcesContent":["import LoginEmailVerification from '@auth0/auth0-acul-js/login-email-verification';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n LoginEmailVerificationMembers,\n ContinueWithCodeOptions,\n ResendCodeOptions,\n} from '@auth0/auth0-acul-js/login-email-verification';\n\n// Register the singleton instance of LoginEmailVerification\nconst instance = registerScreen<LoginEmailVerificationMembers>(LoginEmailVerification)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<LoginEmailVerificationMembers>(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 continueWithCode = (payload: ContinueWithCodeOptions) =>\n withError(instance.continueWithCode(payload));\nexport const resendCode = (payload?: ResendCodeOptions) => withError(instance.resendCode(payload));\n\n// Utility Hooks\nexport { useResend } from '../hooks/utility/resend-manager';\n\n// Common hooks\nexport {
|
|
1
|
+
{"version":3,"file":"login-email-verification.js","sources":["../../src/screens/login-email-verification.tsx"],"sourcesContent":["import LoginEmailVerification from '@auth0/auth0-acul-js/login-email-verification';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n LoginEmailVerificationMembers,\n ContinueWithCodeOptions,\n ResendCodeOptions,\n} from '@auth0/auth0-acul-js/login-email-verification';\n\n// Register the singleton instance of LoginEmailVerification\nconst instance = registerScreen<LoginEmailVerificationMembers>(LoginEmailVerification)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<LoginEmailVerificationMembers>(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 continueWithCode = (payload: ContinueWithCodeOptions) =>\n withError(instance.continueWithCode(payload));\nexport const resendCode = (payload?: ResendCodeOptions) => withError(instance.resendCode(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 LoginEmailVerification\nexport const useLoginEmailVerification = (): LoginEmailVerificationMembers =>\n useMemo(() => instance, []);\n"],"names":["instance","registerScreen","LoginEmailVerification","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","continueWithCode","payload","resendCode","useLoginEmailVerification","useMemo"],"mappings":"kfAcA,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,EAAoBC,GAC/Bd,EAAUH,EAASgB,iBAAiBC,IACzBC,EAAcD,GAAgCd,EAAUH,EAASkB,WAAWD,IAS5EE,EAA4B,IACvCC,EAAQ,IAAMpB,EAAU"}
|
|
@@ -6,5 +6,5 @@ export declare const passkeyLogin: (payload?: CustomOptions) => void | Promise<v
|
|
|
6
6
|
export declare const pickCountryCode: (payload?: CustomOptions) => void | Promise<void>;
|
|
7
7
|
export { useLoginIdentifiers } from '../hooks/utility/login-identifiers';
|
|
8
8
|
export { usePasskeyAutofill } from '../hooks/utility/passkey-autofill';
|
|
9
|
-
export { useCurrentScreen, useErrors, useAuth0Themes
|
|
9
|
+
export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
|
|
10
10
|
export declare const useLoginId: () => LoginIdMembers;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"login-id.js","sources":["../../src/screens/login-id.tsx"],"sourcesContent":["import LoginId from '@auth0/auth0-acul-js/login-id';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n LoginIdMembers,\n LoginOptions,\n FederatedLoginOptions,\n CustomOptions,\n} from '@auth0/auth0-acul-js/login-id';\n\n// Register the singleton instance of LoginId\nconst instance = registerScreen<LoginIdMembers>(LoginId)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<LoginIdMembers>(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 login = (payload: LoginOptions) => withError(instance.login(payload));\nexport const federatedLogin = (payload: FederatedLoginOptions) =>\n withError(instance.federatedLogin(payload));\nexport const passkeyLogin = (payload?: CustomOptions) => withError(instance.passkeyLogin(payload));\nexport const pickCountryCode = (payload?: CustomOptions) =>\n withError(instance.pickCountryCode(payload));\n\n// Utility Hooks\nexport { useLoginIdentifiers } from '../hooks/utility/login-identifiers';\n\n// Utility Hooks\nexport { usePasskeyAutofill } from '../hooks/utility/passkey-autofill';\n\n// Common hooks\nexport {
|
|
1
|
+
{"version":3,"file":"login-id.js","sources":["../../src/screens/login-id.tsx"],"sourcesContent":["import LoginId from '@auth0/auth0-acul-js/login-id';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n LoginIdMembers,\n LoginOptions,\n FederatedLoginOptions,\n CustomOptions,\n} from '@auth0/auth0-acul-js/login-id';\n\n// Register the singleton instance of LoginId\nconst instance = registerScreen<LoginIdMembers>(LoginId)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<LoginIdMembers>(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 login = (payload: LoginOptions) => withError(instance.login(payload));\nexport const federatedLogin = (payload: FederatedLoginOptions) =>\n withError(instance.federatedLogin(payload));\nexport const passkeyLogin = (payload?: CustomOptions) => withError(instance.passkeyLogin(payload));\nexport const pickCountryCode = (payload?: CustomOptions) =>\n withError(instance.pickCountryCode(payload));\n\n// Utility Hooks\nexport { useLoginIdentifiers } from '../hooks/utility/login-identifiers';\n\n// Utility Hooks\nexport { usePasskeyAutofill } from '../hooks/utility/passkey-autofill';\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';\n\n// Main instance hook. Returns singleton instance of LoginId\nexport const useLoginId = (): LoginIdMembers => useMemo(() => instance, []);\n"],"names":["instance","registerScreen","LoginId","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","login","payload","federatedLogin","passkeyLogin","pickCountryCode","useLoginId","useMemo"],"mappings":"ojBAeA,MAAMA,EAAWC,EAA+BC,IAG1CC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAA6BN,IACpCO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAASC,GAA0Bd,EAAUH,EAASgB,MAAMC,IAC5DC,EAAkBD,GAC7Bd,EAAUH,EAASkB,eAAeD,IACvBE,EAAgBF,GAA4Bd,EAAUH,EAASmB,aAAaF,IAC5EG,EAAmBH,GAC9Bd,EAAUH,EAASoB,gBAAgBH,IAYxBI,EAAa,IAAsBC,EAAQ,IAAMtB,EAAU"}
|
|
@@ -3,5 +3,5 @@ export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers,
|
|
|
3
3
|
export declare const login: (payload: LoginPasswordOptions) => void | Promise<void>;
|
|
4
4
|
export declare const federatedLogin: (payload: FederatedLoginOptions) => void | Promise<void>;
|
|
5
5
|
export declare const switchConnection: (payload: SwitchConnectionOptions) => void | Promise<void>;
|
|
6
|
-
export { useCurrentScreen, useErrors, useAuth0Themes
|
|
6
|
+
export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
|
|
7
7
|
export declare const useLoginPassword: () => LoginPasswordMembers;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"login-password.js","sources":["../../src/screens/login-password.tsx"],"sourcesContent":["import LoginPassword from '@auth0/auth0-acul-js/login-password';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n LoginPasswordMembers,\n LoginPasswordOptions,\n FederatedLoginOptions,\n SwitchConnectionOptions,\n} from '@auth0/auth0-acul-js/login-password';\n\n// Register the singleton instance of LoginPassword\nconst instance = registerScreen<LoginPasswordMembers>(LoginPassword)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<LoginPasswordMembers>(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 login = (payload: LoginPasswordOptions) => withError(instance.login(payload));\nexport const federatedLogin = (payload: FederatedLoginOptions) =>\n withError(instance.federatedLogin(payload));\nexport const switchConnection = (payload: SwitchConnectionOptions) =>\n withError(instance.switchConnection(payload));\n\n// Common hooks\nexport {
|
|
1
|
+
{"version":3,"file":"login-password.js","sources":["../../src/screens/login-password.tsx"],"sourcesContent":["import LoginPassword from '@auth0/auth0-acul-js/login-password';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n LoginPasswordMembers,\n LoginPasswordOptions,\n FederatedLoginOptions,\n SwitchConnectionOptions,\n} from '@auth0/auth0-acul-js/login-password';\n\n// Register the singleton instance of LoginPassword\nconst instance = registerScreen<LoginPasswordMembers>(LoginPassword)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<LoginPasswordMembers>(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 login = (payload: LoginPasswordOptions) => withError(instance.login(payload));\nexport const federatedLogin = (payload: FederatedLoginOptions) =>\n withError(instance.federatedLogin(payload));\nexport const switchConnection = (payload: SwitchConnectionOptions) =>\n withError(instance.switchConnection(payload));\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';\n\n// Main instance hook. Returns singleton instance of LoginPassword\nexport const useLoginPassword = (): LoginPasswordMembers => useMemo(() => instance, []);\n"],"names":["instance","registerScreen","LoginPassword","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","login","payload","federatedLogin","switchConnection","useLoginPassword","useMemo"],"mappings":"8aAeA,MAAMA,EAAWC,EAAqCC,IAGhDC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAmCN,IAC1CO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAASC,GAAkCd,EAAUH,EAASgB,MAAMC,IACpEC,EAAkBD,GAC7Bd,EAAUH,EAASkB,eAAeD,IACvBE,EAAoBF,GAC/Bd,EAAUH,EAASmB,iBAAiBF,IAMzBG,EAAmB,IAA4BC,EAAQ,IAAMrB,EAAU"}
|
|
@@ -3,5 +3,5 @@ export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers,
|
|
|
3
3
|
export declare const submitCode: (payload: SubmitCodeOptions) => void | Promise<void>;
|
|
4
4
|
export declare const resendCode: (payload?: CustomOptions) => void | Promise<void>;
|
|
5
5
|
export { useResend } from '../hooks/utility/resend-manager';
|
|
6
|
-
export { useCurrentScreen, useErrors, useAuth0Themes
|
|
6
|
+
export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
|
|
7
7
|
export declare const useLoginPasswordlessEmailCode: () => LoginPasswordlessEmailCodeMembers;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"login-passwordless-email-code.js","sources":["../../src/screens/login-passwordless-email-code.tsx"],"sourcesContent":["import LoginPasswordlessEmailCode from '@auth0/auth0-acul-js/login-passwordless-email-code';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n LoginPasswordlessEmailCodeMembers,\n SubmitCodeOptions,\n CustomOptions,\n} from '@auth0/auth0-acul-js/login-passwordless-email-code';\n\n// Register the singleton instance of LoginPasswordlessEmailCode\nconst instance = registerScreen<LoginPasswordlessEmailCodeMembers>(LoginPasswordlessEmailCode)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<LoginPasswordlessEmailCodeMembers>(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 submitCode = (payload: SubmitCodeOptions) => withError(instance.submitCode(payload));\nexport const resendCode = (payload?: CustomOptions) => withError(instance.resendCode(payload));\n\n// Utility Hooks\nexport { useResend } from '../hooks/utility/resend-manager';\n\n// Common hooks\nexport {
|
|
1
|
+
{"version":3,"file":"login-passwordless-email-code.js","sources":["../../src/screens/login-passwordless-email-code.tsx"],"sourcesContent":["import LoginPasswordlessEmailCode from '@auth0/auth0-acul-js/login-passwordless-email-code';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n LoginPasswordlessEmailCodeMembers,\n SubmitCodeOptions,\n CustomOptions,\n} from '@auth0/auth0-acul-js/login-passwordless-email-code';\n\n// Register the singleton instance of LoginPasswordlessEmailCode\nconst instance = registerScreen<LoginPasswordlessEmailCodeMembers>(LoginPasswordlessEmailCode)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<LoginPasswordlessEmailCodeMembers>(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 submitCode = (payload: SubmitCodeOptions) => withError(instance.submitCode(payload));\nexport const resendCode = (payload?: CustomOptions) => withError(instance.resendCode(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 LoginPasswordlessEmailCode\nexport const useLoginPasswordlessEmailCode = (): LoginPasswordlessEmailCodeMembers =>\n useMemo(() => instance, []);\n"],"names":["instance","registerScreen","LoginPasswordlessEmailCode","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","submitCode","payload","resendCode","useLoginPasswordlessEmailCode","useMemo"],"mappings":"ufAcA,MAAMA,EAAWC,EAAkDC,IAG7DC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAgDN,IACvDO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAcC,GAA+Bd,EAAUH,EAASgB,WAAWC,IAC3EC,EAAcD,GAA4Bd,EAAUH,EAASkB,WAAWD,IASxEE,EAAgC,IAC3CC,EAAQ,IAAMpB,EAAU"}
|
|
@@ -3,5 +3,5 @@ export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers,
|
|
|
3
3
|
export declare const submitOTP: (payload: SubmitOTPOptions) => void | Promise<void>;
|
|
4
4
|
export declare const resendOTP: (payload?: CustomOptions) => void | Promise<void>;
|
|
5
5
|
export { useResend } from '../hooks/utility/resend-manager';
|
|
6
|
-
export { useCurrentScreen, useErrors, useAuth0Themes
|
|
6
|
+
export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
|
|
7
7
|
export declare const useLoginPasswordlessSmsOtp: () => LoginPasswordlessSmsOtpMembers;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"login-passwordless-sms-otp.js","sources":["../../src/screens/login-passwordless-sms-otp.tsx"],"sourcesContent":["import LoginPasswordlessSmsOtp from '@auth0/auth0-acul-js/login-passwordless-sms-otp';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n LoginPasswordlessSmsOtpMembers,\n SubmitOTPOptions,\n CustomOptions,\n} from '@auth0/auth0-acul-js/login-passwordless-sms-otp';\n\n// Register the singleton instance of LoginPasswordlessSmsOtp\nconst instance = registerScreen<LoginPasswordlessSmsOtpMembers>(LoginPasswordlessSmsOtp)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<LoginPasswordlessSmsOtpMembers>(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 submitOTP = (payload: SubmitOTPOptions) => withError(instance.submitOTP(payload));\nexport const resendOTP = (payload?: CustomOptions) => withError(instance.resendOTP(payload));\n\n// Utility Hooks\nexport { useResend } from '../hooks/utility/resend-manager';\n\n// Common hooks\nexport {
|
|
1
|
+
{"version":3,"file":"login-passwordless-sms-otp.js","sources":["../../src/screens/login-passwordless-sms-otp.tsx"],"sourcesContent":["import LoginPasswordlessSmsOtp from '@auth0/auth0-acul-js/login-passwordless-sms-otp';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n LoginPasswordlessSmsOtpMembers,\n SubmitOTPOptions,\n CustomOptions,\n} from '@auth0/auth0-acul-js/login-passwordless-sms-otp';\n\n// Register the singleton instance of LoginPasswordlessSmsOtp\nconst instance = registerScreen<LoginPasswordlessSmsOtpMembers>(LoginPasswordlessSmsOtp)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<LoginPasswordlessSmsOtpMembers>(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 submitOTP = (payload: SubmitOTPOptions) => withError(instance.submitOTP(payload));\nexport const resendOTP = (payload?: CustomOptions) => withError(instance.resendOTP(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 LoginPasswordlessSmsOtp\nexport const useLoginPasswordlessSmsOtp = (): LoginPasswordlessSmsOtpMembers =>\n useMemo(() => instance, []);\n"],"names":["instance","registerScreen","LoginPasswordlessSmsOtp","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","submitOTP","payload","resendOTP","useLoginPasswordlessSmsOtp","useMemo"],"mappings":"ofAcA,MAAMA,EAAWC,EAA+CC,IAG1DC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAA6CN,IACpDO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAaC,GAA8Bd,EAAUH,EAASgB,UAAUC,IACxEC,EAAaD,GAA4Bd,EAAUH,EAASkB,UAAUD,IAStEE,EAA6B,IACxCC,EAAQ,IAAMpB,EAAU"}
|
package/dist/screens/login.d.ts
CHANGED
|
@@ -4,5 +4,5 @@ export declare const login: (payload: LoginOptions) => void | Promise<void>;
|
|
|
4
4
|
export declare const federatedLogin: (payload: FederatedLoginOptions) => void | Promise<void>;
|
|
5
5
|
export declare const pickCountryCode: (payload?: CustomOptions) => void | Promise<void>;
|
|
6
6
|
export { useLoginIdentifiers } from '../hooks/utility/login-identifiers';
|
|
7
|
-
export { useCurrentScreen, useErrors, useAuth0Themes
|
|
7
|
+
export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
|
|
8
8
|
export declare const useLogin: () => LoginMembers;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"login.js","sources":["../../src/screens/login.tsx"],"sourcesContent":["import Login from '@auth0/auth0-acul-js/login';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n LoginMembers,\n LoginOptions,\n FederatedLoginOptions,\n CustomOptions,\n} from '@auth0/auth0-acul-js/login';\n\n// Register the singleton instance of Login\nconst instance = registerScreen<LoginMembers>(Login)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<LoginMembers>(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 login = (payload: LoginOptions) => withError(instance.login(payload));\nexport const federatedLogin = (payload: FederatedLoginOptions) =>\n withError(instance.federatedLogin(payload));\nexport const pickCountryCode = (payload?: CustomOptions) =>\n withError(instance.pickCountryCode(payload));\n\n// Utility Hooks\nexport { useLoginIdentifiers } from '../hooks/utility/login-identifiers';\n\n// Common hooks\nexport {
|
|
1
|
+
{"version":3,"file":"login.js","sources":["../../src/screens/login.tsx"],"sourcesContent":["import Login from '@auth0/auth0-acul-js/login';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n LoginMembers,\n LoginOptions,\n FederatedLoginOptions,\n CustomOptions,\n} from '@auth0/auth0-acul-js/login';\n\n// Register the singleton instance of Login\nconst instance = registerScreen<LoginMembers>(Login)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<LoginMembers>(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 login = (payload: LoginOptions) => withError(instance.login(payload));\nexport const federatedLogin = (payload: FederatedLoginOptions) =>\n withError(instance.federatedLogin(payload));\nexport const pickCountryCode = (payload?: CustomOptions) =>\n withError(instance.pickCountryCode(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 Login\nexport const useLogin = (): LoginMembers => useMemo(() => instance, []);\n"],"names":["instance","registerScreen","Login","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","login","payload","federatedLogin","pickCountryCode","useLogin","useMemo"],"mappings":"4eAeA,MAAMA,EAAWC,EAA6BC,IAGxCC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAA2BN,IAClCO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAASC,GAA0Bd,EAAUH,EAASgB,MAAMC,IAC5DC,EAAkBD,GAC7Bd,EAAUH,EAASkB,eAAeD,IACvBE,EAAmBF,GAC9Bd,EAAUH,EAASmB,gBAAgBF,IASxBG,EAAW,IAAoBC,EAAQ,IAAMrB,EAAU"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { LogoutAbortedMembers } from '@auth0/auth0-acul-js/logout-aborted';
|
|
2
2
|
export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers, useTenant: () => import("@auth0/auth0-acul-js").TenantMembers, useBranding: () => import("@auth0/auth0-acul-js").BrandingMembers, useClient: () => import("@auth0/auth0-acul-js").ClientMembers, useOrganization: () => import("@auth0/auth0-acul-js").OrganizationMembers, usePrompt: () => import("@auth0/auth0-acul-js").PromptMembers, useScreen: () => import("@auth0/auth0-acul-js").ScreenMembers, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
|
|
3
|
-
export { useCurrentScreen, useErrors, useAuth0Themes
|
|
3
|
+
export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
|
|
4
4
|
export declare const useLogoutAborted: () => LogoutAbortedMembers;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logout-aborted.js","sources":["../../src/screens/logout-aborted.tsx"],"sourcesContent":["import LogoutAborted from '@auth0/auth0-acul-js/logout-aborted';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type { LogoutAbortedMembers } from '@auth0/auth0-acul-js/logout-aborted';\n\n// Register the singleton instance of LogoutAborted\nconst instance = registerScreen<LogoutAbortedMembers>(LogoutAborted)!;\n\n// Context hooks\nconst factory = new ContextHooks<LogoutAbortedMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Common hooks\nexport {
|
|
1
|
+
{"version":3,"file":"logout-aborted.js","sources":["../../src/screens/logout-aborted.tsx"],"sourcesContent":["import LogoutAborted from '@auth0/auth0-acul-js/logout-aborted';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type { LogoutAbortedMembers } from '@auth0/auth0-acul-js/logout-aborted';\n\n// Register the singleton instance of LogoutAborted\nconst instance = registerScreen<LogoutAbortedMembers>(LogoutAborted)!;\n\n// Context hooks\nconst factory = new ContextHooks<LogoutAbortedMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';\n\n// Main instance hook. Returns singleton instance of LogoutAborted\nexport const useLogoutAborted = (): LogoutAbortedMembers => useMemo(() => instance, []);\n"],"names":["instance","registerScreen","LogoutAborted","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","useLogoutAborted","useMemo"],"mappings":"qXASA,MAAMA,EAAWC,EAAqCC,GAGhDC,EAAU,IAAIC,EAAmCJ,IAC1CK,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAMSW,EAAmB,IAA4BC,EAAQ,IAAMf,EAAU"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { LogoutCompleteMembers } from '@auth0/auth0-acul-js/logout-complete';
|
|
2
2
|
export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers, useTenant: () => import("@auth0/auth0-acul-js").TenantMembers, useBranding: () => import("@auth0/auth0-acul-js").BrandingMembers, useClient: () => import("@auth0/auth0-acul-js").ClientMembers, useOrganization: () => import("@auth0/auth0-acul-js").OrganizationMembers, usePrompt: () => import("@auth0/auth0-acul-js").PromptMembers, useScreen: () => import("@auth0/auth0-acul-js").ScreenMembers, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
|
|
3
|
-
export { useCurrentScreen, useErrors, useAuth0Themes
|
|
3
|
+
export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
|
|
4
4
|
export declare const useLogoutComplete: () => LogoutCompleteMembers;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logout-complete.js","sources":["../../src/screens/logout-complete.tsx"],"sourcesContent":["import LogoutComplete from '@auth0/auth0-acul-js/logout-complete';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type { LogoutCompleteMembers } from '@auth0/auth0-acul-js/logout-complete';\n\n// Register the singleton instance of LogoutComplete\nconst instance = registerScreen<LogoutCompleteMembers>(LogoutComplete)!;\n\n// Context hooks\nconst factory = new ContextHooks<LogoutCompleteMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Common hooks\nexport {
|
|
1
|
+
{"version":3,"file":"logout-complete.js","sources":["../../src/screens/logout-complete.tsx"],"sourcesContent":["import LogoutComplete from '@auth0/auth0-acul-js/logout-complete';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type { LogoutCompleteMembers } from '@auth0/auth0-acul-js/logout-complete';\n\n// Register the singleton instance of LogoutComplete\nconst instance = registerScreen<LogoutCompleteMembers>(LogoutComplete)!;\n\n// Context hooks\nconst factory = new ContextHooks<LogoutCompleteMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';\n\n// Main instance hook. Returns singleton instance of LogoutComplete\nexport const useLogoutComplete = (): LogoutCompleteMembers => useMemo(() => instance, []);\n"],"names":["instance","registerScreen","LogoutComplete","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","useLogoutComplete","useMemo"],"mappings":"sXASA,MAAMA,EAAWC,EAAsCC,GAGjDC,EAAU,IAAIC,EAAoCJ,IAC3CK,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAMSW,EAAoB,IAA6BC,EAAQ,IAAMf,EAAU"}
|
package/dist/screens/logout.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { LogoutMembers, ConfirmLogoutOptions } from '@auth0/auth0-acul-js/logout';
|
|
2
2
|
export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers, useTenant: () => import("@auth0/auth0-acul-js").TenantMembers, useBranding: () => import("@auth0/auth0-acul-js").BrandingMembers, useClient: () => import("@auth0/auth0-acul-js").ClientMembers, useOrganization: () => import("@auth0/auth0-acul-js").OrganizationMembers, usePrompt: () => import("@auth0/auth0-acul-js").PromptMembers, useScreen: () => import("@auth0/auth0-acul-js").ScreenMembers, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
|
|
3
3
|
export declare const confirmLogout: (payload: ConfirmLogoutOptions) => void | Promise<void>;
|
|
4
|
-
export { useCurrentScreen, useErrors, useAuth0Themes
|
|
4
|
+
export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
|
|
5
5
|
export declare const useLogout: () => LogoutMembers;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logout.js","sources":["../../src/screens/logout.tsx"],"sourcesContent":["import Logout from '@auth0/auth0-acul-js/logout';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type { LogoutMembers, ConfirmLogoutOptions } from '@auth0/auth0-acul-js/logout';\n\n// Register the singleton instance of Logout\nconst instance = registerScreen<LogoutMembers>(Logout)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<LogoutMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const confirmLogout = (payload: ConfirmLogoutOptions) =>\n withError(instance.confirmLogout(payload));\n\n// Common hooks\nexport {
|
|
1
|
+
{"version":3,"file":"logout.js","sources":["../../src/screens/logout.tsx"],"sourcesContent":["import Logout from '@auth0/auth0-acul-js/logout';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type { LogoutMembers, ConfirmLogoutOptions } from '@auth0/auth0-acul-js/logout';\n\n// Register the singleton instance of Logout\nconst instance = registerScreen<LogoutMembers>(Logout)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<LogoutMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const confirmLogout = (payload: ConfirmLogoutOptions) =>\n withError(instance.confirmLogout(payload));\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';\n\n// Main instance hook. Returns singleton instance of Logout\nexport const useLogout = (): LogoutMembers => useMemo(() => instance, []);\n"],"names":["instance","registerScreen","Logout","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","confirmLogout","payload","useLogout","useMemo"],"mappings":"saAUA,MAAMA,EAAWC,EAA8BC,IAGzCC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAA4BN,IACnCO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAiBC,GAC5Bd,EAAUH,EAASgB,cAAcC,IAMtBC,EAAY,IAAqBC,EAAQ,IAAMnB,EAAU"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MfaBeginEnrollOptionsMembers, MfaEnrollOptions } from '@auth0/auth0-acul-js/mfa-begin-enroll-options';
|
|
2
2
|
export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers, useTenant: () => import("@auth0/auth0-acul-js").TenantMembers, useBranding: () => import("@auth0/auth0-acul-js").BrandingMembers, useClient: () => import("@auth0/auth0-acul-js").ClientMembers, useOrganization: () => import("@auth0/auth0-acul-js").OrganizationMembers, usePrompt: () => import("@auth0/auth0-acul-js").PromptMembers, useScreen: () => import("@auth0/auth0-acul-js").ScreenMembers, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
|
|
3
3
|
export declare const enroll: (payload: MfaEnrollOptions) => void | Promise<void>;
|
|
4
|
-
export { useCurrentScreen, useErrors, useAuth0Themes
|
|
4
|
+
export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
|
|
5
5
|
export declare const useMfaBeginEnrollOptions: () => MfaBeginEnrollOptionsMembers;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mfa-begin-enroll-options.js","sources":["../../src/screens/mfa-begin-enroll-options.tsx"],"sourcesContent":["import MfaBeginEnrollOptions from '@auth0/auth0-acul-js/mfa-begin-enroll-options';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaBeginEnrollOptionsMembers,\n MfaEnrollOptions,\n} from '@auth0/auth0-acul-js/mfa-begin-enroll-options';\n\n// Register the singleton instance of MfaBeginEnrollOptions\nconst instance = registerScreen<MfaBeginEnrollOptionsMembers>(MfaBeginEnrollOptions)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaBeginEnrollOptionsMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const enroll = (payload: MfaEnrollOptions) => withError(instance.enroll(payload));\n\n// Common hooks\nexport {
|
|
1
|
+
{"version":3,"file":"mfa-begin-enroll-options.js","sources":["../../src/screens/mfa-begin-enroll-options.tsx"],"sourcesContent":["import MfaBeginEnrollOptions from '@auth0/auth0-acul-js/mfa-begin-enroll-options';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaBeginEnrollOptionsMembers,\n MfaEnrollOptions,\n} from '@auth0/auth0-acul-js/mfa-begin-enroll-options';\n\n// Register the singleton instance of MfaBeginEnrollOptions\nconst instance = registerScreen<MfaBeginEnrollOptionsMembers>(MfaBeginEnrollOptions)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaBeginEnrollOptionsMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const enroll = (payload: MfaEnrollOptions) => withError(instance.enroll(payload));\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';\n\n// Main instance hook. Returns singleton instance of MfaBeginEnrollOptions\nexport const useMfaBeginEnrollOptions = (): MfaBeginEnrollOptionsMembers =>\n useMemo(() => instance, []);\n"],"names":["instance","registerScreen","MfaBeginEnrollOptions","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","enroll","payload","useMfaBeginEnrollOptions","useMemo"],"mappings":"wbAaA,MAAMA,EAAWC,EAA6CC,IAGxDC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAA2CN,IAClDO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAUC,GAA8Bd,EAAUH,EAASgB,OAAOC,IAMlEC,EAA2B,IACtCC,EAAQ,IAAMnB,EAAU"}
|
|
@@ -2,5 +2,5 @@ import type { MfaCountryCodesMembers, SelectCountryCodeOptions, CustomOptions }
|
|
|
2
2
|
export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers, useTenant: () => import("@auth0/auth0-acul-js").TenantMembers, useBranding: () => import("@auth0/auth0-acul-js").BrandingMembers, useClient: () => import("@auth0/auth0-acul-js").ClientMembers, useOrganization: () => import("@auth0/auth0-acul-js").OrganizationMembers, usePrompt: () => import("@auth0/auth0-acul-js").PromptMembers, useScreen: () => import("@auth0/auth0-acul-js").ScreenMembersOnMfaCountryCodes, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
|
|
3
3
|
export declare const selectCountryCode: (payload: SelectCountryCodeOptions) => void | Promise<void>;
|
|
4
4
|
export declare const goBack: (payload?: CustomOptions) => void | Promise<void>;
|
|
5
|
-
export { useCurrentScreen, useErrors, useAuth0Themes
|
|
5
|
+
export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
|
|
6
6
|
export declare const useMfaCountryCodes: () => MfaCountryCodesMembers;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mfa-country-codes.js","sources":["../../src/screens/mfa-country-codes.tsx"],"sourcesContent":["import MfaCountryCodes from '@auth0/auth0-acul-js/mfa-country-codes';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaCountryCodesMembers,\n SelectCountryCodeOptions,\n CustomOptions,\n} from '@auth0/auth0-acul-js/mfa-country-codes';\n\n// Register the singleton instance of MfaCountryCodes\nconst instance = registerScreen<MfaCountryCodesMembers>(MfaCountryCodes)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaCountryCodesMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const selectCountryCode = (payload: SelectCountryCodeOptions) =>\n withError(instance.selectCountryCode(payload));\nexport const goBack = (payload?: CustomOptions) => withError(instance.goBack(payload));\n\n// Common hooks\nexport {
|
|
1
|
+
{"version":3,"file":"mfa-country-codes.js","sources":["../../src/screens/mfa-country-codes.tsx"],"sourcesContent":["import MfaCountryCodes from '@auth0/auth0-acul-js/mfa-country-codes';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaCountryCodesMembers,\n SelectCountryCodeOptions,\n CustomOptions,\n} from '@auth0/auth0-acul-js/mfa-country-codes';\n\n// Register the singleton instance of MfaCountryCodes\nconst instance = registerScreen<MfaCountryCodesMembers>(MfaCountryCodes)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaCountryCodesMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const selectCountryCode = (payload: SelectCountryCodeOptions) =>\n withError(instance.selectCountryCode(payload));\nexport const goBack = (payload?: CustomOptions) => withError(instance.goBack(payload));\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';\n\n// Main instance hook. Returns singleton instance of MfaCountryCodes\nexport const useMfaCountryCodes = (): MfaCountryCodesMembers => useMemo(() => instance, []);\n"],"names":["instance","registerScreen","MfaCountryCodes","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","selectCountryCode","payload","goBack","useMfaCountryCodes","useMemo"],"mappings":"ibAcA,MAAMA,EAAWC,EAAuCC,IAGlDC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAqCN,IAC5CO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAqBC,GAChCd,EAAUH,EAASgB,kBAAkBC,IAC1BC,EAAUD,GAA4Bd,EAAUH,EAASkB,OAAOD,IAMhEE,EAAqB,IAA8BC,EAAQ,IAAMpB,EAAU"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MfaDetectBrowserCapabilitiesMembers, CustomOptions } from '@auth0/auth0-acul-js/mfa-detect-browser-capabilities';
|
|
2
2
|
export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers, useTenant: () => import("@auth0/auth0-acul-js").TenantMembers, useBranding: () => import("@auth0/auth0-acul-js").BrandingMembers, useClient: () => import("@auth0/auth0-acul-js").ClientMembers, useOrganization: () => import("@auth0/auth0-acul-js").OrganizationMembers, usePrompt: () => import("@auth0/auth0-acul-js").PromptMembers, useScreen: () => import("@auth0/auth0-acul-js").ScreenMembers, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
|
|
3
3
|
export declare const detectCapabilities: (payload: CustomOptions) => void | Promise<void>;
|
|
4
|
-
export { useCurrentScreen, useErrors, useAuth0Themes
|
|
4
|
+
export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
|
|
5
5
|
export declare const useMfaDetectBrowserCapabilities: () => MfaDetectBrowserCapabilitiesMembers;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mfa-detect-browser-capabilities.js","sources":["../../src/screens/mfa-detect-browser-capabilities.tsx"],"sourcesContent":["import MfaDetectBrowserCapabilities from '@auth0/auth0-acul-js/mfa-detect-browser-capabilities';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaDetectBrowserCapabilitiesMembers,\n CustomOptions,\n} from '@auth0/auth0-acul-js/mfa-detect-browser-capabilities';\n\n// Register the singleton instance of MfaDetectBrowserCapabilities\nconst instance = registerScreen<MfaDetectBrowserCapabilitiesMembers>(MfaDetectBrowserCapabilities)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaDetectBrowserCapabilitiesMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const detectCapabilities = (payload: CustomOptions) =>\n withError(instance.detectCapabilities(payload));\n\n// Common hooks\nexport {
|
|
1
|
+
{"version":3,"file":"mfa-detect-browser-capabilities.js","sources":["../../src/screens/mfa-detect-browser-capabilities.tsx"],"sourcesContent":["import MfaDetectBrowserCapabilities from '@auth0/auth0-acul-js/mfa-detect-browser-capabilities';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaDetectBrowserCapabilitiesMembers,\n CustomOptions,\n} from '@auth0/auth0-acul-js/mfa-detect-browser-capabilities';\n\n// Register the singleton instance of MfaDetectBrowserCapabilities\nconst instance = registerScreen<MfaDetectBrowserCapabilitiesMembers>(MfaDetectBrowserCapabilities)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaDetectBrowserCapabilitiesMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const detectCapabilities = (payload: CustomOptions) =>\n withError(instance.detectCapabilities(payload));\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';\n\n// Main instance hook. Returns singleton instance of MfaDetectBrowserCapabilities\nexport const useMfaDetectBrowserCapabilities = (): MfaDetectBrowserCapabilitiesMembers =>\n useMemo(() => instance, []);\n"],"names":["instance","registerScreen","MfaDetectBrowserCapabilities","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","detectCapabilities","payload","useMfaDetectBrowserCapabilities","useMemo"],"mappings":"+bAaA,MAAMA,EAAWC,EAAoDC,IAG/DC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAkDN,IACzDO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAsBC,GACjCd,EAAUH,EAASgB,mBAAmBC,IAM3BC,EAAkC,IAC7CC,EAAQ,IAAMnB,EAAU"}
|
|
@@ -5,5 +5,5 @@ export declare const resendCode: (payload?: ResendCodeOptions) => void | Promise
|
|
|
5
5
|
export declare const tryAnotherMethod: (payload?: TryAnotherMethodOptions) => void | Promise<void>;
|
|
6
6
|
export declare const pickEmail: (payload?: CustomOptions) => void | Promise<void>;
|
|
7
7
|
export { useResend } from '../hooks/utility/resend-manager';
|
|
8
|
-
export { useCurrentScreen, useErrors, useAuth0Themes
|
|
8
|
+
export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
|
|
9
9
|
export declare const useMfaEmailChallenge: () => MfaEmailChallengeMembers;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mfa-email-challenge.js","sources":["../../src/screens/mfa-email-challenge.tsx"],"sourcesContent":["import MfaEmailChallenge from '@auth0/auth0-acul-js/mfa-email-challenge';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaEmailChallengeMembers,\n ContinueOptions,\n ResendCodeOptions,\n TryAnotherMethodOptions,\n CustomOptions,\n} from '@auth0/auth0-acul-js/mfa-email-challenge';\n\n// Register the singleton instance of MfaEmailChallenge\nconst instance = registerScreen<MfaEmailChallengeMembers>(MfaEmailChallenge)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaEmailChallengeMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const continueMethod = (payload: ContinueOptions) => withError(instance.continue(payload));\nexport const resendCode = (payload?: ResendCodeOptions) => withError(instance.resendCode(payload));\nexport const tryAnotherMethod = (payload?: TryAnotherMethodOptions) =>\n withError(instance.tryAnotherMethod(payload));\nexport const pickEmail = (payload?: CustomOptions) => withError(instance.pickEmail(payload));\n\n// Utility Hooks\nexport { useResend } from '../hooks/utility/resend-manager';\n\n// Common hooks\nexport {
|
|
1
|
+
{"version":3,"file":"mfa-email-challenge.js","sources":["../../src/screens/mfa-email-challenge.tsx"],"sourcesContent":["import MfaEmailChallenge from '@auth0/auth0-acul-js/mfa-email-challenge';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaEmailChallengeMembers,\n ContinueOptions,\n ResendCodeOptions,\n TryAnotherMethodOptions,\n CustomOptions,\n} from '@auth0/auth0-acul-js/mfa-email-challenge';\n\n// Register the singleton instance of MfaEmailChallenge\nconst instance = registerScreen<MfaEmailChallengeMembers>(MfaEmailChallenge)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaEmailChallengeMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const continueMethod = (payload: ContinueOptions) => withError(instance.continue(payload));\nexport const resendCode = (payload?: ResendCodeOptions) => withError(instance.resendCode(payload));\nexport const tryAnotherMethod = (payload?: TryAnotherMethodOptions) =>\n withError(instance.tryAnotherMethod(payload));\nexport const pickEmail = (payload?: CustomOptions) => withError(instance.pickEmail(payload));\n\n// Utility Hooks\nexport { useResend } from '../hooks/utility/resend-manager';\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';\n\n// Main instance hook. Returns singleton instance of MfaEmailChallenge\nexport const useMfaEmailChallenge = (): MfaEmailChallengeMembers => useMemo(() => instance, []);\n"],"names":["instance","registerScreen","MfaEmailChallenge","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","continueMethod","payload","continue","resendCode","tryAnotherMethod","pickEmail","useMfaEmailChallenge","useMemo"],"mappings":"6eAgBA,MAAMA,EAAWC,EAAyCC,IAGpDC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAuCN,IAC9CO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAkBC,GAA6Bd,EAAUH,EAASkB,SAASD,IAC3EE,EAAcF,GAAgCd,EAAUH,EAASmB,WAAWF,IAC5EG,EAAoBH,GAC/Bd,EAAUH,EAASoB,iBAAiBH,IACzBI,EAAaJ,GAA4Bd,EAAUH,EAASqB,UAAUJ,IAStEK,EAAuB,IAAgCC,EAAQ,IAAMvB,EAAU"}
|
|
@@ -2,5 +2,5 @@ import type { MfaEmailListMembers, SelectMfaEmailOptions, CustomOptions } from '
|
|
|
2
2
|
export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers, useTenant: () => import("@auth0/auth0-acul-js").TenantMembers, useBranding: () => import("@auth0/auth0-acul-js").BrandingMembers, useClient: () => import("@auth0/auth0-acul-js").ClientMembers, useOrganization: () => import("@auth0/auth0-acul-js").OrganizationMembers, usePrompt: () => import("@auth0/auth0-acul-js").PromptMembers, useScreen: () => import("@auth0/auth0-acul-js").ScreenMembersOnMfaEmailList, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
|
|
3
3
|
export declare const selectMfaEmail: (payload: SelectMfaEmailOptions) => void | Promise<void>;
|
|
4
4
|
export declare const goBack: (payload?: CustomOptions) => void | Promise<void>;
|
|
5
|
-
export { useCurrentScreen, useErrors, useAuth0Themes
|
|
5
|
+
export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
|
|
6
6
|
export declare const useMfaEmailList: () => MfaEmailListMembers;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mfa-email-list.js","sources":["../../src/screens/mfa-email-list.tsx"],"sourcesContent":["import MfaEmailList from '@auth0/auth0-acul-js/mfa-email-list';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaEmailListMembers,\n SelectMfaEmailOptions,\n CustomOptions,\n} from '@auth0/auth0-acul-js/mfa-email-list';\n\n// Register the singleton instance of MfaEmailList\nconst instance = registerScreen<MfaEmailListMembers>(MfaEmailList)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaEmailListMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const selectMfaEmail = (payload: SelectMfaEmailOptions) =>\n withError(instance.selectMfaEmail(payload));\nexport const goBack = (payload?: CustomOptions) => withError(instance.goBack(payload));\n\n// Common hooks\nexport {
|
|
1
|
+
{"version":3,"file":"mfa-email-list.js","sources":["../../src/screens/mfa-email-list.tsx"],"sourcesContent":["import MfaEmailList from '@auth0/auth0-acul-js/mfa-email-list';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaEmailListMembers,\n SelectMfaEmailOptions,\n CustomOptions,\n} from '@auth0/auth0-acul-js/mfa-email-list';\n\n// Register the singleton instance of MfaEmailList\nconst instance = registerScreen<MfaEmailListMembers>(MfaEmailList)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaEmailListMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const selectMfaEmail = (payload: SelectMfaEmailOptions) =>\n withError(instance.selectMfaEmail(payload));\nexport const goBack = (payload?: CustomOptions) => withError(instance.goBack(payload));\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';\n\n// Main instance hook. Returns singleton instance of MfaEmailList\nexport const useMfaEmailList = (): MfaEmailListMembers => useMemo(() => instance, []);\n"],"names":["instance","registerScreen","MfaEmailList","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","selectMfaEmail","payload","goBack","useMfaEmailList","useMemo"],"mappings":"8aAcA,MAAMA,EAAWC,EAAoCC,IAG/CC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAkCN,IACzCO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAkBC,GAC7Bd,EAAUH,EAASgB,eAAeC,IACvBC,EAAUD,GAA4Bd,EAAUH,EAASkB,OAAOD,IAMhEE,EAAkB,IAA2BC,EAAQ,IAAMpB,EAAU"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { MfaEnrollResultMembers } from '@auth0/auth0-acul-js/mfa-enroll-result';
|
|
2
2
|
export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers, useTenant: () => import("@auth0/auth0-acul-js").TenantMembers, useBranding: () => import("@auth0/auth0-acul-js").BrandingMembers, useClient: () => import("@auth0/auth0-acul-js").ClientMembers, useOrganization: () => import("@auth0/auth0-acul-js").OrganizationMembers, usePrompt: () => import("@auth0/auth0-acul-js").PromptMembers, useScreen: () => import("@auth0/auth0-acul-js").ScreenMembersOnMfaEnrollResult, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
|
|
3
|
-
export { useCurrentScreen, useErrors, useAuth0Themes
|
|
3
|
+
export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
|
|
4
4
|
export declare const useMfaEnrollResult: () => MfaEnrollResultMembers;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mfa-enroll-result.js","sources":["../../src/screens/mfa-enroll-result.tsx"],"sourcesContent":["import MfaEnrollResult from '@auth0/auth0-acul-js/mfa-enroll-result';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type { MfaEnrollResultMembers } from '@auth0/auth0-acul-js/mfa-enroll-result';\n\n// Register the singleton instance of MfaEnrollResult\nconst instance = registerScreen<MfaEnrollResultMembers>(MfaEnrollResult)!;\n\n// Context hooks\nconst factory = new ContextHooks<MfaEnrollResultMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Common hooks\nexport {
|
|
1
|
+
{"version":3,"file":"mfa-enroll-result.js","sources":["../../src/screens/mfa-enroll-result.tsx"],"sourcesContent":["import MfaEnrollResult from '@auth0/auth0-acul-js/mfa-enroll-result';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type { MfaEnrollResultMembers } from '@auth0/auth0-acul-js/mfa-enroll-result';\n\n// Register the singleton instance of MfaEnrollResult\nconst instance = registerScreen<MfaEnrollResultMembers>(MfaEnrollResult)!;\n\n// Context hooks\nconst factory = new ContextHooks<MfaEnrollResultMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';\n\n// Main instance hook. Returns singleton instance of MfaEnrollResult\nexport const useMfaEnrollResult = (): MfaEnrollResultMembers => useMemo(() => instance, []);\n"],"names":["instance","registerScreen","MfaEnrollResult","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","useMfaEnrollResult","useMemo"],"mappings":"wXASA,MAAMA,EAAWC,EAAuCC,GAGlDC,EAAU,IAAIC,EAAqCJ,IAC5CK,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAMSW,EAAqB,IAA8BC,EAAQ,IAAMf,EAAU"}
|
|
@@ -2,5 +2,5 @@ import type { MfaLoginOptionsMembers, LoginEnrollOptions, 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").ScreenMembersOnMfaLoginOptions, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
|
|
3
3
|
export declare const enroll: (payload: LoginEnrollOptions) => void | Promise<void>;
|
|
4
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 useMfaLoginOptions: () => MfaLoginOptionsMembers;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mfa-login-options.js","sources":["../../src/screens/mfa-login-options.tsx"],"sourcesContent":["import MfaLoginOptions from '@auth0/auth0-acul-js/mfa-login-options';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaLoginOptionsMembers,\n LoginEnrollOptions,\n CustomOptions,\n} from '@auth0/auth0-acul-js/mfa-login-options';\n\n// Register the singleton instance of MfaLoginOptions\nconst instance = registerScreen<MfaLoginOptionsMembers>(MfaLoginOptions)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaLoginOptionsMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const enroll = (payload: LoginEnrollOptions) => withError(instance.enroll(payload));\nexport const returnToPrevious = (payload?: CustomOptions) =>\n withError(instance.returnToPrevious(payload));\n\n// Common hooks\nexport {
|
|
1
|
+
{"version":3,"file":"mfa-login-options.js","sources":["../../src/screens/mfa-login-options.tsx"],"sourcesContent":["import MfaLoginOptions from '@auth0/auth0-acul-js/mfa-login-options';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaLoginOptionsMembers,\n LoginEnrollOptions,\n CustomOptions,\n} from '@auth0/auth0-acul-js/mfa-login-options';\n\n// Register the singleton instance of MfaLoginOptions\nconst instance = registerScreen<MfaLoginOptionsMembers>(MfaLoginOptions)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaLoginOptionsMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const enroll = (payload: LoginEnrollOptions) => withError(instance.enroll(payload));\nexport const returnToPrevious = (payload?: CustomOptions) =>\n withError(instance.returnToPrevious(payload));\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';\n\n// Main instance hook. Returns singleton instance of MfaLoginOptions\nexport const useMfaLoginOptions = (): MfaLoginOptionsMembers => useMemo(() => instance, []);\n"],"names":["instance","registerScreen","MfaLoginOptions","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","enroll","payload","returnToPrevious","useMfaLoginOptions","useMemo"],"mappings":"ibAcA,MAAMA,EAAWC,EAAuCC,IAGlDC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAqCN,IAC5CO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAUC,GAAgCd,EAAUH,EAASgB,OAAOC,IACpEC,EAAoBD,GAC/Bd,EAAUH,EAASkB,iBAAiBD,IAMzBE,EAAqB,IAA8BC,EAAQ,IAAMpB,EAAU"}
|
|
@@ -2,5 +2,5 @@ import type { MfaOtpChallengeMembers, ContinueOptions, TryAnotherMethodOptions }
|
|
|
2
2
|
export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers, useTenant: () => import("@auth0/auth0-acul-js").TenantMembers, useBranding: () => import("@auth0/auth0-acul-js").BrandingMembers, useClient: () => import("@auth0/auth0-acul-js").ClientMembers, useOrganization: () => import("@auth0/auth0-acul-js").OrganizationMembers, usePrompt: () => import("@auth0/auth0-acul-js").PromptMembers, useScreen: () => import("@auth0/auth0-acul-js").ScreenMembersOnMfaOtpChallenge, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembersOnMfaOtpChallenge;
|
|
3
3
|
export declare const continueMethod: (payload: ContinueOptions) => void | Promise<void>;
|
|
4
4
|
export declare const tryAnotherMethod: (payload?: TryAnotherMethodOptions) => void | Promise<void>;
|
|
5
|
-
export { useCurrentScreen, useErrors, useAuth0Themes
|
|
5
|
+
export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
|
|
6
6
|
export declare const useMfaOtpChallenge: () => MfaOtpChallengeMembers;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mfa-otp-challenge.js","sources":["../../src/screens/mfa-otp-challenge.tsx"],"sourcesContent":["import MfaOtpChallenge from '@auth0/auth0-acul-js/mfa-otp-challenge';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaOtpChallengeMembers,\n ContinueOptions,\n TryAnotherMethodOptions,\n} from '@auth0/auth0-acul-js/mfa-otp-challenge';\n\n// Register the singleton instance of MfaOtpChallenge\nconst instance = registerScreen<MfaOtpChallengeMembers>(MfaOtpChallenge)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaOtpChallengeMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const continueMethod = (payload: ContinueOptions) => withError(instance.continue(payload));\nexport const tryAnotherMethod = (payload?: TryAnotherMethodOptions) =>\n withError(instance.tryAnotherMethod(payload));\n\n// Common hooks\nexport {
|
|
1
|
+
{"version":3,"file":"mfa-otp-challenge.js","sources":["../../src/screens/mfa-otp-challenge.tsx"],"sourcesContent":["import MfaOtpChallenge from '@auth0/auth0-acul-js/mfa-otp-challenge';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaOtpChallengeMembers,\n ContinueOptions,\n TryAnotherMethodOptions,\n} from '@auth0/auth0-acul-js/mfa-otp-challenge';\n\n// Register the singleton instance of MfaOtpChallenge\nconst instance = registerScreen<MfaOtpChallengeMembers>(MfaOtpChallenge)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaOtpChallengeMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const continueMethod = (payload: ContinueOptions) => withError(instance.continue(payload));\nexport const tryAnotherMethod = (payload?: TryAnotherMethodOptions) =>\n withError(instance.tryAnotherMethod(payload));\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';\n\n// Main instance hook. Returns singleton instance of MfaOtpChallenge\nexport const useMfaOtpChallenge = (): MfaOtpChallengeMembers => useMemo(() => instance, []);\n"],"names":["instance","registerScreen","MfaOtpChallenge","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","continueMethod","payload","continue","tryAnotherMethod","useMfaOtpChallenge","useMemo"],"mappings":"ibAcA,MAAMA,EAAWC,EAAuCC,IAGlDC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAqCN,IAC5CO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAkBC,GAA6Bd,EAAUH,EAASkB,SAASD,IAC3EE,EAAoBF,GAC/Bd,EAAUH,EAASmB,iBAAiBF,IAMzBG,EAAqB,IAA8BC,EAAQ,IAAMrB,EAAU"}
|
|
@@ -2,5 +2,5 @@ import type { MfaOtpEnrollmentCodeMembers, ContinueOptions, TryAnotherMethodOpti
|
|
|
2
2
|
export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers, useTenant: () => import("@auth0/auth0-acul-js").TenantMembers, useBranding: () => import("@auth0/auth0-acul-js").BrandingMembers, useClient: () => import("@auth0/auth0-acul-js").ClientMembers, useOrganization: () => import("@auth0/auth0-acul-js").OrganizationMembers, usePrompt: () => import("@auth0/auth0-acul-js").PromptMembers, useScreen: () => import("@auth0/auth0-acul-js").ScreenMembersOnMfaOtpEnrollmentCode, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
|
|
3
3
|
export declare const continueMethod: (payload: ContinueOptions) => void | Promise<void>;
|
|
4
4
|
export declare const tryAnotherMethod: (payload?: TryAnotherMethodOptions) => void | Promise<void>;
|
|
5
|
-
export { useCurrentScreen, useErrors, useAuth0Themes
|
|
5
|
+
export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
|
|
6
6
|
export declare const useMfaOtpEnrollmentCode: () => MfaOtpEnrollmentCodeMembers;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mfa-otp-enrollment-code.js","sources":["../../src/screens/mfa-otp-enrollment-code.tsx"],"sourcesContent":["import MfaOtpEnrollmentCode from '@auth0/auth0-acul-js/mfa-otp-enrollment-code';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaOtpEnrollmentCodeMembers,\n ContinueOptions,\n TryAnotherMethodOptions,\n} from '@auth0/auth0-acul-js/mfa-otp-enrollment-code';\n\n// Register the singleton instance of MfaOtpEnrollmentCode\nconst instance = registerScreen<MfaOtpEnrollmentCodeMembers>(MfaOtpEnrollmentCode)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaOtpEnrollmentCodeMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const continueMethod = (payload: ContinueOptions) => withError(instance.continue(payload));\nexport const tryAnotherMethod = (payload?: TryAnotherMethodOptions) =>\n withError(instance.tryAnotherMethod(payload));\n\n// Common hooks\nexport {
|
|
1
|
+
{"version":3,"file":"mfa-otp-enrollment-code.js","sources":["../../src/screens/mfa-otp-enrollment-code.tsx"],"sourcesContent":["import MfaOtpEnrollmentCode from '@auth0/auth0-acul-js/mfa-otp-enrollment-code';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaOtpEnrollmentCodeMembers,\n ContinueOptions,\n TryAnotherMethodOptions,\n} from '@auth0/auth0-acul-js/mfa-otp-enrollment-code';\n\n// Register the singleton instance of MfaOtpEnrollmentCode\nconst instance = registerScreen<MfaOtpEnrollmentCodeMembers>(MfaOtpEnrollmentCode)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaOtpEnrollmentCodeMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const continueMethod = (payload: ContinueOptions) => withError(instance.continue(payload));\nexport const tryAnotherMethod = (payload?: TryAnotherMethodOptions) =>\n withError(instance.tryAnotherMethod(payload));\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';\n\n// Main instance hook. Returns singleton instance of MfaOtpEnrollmentCode\nexport const useMfaOtpEnrollmentCode = (): MfaOtpEnrollmentCodeMembers =>\n useMemo(() => instance, []);\n"],"names":["instance","registerScreen","MfaOtpEnrollmentCode","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","continueMethod","payload","continue","tryAnotherMethod","useMfaOtpEnrollmentCode","useMemo"],"mappings":"ubAcA,MAAMA,EAAWC,EAA4CC,IAGvDC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAA0CN,IACjDO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAkBC,GAA6Bd,EAAUH,EAASkB,SAASD,IAC3EE,EAAoBF,GAC/Bd,EAAUH,EAASmB,iBAAiBF,IAMzBG,EAA0B,IACrCC,EAAQ,IAAMrB,EAAU"}
|