@auth0/auth0-acul-react 1.0.0-alpha.1 → 1.0.0-alpha.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (179) hide show
  1. package/README.md +214 -11
  2. package/dist/export/getting-started.d.ts +1 -1
  3. package/dist/export/hooks.d.ts +1 -1
  4. package/dist/hooks/common/errors.d.ts +19 -19
  5. package/dist/hooks/common/errors.js +1 -1
  6. package/dist/hooks/common/errors.js.map +1 -1
  7. package/dist/hooks/index.d.ts +2 -1
  8. package/dist/hooks/utility/passkey-autofill.d.ts +86 -0
  9. package/dist/hooks/utility/passkey-autofill.js +2 -0
  10. package/dist/hooks/utility/passkey-autofill.js.map +1 -0
  11. package/dist/hooks/utility/polling-manager.d.ts +1 -0
  12. package/dist/hooks/utility/polling-manager.js.map +1 -1
  13. package/dist/hooks/utility/validate-password.js +1 -1
  14. package/dist/hooks/utility/validate-password.js.map +1 -1
  15. package/dist/hooks/utility/validate-username.js +1 -1
  16. package/dist/hooks/utility/validate-username.js.map +1 -1
  17. package/dist/screens/accept-invitation.d.ts +1 -1
  18. package/dist/screens/accept-invitation.js.map +1 -1
  19. package/dist/screens/consent.d.ts +1 -1
  20. package/dist/screens/consent.js.map +1 -1
  21. package/dist/screens/customized-consent.d.ts +1 -1
  22. package/dist/screens/customized-consent.js.map +1 -1
  23. package/dist/screens/device-code-activation-allowed.d.ts +1 -1
  24. package/dist/screens/device-code-activation-allowed.js.map +1 -1
  25. package/dist/screens/device-code-activation-denied.d.ts +1 -1
  26. package/dist/screens/device-code-activation-denied.js.map +1 -1
  27. package/dist/screens/device-code-activation.d.ts +1 -1
  28. package/dist/screens/device-code-activation.js.map +1 -1
  29. package/dist/screens/device-code-confirmation.d.ts +1 -1
  30. package/dist/screens/device-code-confirmation.js.map +1 -1
  31. package/dist/screens/email-identifier-challenge.d.ts +1 -1
  32. package/dist/screens/email-identifier-challenge.js.map +1 -1
  33. package/dist/screens/email-otp-challenge.d.ts +1 -1
  34. package/dist/screens/email-otp-challenge.js.map +1 -1
  35. package/dist/screens/email-verification-result.d.ts +1 -1
  36. package/dist/screens/email-verification-result.js.map +1 -1
  37. package/dist/screens/interstitial-captcha.d.ts +1 -1
  38. package/dist/screens/interstitial-captcha.js.map +1 -1
  39. package/dist/screens/login-email-verification.d.ts +1 -1
  40. package/dist/screens/login-email-verification.js.map +1 -1
  41. package/dist/screens/login-id.d.ts +2 -1
  42. package/dist/screens/login-id.js +1 -1
  43. package/dist/screens/login-id.js.map +1 -1
  44. package/dist/screens/login-password.d.ts +3 -2
  45. package/dist/screens/login-password.js +1 -1
  46. package/dist/screens/login-password.js.map +1 -1
  47. package/dist/screens/login-passwordless-email-code.d.ts +1 -1
  48. package/dist/screens/login-passwordless-email-code.js.map +1 -1
  49. package/dist/screens/login-passwordless-sms-otp.d.ts +1 -1
  50. package/dist/screens/login-passwordless-sms-otp.js.map +1 -1
  51. package/dist/screens/login.d.ts +1 -1
  52. package/dist/screens/login.js.map +1 -1
  53. package/dist/screens/logout-aborted.d.ts +1 -1
  54. package/dist/screens/logout-aborted.js.map +1 -1
  55. package/dist/screens/logout-complete.d.ts +1 -1
  56. package/dist/screens/logout-complete.js.map +1 -1
  57. package/dist/screens/logout.d.ts +1 -1
  58. package/dist/screens/logout.js.map +1 -1
  59. package/dist/screens/mfa-begin-enroll-options.d.ts +1 -1
  60. package/dist/screens/mfa-begin-enroll-options.js.map +1 -1
  61. package/dist/screens/mfa-country-codes.d.ts +1 -1
  62. package/dist/screens/mfa-country-codes.js.map +1 -1
  63. package/dist/screens/mfa-detect-browser-capabilities.d.ts +1 -1
  64. package/dist/screens/mfa-detect-browser-capabilities.js.map +1 -1
  65. package/dist/screens/mfa-email-challenge.d.ts +1 -1
  66. package/dist/screens/mfa-email-challenge.js.map +1 -1
  67. package/dist/screens/mfa-email-list.d.ts +1 -1
  68. package/dist/screens/mfa-email-list.js.map +1 -1
  69. package/dist/screens/mfa-enroll-result.d.ts +1 -1
  70. package/dist/screens/mfa-enroll-result.js.map +1 -1
  71. package/dist/screens/mfa-login-options.d.ts +3 -2
  72. package/dist/screens/mfa-login-options.js +1 -1
  73. package/dist/screens/mfa-login-options.js.map +1 -1
  74. package/dist/screens/mfa-otp-challenge.d.ts +1 -1
  75. package/dist/screens/mfa-otp-challenge.js.map +1 -1
  76. package/dist/screens/mfa-otp-enrollment-code.d.ts +1 -1
  77. package/dist/screens/mfa-otp-enrollment-code.js.map +1 -1
  78. package/dist/screens/mfa-otp-enrollment-qr.d.ts +1 -1
  79. package/dist/screens/mfa-otp-enrollment-qr.js.map +1 -1
  80. package/dist/screens/mfa-phone-challenge.d.ts +1 -1
  81. package/dist/screens/mfa-phone-challenge.js.map +1 -1
  82. package/dist/screens/mfa-phone-enrollment.d.ts +1 -1
  83. package/dist/screens/mfa-phone-enrollment.js.map +1 -1
  84. package/dist/screens/mfa-push-challenge-push.d.ts +1 -1
  85. package/dist/screens/mfa-push-challenge-push.js.map +1 -1
  86. package/dist/screens/mfa-push-enrollment-qr.d.ts +4 -2
  87. package/dist/screens/mfa-push-enrollment-qr.js +1 -1
  88. package/dist/screens/mfa-push-enrollment-qr.js.map +1 -1
  89. package/dist/screens/mfa-push-list.d.ts +1 -1
  90. package/dist/screens/mfa-push-list.js.map +1 -1
  91. package/dist/screens/mfa-push-welcome.d.ts +1 -1
  92. package/dist/screens/mfa-push-welcome.js.map +1 -1
  93. package/dist/screens/mfa-recovery-code-challenge-new-code.d.ts +1 -1
  94. package/dist/screens/mfa-recovery-code-challenge-new-code.js.map +1 -1
  95. package/dist/screens/mfa-recovery-code-challenge.d.ts +1 -1
  96. package/dist/screens/mfa-recovery-code-challenge.js.map +1 -1
  97. package/dist/screens/mfa-recovery-code-enrollment.d.ts +1 -1
  98. package/dist/screens/mfa-recovery-code-enrollment.js.map +1 -1
  99. package/dist/screens/mfa-sms-challenge.d.ts +1 -1
  100. package/dist/screens/mfa-sms-challenge.js.map +1 -1
  101. package/dist/screens/mfa-sms-enrollment.d.ts +1 -1
  102. package/dist/screens/mfa-sms-enrollment.js.map +1 -1
  103. package/dist/screens/mfa-sms-list.d.ts +1 -1
  104. package/dist/screens/mfa-sms-list.js.map +1 -1
  105. package/dist/screens/mfa-voice-challenge.d.ts +1 -1
  106. package/dist/screens/mfa-voice-challenge.js.map +1 -1
  107. package/dist/screens/mfa-voice-enrollment.d.ts +1 -1
  108. package/dist/screens/mfa-voice-enrollment.js.map +1 -1
  109. package/dist/screens/mfa-webauthn-change-key-nickname.d.ts +1 -1
  110. package/dist/screens/mfa-webauthn-change-key-nickname.js.map +1 -1
  111. package/dist/screens/mfa-webauthn-enrollment-success.d.ts +1 -1
  112. package/dist/screens/mfa-webauthn-enrollment-success.js.map +1 -1
  113. package/dist/screens/mfa-webauthn-error.d.ts +1 -1
  114. package/dist/screens/mfa-webauthn-error.js.map +1 -1
  115. package/dist/screens/mfa-webauthn-not-available-error.d.ts +1 -1
  116. package/dist/screens/mfa-webauthn-not-available-error.js.map +1 -1
  117. package/dist/screens/mfa-webauthn-platform-challenge.d.ts +1 -1
  118. package/dist/screens/mfa-webauthn-platform-challenge.js.map +1 -1
  119. package/dist/screens/mfa-webauthn-platform-enrollment.d.ts +1 -1
  120. package/dist/screens/mfa-webauthn-platform-enrollment.js.map +1 -1
  121. package/dist/screens/mfa-webauthn-roaming-challenge.d.ts +1 -1
  122. package/dist/screens/mfa-webauthn-roaming-challenge.js.map +1 -1
  123. package/dist/screens/mfa-webauthn-roaming-enrollment.d.ts +1 -1
  124. package/dist/screens/mfa-webauthn-roaming-enrollment.js.map +1 -1
  125. package/dist/screens/organization-picker.d.ts +1 -1
  126. package/dist/screens/organization-picker.js.map +1 -1
  127. package/dist/screens/organization-selection.d.ts +1 -1
  128. package/dist/screens/organization-selection.js.map +1 -1
  129. package/dist/screens/passkey-enrollment-local.d.ts +1 -1
  130. package/dist/screens/passkey-enrollment-local.js.map +1 -1
  131. package/dist/screens/passkey-enrollment.d.ts +1 -1
  132. package/dist/screens/passkey-enrollment.js.map +1 -1
  133. package/dist/screens/phone-identifier-challenge.d.ts +3 -1
  134. package/dist/screens/phone-identifier-challenge.js +1 -1
  135. package/dist/screens/phone-identifier-challenge.js.map +1 -1
  136. package/dist/screens/phone-identifier-enrollment.d.ts +1 -1
  137. package/dist/screens/phone-identifier-enrollment.js.map +1 -1
  138. package/dist/screens/redeem-ticket.d.ts +1 -1
  139. package/dist/screens/redeem-ticket.js.map +1 -1
  140. package/dist/screens/reset-password-email.d.ts +1 -1
  141. package/dist/screens/reset-password-email.js.map +1 -1
  142. package/dist/screens/reset-password-error.d.ts +1 -1
  143. package/dist/screens/reset-password-error.js.map +1 -1
  144. package/dist/screens/reset-password-mfa-email-challenge.d.ts +1 -1
  145. package/dist/screens/reset-password-mfa-email-challenge.js.map +1 -1
  146. package/dist/screens/reset-password-mfa-otp-challenge.d.ts +1 -1
  147. package/dist/screens/reset-password-mfa-otp-challenge.js.map +1 -1
  148. package/dist/screens/reset-password-mfa-phone-challenge.d.ts +1 -1
  149. package/dist/screens/reset-password-mfa-phone-challenge.js.map +1 -1
  150. package/dist/screens/reset-password-mfa-push-challenge-push.d.ts +1 -1
  151. package/dist/screens/reset-password-mfa-push-challenge-push.js.map +1 -1
  152. package/dist/screens/reset-password-mfa-recovery-code-challenge.d.ts +1 -1
  153. package/dist/screens/reset-password-mfa-recovery-code-challenge.js.map +1 -1
  154. package/dist/screens/reset-password-mfa-sms-challenge.d.ts +1 -1
  155. package/dist/screens/reset-password-mfa-sms-challenge.js.map +1 -1
  156. package/dist/screens/reset-password-mfa-voice-challenge.d.ts +1 -1
  157. package/dist/screens/reset-password-mfa-voice-challenge.js.map +1 -1
  158. package/dist/screens/reset-password-mfa-webauthn-platform-challenge.d.ts +1 -1
  159. package/dist/screens/reset-password-mfa-webauthn-platform-challenge.js.map +1 -1
  160. package/dist/screens/reset-password-mfa-webauthn-roaming-challenge.d.ts +1 -1
  161. package/dist/screens/reset-password-mfa-webauthn-roaming-challenge.js.map +1 -1
  162. package/dist/screens/reset-password-request.d.ts +1 -1
  163. package/dist/screens/reset-password-request.js.map +1 -1
  164. package/dist/screens/reset-password-success.d.ts +1 -1
  165. package/dist/screens/reset-password-success.js.map +1 -1
  166. package/dist/screens/reset-password.d.ts +1 -1
  167. package/dist/screens/reset-password.js.map +1 -1
  168. package/dist/screens/signup-id.d.ts +1 -1
  169. package/dist/screens/signup-id.js.map +1 -1
  170. package/dist/screens/signup-password.d.ts +3 -2
  171. package/dist/screens/signup-password.js +1 -1
  172. package/dist/screens/signup-password.js.map +1 -1
  173. package/dist/screens/signup.d.ts +1 -1
  174. package/dist/screens/signup.js.map +1 -1
  175. package/dist/state/error-store.d.ts +14 -14
  176. package/dist/state/error-store.js +1 -1
  177. package/dist/state/error-store.js.map +1 -1
  178. package/dist/telemetry.js +1 -1
  179. package/package.json +4 -3
@@ -1 +1 @@
1
- {"version":3,"file":"mfa-recovery-code-enrollment.js","sources":["../../src/screens/mfa-recovery-code-enrollment.tsx"],"sourcesContent":["import MfaRecoveryCodeEnrollment from '@auth0/auth0-acul-js/mfa-recovery-code-enrollment';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaRecoveryCodeEnrollmentMembers,\n MfaRecoveryCodeEnrollmentContinueOptions,\n} from '@auth0/auth0-acul-js/mfa-recovery-code-enrollment';\n\n// Register the singleton instance of MfaRecoveryCodeEnrollment\nconst instance = registerScreen<MfaRecoveryCodeEnrollmentMembers>(MfaRecoveryCodeEnrollment)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaRecoveryCodeEnrollmentMembers>(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: MfaRecoveryCodeEnrollmentContinueOptions) =>\n withError(instance.continue(payload));\n\n// Common hooks\nexport {\n useCurrentScreen,\n useErrors,\n useAuth0Themes,\n type UseErrorOptions,\n type UseErrorsResult,\n type ErrorsResult,\n type ErrorKind,\n} from '../hooks';\n\n// Main instance hook. Returns singleton instance of MfaRecoveryCodeEnrollment\nexport const useMfaRecoveryCodeEnrollment = (): MfaRecoveryCodeEnrollmentMembers =>\n useMemo(() => instance, []);\n\n// Export all types from the core SDK for this screen\n"],"names":["instance","registerScreen","MfaRecoveryCodeEnrollment","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","continueMethod","payload","continue","useMfaRecoveryCodeEnrollment","useMemo"],"mappings":"4bAaA,MAAMA,EAAWC,EAAiDC,IAG5DC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAA+CN,IACtDO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAkBC,GAC7Bd,EAAUH,EAASkB,SAASD,IAcjBE,EAA+B,IAC1CC,EAAQ,IAAMpB,EAAU"}
1
+ {"version":3,"file":"mfa-recovery-code-enrollment.js","sources":["../../src/screens/mfa-recovery-code-enrollment.tsx"],"sourcesContent":["import MfaRecoveryCodeEnrollment from '@auth0/auth0-acul-js/mfa-recovery-code-enrollment';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaRecoveryCodeEnrollmentMembers,\n MfaRecoveryCodeEnrollmentContinueOptions,\n} from '@auth0/auth0-acul-js/mfa-recovery-code-enrollment';\n\n// Register the singleton instance of MfaRecoveryCodeEnrollment\nconst instance = registerScreen<MfaRecoveryCodeEnrollmentMembers>(MfaRecoveryCodeEnrollment)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaRecoveryCodeEnrollmentMembers>(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: MfaRecoveryCodeEnrollmentContinueOptions) =>\n withError(instance.continue(payload));\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';\n\n// Main instance hook. Returns singleton instance of MfaRecoveryCodeEnrollment\nexport const useMfaRecoveryCodeEnrollment = (): MfaRecoveryCodeEnrollmentMembers =>\n useMemo(() => instance, []);\n"],"names":["instance","registerScreen","MfaRecoveryCodeEnrollment","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","continueMethod","payload","continue","useMfaRecoveryCodeEnrollment","useMemo"],"mappings":"4bAaA,MAAMA,EAAWC,EAAiDC,IAG5DC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAA+CN,IACtDO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAkBC,GAC7Bd,EAAUH,EAASkB,SAASD,IAMjBE,EAA+B,IAC1CC,EAAQ,IAAMpB,EAAU"}
@@ -6,5 +6,5 @@ export declare const resendCode: (payload?: CustomOptions) => void | Promise<voi
6
6
  export declare const tryAnotherMethod: (payload?: CustomOptions) => void | Promise<void>;
7
7
  export declare const getACall: (payload?: CustomOptions) => void | Promise<void>;
8
8
  export { useResend } from '../hooks/utility/resend-manager';
9
- export { useCurrentScreen, useErrors, useAuth0Themes, type UseErrorOptions, type UseErrorsResult, type ErrorsResult, type ErrorKind, } from '../hooks';
9
+ export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
10
10
  export declare const useMfaSmsChallenge: () => MfaSmsChallengeMembers;
@@ -1 +1 @@
1
- {"version":3,"file":"mfa-sms-challenge.js","sources":["../../src/screens/mfa-sms-challenge.tsx"],"sourcesContent":["import MfaSmsChallenge from '@auth0/auth0-acul-js/mfa-sms-challenge';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaSmsChallengeMembers,\n MfaSmsChallengeOptions,\n CustomOptions,\n} from '@auth0/auth0-acul-js/mfa-sms-challenge';\n\n// Register the singleton instance of MfaSmsChallenge\nconst instance = registerScreen<MfaSmsChallengeMembers>(MfaSmsChallenge)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaSmsChallengeMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const continueMfaSmsChallenge = (payload: MfaSmsChallengeOptions) =>\n withError(instance.continueMfaSmsChallenge(payload));\nexport const pickSms = (payload?: CustomOptions) => withError(instance.pickSms(payload));\nexport const resendCode = (payload?: CustomOptions) => withError(instance.resendCode(payload));\nexport const tryAnotherMethod = (payload?: CustomOptions) =>\n withError(instance.tryAnotherMethod(payload));\nexport const getACall = (payload?: CustomOptions) => withError(instance.getACall(payload));\n\n// Utility Hooks\nexport { useResend } from '../hooks/utility/resend-manager';\n\n// Common hooks\nexport {\n useCurrentScreen,\n useErrors,\n useAuth0Themes,\n type UseErrorOptions,\n type UseErrorsResult,\n type ErrorsResult,\n type ErrorKind,\n} from '../hooks';\n\n// Main instance hook. Returns singleton instance of MfaSmsChallenge\nexport const useMfaSmsChallenge = (): MfaSmsChallengeMembers => useMemo(() => instance, []);\n\n// Export all types from the core SDK for this screen\n"],"names":["instance","registerScreen","MfaSmsChallenge","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","continueMfaSmsChallenge","payload","pickSms","resendCode","tryAnotherMethod","getACall","useMfaSmsChallenge","useMemo"],"mappings":"2eAcA,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,EAA2BC,GACtCd,EAAUH,EAASgB,wBAAwBC,IAChCC,EAAWD,GAA4Bd,EAAUH,EAASkB,QAAQD,IAClEE,EAAcF,GAA4Bd,EAAUH,EAASmB,WAAWF,IACxEG,EAAoBH,GAC/Bd,EAAUH,EAASoB,iBAAiBH,IACzBI,EAAYJ,GAA4Bd,EAAUH,EAASqB,SAASJ,IAiBpEK,EAAqB,IAA8BC,EAAQ,IAAMvB,EAAU"}
1
+ {"version":3,"file":"mfa-sms-challenge.js","sources":["../../src/screens/mfa-sms-challenge.tsx"],"sourcesContent":["import MfaSmsChallenge from '@auth0/auth0-acul-js/mfa-sms-challenge';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaSmsChallengeMembers,\n MfaSmsChallengeOptions,\n CustomOptions,\n} from '@auth0/auth0-acul-js/mfa-sms-challenge';\n\n// Register the singleton instance of MfaSmsChallenge\nconst instance = registerScreen<MfaSmsChallengeMembers>(MfaSmsChallenge)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaSmsChallengeMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const continueMfaSmsChallenge = (payload: MfaSmsChallengeOptions) =>\n withError(instance.continueMfaSmsChallenge(payload));\nexport const pickSms = (payload?: CustomOptions) => withError(instance.pickSms(payload));\nexport const resendCode = (payload?: CustomOptions) => withError(instance.resendCode(payload));\nexport const tryAnotherMethod = (payload?: CustomOptions) =>\n withError(instance.tryAnotherMethod(payload));\nexport const getACall = (payload?: CustomOptions) => withError(instance.getACall(payload));\n\n// Utility Hooks\nexport { useResend } from '../hooks/utility/resend-manager';\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';\n\n// Main instance hook. Returns singleton instance of MfaSmsChallenge\nexport const useMfaSmsChallenge = (): MfaSmsChallengeMembers => useMemo(() => instance, []);\n"],"names":["instance","registerScreen","MfaSmsChallenge","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","continueMfaSmsChallenge","payload","pickSms","resendCode","tryAnotherMethod","getACall","useMfaSmsChallenge","useMemo"],"mappings":"2eAcA,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,EAA2BC,GACtCd,EAAUH,EAASgB,wBAAwBC,IAChCC,EAAWD,GAA4Bd,EAAUH,EAASkB,QAAQD,IAClEE,EAAcF,GAA4Bd,EAAUH,EAASmB,WAAWF,IACxEG,EAAoBH,GAC/Bd,EAAUH,EAASoB,iBAAiBH,IACzBI,EAAYJ,GAA4Bd,EAAUH,EAASqB,SAASJ,IASpEK,EAAqB,IAA8BC,EAAQ,IAAMvB,EAAU"}
@@ -6,5 +6,5 @@ export declare const continueEnrollment: (payload: {
6
6
  captcha?: string;
7
7
  }) => void | Promise<void>;
8
8
  export declare const tryAnotherMethod: (payload?: CustomOptions) => void | Promise<void>;
9
- export { useCurrentScreen, useErrors, useAuth0Themes, type UseErrorOptions, type UseErrorsResult, type ErrorsResult, type ErrorKind, } from '../hooks';
9
+ export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
10
10
  export declare const useMfaSmsEnrollment: () => MfaSmsEnrollmentMembers;
@@ -1 +1 @@
1
- {"version":3,"file":"mfa-sms-enrollment.js","sources":["../../src/screens/mfa-sms-enrollment.tsx"],"sourcesContent":["import MfaSmsEnrollment from '@auth0/auth0-acul-js/mfa-sms-enrollment';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaSmsEnrollmentMembers,\n CustomOptions,\n} from '@auth0/auth0-acul-js/mfa-sms-enrollment';\n\n// Register the singleton instance of MfaSmsEnrollment\nconst instance = registerScreen<MfaSmsEnrollmentMembers>(MfaSmsEnrollment)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaSmsEnrollmentMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const pickCountryCode = (payload?: CustomOptions) =>\n withError(instance.pickCountryCode(payload));\nexport const continueEnrollment = (payload: { phone: string; captcha?: string }) =>\n withError(instance.continueEnrollment(payload));\nexport const tryAnotherMethod = (payload?: CustomOptions) =>\n withError(instance.tryAnotherMethod(payload));\n\n// Common hooks\nexport {\n useCurrentScreen,\n useErrors,\n useAuth0Themes,\n type UseErrorOptions,\n type UseErrorsResult,\n type ErrorsResult,\n type ErrorKind,\n} from '../hooks';\n\n// Main instance hook. Returns singleton instance of MfaSmsEnrollment\nexport const useMfaSmsEnrollment = (): MfaSmsEnrollmentMembers => useMemo(() => instance, []);\n\n// Export all types from the core SDK for this screen\n"],"names":["instance","registerScreen","MfaSmsEnrollment","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","pickCountryCode","payload","continueEnrollment","tryAnotherMethod","useMfaSmsEnrollment","useMemo"],"mappings":"kbAaA,MAAMA,EAAWC,EAAwCC,IAGnDC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAsCN,IAC7CO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAmBC,GAC9Bd,EAAUH,EAASgB,gBAAgBC,IACxBC,EAAsBD,GACjCd,EAAUH,EAASkB,mBAAmBD,IAC3BE,EAAoBF,GAC/Bd,EAAUH,EAASmB,iBAAiBF,IAczBG,EAAsB,IAA+BC,EAAQ,IAAMrB,EAAU"}
1
+ {"version":3,"file":"mfa-sms-enrollment.js","sources":["../../src/screens/mfa-sms-enrollment.tsx"],"sourcesContent":["import MfaSmsEnrollment from '@auth0/auth0-acul-js/mfa-sms-enrollment';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaSmsEnrollmentMembers,\n CustomOptions,\n} from '@auth0/auth0-acul-js/mfa-sms-enrollment';\n\n// Register the singleton instance of MfaSmsEnrollment\nconst instance = registerScreen<MfaSmsEnrollmentMembers>(MfaSmsEnrollment)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaSmsEnrollmentMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const pickCountryCode = (payload?: CustomOptions) =>\n withError(instance.pickCountryCode(payload));\nexport const continueEnrollment = (payload: { phone: string; captcha?: string }) =>\n withError(instance.continueEnrollment(payload));\nexport const tryAnotherMethod = (payload?: CustomOptions) =>\n withError(instance.tryAnotherMethod(payload));\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';\n\n// Main instance hook. Returns singleton instance of MfaSmsEnrollment\nexport const useMfaSmsEnrollment = (): MfaSmsEnrollmentMembers => useMemo(() => instance, []);\n"],"names":["instance","registerScreen","MfaSmsEnrollment","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","pickCountryCode","payload","continueEnrollment","tryAnotherMethod","useMfaSmsEnrollment","useMemo"],"mappings":"kbAaA,MAAMA,EAAWC,EAAwCC,IAGnDC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAsCN,IAC7CO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAmBC,GAC9Bd,EAAUH,EAASgB,gBAAgBC,IACxBC,EAAsBD,GACjCd,EAAUH,EAASkB,mBAAmBD,IAC3BE,EAAoBF,GAC/Bd,EAAUH,EAASmB,iBAAiBF,IAMzBG,EAAsB,IAA+BC,EAAQ,IAAMrB,EAAU"}
@@ -2,5 +2,5 @@ import type { MfaSmsListMembers, MfaSmsListOptions, CustomOptions } from '@auth0
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 selectPhoneNumber: (payload?: MfaSmsListOptions) => void | Promise<void>;
4
4
  export declare const backAction: (payload?: CustomOptions) => void | Promise<void>;
5
- export { useCurrentScreen, useErrors, useAuth0Themes, type UseErrorOptions, type UseErrorsResult, type ErrorsResult, type ErrorKind, } from '../hooks';
5
+ export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
6
6
  export declare const useMfaSmsList: () => MfaSmsListMembers;
@@ -1 +1 @@
1
- {"version":3,"file":"mfa-sms-list.js","sources":["../../src/screens/mfa-sms-list.tsx"],"sourcesContent":["import MfaSmsList from '@auth0/auth0-acul-js/mfa-sms-list';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaSmsListMembers,\n MfaSmsListOptions,\n CustomOptions,\n} from '@auth0/auth0-acul-js/mfa-sms-list';\n\n// Register the singleton instance of MfaSmsList\nconst instance = registerScreen<MfaSmsListMembers>(MfaSmsList)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaSmsListMembers>(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 selectPhoneNumber = (payload?: MfaSmsListOptions) =>\n withError(instance.selectPhoneNumber(payload));\nexport const backAction = (payload?: CustomOptions) => withError(instance.backAction(payload));\n\n// Common hooks\nexport {\n useCurrentScreen,\n useErrors,\n useAuth0Themes,\n type UseErrorOptions,\n type UseErrorsResult,\n type ErrorsResult,\n type ErrorKind,\n} from '../hooks';\n\n// Main instance hook. Returns singleton instance of MfaSmsList\nexport const useMfaSmsList = (): MfaSmsListMembers => useMemo(() => instance, []);\n\n// Export all types from the core SDK for this screen\n"],"names":["instance","registerScreen","MfaSmsList","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","selectPhoneNumber","payload","backAction","useMfaSmsList","useMemo"],"mappings":"4aAcA,MAAMA,EAAWC,EAAkCC,IAG7CC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAgCN,IACvCO,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,EAAcD,GAA4Bd,EAAUH,EAASkB,WAAWD,IAcxEE,EAAgB,IAAyBC,EAAQ,IAAMpB,EAAU"}
1
+ {"version":3,"file":"mfa-sms-list.js","sources":["../../src/screens/mfa-sms-list.tsx"],"sourcesContent":["import MfaSmsList from '@auth0/auth0-acul-js/mfa-sms-list';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaSmsListMembers,\n MfaSmsListOptions,\n CustomOptions,\n} from '@auth0/auth0-acul-js/mfa-sms-list';\n\n// Register the singleton instance of MfaSmsList\nconst instance = registerScreen<MfaSmsListMembers>(MfaSmsList)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaSmsListMembers>(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 selectPhoneNumber = (payload?: MfaSmsListOptions) =>\n withError(instance.selectPhoneNumber(payload));\nexport const backAction = (payload?: CustomOptions) => withError(instance.backAction(payload));\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';\n\n// Main instance hook. Returns singleton instance of MfaSmsList\nexport const useMfaSmsList = (): MfaSmsListMembers => useMemo(() => instance, []);\n"],"names":["instance","registerScreen","MfaSmsList","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","selectPhoneNumber","payload","backAction","useMfaSmsList","useMemo"],"mappings":"4aAcA,MAAMA,EAAWC,EAAkCC,IAG7CC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAgCN,IACvCO,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,EAAcD,GAA4Bd,EAAUH,EAASkB,WAAWD,IAMxEE,EAAgB,IAAyBC,EAAQ,IAAMpB,EAAU"}
@@ -6,5 +6,5 @@ export declare const switchToSms: (payload?: CustomOptions) => void | Promise<vo
6
6
  export declare const resendCode: (payload?: CustomOptions) => void | Promise<void>;
7
7
  export declare const tryAnotherMethod: (payload?: CustomOptions) => void | Promise<void>;
8
8
  export { useResend } from '../hooks/utility/resend-manager';
9
- export { useCurrentScreen, useErrors, useAuth0Themes, type UseErrorOptions, type UseErrorsResult, type ErrorsResult, type ErrorKind, } from '../hooks';
9
+ export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
10
10
  export declare const useMfaVoiceChallenge: () => MfaVoiceChallengeMembers;
@@ -1 +1 @@
1
- {"version":3,"file":"mfa-voice-challenge.js","sources":["../../src/screens/mfa-voice-challenge.tsx"],"sourcesContent":["import MfaVoiceChallenge from '@auth0/auth0-acul-js/mfa-voice-challenge';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaVoiceChallengeMembers,\n MfaVoiceChallengeContinueOptions,\n CustomOptions,\n} from '@auth0/auth0-acul-js/mfa-voice-challenge';\n\n// Register the singleton instance of MfaVoiceChallenge\nconst instance = registerScreen<MfaVoiceChallengeMembers>(MfaVoiceChallenge)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaVoiceChallengeMembers>(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: MfaVoiceChallengeContinueOptions) =>\n withError(instance.continue(payload));\nexport const pickPhone = (payload?: CustomOptions) => withError(instance.pickPhone(payload));\nexport const switchToSms = (payload?: CustomOptions) => withError(instance.switchToSms(payload));\nexport const resendCode = (payload?: CustomOptions) => withError(instance.resendCode(payload));\nexport const tryAnotherMethod = (payload?: CustomOptions) =>\n withError(instance.tryAnotherMethod(payload));\n\n// Utility Hooks\nexport { useResend } from '../hooks/utility/resend-manager';\n\n// Common hooks\nexport {\n useCurrentScreen,\n useErrors,\n useAuth0Themes,\n type UseErrorOptions,\n type UseErrorsResult,\n type ErrorsResult,\n type ErrorKind,\n} from '../hooks';\n\n// Main instance hook. Returns singleton instance of MfaVoiceChallenge\nexport const useMfaVoiceChallenge = (): MfaVoiceChallengeMembers => useMemo(() => instance, []);\n\n// Export all types from the core SDK for this screen\n"],"names":["instance","registerScreen","MfaVoiceChallenge","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","continueMethod","payload","continue","pickPhone","switchToSms","resendCode","tryAnotherMethod","useMfaVoiceChallenge","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,EAAkBC,GAC7Bd,EAAUH,EAASkB,SAASD,IACjBE,EAAaF,GAA4Bd,EAAUH,EAASmB,UAAUF,IACtEG,EAAeH,GAA4Bd,EAAUH,EAASoB,YAAYH,IAC1EI,EAAcJ,GAA4Bd,EAAUH,EAASqB,WAAWJ,IACxEK,EAAoBL,GAC/Bd,EAAUH,EAASsB,iBAAiBL,IAiBzBM,EAAuB,IAAgCC,EAAQ,IAAMxB,EAAU"}
1
+ {"version":3,"file":"mfa-voice-challenge.js","sources":["../../src/screens/mfa-voice-challenge.tsx"],"sourcesContent":["import MfaVoiceChallenge from '@auth0/auth0-acul-js/mfa-voice-challenge';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaVoiceChallengeMembers,\n MfaVoiceChallengeContinueOptions,\n CustomOptions,\n} from '@auth0/auth0-acul-js/mfa-voice-challenge';\n\n// Register the singleton instance of MfaVoiceChallenge\nconst instance = registerScreen<MfaVoiceChallengeMembers>(MfaVoiceChallenge)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaVoiceChallengeMembers>(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: MfaVoiceChallengeContinueOptions) =>\n withError(instance.continue(payload));\nexport const pickPhone = (payload?: CustomOptions) => withError(instance.pickPhone(payload));\nexport const switchToSms = (payload?: CustomOptions) => withError(instance.switchToSms(payload));\nexport const resendCode = (payload?: CustomOptions) => withError(instance.resendCode(payload));\nexport const tryAnotherMethod = (payload?: CustomOptions) =>\n withError(instance.tryAnotherMethod(payload));\n\n// Utility Hooks\nexport { useResend } from '../hooks/utility/resend-manager';\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';\n\n// Main instance hook. Returns singleton instance of MfaVoiceChallenge\nexport const useMfaVoiceChallenge = (): MfaVoiceChallengeMembers => useMemo(() => instance, []);\n"],"names":["instance","registerScreen","MfaVoiceChallenge","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","continueMethod","payload","continue","pickPhone","switchToSms","resendCode","tryAnotherMethod","useMfaVoiceChallenge","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,EAAkBC,GAC7Bd,EAAUH,EAASkB,SAASD,IACjBE,EAAaF,GAA4Bd,EAAUH,EAASmB,UAAUF,IACtEG,EAAeH,GAA4Bd,EAAUH,EAASoB,YAAYH,IAC1EI,EAAcJ,GAA4Bd,EAAUH,EAASqB,WAAWJ,IACxEK,EAAoBL,GAC/Bd,EAAUH,EAASsB,iBAAiBL,IASzBM,EAAuB,IAAgCC,EAAQ,IAAMxB,EAAU"}
@@ -3,5 +3,5 @@ export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers,
3
3
  export declare const continueMethod: (payload: ContinueOptions) => void | Promise<void>;
4
4
  export declare const tryAnotherMethod: (payload?: CustomOptions) => void | Promise<void>;
5
5
  export declare const selectPhoneCountryCode: (payload?: CustomOptions) => void | Promise<void>;
6
- export { useCurrentScreen, useErrors, useAuth0Themes, type UseErrorOptions, type UseErrorsResult, type ErrorsResult, type ErrorKind, } from '../hooks';
6
+ export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
7
7
  export declare const useMfaVoiceEnrollment: () => MfaVoiceEnrollmentMembers;
@@ -1 +1 @@
1
- {"version":3,"file":"mfa-voice-enrollment.js","sources":["../../src/screens/mfa-voice-enrollment.tsx"],"sourcesContent":["import MfaVoiceEnrollment from '@auth0/auth0-acul-js/mfa-voice-enrollment';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaVoiceEnrollmentMembers,\n ContinueOptions,\n CustomOptions,\n} from '@auth0/auth0-acul-js/mfa-voice-enrollment';\n\n// Register the singleton instance of MfaVoiceEnrollment\nconst instance = registerScreen<MfaVoiceEnrollmentMembers>(MfaVoiceEnrollment)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaVoiceEnrollmentMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const continueMethod = (payload: ContinueOptions) => withError(instance.continue(payload));\nexport const tryAnotherMethod = (payload?: CustomOptions) =>\n withError(instance.tryAnotherMethod(payload));\nexport const selectPhoneCountryCode = (payload?: CustomOptions) =>\n withError(instance.selectPhoneCountryCode(payload));\n\n// Common hooks\nexport {\n useCurrentScreen,\n useErrors,\n useAuth0Themes,\n type UseErrorOptions,\n type UseErrorsResult,\n type ErrorsResult,\n type ErrorKind,\n} from '../hooks';\n\n// Main instance hook. Returns singleton instance of MfaVoiceEnrollment\nexport const useMfaVoiceEnrollment = (): MfaVoiceEnrollmentMembers => useMemo(() => instance, []);\n\n// Export all types from the core SDK for this screen\n"],"names":["instance","registerScreen","MfaVoiceEnrollment","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","continueMethod","payload","continue","tryAnotherMethod","selectPhoneCountryCode","useMfaVoiceEnrollment","useMemo"],"mappings":"obAcA,MAAMA,EAAWC,EAA0CC,IAGrDC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAwCN,IAC/CO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAkBC,GAA6Bd,EAAUH,EAASkB,SAASD,IAC3EE,EAAoBF,GAC/Bd,EAAUH,EAASmB,iBAAiBF,IACzBG,EAA0BH,GACrCd,EAAUH,EAASoB,uBAAuBH,IAc/BI,EAAwB,IAAiCC,EAAQ,IAAMtB,EAAU"}
1
+ {"version":3,"file":"mfa-voice-enrollment.js","sources":["../../src/screens/mfa-voice-enrollment.tsx"],"sourcesContent":["import MfaVoiceEnrollment from '@auth0/auth0-acul-js/mfa-voice-enrollment';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaVoiceEnrollmentMembers,\n ContinueOptions,\n CustomOptions,\n} from '@auth0/auth0-acul-js/mfa-voice-enrollment';\n\n// Register the singleton instance of MfaVoiceEnrollment\nconst instance = registerScreen<MfaVoiceEnrollmentMembers>(MfaVoiceEnrollment)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaVoiceEnrollmentMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const continueMethod = (payload: ContinueOptions) => withError(instance.continue(payload));\nexport const tryAnotherMethod = (payload?: CustomOptions) =>\n withError(instance.tryAnotherMethod(payload));\nexport const selectPhoneCountryCode = (payload?: CustomOptions) =>\n withError(instance.selectPhoneCountryCode(payload));\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';\n\n// Main instance hook. Returns singleton instance of MfaVoiceEnrollment\nexport const useMfaVoiceEnrollment = (): MfaVoiceEnrollmentMembers => useMemo(() => instance, []);\n"],"names":["instance","registerScreen","MfaVoiceEnrollment","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","continueMethod","payload","continue","tryAnotherMethod","selectPhoneCountryCode","useMfaVoiceEnrollment","useMemo"],"mappings":"obAcA,MAAMA,EAAWC,EAA0CC,IAGrDC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAwCN,IAC/CO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAkBC,GAA6Bd,EAAUH,EAASkB,SAASD,IAC3EE,EAAoBF,GAC/Bd,EAAUH,EAASmB,iBAAiBF,IACzBG,EAA0BH,GACrCd,EAAUH,EAASoB,uBAAuBH,IAM/BI,EAAwB,IAAiCC,EAAQ,IAAMtB,EAAU"}
@@ -1,5 +1,5 @@
1
1
  import type { MfaWebAuthnChangeKeyNicknameMembers, ContinueOptions } from '@auth0/auth0-acul-js/mfa-webauthn-change-key-nickname';
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").ScreenMembersOnMfaWebAuthnChangeKeyNickname, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
3
3
  export declare const continueWithNewNickname: (payload: ContinueOptions) => void | Promise<void>;
4
- export { useCurrentScreen, useErrors, useAuth0Themes, type UseErrorOptions, type UseErrorsResult, type ErrorsResult, type ErrorKind, } from '../hooks';
4
+ export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
5
5
  export declare const useMfaWebAuthnChangeKeyNickname: () => MfaWebAuthnChangeKeyNicknameMembers;
@@ -1 +1 @@
1
- {"version":3,"file":"mfa-webauthn-change-key-nickname.js","sources":["../../src/screens/mfa-webauthn-change-key-nickname.tsx"],"sourcesContent":["import MfaWebAuthnChangeKeyNickname from '@auth0/auth0-acul-js/mfa-webauthn-change-key-nickname';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaWebAuthnChangeKeyNicknameMembers,\n ContinueOptions,\n} from '@auth0/auth0-acul-js/mfa-webauthn-change-key-nickname';\n\n// Register the singleton instance of MfaWebAuthnChangeKeyNickname\nconst instance = registerScreen<MfaWebAuthnChangeKeyNicknameMembers>(MfaWebAuthnChangeKeyNickname)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaWebAuthnChangeKeyNicknameMembers>(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 continueWithNewNickname = (payload: ContinueOptions) =>\n withError(instance.continueWithNewNickname(payload));\n\n// Common hooks\nexport {\n useCurrentScreen,\n useErrors,\n useAuth0Themes,\n type UseErrorOptions,\n type UseErrorsResult,\n type ErrorsResult,\n type ErrorKind,\n} from '../hooks';\n\n// Main instance hook. Returns singleton instance of MfaWebAuthnChangeKeyNickname\nexport const useMfaWebAuthnChangeKeyNickname = (): MfaWebAuthnChangeKeyNicknameMembers =>\n useMemo(() => instance, []);\n\n// Export all types from the core SDK for this screen\n"],"names":["instance","registerScreen","MfaWebAuthnChangeKeyNickname","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","continueWithNewNickname","payload","useMfaWebAuthnChangeKeyNickname","useMemo"],"mappings":"gcAaA,MAAMA,EAAWC,EAAoDC,IAG/DC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAkDN,IACzDO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAA2BC,GACtCd,EAAUH,EAASgB,wBAAwBC,IAchCC,EAAkC,IAC7CC,EAAQ,IAAMnB,EAAU"}
1
+ {"version":3,"file":"mfa-webauthn-change-key-nickname.js","sources":["../../src/screens/mfa-webauthn-change-key-nickname.tsx"],"sourcesContent":["import MfaWebAuthnChangeKeyNickname from '@auth0/auth0-acul-js/mfa-webauthn-change-key-nickname';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaWebAuthnChangeKeyNicknameMembers,\n ContinueOptions,\n} from '@auth0/auth0-acul-js/mfa-webauthn-change-key-nickname';\n\n// Register the singleton instance of MfaWebAuthnChangeKeyNickname\nconst instance = registerScreen<MfaWebAuthnChangeKeyNicknameMembers>(MfaWebAuthnChangeKeyNickname)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaWebAuthnChangeKeyNicknameMembers>(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 continueWithNewNickname = (payload: ContinueOptions) =>\n withError(instance.continueWithNewNickname(payload));\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';\n\n// Main instance hook. Returns singleton instance of MfaWebAuthnChangeKeyNickname\nexport const useMfaWebAuthnChangeKeyNickname = (): MfaWebAuthnChangeKeyNicknameMembers =>\n useMemo(() => instance, []);\n"],"names":["instance","registerScreen","MfaWebAuthnChangeKeyNickname","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","continueWithNewNickname","payload","useMfaWebAuthnChangeKeyNickname","useMemo"],"mappings":"gcAaA,MAAMA,EAAWC,EAAoDC,IAG/DC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAkDN,IACzDO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAA2BC,GACtCd,EAAUH,EAASgB,wBAAwBC,IAMhCC,EAAkC,IAC7CC,EAAQ,IAAMnB,EAAU"}
@@ -1,5 +1,5 @@
1
1
  import type { MfaWebAuthnEnrollmentSuccessMembers, ContinueOptions } from '@auth0/auth0-acul-js/mfa-webauthn-enrollment-success';
2
2
  export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers, useTenant: () => import("@auth0/auth0-acul-js").TenantMembers, useBranding: () => import("@auth0/auth0-acul-js").BrandingMembers, useClient: () => import("@auth0/auth0-acul-js").ClientMembers, useOrganization: () => import("@auth0/auth0-acul-js").OrganizationMembers, usePrompt: () => import("@auth0/auth0-acul-js").PromptMembers, useScreen: () => import("@auth0/auth0-acul-js").ScreenMembersOnMfaWebAuthnEnrollmentSuccess, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
3
3
  export declare const continueMethod: (payload?: ContinueOptions) => void | Promise<void>;
4
- export { useCurrentScreen, useErrors, useAuth0Themes, type UseErrorOptions, type UseErrorsResult, type ErrorsResult, type ErrorKind, } from '../hooks';
4
+ export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
5
5
  export declare const useMfaWebAuthnEnrollmentSuccess: () => MfaWebAuthnEnrollmentSuccessMembers;
@@ -1 +1 @@
1
- {"version":3,"file":"mfa-webauthn-enrollment-success.js","sources":["../../src/screens/mfa-webauthn-enrollment-success.tsx"],"sourcesContent":["import MfaWebAuthnEnrollmentSuccess from '@auth0/auth0-acul-js/mfa-webauthn-enrollment-success';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaWebAuthnEnrollmentSuccessMembers,\n ContinueOptions,\n} from '@auth0/auth0-acul-js/mfa-webauthn-enrollment-success';\n\n// Register the singleton instance of MfaWebAuthnEnrollmentSuccess\nconst instance = registerScreen<MfaWebAuthnEnrollmentSuccessMembers>(MfaWebAuthnEnrollmentSuccess)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaWebAuthnEnrollmentSuccessMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const continueMethod = (payload?: ContinueOptions) => withError(instance.continue(payload));\n\n// Common hooks\nexport {\n useCurrentScreen,\n useErrors,\n useAuth0Themes,\n type UseErrorOptions,\n type UseErrorsResult,\n type ErrorsResult,\n type ErrorKind,\n} from '../hooks';\n\n// Main instance hook. Returns singleton instance of MfaWebAuthnEnrollmentSuccess\nexport const useMfaWebAuthnEnrollmentSuccess = (): MfaWebAuthnEnrollmentSuccessMembers =>\n useMemo(() => instance, []);\n\n// Export all types from the core SDK for this screen\n"],"names":["instance","registerScreen","MfaWebAuthnEnrollmentSuccess","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","continueMethod","payload","continue","useMfaWebAuthnEnrollmentSuccess","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,EAAkBC,GAA8Bd,EAAUH,EAASkB,SAASD,IAc5EE,EAAkC,IAC7CC,EAAQ,IAAMpB,EAAU"}
1
+ {"version":3,"file":"mfa-webauthn-enrollment-success.js","sources":["../../src/screens/mfa-webauthn-enrollment-success.tsx"],"sourcesContent":["import MfaWebAuthnEnrollmentSuccess from '@auth0/auth0-acul-js/mfa-webauthn-enrollment-success';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaWebAuthnEnrollmentSuccessMembers,\n ContinueOptions,\n} from '@auth0/auth0-acul-js/mfa-webauthn-enrollment-success';\n\n// Register the singleton instance of MfaWebAuthnEnrollmentSuccess\nconst instance = registerScreen<MfaWebAuthnEnrollmentSuccessMembers>(MfaWebAuthnEnrollmentSuccess)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaWebAuthnEnrollmentSuccessMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const continueMethod = (payload?: ContinueOptions) => withError(instance.continue(payload));\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';\n\n// Main instance hook. Returns singleton instance of MfaWebAuthnEnrollmentSuccess\nexport const useMfaWebAuthnEnrollmentSuccess = (): MfaWebAuthnEnrollmentSuccessMembers =>\n useMemo(() => instance, []);\n"],"names":["instance","registerScreen","MfaWebAuthnEnrollmentSuccess","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","continueMethod","payload","continue","useMfaWebAuthnEnrollmentSuccess","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,EAAkBC,GAA8Bd,EAAUH,EAASkB,SAASD,IAM5EE,EAAkC,IAC7CC,EAAQ,IAAMpB,EAAU"}
@@ -4,5 +4,5 @@ export declare const tryAgain: (payload?: CustomOptions) => void | Promise<void>
4
4
  export declare const usePassword: (payload?: CustomOptions) => void | Promise<void>;
5
5
  export declare const tryAnotherMethod: (payload?: CustomOptions) => void | Promise<void>;
6
6
  export declare const noThanks: (payload?: CustomOptions) => void | Promise<void>;
7
- export { useCurrentScreen, useErrors, useAuth0Themes, type UseErrorOptions, type UseErrorsResult, type ErrorsResult, type ErrorKind, } from '../hooks';
7
+ export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
8
8
  export declare const useMfaWebAuthnError: () => MfaWebAuthnErrorMembers;
@@ -1 +1 @@
1
- {"version":3,"file":"mfa-webauthn-error.js","sources":["../../src/screens/mfa-webauthn-error.tsx"],"sourcesContent":["import MfaWebAuthnError from '@auth0/auth0-acul-js/mfa-webauthn-error';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaWebAuthnErrorMembers,\n CustomOptions,\n} from '@auth0/auth0-acul-js/mfa-webauthn-error';\n\n// Register the singleton instance of MfaWebAuthnError\nconst instance = registerScreen<MfaWebAuthnErrorMembers>(MfaWebAuthnError)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaWebAuthnErrorMembers>(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 tryAgain = (payload?: CustomOptions) => withError(instance.tryAgain(payload));\nexport const usePassword = (payload?: CustomOptions) => withError(instance.usePassword(payload));\nexport const tryAnotherMethod = (payload?: CustomOptions) =>\n withError(instance.tryAnotherMethod(payload));\nexport const noThanks = (payload?: CustomOptions) => withError(instance.noThanks(payload));\n\n// Common hooks\nexport {\n useCurrentScreen,\n useErrors,\n useAuth0Themes,\n type UseErrorOptions,\n type UseErrorsResult,\n type ErrorsResult,\n type ErrorKind,\n} from '../hooks';\n\n// Main instance hook. Returns singleton instance of MfaWebAuthnError\nexport const useMfaWebAuthnError = (): MfaWebAuthnErrorMembers => useMemo(() => instance, []);\n\n// Export all types from the core SDK for this screen\n"],"names":["instance","registerScreen","MfaWebAuthnError","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","tryAgain","payload","usePassword","tryAnotherMethod","noThanks","useMfaWebAuthnError","useMemo"],"mappings":"kbAaA,MAAMA,EAAWC,EAAwCC,IAGnDC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAsCN,IAC7CO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAYC,GAA4Bd,EAAUH,EAASgB,SAASC,IACpEC,EAAeD,GAA4Bd,EAAUH,EAASkB,YAAYD,IAC1EE,EAAoBF,GAC/Bd,EAAUH,EAASmB,iBAAiBF,IACzBG,EAAYH,GAA4Bd,EAAUH,EAASoB,SAASH,IAcpEI,EAAsB,IAA+BC,EAAQ,IAAMtB,EAAU"}
1
+ {"version":3,"file":"mfa-webauthn-error.js","sources":["../../src/screens/mfa-webauthn-error.tsx"],"sourcesContent":["import MfaWebAuthnError from '@auth0/auth0-acul-js/mfa-webauthn-error';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaWebAuthnErrorMembers,\n CustomOptions,\n} from '@auth0/auth0-acul-js/mfa-webauthn-error';\n\n// Register the singleton instance of MfaWebAuthnError\nconst instance = registerScreen<MfaWebAuthnErrorMembers>(MfaWebAuthnError)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaWebAuthnErrorMembers>(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 tryAgain = (payload?: CustomOptions) => withError(instance.tryAgain(payload));\nexport const usePassword = (payload?: CustomOptions) => withError(instance.usePassword(payload));\nexport const tryAnotherMethod = (payload?: CustomOptions) =>\n withError(instance.tryAnotherMethod(payload));\nexport const noThanks = (payload?: CustomOptions) => withError(instance.noThanks(payload));\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';\n\n// Main instance hook. Returns singleton instance of MfaWebAuthnError\nexport const useMfaWebAuthnError = (): MfaWebAuthnErrorMembers => useMemo(() => instance, []);\n"],"names":["instance","registerScreen","MfaWebAuthnError","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","tryAgain","payload","usePassword","tryAnotherMethod","noThanks","useMfaWebAuthnError","useMemo"],"mappings":"kbAaA,MAAMA,EAAWC,EAAwCC,IAGnDC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAsCN,IAC7CO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAYC,GAA4Bd,EAAUH,EAASgB,SAASC,IACpEC,EAAeD,GAA4Bd,EAAUH,EAASkB,YAAYD,IAC1EE,EAAoBF,GAC/Bd,EAAUH,EAASmB,iBAAiBF,IACzBG,EAAYH,GAA4Bd,EAAUH,EAASoB,SAASH,IAMpEI,EAAsB,IAA+BC,EAAQ,IAAMtB,EAAU"}
@@ -1,5 +1,5 @@
1
1
  import type { MfaWebAuthnNotAvailableErrorMembers, CustomOptions } from '@auth0/auth0-acul-js/mfa-webauthn-not-available-error';
2
2
  export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers, useTenant: () => import("@auth0/auth0-acul-js").TenantMembers, useBranding: () => import("@auth0/auth0-acul-js").BrandingMembers, useClient: () => import("@auth0/auth0-acul-js").ClientMembers, useOrganization: () => import("@auth0/auth0-acul-js").OrganizationMembers, usePrompt: () => import("@auth0/auth0-acul-js").PromptMembers, useScreen: () => import("@auth0/auth0-acul-js").ScreenMembers, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
3
3
  export declare const tryAnotherMethod: (payload?: CustomOptions) => void | Promise<void>;
4
- export { useCurrentScreen, useErrors, useAuth0Themes, type UseErrorOptions, type UseErrorsResult, type ErrorsResult, type ErrorKind, } from '../hooks';
4
+ export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
5
5
  export declare const useMfaWebAuthnNotAvailableError: () => MfaWebAuthnNotAvailableErrorMembers;
@@ -1 +1 @@
1
- {"version":3,"file":"mfa-webauthn-not-available-error.js","sources":["../../src/screens/mfa-webauthn-not-available-error.tsx"],"sourcesContent":["import MfaWebAuthnNotAvailableError from '@auth0/auth0-acul-js/mfa-webauthn-not-available-error';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaWebAuthnNotAvailableErrorMembers,\n CustomOptions,\n} from '@auth0/auth0-acul-js/mfa-webauthn-not-available-error';\n\n// Register the singleton instance of MfaWebAuthnNotAvailableError\nconst instance = registerScreen<MfaWebAuthnNotAvailableErrorMembers>(MfaWebAuthnNotAvailableError)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaWebAuthnNotAvailableErrorMembers>(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 tryAnotherMethod = (payload?: CustomOptions) =>\n withError(instance.tryAnotherMethod(payload));\n\n// Common hooks\nexport {\n useCurrentScreen,\n useErrors,\n useAuth0Themes,\n type UseErrorOptions,\n type UseErrorsResult,\n type ErrorsResult,\n type ErrorKind,\n} from '../hooks';\n\n// Main instance hook. Returns singleton instance of MfaWebAuthnNotAvailableError\nexport const useMfaWebAuthnNotAvailableError = (): MfaWebAuthnNotAvailableErrorMembers =>\n useMemo(() => instance, []);\n\n// Export all types from the core SDK for this screen\n"],"names":["instance","registerScreen","MfaWebAuthnNotAvailableError","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","tryAnotherMethod","payload","useMfaWebAuthnNotAvailableError","useMemo"],"mappings":"gcAaA,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,EAAoBC,GAC/Bd,EAAUH,EAASgB,iBAAiBC,IAczBC,EAAkC,IAC7CC,EAAQ,IAAMnB,EAAU"}
1
+ {"version":3,"file":"mfa-webauthn-not-available-error.js","sources":["../../src/screens/mfa-webauthn-not-available-error.tsx"],"sourcesContent":["import MfaWebAuthnNotAvailableError from '@auth0/auth0-acul-js/mfa-webauthn-not-available-error';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaWebAuthnNotAvailableErrorMembers,\n CustomOptions,\n} from '@auth0/auth0-acul-js/mfa-webauthn-not-available-error';\n\n// Register the singleton instance of MfaWebAuthnNotAvailableError\nconst instance = registerScreen<MfaWebAuthnNotAvailableErrorMembers>(MfaWebAuthnNotAvailableError)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaWebAuthnNotAvailableErrorMembers>(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 tryAnotherMethod = (payload?: CustomOptions) =>\n withError(instance.tryAnotherMethod(payload));\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';\n\n// Main instance hook. Returns singleton instance of MfaWebAuthnNotAvailableError\nexport const useMfaWebAuthnNotAvailableError = (): MfaWebAuthnNotAvailableErrorMembers =>\n useMemo(() => instance, []);\n"],"names":["instance","registerScreen","MfaWebAuthnNotAvailableError","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","tryAnotherMethod","payload","useMfaWebAuthnNotAvailableError","useMemo"],"mappings":"gcAaA,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,EAAoBC,GAC/Bd,EAAUH,EAASgB,iBAAiBC,IAMzBC,EAAkC,IAC7CC,EAAQ,IAAMnB,EAAU"}
@@ -3,5 +3,5 @@ export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers,
3
3
  export declare const verify: (options?: VerifyPlatformAuthenticatorOptions) => void | Promise<void>;
4
4
  export declare const reportBrowserError: (options: ReportBrowserErrorOptions) => void | Promise<void>;
5
5
  export declare const tryAnotherMethod: (options?: TryAnotherMethodOptions) => void | Promise<void>;
6
- export { useCurrentScreen, useErrors, useAuth0Themes, type UseErrorOptions, type UseErrorsResult, type ErrorsResult, type ErrorKind, } from '../hooks';
6
+ export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
7
7
  export declare const useMfaWebAuthnPlatformChallenge: () => MfaWebAuthnPlatformChallengeMembers;
@@ -1 +1 @@
1
- {"version":3,"file":"mfa-webauthn-platform-challenge.js","sources":["../../src/screens/mfa-webauthn-platform-challenge.tsx"],"sourcesContent":["import MfaWebAuthnPlatformChallenge from '@auth0/auth0-acul-js/mfa-webauthn-platform-challenge';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaWebAuthnPlatformChallengeMembers,\n VerifyPlatformAuthenticatorOptions,\n ReportBrowserErrorOptions,\n TryAnotherMethodOptions,\n} from '@auth0/auth0-acul-js/mfa-webauthn-platform-challenge';\n\n// Register the singleton instance of MfaWebAuthnPlatformChallenge\nconst instance = registerScreen<MfaWebAuthnPlatformChallengeMembers>(MfaWebAuthnPlatformChallenge)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaWebAuthnPlatformChallengeMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const verify = (options?: VerifyPlatformAuthenticatorOptions) =>\n withError(instance.verify(options));\nexport const reportBrowserError = (options: ReportBrowserErrorOptions) =>\n withError(instance.reportBrowserError(options));\nexport const tryAnotherMethod = (options?: TryAnotherMethodOptions) =>\n withError(instance.tryAnotherMethod(options));\n\n// Common hooks\nexport {\n useCurrentScreen,\n useErrors,\n useAuth0Themes,\n type UseErrorOptions,\n type UseErrorsResult,\n type ErrorsResult,\n type ErrorKind,\n} from '../hooks';\n\n// Main instance hook. Returns singleton instance of MfaWebAuthnPlatformChallenge\nexport const useMfaWebAuthnPlatformChallenge = (): MfaWebAuthnPlatformChallengeMembers =>\n useMemo(() => instance, []);\n\n// Export all types from the core SDK for this screen\n"],"names":["instance","registerScreen","MfaWebAuthnPlatformChallenge","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","verify","options","reportBrowserError","tryAnotherMethod","useMfaWebAuthnPlatformChallenge","useMemo"],"mappings":"+bAeA,MAAMA,EAAWC,EAAoDC,IAG/DC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAkDN,IACzDO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAUC,GACrBd,EAAUH,EAASgB,OAAOC,IACfC,EAAsBD,GACjCd,EAAUH,EAASkB,mBAAmBD,IAC3BE,EAAoBF,GAC/Bd,EAAUH,EAASmB,iBAAiBF,IAczBG,EAAkC,IAC7CC,EAAQ,IAAMrB,EAAU"}
1
+ {"version":3,"file":"mfa-webauthn-platform-challenge.js","sources":["../../src/screens/mfa-webauthn-platform-challenge.tsx"],"sourcesContent":["import MfaWebAuthnPlatformChallenge from '@auth0/auth0-acul-js/mfa-webauthn-platform-challenge';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaWebAuthnPlatformChallengeMembers,\n VerifyPlatformAuthenticatorOptions,\n ReportBrowserErrorOptions,\n TryAnotherMethodOptions,\n} from '@auth0/auth0-acul-js/mfa-webauthn-platform-challenge';\n\n// Register the singleton instance of MfaWebAuthnPlatformChallenge\nconst instance = registerScreen<MfaWebAuthnPlatformChallengeMembers>(MfaWebAuthnPlatformChallenge)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaWebAuthnPlatformChallengeMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const verify = (options?: VerifyPlatformAuthenticatorOptions) =>\n withError(instance.verify(options));\nexport const reportBrowserError = (options: ReportBrowserErrorOptions) =>\n withError(instance.reportBrowserError(options));\nexport const tryAnotherMethod = (options?: TryAnotherMethodOptions) =>\n withError(instance.tryAnotherMethod(options));\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';\n\n// Main instance hook. Returns singleton instance of MfaWebAuthnPlatformChallenge\nexport const useMfaWebAuthnPlatformChallenge = (): MfaWebAuthnPlatformChallengeMembers =>\n useMemo(() => instance, []);\n"],"names":["instance","registerScreen","MfaWebAuthnPlatformChallenge","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","verify","options","reportBrowserError","tryAnotherMethod","useMfaWebAuthnPlatformChallenge","useMemo"],"mappings":"+bAeA,MAAMA,EAAWC,EAAoDC,IAG/DC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAkDN,IACzDO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAUC,GACrBd,EAAUH,EAASgB,OAAOC,IACfC,EAAsBD,GACjCd,EAAUH,EAASkB,mBAAmBD,IAC3BE,EAAoBF,GAC/Bd,EAAUH,EAASmB,iBAAiBF,IAMzBG,EAAkC,IAC7CC,EAAQ,IAAMrB,EAAU"}
@@ -4,5 +4,5 @@ export declare const submitPasskeyCredential: (payload?: SubmitPasskeyCredential
4
4
  export declare const reportBrowserError: (payload: ReportBrowserErrorOptions) => void | Promise<void>;
5
5
  export declare const snoozeEnrollment: (payload?: CustomOptions) => void | Promise<void>;
6
6
  export declare const refuseEnrollmentOnThisDevice: (payload?: CustomOptions) => void | Promise<void>;
7
- export { useCurrentScreen, useErrors, useAuth0Themes, type UseErrorOptions, type UseErrorsResult, type ErrorsResult, type ErrorKind, } from '../hooks';
7
+ export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
8
8
  export declare const useMfaWebAuthnPlatformEnrollment: () => MfaWebAuthnPlatformEnrollmentMembers;
@@ -1 +1 @@
1
- {"version":3,"file":"mfa-webauthn-platform-enrollment.js","sources":["../../src/screens/mfa-webauthn-platform-enrollment.tsx"],"sourcesContent":["import MfaWebAuthnPlatformEnrollment from '@auth0/auth0-acul-js/mfa-webauthn-platform-enrollment';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaWebAuthnPlatformEnrollmentMembers,\n SubmitPasskeyCredentialOptions,\n ReportBrowserErrorOptions,\n CustomOptions,\n} from '@auth0/auth0-acul-js/mfa-webauthn-platform-enrollment';\n\n// Register the singleton instance of MfaWebAuthnPlatformEnrollment\nconst instance = registerScreen<MfaWebAuthnPlatformEnrollmentMembers>(\n MfaWebAuthnPlatformEnrollment\n)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaWebAuthnPlatformEnrollmentMembers>(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 submitPasskeyCredential = (payload?: SubmitPasskeyCredentialOptions) =>\n withError(instance.submitPasskeyCredential(payload));\nexport const reportBrowserError = (payload: ReportBrowserErrorOptions) =>\n withError(instance.reportBrowserError(payload));\nexport const snoozeEnrollment = (payload?: CustomOptions) =>\n withError(instance.snoozeEnrollment(payload));\nexport const refuseEnrollmentOnThisDevice = (payload?: CustomOptions) =>\n withError(instance.refuseEnrollmentOnThisDevice(payload));\n\n// Common hooks\nexport {\n useCurrentScreen,\n useErrors,\n useAuth0Themes,\n type UseErrorOptions,\n type UseErrorsResult,\n type ErrorsResult,\n type ErrorKind,\n} from '../hooks';\n\n// Main instance hook. Returns singleton instance of MfaWebAuthnPlatformEnrollment\nexport const useMfaWebAuthnPlatformEnrollment = (): MfaWebAuthnPlatformEnrollmentMembers =>\n useMemo(() => instance, []);\n\n// Export all types from the core SDK for this screen\n"],"names":["instance","registerScreen","MfaWebAuthnPlatformEnrollment","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","submitPasskeyCredential","payload","reportBrowserError","snoozeEnrollment","refuseEnrollmentOnThisDevice","useMfaWebAuthnPlatformEnrollment","useMemo"],"mappings":"gcAeA,MAAMA,EAAWC,EACfC,IAIIC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAmDN,IAC1DO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAA2BC,GACtCd,EAAUH,EAASgB,wBAAwBC,IAChCC,EAAsBD,GACjCd,EAAUH,EAASkB,mBAAmBD,IAC3BE,EAAoBF,GAC/Bd,EAAUH,EAASmB,iBAAiBF,IACzBG,EAAgCH,GAC3Cd,EAAUH,EAASoB,6BAA6BH,IAcrCI,EAAmC,IAC9CC,EAAQ,IAAMtB,EAAU"}
1
+ {"version":3,"file":"mfa-webauthn-platform-enrollment.js","sources":["../../src/screens/mfa-webauthn-platform-enrollment.tsx"],"sourcesContent":["import MfaWebAuthnPlatformEnrollment from '@auth0/auth0-acul-js/mfa-webauthn-platform-enrollment';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaWebAuthnPlatformEnrollmentMembers,\n SubmitPasskeyCredentialOptions,\n ReportBrowserErrorOptions,\n CustomOptions,\n} from '@auth0/auth0-acul-js/mfa-webauthn-platform-enrollment';\n\n// Register the singleton instance of MfaWebAuthnPlatformEnrollment\nconst instance = registerScreen<MfaWebAuthnPlatformEnrollmentMembers>(\n MfaWebAuthnPlatformEnrollment\n)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaWebAuthnPlatformEnrollmentMembers>(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 submitPasskeyCredential = (payload?: SubmitPasskeyCredentialOptions) =>\n withError(instance.submitPasskeyCredential(payload));\nexport const reportBrowserError = (payload: ReportBrowserErrorOptions) =>\n withError(instance.reportBrowserError(payload));\nexport const snoozeEnrollment = (payload?: CustomOptions) =>\n withError(instance.snoozeEnrollment(payload));\nexport const refuseEnrollmentOnThisDevice = (payload?: CustomOptions) =>\n withError(instance.refuseEnrollmentOnThisDevice(payload));\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';\n\n// Main instance hook. Returns singleton instance of MfaWebAuthnPlatformEnrollment\nexport const useMfaWebAuthnPlatformEnrollment = (): MfaWebAuthnPlatformEnrollmentMembers =>\n useMemo(() => instance, []);\n"],"names":["instance","registerScreen","MfaWebAuthnPlatformEnrollment","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","submitPasskeyCredential","payload","reportBrowserError","snoozeEnrollment","refuseEnrollmentOnThisDevice","useMfaWebAuthnPlatformEnrollment","useMemo"],"mappings":"gcAeA,MAAMA,EAAWC,EACfC,IAIIC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAmDN,IAC1DO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAA2BC,GACtCd,EAAUH,EAASgB,wBAAwBC,IAChCC,EAAsBD,GACjCd,EAAUH,EAASkB,mBAAmBD,IAC3BE,EAAoBF,GAC/Bd,EAAUH,EAASmB,iBAAiBF,IACzBG,EAAgCH,GAC3Cd,EAAUH,EAASoB,6BAA6BH,IAMrCI,EAAmC,IAC9CC,EAAQ,IAAMtB,EAAU"}
@@ -3,5 +3,5 @@ export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers,
3
3
  export declare const verify: (options?: VerifySecurityKeyOptions) => void | Promise<void>;
4
4
  export declare const reportWebAuthnError: (options: ReportWebAuthnErrorOptions) => void | Promise<void>;
5
5
  export declare const tryAnotherMethod: (options?: TryAnotherMethodOptions) => void | Promise<void>;
6
- export { useCurrentScreen, useErrors, useAuth0Themes, type UseErrorOptions, type UseErrorsResult, type ErrorsResult, type ErrorKind, } from '../hooks';
6
+ export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
7
7
  export declare const useMfaWebAuthnRoamingChallenge: () => MfaWebAuthnRoamingChallengeMembers;
@@ -1 +1 @@
1
- {"version":3,"file":"mfa-webauthn-roaming-challenge.js","sources":["../../src/screens/mfa-webauthn-roaming-challenge.tsx"],"sourcesContent":["import MfaWebAuthnRoamingChallenge from '@auth0/auth0-acul-js/mfa-webauthn-roaming-challenge';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaWebAuthnRoamingChallengeMembers,\n VerifySecurityKeyOptions,\n ReportWebAuthnErrorOptions,\n TryAnotherMethodOptions,\n} from '@auth0/auth0-acul-js/mfa-webauthn-roaming-challenge';\n\n// Register the singleton instance of MfaWebAuthnRoamingChallenge\nconst instance = registerScreen<MfaWebAuthnRoamingChallengeMembers>(MfaWebAuthnRoamingChallenge)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaWebAuthnRoamingChallengeMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const verify = (options?: VerifySecurityKeyOptions) => withError(instance.verify(options));\nexport const reportWebAuthnError = (options: ReportWebAuthnErrorOptions) =>\n withError(instance.reportWebAuthnError(options));\nexport const tryAnotherMethod = (options?: TryAnotherMethodOptions) =>\n withError(instance.tryAnotherMethod(options));\n\n// Common hooks\nexport {\n useCurrentScreen,\n useErrors,\n useAuth0Themes,\n type UseErrorOptions,\n type UseErrorsResult,\n type ErrorsResult,\n type ErrorKind,\n} from '../hooks';\n\n// Main instance hook. Returns singleton instance of MfaWebAuthnRoamingChallenge\nexport const useMfaWebAuthnRoamingChallenge = (): MfaWebAuthnRoamingChallengeMembers =>\n useMemo(() => instance, []);\n\n// Export all types from the core SDK for this screen\n"],"names":["instance","registerScreen","MfaWebAuthnRoamingChallenge","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","verify","options","reportWebAuthnError","tryAnotherMethod","useMfaWebAuthnRoamingChallenge","useMemo"],"mappings":"8bAeA,MAAMA,EAAWC,EAAmDC,IAG9DC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAiDN,IACxDO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAUC,GAAuCd,EAAUH,EAASgB,OAAOC,IAC3EC,EAAuBD,GAClCd,EAAUH,EAASkB,oBAAoBD,IAC5BE,EAAoBF,GAC/Bd,EAAUH,EAASmB,iBAAiBF,IAczBG,EAAiC,IAC5CC,EAAQ,IAAMrB,EAAU"}
1
+ {"version":3,"file":"mfa-webauthn-roaming-challenge.js","sources":["../../src/screens/mfa-webauthn-roaming-challenge.tsx"],"sourcesContent":["import MfaWebAuthnRoamingChallenge from '@auth0/auth0-acul-js/mfa-webauthn-roaming-challenge';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaWebAuthnRoamingChallengeMembers,\n VerifySecurityKeyOptions,\n ReportWebAuthnErrorOptions,\n TryAnotherMethodOptions,\n} from '@auth0/auth0-acul-js/mfa-webauthn-roaming-challenge';\n\n// Register the singleton instance of MfaWebAuthnRoamingChallenge\nconst instance = registerScreen<MfaWebAuthnRoamingChallengeMembers>(MfaWebAuthnRoamingChallenge)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaWebAuthnRoamingChallengeMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const verify = (options?: VerifySecurityKeyOptions) => withError(instance.verify(options));\nexport const reportWebAuthnError = (options: ReportWebAuthnErrorOptions) =>\n withError(instance.reportWebAuthnError(options));\nexport const tryAnotherMethod = (options?: TryAnotherMethodOptions) =>\n withError(instance.tryAnotherMethod(options));\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';\n\n// Main instance hook. Returns singleton instance of MfaWebAuthnRoamingChallenge\nexport const useMfaWebAuthnRoamingChallenge = (): MfaWebAuthnRoamingChallengeMembers =>\n useMemo(() => instance, []);\n"],"names":["instance","registerScreen","MfaWebAuthnRoamingChallenge","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","verify","options","reportWebAuthnError","tryAnotherMethod","useMfaWebAuthnRoamingChallenge","useMemo"],"mappings":"8bAeA,MAAMA,EAAWC,EAAmDC,IAG9DC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAiDN,IACxDO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAUC,GAAuCd,EAAUH,EAASgB,OAAOC,IAC3EC,EAAuBD,GAClCd,EAAUH,EAASkB,oBAAoBD,IAC5BE,EAAoBF,GAC/Bd,EAAUH,EAASmB,iBAAiBF,IAMzBG,EAAiC,IAC5CC,EAAQ,IAAMrB,EAAU"}
@@ -3,5 +3,5 @@ export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers,
3
3
  export declare const enroll: (payload: CustomOptions) => void | Promise<void>;
4
4
  export declare const showError: (payload: ShowErrorOptions) => void | Promise<void>;
5
5
  export declare const tryAnotherMethod: (payload?: TryAnotherMethodOptions) => void | Promise<void>;
6
- export { useCurrentScreen, useErrors, useAuth0Themes, type UseErrorOptions, type UseErrorsResult, type ErrorsResult, type ErrorKind, } from '../hooks';
6
+ export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
7
7
  export declare const useMfaWebAuthnRoamingEnrollment: () => MfaWebAuthnRoamingEnrollmentMembers;
@@ -1 +1 @@
1
- {"version":3,"file":"mfa-webauthn-roaming-enrollment.js","sources":["../../src/screens/mfa-webauthn-roaming-enrollment.tsx"],"sourcesContent":["import MfaWebAuthnRoamingEnrollment from '@auth0/auth0-acul-js/mfa-webauthn-roaming-enrollment';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaWebAuthnRoamingEnrollmentMembers,\n CustomOptions,\n ShowErrorOptions,\n TryAnotherMethodOptions,\n} from '@auth0/auth0-acul-js/mfa-webauthn-roaming-enrollment';\n\n// Register the singleton instance of MfaWebAuthnRoamingEnrollment\nconst instance = registerScreen<MfaWebAuthnRoamingEnrollmentMembers>(MfaWebAuthnRoamingEnrollment)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaWebAuthnRoamingEnrollmentMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const enroll = (payload: CustomOptions) => withError(instance.enroll(payload));\nexport const showError = (payload: ShowErrorOptions) => withError(instance.showError(payload));\nexport const tryAnotherMethod = (payload?: TryAnotherMethodOptions) =>\n withError(instance.tryAnotherMethod(payload));\n\n// Common hooks\nexport {\n useCurrentScreen,\n useErrors,\n useAuth0Themes,\n type UseErrorOptions,\n type UseErrorsResult,\n type ErrorsResult,\n type ErrorKind,\n} from '../hooks';\n\n// Main instance hook. Returns singleton instance of MfaWebAuthnRoamingEnrollment\nexport const useMfaWebAuthnRoamingEnrollment = (): MfaWebAuthnRoamingEnrollmentMembers =>\n useMemo(() => instance, []);\n\n// Export all types from the core SDK for this screen\n"],"names":["instance","registerScreen","MfaWebAuthnRoamingEnrollment","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","enroll","payload","showError","tryAnotherMethod","useMfaWebAuthnRoamingEnrollment","useMemo"],"mappings":"+bAeA,MAAMA,EAAWC,EAAoDC,IAG/DC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAkDN,IACzDO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAUC,GAA2Bd,EAAUH,EAASgB,OAAOC,IAC/DC,EAAaD,GAA8Bd,EAAUH,EAASkB,UAAUD,IACxEE,EAAoBF,GAC/Bd,EAAUH,EAASmB,iBAAiBF,IAczBG,EAAkC,IAC7CC,EAAQ,IAAMrB,EAAU"}
1
+ {"version":3,"file":"mfa-webauthn-roaming-enrollment.js","sources":["../../src/screens/mfa-webauthn-roaming-enrollment.tsx"],"sourcesContent":["import MfaWebAuthnRoamingEnrollment from '@auth0/auth0-acul-js/mfa-webauthn-roaming-enrollment';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaWebAuthnRoamingEnrollmentMembers,\n CustomOptions,\n ShowErrorOptions,\n TryAnotherMethodOptions,\n} from '@auth0/auth0-acul-js/mfa-webauthn-roaming-enrollment';\n\n// Register the singleton instance of MfaWebAuthnRoamingEnrollment\nconst instance = registerScreen<MfaWebAuthnRoamingEnrollmentMembers>(MfaWebAuthnRoamingEnrollment)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaWebAuthnRoamingEnrollmentMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const enroll = (payload: CustomOptions) => withError(instance.enroll(payload));\nexport const showError = (payload: ShowErrorOptions) => withError(instance.showError(payload));\nexport const tryAnotherMethod = (payload?: TryAnotherMethodOptions) =>\n withError(instance.tryAnotherMethod(payload));\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';\n\n// Main instance hook. Returns singleton instance of MfaWebAuthnRoamingEnrollment\nexport const useMfaWebAuthnRoamingEnrollment = (): MfaWebAuthnRoamingEnrollmentMembers =>\n useMemo(() => instance, []);\n"],"names":["instance","registerScreen","MfaWebAuthnRoamingEnrollment","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","enroll","payload","showError","tryAnotherMethod","useMfaWebAuthnRoamingEnrollment","useMemo"],"mappings":"+bAeA,MAAMA,EAAWC,EAAoDC,IAG/DC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAkDN,IACzDO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAUC,GAA2Bd,EAAUH,EAASgB,OAAOC,IAC/DC,EAAaD,GAA8Bd,EAAUH,EAASkB,UAAUD,IACxEE,EAAoBF,GAC/Bd,EAAUH,EAASmB,iBAAiBF,IAMzBG,EAAkC,IAC7CC,EAAQ,IAAMrB,EAAU"}
@@ -5,5 +5,5 @@ export declare const selectOrganization: (payload: {
5
5
  state: string;
6
6
  }) => void | Promise<void>;
7
7
  export declare const skipOrganizationSelection: (payload?: CustomOptions) => void | Promise<void>;
8
- export { useCurrentScreen, useErrors, useAuth0Themes, type UseErrorOptions, type UseErrorsResult, type ErrorsResult, type ErrorKind, } from '../hooks';
8
+ export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
9
9
  export declare const useOrganizationPicker: () => OrganizationPickerMembers;
@@ -1 +1 @@
1
- {"version":3,"file":"organization-picker.js","sources":["../../src/screens/organization-picker.tsx"],"sourcesContent":["import OrganizationPicker from '@auth0/auth0-acul-js/organization-picker';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n OrganizationPickerMembers,\n CustomOptions,\n} from '@auth0/auth0-acul-js/organization-picker';\n\n// Register the singleton instance of OrganizationPicker\nconst instance = registerScreen<OrganizationPickerMembers>(OrganizationPicker)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<OrganizationPickerMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const selectOrganization = (payload: { organization: string; state: string }) =>\n withError(instance.selectOrganization(payload));\nexport const skipOrganizationSelection = (payload?: CustomOptions) =>\n withError(instance.skipOrganizationSelection(payload));\n\n// Common hooks\nexport {\n useCurrentScreen,\n useErrors,\n useAuth0Themes,\n type UseErrorOptions,\n type UseErrorsResult,\n type ErrorsResult,\n type ErrorKind,\n} from '../hooks';\n\n// Main instance hook. Returns singleton instance of OrganizationPicker\nexport const useOrganizationPicker = (): OrganizationPickerMembers => useMemo(() => instance, []);\n\n// Export all types from the core SDK for this screen\n"],"names":["instance","registerScreen","OrganizationPicker","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","selectOrganization","payload","skipOrganizationSelection","useOrganizationPicker","useMemo"],"mappings":"mbAaA,MAAMA,EAAWC,EAA0CC,IAGrDC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAwCN,IAC/CO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAsBC,GACjCd,EAAUH,EAASgB,mBAAmBC,IAC3BC,EAA6BD,GACxCd,EAAUH,EAASkB,0BAA0BD,IAclCE,EAAwB,IAAiCC,EAAQ,IAAMpB,EAAU"}
1
+ {"version":3,"file":"organization-picker.js","sources":["../../src/screens/organization-picker.tsx"],"sourcesContent":["import OrganizationPicker from '@auth0/auth0-acul-js/organization-picker';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n OrganizationPickerMembers,\n CustomOptions,\n} from '@auth0/auth0-acul-js/organization-picker';\n\n// Register the singleton instance of OrganizationPicker\nconst instance = registerScreen<OrganizationPickerMembers>(OrganizationPicker)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<OrganizationPickerMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const selectOrganization = (payload: { organization: string; state: string }) =>\n withError(instance.selectOrganization(payload));\nexport const skipOrganizationSelection = (payload?: CustomOptions) =>\n withError(instance.skipOrganizationSelection(payload));\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';\n\n// Main instance hook. Returns singleton instance of OrganizationPicker\nexport const useOrganizationPicker = (): OrganizationPickerMembers => useMemo(() => instance, []);\n"],"names":["instance","registerScreen","OrganizationPicker","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","selectOrganization","payload","skipOrganizationSelection","useOrganizationPicker","useMemo"],"mappings":"mbAaA,MAAMA,EAAWC,EAA0CC,IAGrDC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAwCN,IAC/CO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAsBC,GACjCd,EAAUH,EAASgB,mBAAmBC,IAC3BC,EAA6BD,GACxCd,EAAUH,EAASkB,0BAA0BD,IAMlCE,EAAwB,IAAiCC,EAAQ,IAAMpB,EAAU"}
@@ -1,5 +1,5 @@
1
1
  import type { OrganizationSelectionMembers, ContinueWithOrganizationNameOptions } from '@auth0/auth0-acul-js/organization-selection';
2
2
  export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers, useTenant: () => import("@auth0/auth0-acul-js").TenantMembers, useBranding: () => import("@auth0/auth0-acul-js").BrandingMembers, useClient: () => import("@auth0/auth0-acul-js").ClientMembers, useOrganization: () => import("@auth0/auth0-acul-js").OrganizationMembers, usePrompt: () => import("@auth0/auth0-acul-js").PromptMembers, useScreen: () => import("@auth0/auth0-acul-js").ScreenMembersOnOrganizationSelection, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
3
3
  export declare const continueWithOrganizationName: (payload: ContinueWithOrganizationNameOptions) => void | Promise<void>;
4
- export { useCurrentScreen, useErrors, useAuth0Themes, type UseErrorOptions, type UseErrorsResult, type ErrorsResult, type ErrorKind, } from '../hooks';
4
+ export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
5
5
  export declare const useOrganizationSelection: () => OrganizationSelectionMembers;
@@ -1 +1 @@
1
- {"version":3,"file":"organization-selection.js","sources":["../../src/screens/organization-selection.tsx"],"sourcesContent":["import OrganizationSelection from '@auth0/auth0-acul-js/organization-selection';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n OrganizationSelectionMembers,\n ContinueWithOrganizationNameOptions,\n} from '@auth0/auth0-acul-js/organization-selection';\n\n// Register the singleton instance of OrganizationSelection\nconst instance = registerScreen<OrganizationSelectionMembers>(OrganizationSelection)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<OrganizationSelectionMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const continueWithOrganizationName = (payload: ContinueWithOrganizationNameOptions) =>\n withError(instance.continueWithOrganizationName(payload));\n\n// Common hooks\nexport {\n useCurrentScreen,\n useErrors,\n useAuth0Themes,\n type UseErrorOptions,\n type UseErrorsResult,\n type ErrorsResult,\n type ErrorKind,\n} from '../hooks';\n\n// Main instance hook. Returns singleton instance of OrganizationSelection\nexport const useOrganizationSelection = (): OrganizationSelectionMembers =>\n useMemo(() => instance, []);\n\n// Export all types from the core SDK for this screen\n"],"names":["instance","registerScreen","OrganizationSelection","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","continueWithOrganizationName","payload","useOrganizationSelection","useMemo"],"mappings":"sbAaA,MAAMA,EAAWC,EAA6CC,IAGxDC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAA2CN,IAClDO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAgCC,GAC3Cd,EAAUH,EAASgB,6BAA6BC,IAcrCC,EAA2B,IACtCC,EAAQ,IAAMnB,EAAU"}
1
+ {"version":3,"file":"organization-selection.js","sources":["../../src/screens/organization-selection.tsx"],"sourcesContent":["import OrganizationSelection from '@auth0/auth0-acul-js/organization-selection';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n OrganizationSelectionMembers,\n ContinueWithOrganizationNameOptions,\n} from '@auth0/auth0-acul-js/organization-selection';\n\n// Register the singleton instance of OrganizationSelection\nconst instance = registerScreen<OrganizationSelectionMembers>(OrganizationSelection)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<OrganizationSelectionMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const continueWithOrganizationName = (payload: ContinueWithOrganizationNameOptions) =>\n withError(instance.continueWithOrganizationName(payload));\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';\n\n// Main instance hook. Returns singleton instance of OrganizationSelection\nexport const useOrganizationSelection = (): OrganizationSelectionMembers =>\n useMemo(() => instance, []);\n"],"names":["instance","registerScreen","OrganizationSelection","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","continueWithOrganizationName","payload","useOrganizationSelection","useMemo"],"mappings":"sbAaA,MAAMA,EAAWC,EAA6CC,IAGxDC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAA2CN,IAClDO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAgCC,GAC3Cd,EAAUH,EAASgB,6BAA6BC,IAMrCC,EAA2B,IACtCC,EAAQ,IAAMnB,EAAU"}
@@ -2,5 +2,5 @@ import type { PasskeyEnrollmentLocalMembers, CustomOptions, AbortEnrollmentOptio
2
2
  export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers, useTenant: () => import("@auth0/auth0-acul-js").TenantMembers, useBranding: () => import("@auth0/auth0-acul-js").BrandingMembers, useClient: () => import("@auth0/auth0-acul-js").ClientMembers, useOrganization: () => import("@auth0/auth0-acul-js").OrganizationMembers, usePrompt: () => import("@auth0/auth0-acul-js").PromptMembers, useScreen: () => import("@auth0/auth0-acul-js").ScreenMembersOnPasskeyEnrollmentLocal, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
3
3
  export declare const continuePasskeyEnrollment: (payload?: CustomOptions) => void | Promise<void>;
4
4
  export declare const abortPasskeyEnrollment: (payload: AbortEnrollmentOptions) => void | Promise<void>;
5
- export { useCurrentScreen, useErrors, useAuth0Themes, type UseErrorOptions, type UseErrorsResult, type ErrorsResult, type ErrorKind, } from '../hooks';
5
+ export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
6
6
  export declare const usePasskeyEnrollmentLocal: () => PasskeyEnrollmentLocalMembers;
@@ -1 +1 @@
1
- {"version":3,"file":"passkey-enrollment-local.js","sources":["../../src/screens/passkey-enrollment-local.tsx"],"sourcesContent":["import PasskeyEnrollmentLocal from '@auth0/auth0-acul-js/passkey-enrollment-local';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n PasskeyEnrollmentLocalMembers,\n CustomOptions,\n AbortEnrollmentOptions,\n} from '@auth0/auth0-acul-js/passkey-enrollment-local';\n\n// Register the singleton instance of PasskeyEnrollmentLocal\nconst instance = registerScreen<PasskeyEnrollmentLocalMembers>(PasskeyEnrollmentLocal)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<PasskeyEnrollmentLocalMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const continuePasskeyEnrollment = (payload?: CustomOptions) =>\n withError(instance.continuePasskeyEnrollment(payload));\nexport const abortPasskeyEnrollment = (payload: AbortEnrollmentOptions) =>\n withError(instance.abortPasskeyEnrollment(payload));\n\n// Common hooks\nexport {\n useCurrentScreen,\n useErrors,\n useAuth0Themes,\n type UseErrorOptions,\n type UseErrorsResult,\n type ErrorsResult,\n type ErrorKind,\n} from '../hooks';\n\n// Main instance hook. Returns singleton instance of PasskeyEnrollmentLocal\nexport const usePasskeyEnrollmentLocal = (): PasskeyEnrollmentLocalMembers =>\n useMemo(() => instance, []);\n\n// Export all types from the core SDK for this screen\n"],"names":["instance","registerScreen","PasskeyEnrollmentLocal","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","continuePasskeyEnrollment","payload","abortPasskeyEnrollment","usePasskeyEnrollmentLocal","useMemo"],"mappings":"wbAcA,MAAMA,EAAWC,EAA8CC,IAGzDC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAA4CN,IACnDO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAA6BC,GACxCd,EAAUH,EAASgB,0BAA0BC,IAClCC,EAA0BD,GACrCd,EAAUH,EAASkB,uBAAuBD,IAc/BE,EAA4B,IACvCC,EAAQ,IAAMpB,EAAU"}
1
+ {"version":3,"file":"passkey-enrollment-local.js","sources":["../../src/screens/passkey-enrollment-local.tsx"],"sourcesContent":["import PasskeyEnrollmentLocal from '@auth0/auth0-acul-js/passkey-enrollment-local';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n PasskeyEnrollmentLocalMembers,\n CustomOptions,\n AbortEnrollmentOptions,\n} from '@auth0/auth0-acul-js/passkey-enrollment-local';\n\n// Register the singleton instance of PasskeyEnrollmentLocal\nconst instance = registerScreen<PasskeyEnrollmentLocalMembers>(PasskeyEnrollmentLocal)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<PasskeyEnrollmentLocalMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const continuePasskeyEnrollment = (payload?: CustomOptions) =>\n withError(instance.continuePasskeyEnrollment(payload));\nexport const abortPasskeyEnrollment = (payload: AbortEnrollmentOptions) =>\n withError(instance.abortPasskeyEnrollment(payload));\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';\n\n// Main instance hook. Returns singleton instance of PasskeyEnrollmentLocal\nexport const usePasskeyEnrollmentLocal = (): PasskeyEnrollmentLocalMembers =>\n useMemo(() => instance, []);\n"],"names":["instance","registerScreen","PasskeyEnrollmentLocal","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","continuePasskeyEnrollment","payload","abortPasskeyEnrollment","usePasskeyEnrollmentLocal","useMemo"],"mappings":"wbAcA,MAAMA,EAAWC,EAA8CC,IAGzDC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAA4CN,IACnDO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAA6BC,GACxCd,EAAUH,EAASgB,0BAA0BC,IAClCC,EAA0BD,GACrCd,EAAUH,EAASkB,uBAAuBD,IAM/BE,EAA4B,IACvCC,EAAQ,IAAMpB,EAAU"}
@@ -2,5 +2,5 @@ import type { PasskeyEnrollmentMembers, CustomOptions } from '@auth0/auth0-acul-
2
2
  export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers, useTenant: () => import("@auth0/auth0-acul-js").TenantMembers, useBranding: () => import("@auth0/auth0-acul-js").BrandingMembers, useClient: () => import("@auth0/auth0-acul-js").ClientMembers, useOrganization: () => import("@auth0/auth0-acul-js").OrganizationMembers, usePrompt: () => import("@auth0/auth0-acul-js").PromptMembers, useScreen: () => import("@auth0/auth0-acul-js").ScreenMembersOnPasskeyEnrollment, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
3
3
  export declare const continuePasskeyEnrollment: (payload?: CustomOptions) => void | Promise<void>;
4
4
  export declare const abortPasskeyEnrollment: (payload?: CustomOptions) => void | Promise<void>;
5
- export { useCurrentScreen, useErrors, useAuth0Themes, type UseErrorOptions, type UseErrorsResult, type ErrorsResult, type ErrorKind, } from '../hooks';
5
+ export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
6
6
  export declare const usePasskeyEnrollment: () => PasskeyEnrollmentMembers;
@@ -1 +1 @@
1
- {"version":3,"file":"passkey-enrollment.js","sources":["../../src/screens/passkey-enrollment.tsx"],"sourcesContent":["import PasskeyEnrollment from '@auth0/auth0-acul-js/passkey-enrollment';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n PasskeyEnrollmentMembers,\n CustomOptions,\n} from '@auth0/auth0-acul-js/passkey-enrollment';\n\n// Register the singleton instance of PasskeyEnrollment\nconst instance = registerScreen<PasskeyEnrollmentMembers>(PasskeyEnrollment)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<PasskeyEnrollmentMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const continuePasskeyEnrollment = (payload?: CustomOptions) =>\n withError(instance.continuePasskeyEnrollment(payload));\nexport const abortPasskeyEnrollment = (payload?: CustomOptions) =>\n withError(instance.abortPasskeyEnrollment(payload));\n\n// Common hooks\nexport {\n useCurrentScreen,\n useErrors,\n useAuth0Themes,\n type UseErrorOptions,\n type UseErrorsResult,\n type ErrorsResult,\n type ErrorKind,\n} from '../hooks';\n\n// Main instance hook. Returns singleton instance of PasskeyEnrollment\nexport const usePasskeyEnrollment = (): PasskeyEnrollmentMembers => useMemo(() => instance, []);\n\n// Export all types from the core SDK for this screen\n"],"names":["instance","registerScreen","PasskeyEnrollment","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","continuePasskeyEnrollment","payload","abortPasskeyEnrollment","usePasskeyEnrollment","useMemo"],"mappings":"kbAaA,MAAMA,EAAWC,EAAyCC,IAGpDC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAuCN,IAC9CO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAA6BC,GACxCd,EAAUH,EAASgB,0BAA0BC,IAClCC,EAA0BD,GACrCd,EAAUH,EAASkB,uBAAuBD,IAc/BE,EAAuB,IAAgCC,EAAQ,IAAMpB,EAAU"}
1
+ {"version":3,"file":"passkey-enrollment.js","sources":["../../src/screens/passkey-enrollment.tsx"],"sourcesContent":["import PasskeyEnrollment from '@auth0/auth0-acul-js/passkey-enrollment';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n PasskeyEnrollmentMembers,\n CustomOptions,\n} from '@auth0/auth0-acul-js/passkey-enrollment';\n\n// Register the singleton instance of PasskeyEnrollment\nconst instance = registerScreen<PasskeyEnrollmentMembers>(PasskeyEnrollment)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<PasskeyEnrollmentMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const continuePasskeyEnrollment = (payload?: CustomOptions) =>\n withError(instance.continuePasskeyEnrollment(payload));\nexport const abortPasskeyEnrollment = (payload?: CustomOptions) =>\n withError(instance.abortPasskeyEnrollment(payload));\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';\n\n// Main instance hook. Returns singleton instance of PasskeyEnrollment\nexport const usePasskeyEnrollment = (): PasskeyEnrollmentMembers => useMemo(() => instance, []);\n"],"names":["instance","registerScreen","PasskeyEnrollment","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","continuePasskeyEnrollment","payload","abortPasskeyEnrollment","usePasskeyEnrollment","useMemo"],"mappings":"kbAaA,MAAMA,EAAWC,EAAyCC,IAGpDC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAuCN,IAC9CO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAA6BC,GACxCd,EAAUH,EAASgB,0BAA0BC,IAClCC,EAA0BD,GACrCd,EAAUH,EAASkB,uBAAuBD,IAM/BE,EAAuB,IAAgCC,EAAQ,IAAMpB,EAAU"}
@@ -3,6 +3,8 @@ export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers,
3
3
  export declare const submitPhoneChallenge: (payload: PhoneChallengeOptions) => void | Promise<void>;
4
4
  export declare const resendCode: (payload?: CustomOptions) => void | Promise<void>;
5
5
  export declare const returnToPrevious: (payload?: CustomOptions) => void | Promise<void>;
6
+ export declare const switchToVoice: (payload?: CustomOptions) => void | Promise<void>;
7
+ export declare const switchToText: (payload?: CustomOptions) => void | Promise<void>;
6
8
  export { useResend } from '../hooks/utility/resend-manager';
7
- export { useCurrentScreen, useErrors, useAuth0Themes, type UseErrorOptions, type UseErrorsResult, type ErrorsResult, type ErrorKind, } from '../hooks';
9
+ export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
8
10
  export declare const usePhoneIdentifierChallenge: () => PhoneIdentifierChallengeMembers;
@@ -1,2 +1,2 @@
1
- import e from"@auth0/auth0-acul-js/phone-identifier-challenge";import{useMemo as o}from"react";export{useAuth0Themes}from"../hooks/common/auth0-themes.js";export{useCurrentScreen}from"../hooks/common/current-screen.js";import{errorManager as r}from"../hooks/common/errors.js";export{useErrors}from"../hooks/common/errors.js";import{ContextHooks as s}from"../hooks/context/index.js";import{registerScreen as t}from"../state/instance-store.js";export{useResend}from"../hooks/utility/resend-manager.js";const n=t(e),{withError:m}=r,u=new s(n),{useUser:i,useTenant:a,useBranding:h,useClient:c,useOrganization:p,usePrompt:f,useScreen:d,useTransaction:j,useUntrustedData:l}=u,x=e=>m(n.submitPhoneChallenge(e)),k=e=>m(n.resendCode(e)),g=e=>m(n.returnToPrevious(e)),C=()=>o(()=>n,[]);export{k as resendCode,g as returnToPrevious,x as submitPhoneChallenge,h as useBranding,c as useClient,p as useOrganization,C as usePhoneIdentifierChallenge,f as usePrompt,d as useScreen,a as useTenant,j as useTransaction,l as useUntrustedData,i as useUser};
1
+ import e from"@auth0/auth0-acul-js/phone-identifier-challenge";import{useMemo as o}from"react";export{useAuth0Themes}from"../hooks/common/auth0-themes.js";export{useCurrentScreen}from"../hooks/common/current-screen.js";import{errorManager as r}from"../hooks/common/errors.js";export{useErrors}from"../hooks/common/errors.js";import{ContextHooks as s}from"../hooks/context/index.js";import{registerScreen as t}from"../state/instance-store.js";export{useResend}from"../hooks/utility/resend-manager.js";const n=t(e),{withError:m}=r,u=new s(n),{useUser:i,useTenant:a,useBranding:h,useClient:c,useOrganization:p,usePrompt:f,useScreen:d,useTransaction:j,useUntrustedData:x}=u,l=e=>m(n.submitPhoneChallenge(e)),T=e=>m(n.resendCode(e)),k=e=>m(n.returnToPrevious(e)),g=e=>m(n.switchToVoice(e)),w=e=>m(n.switchToText(e)),C=()=>o(()=>n,[]);export{T as resendCode,k as returnToPrevious,l as submitPhoneChallenge,w as switchToText,g as switchToVoice,h as useBranding,c as useClient,p as useOrganization,C as usePhoneIdentifierChallenge,f as usePrompt,d as useScreen,a as useTenant,j as useTransaction,x as useUntrustedData,i as useUser};
2
2
  //# sourceMappingURL=phone-identifier-challenge.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"phone-identifier-challenge.js","sources":["../../src/screens/phone-identifier-challenge.tsx"],"sourcesContent":["import PhoneIdentifierChallenge from '@auth0/auth0-acul-js/phone-identifier-challenge';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n PhoneIdentifierChallengeMembers,\n PhoneChallengeOptions,\n CustomOptions,\n} from '@auth0/auth0-acul-js/phone-identifier-challenge';\n\n// Register the singleton instance of PhoneIdentifierChallenge\nconst instance = registerScreen<PhoneIdentifierChallengeMembers>(PhoneIdentifierChallenge)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<PhoneIdentifierChallengeMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const submitPhoneChallenge = (payload: PhoneChallengeOptions) =>\n withError(instance.submitPhoneChallenge(payload));\nexport const resendCode = (payload?: CustomOptions) => withError(instance.resendCode(payload));\nexport const returnToPrevious = (payload?: CustomOptions) =>\n withError(instance.returnToPrevious(payload));\n\n// Utility Hooks\nexport { useResend } from '../hooks/utility/resend-manager';\n\n// Common hooks\nexport {\n useCurrentScreen,\n useErrors,\n useAuth0Themes,\n type UseErrorOptions,\n type UseErrorsResult,\n type ErrorsResult,\n type ErrorKind,\n} from '../hooks';\n\n// Main instance hook. Returns singleton instance of PhoneIdentifierChallenge\nexport const usePhoneIdentifierChallenge = (): PhoneIdentifierChallengeMembers =>\n useMemo(() => instance, []);\n\n// Export all types from the core SDK for this screen\n"],"names":["instance","registerScreen","PhoneIdentifierChallenge","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","submitPhoneChallenge","payload","resendCode","returnToPrevious","usePhoneIdentifierChallenge","useMemo"],"mappings":"ofAcA,MAAMA,EAAWC,EAAgDC,IAG3DC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAA8CN,IACrDO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAwBC,GACnCd,EAAUH,EAASgB,qBAAqBC,IAC7BC,EAAcD,GAA4Bd,EAAUH,EAASkB,WAAWD,IACxEE,EAAoBF,GAC/Bd,EAAUH,EAASmB,iBAAiBF,IAiBzBG,EAA8B,IACzCC,EAAQ,IAAMrB,EAAU"}
1
+ {"version":3,"file":"phone-identifier-challenge.js","sources":["../../src/screens/phone-identifier-challenge.tsx"],"sourcesContent":["import PhoneIdentifierChallenge from '@auth0/auth0-acul-js/phone-identifier-challenge';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n PhoneIdentifierChallengeMembers,\n PhoneChallengeOptions,\n CustomOptions,\n} from '@auth0/auth0-acul-js/phone-identifier-challenge';\n\n// Register the singleton instance of PhoneIdentifierChallenge\nconst instance = registerScreen<PhoneIdentifierChallengeMembers>(PhoneIdentifierChallenge)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<PhoneIdentifierChallengeMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const submitPhoneChallenge = (payload: PhoneChallengeOptions) =>\n withError(instance.submitPhoneChallenge(payload));\nexport const resendCode = (payload?: CustomOptions) => withError(instance.resendCode(payload));\nexport const returnToPrevious = (payload?: CustomOptions) =>\n withError(instance.returnToPrevious(payload));\nexport const switchToVoice = (payload?: CustomOptions) =>\n withError(instance.switchToVoice(payload));\nexport const switchToText = (payload?: CustomOptions) => withError(instance.switchToText(payload));\n\n// Utility Hooks\nexport { useResend } from '../hooks/utility/resend-manager';\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';\n\n// Main instance hook. Returns singleton instance of PhoneIdentifierChallenge\nexport const usePhoneIdentifierChallenge = (): PhoneIdentifierChallengeMembers =>\n useMemo(() => instance, []);\n"],"names":["instance","registerScreen","PhoneIdentifierChallenge","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","submitPhoneChallenge","payload","resendCode","returnToPrevious","switchToVoice","switchToText","usePhoneIdentifierChallenge","useMemo"],"mappings":"ofAcA,MAAMA,EAAWC,EAAgDC,IAG3DC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAA8CN,IACrDO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAwBC,GACnCd,EAAUH,EAASgB,qBAAqBC,IAC7BC,EAAcD,GAA4Bd,EAAUH,EAASkB,WAAWD,IACxEE,EAAoBF,GAC/Bd,EAAUH,EAASmB,iBAAiBF,IACzBG,EAAiBH,GAC5Bd,EAAUH,EAASoB,cAAcH,IACtBI,EAAgBJ,GAA4Bd,EAAUH,EAASqB,aAAaJ,IAS5EK,EAA8B,IACzCC,EAAQ,IAAMvB,EAAU"}
@@ -2,5 +2,5 @@ import type { PhoneIdentifierEnrollmentMembers, PhoneEnrollmentOptions, CustomOp
2
2
  export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers, useTenant: () => import("@auth0/auth0-acul-js").TenantMembers, useBranding: () => import("@auth0/auth0-acul-js").BrandingMembers, useClient: () => import("@auth0/auth0-acul-js").ClientMembers, useOrganization: () => import("@auth0/auth0-acul-js").OrganizationMembers, usePrompt: () => import("@auth0/auth0-acul-js").PromptMembers, useScreen: () => import("@auth0/auth0-acul-js").ScreenMembersOnPhoneIdentifierEnrollment, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
3
3
  export declare const continuePhoneEnrollment: (payload: PhoneEnrollmentOptions) => void | Promise<void>;
4
4
  export declare const returnToPrevious: (payload?: CustomOptions) => void | Promise<void>;
5
- export { useCurrentScreen, useErrors, useAuth0Themes, type UseErrorOptions, type UseErrorsResult, type ErrorsResult, type ErrorKind, } from '../hooks';
5
+ export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
6
6
  export declare const usePhoneIdentifierEnrollment: () => PhoneIdentifierEnrollmentMembers;
@@ -1 +1 @@
1
- {"version":3,"file":"phone-identifier-enrollment.js","sources":["../../src/screens/phone-identifier-enrollment.tsx"],"sourcesContent":["import PhoneIdentifierEnrollment from '@auth0/auth0-acul-js/phone-identifier-enrollment';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n PhoneIdentifierEnrollmentMembers,\n PhoneEnrollmentOptions,\n CustomOptions,\n} from '@auth0/auth0-acul-js/phone-identifier-enrollment';\n\n// Register the singleton instance of PhoneIdentifierEnrollment\nconst instance = registerScreen<PhoneIdentifierEnrollmentMembers>(PhoneIdentifierEnrollment)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<PhoneIdentifierEnrollmentMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const continuePhoneEnrollment = (payload: PhoneEnrollmentOptions) =>\n withError(instance.continuePhoneEnrollment(payload));\nexport const returnToPrevious = (payload?: CustomOptions) =>\n withError(instance.returnToPrevious(payload));\n\n// Common hooks\nexport {\n useCurrentScreen,\n useErrors,\n useAuth0Themes,\n type UseErrorOptions,\n type UseErrorsResult,\n type ErrorsResult,\n type ErrorKind,\n} from '../hooks';\n\n// Main instance hook. Returns singleton instance of PhoneIdentifierEnrollment\nexport const usePhoneIdentifierEnrollment = (): PhoneIdentifierEnrollmentMembers =>\n useMemo(() => instance, []);\n\n// Export all types from the core SDK for this screen\n"],"names":["instance","registerScreen","PhoneIdentifierEnrollment","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","continuePhoneEnrollment","payload","returnToPrevious","usePhoneIdentifierEnrollment","useMemo"],"mappings":"2bAcA,MAAMA,EAAWC,EAAiDC,IAG5DC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAA+CN,IACtDO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAA2BC,GACtCd,EAAUH,EAASgB,wBAAwBC,IAChCC,EAAoBD,GAC/Bd,EAAUH,EAASkB,iBAAiBD,IAczBE,EAA+B,IAC1CC,EAAQ,IAAMpB,EAAU"}
1
+ {"version":3,"file":"phone-identifier-enrollment.js","sources":["../../src/screens/phone-identifier-enrollment.tsx"],"sourcesContent":["import PhoneIdentifierEnrollment from '@auth0/auth0-acul-js/phone-identifier-enrollment';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n PhoneIdentifierEnrollmentMembers,\n PhoneEnrollmentOptions,\n CustomOptions,\n} from '@auth0/auth0-acul-js/phone-identifier-enrollment';\n\n// Register the singleton instance of PhoneIdentifierEnrollment\nconst instance = registerScreen<PhoneIdentifierEnrollmentMembers>(PhoneIdentifierEnrollment)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<PhoneIdentifierEnrollmentMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const continuePhoneEnrollment = (payload: PhoneEnrollmentOptions) =>\n withError(instance.continuePhoneEnrollment(payload));\nexport const returnToPrevious = (payload?: CustomOptions) =>\n withError(instance.returnToPrevious(payload));\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';\n\n// Main instance hook. Returns singleton instance of PhoneIdentifierEnrollment\nexport const usePhoneIdentifierEnrollment = (): PhoneIdentifierEnrollmentMembers =>\n useMemo(() => instance, []);\n"],"names":["instance","registerScreen","PhoneIdentifierEnrollment","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","continuePhoneEnrollment","payload","returnToPrevious","usePhoneIdentifierEnrollment","useMemo"],"mappings":"2bAcA,MAAMA,EAAWC,EAAiDC,IAG5DC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAA+CN,IACtDO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAA2BC,GACtCd,EAAUH,EAASgB,wBAAwBC,IAChCC,EAAoBD,GAC/Bd,EAAUH,EAASkB,iBAAiBD,IAMzBE,EAA+B,IAC1CC,EAAQ,IAAMpB,EAAU"}
@@ -1,5 +1,5 @@
1
1
  import type { RedeemTicketMembers, CustomOptions } from '@auth0/auth0-acul-js/redeem-ticket';
2
2
  export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers, useTenant: () => import("@auth0/auth0-acul-js").TenantMembers, useBranding: () => import("@auth0/auth0-acul-js").BrandingMembers, useClient: () => import("@auth0/auth0-acul-js").ClientMembers, useOrganization: () => import("@auth0/auth0-acul-js").OrganizationMembers, usePrompt: () => import("@auth0/auth0-acul-js").PromptMembers, useScreen: () => import("@auth0/auth0-acul-js").ScreenMembers, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
3
3
  export declare const continueMethod: (payload?: CustomOptions) => void | Promise<void>;
4
- export { useCurrentScreen, useErrors, useAuth0Themes, type UseErrorOptions, type UseErrorsResult, type ErrorsResult, type ErrorKind, } from '../hooks';
4
+ export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
5
5
  export declare const useRedeemTicket: () => RedeemTicketMembers;
@@ -1 +1 @@
1
- {"version":3,"file":"redeem-ticket.js","sources":["../../src/screens/redeem-ticket.tsx"],"sourcesContent":["import RedeemTicket from '@auth0/auth0-acul-js/redeem-ticket';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type { RedeemTicketMembers, CustomOptions } from '@auth0/auth0-acul-js/redeem-ticket';\n\n// Register the singleton instance of RedeemTicket\nconst instance = registerScreen<RedeemTicketMembers>(RedeemTicket)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<RedeemTicketMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const continueMethod = (payload?: CustomOptions) => withError(instance.continue(payload));\n\n// Common hooks\nexport {\n useCurrentScreen,\n useErrors,\n useAuth0Themes,\n type UseErrorOptions,\n type UseErrorsResult,\n type ErrorsResult,\n type ErrorKind,\n} from '../hooks';\n\n// Main instance hook. Returns singleton instance of RedeemTicket\nexport const useRedeemTicket = (): RedeemTicketMembers => useMemo(() => instance, []);\n\n// Export all types from the core SDK for this screen\n"],"names":["instance","registerScreen","RedeemTicket","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","continueMethod","payload","continue","useRedeemTicket","useMemo"],"mappings":"6aAUA,MAAMA,EAAWC,EAAoCC,IAG/CC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAkCN,IACzCO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAkBC,GAA4Bd,EAAUH,EAASkB,SAASD,IAc1EE,EAAkB,IAA2BC,EAAQ,IAAMpB,EAAU"}
1
+ {"version":3,"file":"redeem-ticket.js","sources":["../../src/screens/redeem-ticket.tsx"],"sourcesContent":["import RedeemTicket from '@auth0/auth0-acul-js/redeem-ticket';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type { RedeemTicketMembers, CustomOptions } from '@auth0/auth0-acul-js/redeem-ticket';\n\n// Register the singleton instance of RedeemTicket\nconst instance = registerScreen<RedeemTicketMembers>(RedeemTicket)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<RedeemTicketMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const continueMethod = (payload?: CustomOptions) => withError(instance.continue(payload));\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';\n\n// Main instance hook. Returns singleton instance of RedeemTicket\nexport const useRedeemTicket = (): RedeemTicketMembers => useMemo(() => instance, []);\n"],"names":["instance","registerScreen","RedeemTicket","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","continueMethod","payload","continue","useRedeemTicket","useMemo"],"mappings":"6aAUA,MAAMA,EAAWC,EAAoCC,IAG/CC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAkCN,IACzCO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAkBC,GAA4Bd,EAAUH,EAASkB,SAASD,IAM1EE,EAAkB,IAA2BC,EAAQ,IAAMpB,EAAU"}
@@ -1,5 +1,5 @@
1
1
  import type { ResetPasswordEmailMembers, CustomOptions } from '@auth0/auth0-acul-js/reset-password-email';
2
2
  export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers, useTenant: () => import("@auth0/auth0-acul-js").TenantMembers, useBranding: () => import("@auth0/auth0-acul-js").BrandingMembers, useClient: () => import("@auth0/auth0-acul-js").ClientMembers, useOrganization: () => import("@auth0/auth0-acul-js").OrganizationMembers, usePrompt: () => import("@auth0/auth0-acul-js").PromptMembers, useScreen: () => import("@auth0/auth0-acul-js").ScreenMembersOnResetPasswordEmail, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
3
3
  export declare const resendEmail: (payload?: CustomOptions) => void | Promise<void>;
4
- export { useCurrentScreen, useErrors, useAuth0Themes, type UseErrorOptions, type UseErrorsResult, type ErrorsResult, type ErrorKind, } from '../hooks';
4
+ export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
5
5
  export declare const useResetPasswordEmail: () => ResetPasswordEmailMembers;