@auth0/auth0-acul-react 1.0.0 → 1.1.0

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 (239) hide show
  1. package/README.md +2 -10
  2. package/dist/export/hooks.d.ts +1 -1
  3. package/dist/hooks/common/change-language.d.ts +92 -0
  4. package/dist/hooks/common/change-language.js +2 -0
  5. package/dist/hooks/common/change-language.js.map +1 -0
  6. package/dist/hooks/index.d.ts +1 -0
  7. package/dist/index.d.ts +1 -1
  8. package/dist/index.js +1 -1
  9. package/dist/screens/accept-invitation.d.ts +1 -1
  10. package/dist/screens/accept-invitation.js +1 -1
  11. package/dist/screens/accept-invitation.js.map +1 -1
  12. package/dist/screens/consent.d.ts +1 -1
  13. package/dist/screens/consent.js +1 -1
  14. package/dist/screens/consent.js.map +1 -1
  15. package/dist/screens/customized-consent.d.ts +1 -1
  16. package/dist/screens/customized-consent.js +1 -1
  17. package/dist/screens/customized-consent.js.map +1 -1
  18. package/dist/screens/device-code-activation-allowed.d.ts +1 -1
  19. package/dist/screens/device-code-activation-allowed.js +1 -1
  20. package/dist/screens/device-code-activation-allowed.js.map +1 -1
  21. package/dist/screens/device-code-activation-denied.d.ts +1 -1
  22. package/dist/screens/device-code-activation-denied.js +1 -1
  23. package/dist/screens/device-code-activation-denied.js.map +1 -1
  24. package/dist/screens/device-code-activation.d.ts +1 -1
  25. package/dist/screens/device-code-activation.js +1 -1
  26. package/dist/screens/device-code-activation.js.map +1 -1
  27. package/dist/screens/device-code-confirmation.d.ts +1 -1
  28. package/dist/screens/device-code-confirmation.js +1 -1
  29. package/dist/screens/device-code-confirmation.js.map +1 -1
  30. package/dist/screens/email-identifier-challenge.d.ts +1 -1
  31. package/dist/screens/email-identifier-challenge.js +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 +1 -1
  35. package/dist/screens/email-otp-challenge.js.map +1 -1
  36. package/dist/screens/email-verification-result.d.ts +1 -1
  37. package/dist/screens/email-verification-result.js +1 -1
  38. package/dist/screens/email-verification-result.js.map +1 -1
  39. package/dist/screens/interstitial-captcha.d.ts +1 -1
  40. package/dist/screens/interstitial-captcha.js +1 -1
  41. package/dist/screens/interstitial-captcha.js.map +1 -1
  42. package/dist/screens/login-email-verification.d.ts +1 -1
  43. package/dist/screens/login-email-verification.js +1 -1
  44. package/dist/screens/login-email-verification.js.map +1 -1
  45. package/dist/screens/login-id.d.ts +1 -1
  46. package/dist/screens/login-id.js +1 -1
  47. package/dist/screens/login-id.js.map +1 -1
  48. package/dist/screens/login-password.d.ts +1 -1
  49. package/dist/screens/login-password.js +1 -1
  50. package/dist/screens/login-password.js.map +1 -1
  51. package/dist/screens/login-passwordless-email-code.d.ts +3 -2
  52. package/dist/screens/login-passwordless-email-code.js +1 -1
  53. package/dist/screens/login-passwordless-email-code.js.map +1 -1
  54. package/dist/screens/login-passwordless-sms-otp.d.ts +3 -2
  55. package/dist/screens/login-passwordless-sms-otp.js +1 -1
  56. package/dist/screens/login-passwordless-sms-otp.js.map +1 -1
  57. package/dist/screens/login.d.ts +1 -1
  58. package/dist/screens/login.js +1 -1
  59. package/dist/screens/login.js.map +1 -1
  60. package/dist/screens/logout-aborted.d.ts +1 -1
  61. package/dist/screens/logout-aborted.js +1 -1
  62. package/dist/screens/logout-aborted.js.map +1 -1
  63. package/dist/screens/logout-complete.d.ts +1 -1
  64. package/dist/screens/logout-complete.js +1 -1
  65. package/dist/screens/logout-complete.js.map +1 -1
  66. package/dist/screens/logout.d.ts +1 -1
  67. package/dist/screens/logout.js +1 -1
  68. package/dist/screens/logout.js.map +1 -1
  69. package/dist/screens/mfa-begin-enroll-options.d.ts +1 -1
  70. package/dist/screens/mfa-begin-enroll-options.js +1 -1
  71. package/dist/screens/mfa-begin-enroll-options.js.map +1 -1
  72. package/dist/screens/mfa-country-codes.d.ts +1 -1
  73. package/dist/screens/mfa-country-codes.js +1 -1
  74. package/dist/screens/mfa-country-codes.js.map +1 -1
  75. package/dist/screens/mfa-detect-browser-capabilities.d.ts +1 -1
  76. package/dist/screens/mfa-detect-browser-capabilities.js +1 -1
  77. package/dist/screens/mfa-detect-browser-capabilities.js.map +1 -1
  78. package/dist/screens/mfa-email-challenge.d.ts +1 -1
  79. package/dist/screens/mfa-email-challenge.js +1 -1
  80. package/dist/screens/mfa-email-challenge.js.map +1 -1
  81. package/dist/screens/mfa-email-list.d.ts +1 -1
  82. package/dist/screens/mfa-email-list.js +1 -1
  83. package/dist/screens/mfa-email-list.js.map +1 -1
  84. package/dist/screens/mfa-enroll-result.d.ts +1 -1
  85. package/dist/screens/mfa-enroll-result.js +1 -1
  86. package/dist/screens/mfa-enroll-result.js.map +1 -1
  87. package/dist/screens/mfa-login-options.d.ts +1 -1
  88. package/dist/screens/mfa-login-options.js +1 -1
  89. package/dist/screens/mfa-login-options.js.map +1 -1
  90. package/dist/screens/mfa-otp-challenge.d.ts +1 -1
  91. package/dist/screens/mfa-otp-challenge.js +1 -1
  92. package/dist/screens/mfa-otp-challenge.js.map +1 -1
  93. package/dist/screens/mfa-otp-enrollment-code.d.ts +3 -2
  94. package/dist/screens/mfa-otp-enrollment-code.js +1 -1
  95. package/dist/screens/mfa-otp-enrollment-code.js.map +1 -1
  96. package/dist/screens/mfa-otp-enrollment-qr.d.ts +1 -1
  97. package/dist/screens/mfa-otp-enrollment-qr.js +1 -1
  98. package/dist/screens/mfa-otp-enrollment-qr.js.map +1 -1
  99. package/dist/screens/mfa-phone-challenge.d.ts +1 -1
  100. package/dist/screens/mfa-phone-challenge.js +1 -1
  101. package/dist/screens/mfa-phone-challenge.js.map +1 -1
  102. package/dist/screens/mfa-phone-enrollment.d.ts +1 -1
  103. package/dist/screens/mfa-phone-enrollment.js +1 -1
  104. package/dist/screens/mfa-phone-enrollment.js.map +1 -1
  105. package/dist/screens/mfa-push-challenge-push.d.ts +1 -1
  106. package/dist/screens/mfa-push-challenge-push.js +1 -1
  107. package/dist/screens/mfa-push-challenge-push.js.map +1 -1
  108. package/dist/screens/mfa-push-enrollment-qr.d.ts +1 -1
  109. package/dist/screens/mfa-push-enrollment-qr.js +1 -1
  110. package/dist/screens/mfa-push-enrollment-qr.js.map +1 -1
  111. package/dist/screens/mfa-push-list.d.ts +1 -1
  112. package/dist/screens/mfa-push-list.js +1 -1
  113. package/dist/screens/mfa-push-list.js.map +1 -1
  114. package/dist/screens/mfa-push-welcome.d.ts +1 -1
  115. package/dist/screens/mfa-push-welcome.js +1 -1
  116. package/dist/screens/mfa-push-welcome.js.map +1 -1
  117. package/dist/screens/mfa-recovery-code-challenge-new-code.d.ts +1 -1
  118. package/dist/screens/mfa-recovery-code-challenge-new-code.js +1 -1
  119. package/dist/screens/mfa-recovery-code-challenge-new-code.js.map +1 -1
  120. package/dist/screens/mfa-recovery-code-challenge.d.ts +1 -1
  121. package/dist/screens/mfa-recovery-code-challenge.js +1 -1
  122. package/dist/screens/mfa-recovery-code-challenge.js.map +1 -1
  123. package/dist/screens/mfa-recovery-code-enrollment.d.ts +1 -1
  124. package/dist/screens/mfa-recovery-code-enrollment.js +1 -1
  125. package/dist/screens/mfa-recovery-code-enrollment.js.map +1 -1
  126. package/dist/screens/mfa-sms-challenge.d.ts +1 -1
  127. package/dist/screens/mfa-sms-challenge.js +1 -1
  128. package/dist/screens/mfa-sms-challenge.js.map +1 -1
  129. package/dist/screens/mfa-sms-enrollment.d.ts +1 -1
  130. package/dist/screens/mfa-sms-enrollment.js +1 -1
  131. package/dist/screens/mfa-sms-enrollment.js.map +1 -1
  132. package/dist/screens/mfa-sms-list.d.ts +1 -1
  133. package/dist/screens/mfa-sms-list.js +1 -1
  134. package/dist/screens/mfa-sms-list.js.map +1 -1
  135. package/dist/screens/mfa-voice-challenge.d.ts +1 -1
  136. package/dist/screens/mfa-voice-challenge.js +1 -1
  137. package/dist/screens/mfa-voice-challenge.js.map +1 -1
  138. package/dist/screens/mfa-voice-enrollment.d.ts +1 -1
  139. package/dist/screens/mfa-voice-enrollment.js +1 -1
  140. package/dist/screens/mfa-voice-enrollment.js.map +1 -1
  141. package/dist/screens/mfa-webauthn-change-key-nickname.d.ts +1 -1
  142. package/dist/screens/mfa-webauthn-change-key-nickname.js +1 -1
  143. package/dist/screens/mfa-webauthn-change-key-nickname.js.map +1 -1
  144. package/dist/screens/mfa-webauthn-enrollment-success.d.ts +1 -1
  145. package/dist/screens/mfa-webauthn-enrollment-success.js +1 -1
  146. package/dist/screens/mfa-webauthn-enrollment-success.js.map +1 -1
  147. package/dist/screens/mfa-webauthn-error.d.ts +1 -1
  148. package/dist/screens/mfa-webauthn-error.js +1 -1
  149. package/dist/screens/mfa-webauthn-error.js.map +1 -1
  150. package/dist/screens/mfa-webauthn-not-available-error.d.ts +1 -1
  151. package/dist/screens/mfa-webauthn-not-available-error.js +1 -1
  152. package/dist/screens/mfa-webauthn-not-available-error.js.map +1 -1
  153. package/dist/screens/mfa-webauthn-platform-challenge.d.ts +1 -1
  154. package/dist/screens/mfa-webauthn-platform-challenge.js +1 -1
  155. package/dist/screens/mfa-webauthn-platform-challenge.js.map +1 -1
  156. package/dist/screens/mfa-webauthn-platform-enrollment.d.ts +1 -1
  157. package/dist/screens/mfa-webauthn-platform-enrollment.js +1 -1
  158. package/dist/screens/mfa-webauthn-platform-enrollment.js.map +1 -1
  159. package/dist/screens/mfa-webauthn-roaming-challenge.d.ts +1 -1
  160. package/dist/screens/mfa-webauthn-roaming-challenge.js +1 -1
  161. package/dist/screens/mfa-webauthn-roaming-challenge.js.map +1 -1
  162. package/dist/screens/mfa-webauthn-roaming-enrollment.d.ts +1 -1
  163. package/dist/screens/mfa-webauthn-roaming-enrollment.js +1 -1
  164. package/dist/screens/mfa-webauthn-roaming-enrollment.js.map +1 -1
  165. package/dist/screens/organization-picker.d.ts +1 -1
  166. package/dist/screens/organization-picker.js +1 -1
  167. package/dist/screens/organization-picker.js.map +1 -1
  168. package/dist/screens/organization-selection.d.ts +1 -1
  169. package/dist/screens/organization-selection.js +1 -1
  170. package/dist/screens/organization-selection.js.map +1 -1
  171. package/dist/screens/passkey-enrollment-local.d.ts +1 -1
  172. package/dist/screens/passkey-enrollment-local.js +1 -1
  173. package/dist/screens/passkey-enrollment-local.js.map +1 -1
  174. package/dist/screens/passkey-enrollment.d.ts +1 -1
  175. package/dist/screens/passkey-enrollment.js +1 -1
  176. package/dist/screens/passkey-enrollment.js.map +1 -1
  177. package/dist/screens/phone-identifier-challenge.d.ts +1 -1
  178. package/dist/screens/phone-identifier-challenge.js +1 -1
  179. package/dist/screens/phone-identifier-challenge.js.map +1 -1
  180. package/dist/screens/phone-identifier-enrollment.d.ts +1 -1
  181. package/dist/screens/phone-identifier-enrollment.js +1 -1
  182. package/dist/screens/phone-identifier-enrollment.js.map +1 -1
  183. package/dist/screens/redeem-ticket.d.ts +1 -1
  184. package/dist/screens/redeem-ticket.js +1 -1
  185. package/dist/screens/redeem-ticket.js.map +1 -1
  186. package/dist/screens/reset-password-email.d.ts +1 -1
  187. package/dist/screens/reset-password-email.js +1 -1
  188. package/dist/screens/reset-password-email.js.map +1 -1
  189. package/dist/screens/reset-password-error.d.ts +1 -1
  190. package/dist/screens/reset-password-error.js +1 -1
  191. package/dist/screens/reset-password-error.js.map +1 -1
  192. package/dist/screens/reset-password-mfa-email-challenge.d.ts +1 -1
  193. package/dist/screens/reset-password-mfa-email-challenge.js +1 -1
  194. package/dist/screens/reset-password-mfa-email-challenge.js.map +1 -1
  195. package/dist/screens/reset-password-mfa-otp-challenge.d.ts +1 -1
  196. package/dist/screens/reset-password-mfa-otp-challenge.js +1 -1
  197. package/dist/screens/reset-password-mfa-otp-challenge.js.map +1 -1
  198. package/dist/screens/reset-password-mfa-phone-challenge.d.ts +1 -1
  199. package/dist/screens/reset-password-mfa-phone-challenge.js +1 -1
  200. package/dist/screens/reset-password-mfa-phone-challenge.js.map +1 -1
  201. package/dist/screens/reset-password-mfa-push-challenge-push.d.ts +1 -1
  202. package/dist/screens/reset-password-mfa-push-challenge-push.js +1 -1
  203. package/dist/screens/reset-password-mfa-push-challenge-push.js.map +1 -1
  204. package/dist/screens/reset-password-mfa-recovery-code-challenge.d.ts +1 -1
  205. package/dist/screens/reset-password-mfa-recovery-code-challenge.js +1 -1
  206. package/dist/screens/reset-password-mfa-recovery-code-challenge.js.map +1 -1
  207. package/dist/screens/reset-password-mfa-sms-challenge.d.ts +1 -1
  208. package/dist/screens/reset-password-mfa-sms-challenge.js +1 -1
  209. package/dist/screens/reset-password-mfa-sms-challenge.js.map +1 -1
  210. package/dist/screens/reset-password-mfa-voice-challenge.d.ts +1 -1
  211. package/dist/screens/reset-password-mfa-voice-challenge.js +1 -1
  212. package/dist/screens/reset-password-mfa-voice-challenge.js.map +1 -1
  213. package/dist/screens/reset-password-mfa-webauthn-platform-challenge.d.ts +1 -1
  214. package/dist/screens/reset-password-mfa-webauthn-platform-challenge.js +1 -1
  215. package/dist/screens/reset-password-mfa-webauthn-platform-challenge.js.map +1 -1
  216. package/dist/screens/reset-password-mfa-webauthn-roaming-challenge.d.ts +1 -1
  217. package/dist/screens/reset-password-mfa-webauthn-roaming-challenge.js +1 -1
  218. package/dist/screens/reset-password-mfa-webauthn-roaming-challenge.js.map +1 -1
  219. package/dist/screens/reset-password-request.d.ts +1 -1
  220. package/dist/screens/reset-password-request.js +1 -1
  221. package/dist/screens/reset-password-request.js.map +1 -1
  222. package/dist/screens/reset-password-success.d.ts +1 -1
  223. package/dist/screens/reset-password-success.js +1 -1
  224. package/dist/screens/reset-password-success.js.map +1 -1
  225. package/dist/screens/reset-password.d.ts +1 -1
  226. package/dist/screens/reset-password.js +1 -1
  227. package/dist/screens/reset-password.js.map +1 -1
  228. package/dist/screens/signup-id.d.ts +1 -1
  229. package/dist/screens/signup-id.js +1 -1
  230. package/dist/screens/signup-id.js.map +1 -1
  231. package/dist/screens/signup-password.d.ts +1 -1
  232. package/dist/screens/signup-password.js +1 -1
  233. package/dist/screens/signup-password.js.map +1 -1
  234. package/dist/screens/signup.d.ts +1 -1
  235. package/dist/screens/signup.js +1 -1
  236. package/dist/screens/signup.js.map +1 -1
  237. package/dist/telemetry.js +1 -1
  238. package/package.json +2 -2
  239. package/dist/export/getting-started.d.ts +0 -282
@@ -1,2 +1,2 @@
1
- import o from"@auth0/auth0-acul-js/phone-identifier-enrollment";import{useMemo as e}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";const n=t(o),{withError:m}=r,u=new s(n),{useUser:i,useTenant:a,useBranding:c,useClient:h,useOrganization:p,usePrompt:f,useScreen:j,useTransaction:l,useUntrustedData:x}=u,k=o=>m(n.continuePhoneEnrollment(o)),d=o=>m(n.returnToPrevious(o)),T=()=>e(()=>n,[]);export{k as continuePhoneEnrollment,d as returnToPrevious,c as useBranding,h as useClient,p as useOrganization,T as usePhoneIdentifierEnrollment,f as usePrompt,j as useScreen,a as useTenant,l as useTransaction,x as useUntrustedData,i as useUser};
1
+ import o from"@auth0/auth0-acul-js/phone-identifier-enrollment";import{useMemo as e}from"react";export{useAuth0Themes}from"../hooks/common/auth0-themes.js";export{useChangeLanguage}from"../hooks/common/change-language.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 n}from"../state/instance-store.js";const t=n(o),{withError:m}=r,u=new s(t),{useUser:a,useTenant:i,useBranding:c,useClient:h,useOrganization:p,usePrompt:f,useScreen:g,useTransaction:j,useUntrustedData:l}=u,x=o=>m(t.continuePhoneEnrollment(o)),k=o=>m(t.returnToPrevious(o)),d=()=>e(()=>t,[]);export{x as continuePhoneEnrollment,k as returnToPrevious,c as useBranding,h as useClient,p as useOrganization,d as usePhoneIdentifierEnrollment,f as usePrompt,g as useScreen,i as useTenant,j as useTransaction,l as useUntrustedData,a as useUser};
2
2
  //# sourceMappingURL=phone-identifier-enrollment.js.map
@@ -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 { 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
+ {"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, useChangeLanguage } 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":"6fAcA,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 } from '../hooks';
4
+ export { useCurrentScreen, useErrors, useAuth0Themes, useChangeLanguage } from '../hooks';
5
5
  export declare const useRedeemTicket: () => RedeemTicketMembers;
@@ -1,2 +1,2 @@
1
- import e from"@auth0/auth0-acul-js/redeem-ticket";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";const n=t(e),{withError:m}=r,u=new s(n),{useUser:c,useTenant:a,useBranding:i,useClient:h,useOrganization:p,usePrompt:f,useScreen:j,useTransaction:k,useUntrustedData:x}=u,d=e=>m(n.continue(e)),T=()=>o(()=>n,[]);export{d as continueMethod,i as useBranding,h as useClient,p as useOrganization,f as usePrompt,T as useRedeemTicket,j as useScreen,a as useTenant,k as useTransaction,x as useUntrustedData,c as useUser};
1
+ import e from"@auth0/auth0-acul-js/redeem-ticket";import{useMemo as o}from"react";export{useAuth0Themes}from"../hooks/common/auth0-themes.js";export{useChangeLanguage}from"../hooks/common/change-language.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";const n=t(e),{withError:m}=r,u=new s(n),{useUser:a,useTenant:c,useBranding:h,useClient:i,useOrganization:p,usePrompt:f,useScreen:g,useTransaction:j,useUntrustedData:k}=u,x=e=>m(n.continue(e)),d=()=>o(()=>n,[]);export{x as continueMethod,h as useBranding,i as useClient,p as useOrganization,f as usePrompt,d as useRedeemTicket,g as useScreen,c as useTenant,j as useTransaction,k as useUntrustedData,a as useUser};
2
2
  //# sourceMappingURL=redeem-ticket.js.map
@@ -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 { 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
+ {"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, useChangeLanguage } 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":"+eAUA,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 } from '../hooks';
4
+ export { useCurrentScreen, useErrors, useAuth0Themes, useChangeLanguage } from '../hooks';
5
5
  export declare const useResetPasswordEmail: () => ResetPasswordEmailMembers;
@@ -1,2 +1,2 @@
1
- import r from"@auth0/auth0-acul-js/reset-password-email";import{useMemo as e}from"react";export{useAuth0Themes}from"../hooks/common/auth0-themes.js";export{useCurrentScreen}from"../hooks/common/current-screen.js";import{errorManager as o}from"../hooks/common/errors.js";export{useErrors}from"../hooks/common/errors.js";import{ContextHooks as s}from"../hooks/context/index.js";import{registerScreen as t}from"../state/instance-store.js";const m=t(r),{withError:n}=o,u=new s(m),{useUser:a,useTenant:i,useBranding:c,useClient:h,useOrganization:p,usePrompt:f,useScreen:j,useTransaction:x,useUntrustedData:d}=u,k=r=>n(m.resendEmail(r)),l=()=>e(()=>m,[]);export{k as resendEmail,c as useBranding,h as useClient,p as useOrganization,f as usePrompt,l as useResetPasswordEmail,j as useScreen,i as useTenant,x as useTransaction,d as useUntrustedData,a as useUser};
1
+ import e from"@auth0/auth0-acul-js/reset-password-email";import{useMemo as o}from"react";export{useAuth0Themes}from"../hooks/common/auth0-themes.js";export{useChangeLanguage}from"../hooks/common/change-language.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";const n=t(e),{withError:m}=r,a=new s(n),{useUser:u,useTenant:c,useBranding:h,useClient:i,useOrganization:p,usePrompt:f,useScreen:g,useTransaction:j,useUntrustedData:x}=a,k=e=>m(n.resendEmail(e)),d=()=>o(()=>n,[]);export{k as resendEmail,h as useBranding,i as useClient,p as useOrganization,f as usePrompt,d as useResetPasswordEmail,g as useScreen,c as useTenant,j as useTransaction,x as useUntrustedData,u as useUser};
2
2
  //# sourceMappingURL=reset-password-email.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"reset-password-email.js","sources":["../../src/screens/reset-password-email.tsx"],"sourcesContent":["import ResetPasswordEmail from '@auth0/auth0-acul-js/reset-password-email';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n ResetPasswordEmailMembers,\n CustomOptions,\n} from '@auth0/auth0-acul-js/reset-password-email';\n\n// Register the singleton instance of ResetPasswordEmail\nconst instance = registerScreen<ResetPasswordEmailMembers>(ResetPasswordEmail)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<ResetPasswordEmailMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const resendEmail = (payload?: CustomOptions) => withError(instance.resendEmail(payload));\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';\n\n// Main instance hook. Returns singleton instance of ResetPasswordEmail\nexport const useResetPasswordEmail = (): ResetPasswordEmailMembers => useMemo(() => instance, []);\n"],"names":["instance","registerScreen","ResetPasswordEmail","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","resendEmail","payload","useResetPasswordEmail","useMemo"],"mappings":"obAaA,MAAMA,EAAWC,EAA0CC,IAGrDC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAwCN,IAC/CO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAeC,GAA4Bd,EAAUH,EAASgB,YAAYC,IAM1EC,EAAwB,IAAiCC,EAAQ,IAAMnB,EAAU"}
1
+ {"version":3,"file":"reset-password-email.js","sources":["../../src/screens/reset-password-email.tsx"],"sourcesContent":["import ResetPasswordEmail from '@auth0/auth0-acul-js/reset-password-email';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n ResetPasswordEmailMembers,\n CustomOptions,\n} from '@auth0/auth0-acul-js/reset-password-email';\n\n// Register the singleton instance of ResetPasswordEmail\nconst instance = registerScreen<ResetPasswordEmailMembers>(ResetPasswordEmail)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<ResetPasswordEmailMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const resendEmail = (payload?: CustomOptions) => withError(instance.resendEmail(payload));\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes, useChangeLanguage } from '../hooks';\n\n// Main instance hook. Returns singleton instance of ResetPasswordEmail\nexport const useResetPasswordEmail = (): ResetPasswordEmailMembers => useMemo(() => instance, []);\n"],"names":["instance","registerScreen","ResetPasswordEmail","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","resendEmail","payload","useResetPasswordEmail","useMemo"],"mappings":"sfAaA,MAAMA,EAAWC,EAA0CC,IAGrDC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAwCN,IAC/CO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAeC,GAA4Bd,EAAUH,EAASgB,YAAYC,IAM1EC,EAAwB,IAAiCC,EAAQ,IAAMnB,EAAU"}
@@ -1,4 +1,4 @@
1
1
  import type { ResetPasswordErrorMembers } from '@auth0/auth0-acul-js/reset-password-error';
2
2
  export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers, useTenant: () => import("@auth0/auth0-acul-js").TenantMembers, useBranding: () => import("@auth0/auth0-acul-js").BrandingMembers, useClient: () => import("@auth0/auth0-acul-js").ClientMembers, useOrganization: () => import("@auth0/auth0-acul-js").OrganizationMembers, usePrompt: () => import("@auth0/auth0-acul-js").PromptMembers, useScreen: () => import("@auth0/auth0-acul-js").ScreenMembersOnResetPasswordError, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
3
- export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
3
+ export { useCurrentScreen, useErrors, useAuth0Themes, useChangeLanguage } from '../hooks';
4
4
  export declare const useResetPasswordError: () => ResetPasswordErrorMembers;
@@ -1,2 +1,2 @@
1
- import e from"@auth0/auth0-acul-js/reset-password-error";import{useMemo as r}from"react";export{useAuth0Themes}from"../hooks/common/auth0-themes.js";export{useCurrentScreen}from"../hooks/common/current-screen.js";export{useErrors}from"../hooks/common/errors.js";import{ContextHooks as o}from"../hooks/context/index.js";import{registerScreen as s}from"../state/instance-store.js";const t=s(e),n=new o(t),{useUser:m,useTenant:u,useBranding:a,useClient:c,useOrganization:i,usePrompt:h,useScreen:p,useTransaction:f,useUntrustedData:j}=n,x=()=>r(()=>t,[]);export{a as useBranding,c as useClient,i as useOrganization,h as usePrompt,x as useResetPasswordError,p as useScreen,u as useTenant,f as useTransaction,j as useUntrustedData,m as useUser};
1
+ import e from"@auth0/auth0-acul-js/reset-password-error";import{useMemo as o}from"react";export{useAuth0Themes}from"../hooks/common/auth0-themes.js";export{useChangeLanguage}from"../hooks/common/change-language.js";export{useCurrentScreen}from"../hooks/common/current-screen.js";export{useErrors}from"../hooks/common/errors.js";import{ContextHooks as r}from"../hooks/context/index.js";import{registerScreen as s}from"../state/instance-store.js";const t=s(e),n=new r(t),{useUser:m,useTenant:u,useBranding:a,useClient:c,useOrganization:h,usePrompt:i,useScreen:p,useTransaction:f,useUntrustedData:g}=n,j=()=>o(()=>t,[]);export{a as useBranding,c as useClient,h as useOrganization,i as usePrompt,j as useResetPasswordError,p as useScreen,u as useTenant,f as useTransaction,g as useUntrustedData,m as useUser};
2
2
  //# sourceMappingURL=reset-password-error.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"reset-password-error.js","sources":["../../src/screens/reset-password-error.tsx"],"sourcesContent":["import ResetPasswordError from '@auth0/auth0-acul-js/reset-password-error';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type { ResetPasswordErrorMembers } from '@auth0/auth0-acul-js/reset-password-error';\n\n// Register the singleton instance of ResetPasswordError\nconst instance = registerScreen<ResetPasswordErrorMembers>(ResetPasswordError)!;\n\n// Context hooks\nconst factory = new ContextHooks<ResetPasswordErrorMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';\n\n// Main instance hook. Returns singleton instance of ResetPasswordError\nexport const useResetPasswordError = (): ResetPasswordErrorMembers => useMemo(() => instance, []);\n"],"names":["instance","registerScreen","ResetPasswordError","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","useResetPasswordError","useMemo"],"mappings":"2XASA,MAAMA,EAAWC,EAA0CC,GAGrDC,EAAU,IAAIC,EAAwCJ,IAC/CK,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAMSW,EAAwB,IAAiCC,EAAQ,IAAMf,EAAU"}
1
+ {"version":3,"file":"reset-password-error.js","sources":["../../src/screens/reset-password-error.tsx"],"sourcesContent":["import ResetPasswordError from '@auth0/auth0-acul-js/reset-password-error';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type { ResetPasswordErrorMembers } from '@auth0/auth0-acul-js/reset-password-error';\n\n// Register the singleton instance of ResetPasswordError\nconst instance = registerScreen<ResetPasswordErrorMembers>(ResetPasswordError)!;\n\n// Context hooks\nconst factory = new ContextHooks<ResetPasswordErrorMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes, useChangeLanguage } from '../hooks';\n\n// Main instance hook. Returns singleton instance of ResetPasswordError\nexport const useResetPasswordError = (): ResetPasswordErrorMembers => useMemo(() => instance, []);\n"],"names":["instance","registerScreen","ResetPasswordError","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","useResetPasswordError","useMemo"],"mappings":"6bASA,MAAMA,EAAWC,EAA0CC,GAGrDC,EAAU,IAAIC,EAAwCJ,IAC/CK,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAMSW,EAAwB,IAAiCC,EAAQ,IAAMf,EAAU"}
@@ -4,5 +4,5 @@ export declare const continueMethod: (payload: ContinueOptions) => void | Promis
4
4
  export declare const resendCode: (payload?: ResendCodeOptions) => void | Promise<void>;
5
5
  export declare const tryAnotherMethod: (payload?: TryAnotherMethodOptions) => void | Promise<void>;
6
6
  export { useResend } from '../hooks/utility/resend-manager';
7
- export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
7
+ export { useCurrentScreen, useErrors, useAuth0Themes, useChangeLanguage } from '../hooks';
8
8
  export declare const useResetPasswordMfaEmailChallenge: () => ResetPasswordMfaEmailChallengeMembers;
@@ -1,2 +1,2 @@
1
- import e from"@auth0/auth0-acul-js/reset-password-mfa-email-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:a,useTenant:i,useBranding:c,useClient:h,useOrganization:p,usePrompt:f,useScreen:d,useTransaction:j,useUntrustedData:x}=u,k=e=>m(n.continue(e)),l=e=>m(n.resendCode(e)),g=e=>m(n.tryAnotherMethod(e)),w=()=>o(()=>n,[]);export{k as continueMethod,l as resendCode,g as tryAnotherMethod,c as useBranding,h as useClient,p as useOrganization,f as usePrompt,w as useResetPasswordMfaEmailChallenge,d as useScreen,i as useTenant,j as useTransaction,x as useUntrustedData,a as useUser};
1
+ import e from"@auth0/auth0-acul-js/reset-password-mfa-email-challenge";import{useMemo as o}from"react";export{useAuth0Themes}from"../hooks/common/auth0-themes.js";export{useChangeLanguage}from"../hooks/common/change-language.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,a=new s(n),{useUser:u,useTenant:h,useBranding:c,useClient:i,useOrganization:p,usePrompt:f,useScreen:g,useTransaction:d,useUntrustedData:j}=a,x=e=>m(n.continue(e)),k=e=>m(n.resendCode(e)),l=e=>m(n.tryAnotherMethod(e)),C=()=>o(()=>n,[]);export{x as continueMethod,k as resendCode,l as tryAnotherMethod,c as useBranding,i as useClient,p as useOrganization,f as usePrompt,C as useResetPasswordMfaEmailChallenge,g as useScreen,h as useTenant,d as useTransaction,j as useUntrustedData,u as useUser};
2
2
  //# sourceMappingURL=reset-password-mfa-email-challenge.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"reset-password-mfa-email-challenge.js","sources":["../../src/screens/reset-password-mfa-email-challenge.tsx"],"sourcesContent":["import ResetPasswordMfaEmailChallenge from '@auth0/auth0-acul-js/reset-password-mfa-email-challenge';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n ResetPasswordMfaEmailChallengeMembers,\n ContinueOptions,\n ResendCodeOptions,\n TryAnotherMethodOptions,\n} from '@auth0/auth0-acul-js/reset-password-mfa-email-challenge';\n\n// Register the singleton instance of ResetPasswordMfaEmailChallenge\nconst instance = registerScreen<ResetPasswordMfaEmailChallengeMembers>(\n ResetPasswordMfaEmailChallenge\n)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<ResetPasswordMfaEmailChallengeMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const continueMethod = (payload: ContinueOptions) => withError(instance.continue(payload));\nexport const resendCode = (payload?: ResendCodeOptions) => withError(instance.resendCode(payload));\nexport const tryAnotherMethod = (payload?: TryAnotherMethodOptions) =>\n withError(instance.tryAnotherMethod(payload));\n\n// Utility Hooks\nexport { useResend } from '../hooks/utility/resend-manager';\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';\n\n// Main instance hook. Returns singleton instance of ResetPasswordMfaEmailChallenge\nexport const useResetPasswordMfaEmailChallenge = (): ResetPasswordMfaEmailChallengeMembers =>\n useMemo(() => instance, []);\n"],"names":["instance","registerScreen","ResetPasswordMfaEmailChallenge","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","continueMethod","payload","continue","resendCode","tryAnotherMethod","useResetPasswordMfaEmailChallenge","useMemo"],"mappings":"4fAeA,MAAMA,EAAWC,EACfC,IAIIC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAoDN,IAC3DO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAkBC,GAA6Bd,EAAUH,EAASkB,SAASD,IAC3EE,EAAcF,GAAgCd,EAAUH,EAASmB,WAAWF,IAC5EG,EAAoBH,GAC/Bd,EAAUH,EAASoB,iBAAiBH,IASzBI,EAAoC,IAC/CC,EAAQ,IAAMtB,EAAU"}
1
+ {"version":3,"file":"reset-password-mfa-email-challenge.js","sources":["../../src/screens/reset-password-mfa-email-challenge.tsx"],"sourcesContent":["import ResetPasswordMfaEmailChallenge from '@auth0/auth0-acul-js/reset-password-mfa-email-challenge';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n ResetPasswordMfaEmailChallengeMembers,\n ContinueOptions,\n ResendCodeOptions,\n TryAnotherMethodOptions,\n} from '@auth0/auth0-acul-js/reset-password-mfa-email-challenge';\n\n// Register the singleton instance of ResetPasswordMfaEmailChallenge\nconst instance = registerScreen<ResetPasswordMfaEmailChallengeMembers>(\n ResetPasswordMfaEmailChallenge\n)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<ResetPasswordMfaEmailChallengeMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const continueMethod = (payload: ContinueOptions) => withError(instance.continue(payload));\nexport const resendCode = (payload?: ResendCodeOptions) => withError(instance.resendCode(payload));\nexport const tryAnotherMethod = (payload?: TryAnotherMethodOptions) =>\n withError(instance.tryAnotherMethod(payload));\n\n// Utility Hooks\nexport { useResend } from '../hooks/utility/resend-manager';\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes, useChangeLanguage } from '../hooks';\n\n// Main instance hook. Returns singleton instance of ResetPasswordMfaEmailChallenge\nexport const useResetPasswordMfaEmailChallenge = (): ResetPasswordMfaEmailChallengeMembers =>\n useMemo(() => instance, []);\n"],"names":["instance","registerScreen","ResetPasswordMfaEmailChallenge","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","continueMethod","payload","continue","resendCode","tryAnotherMethod","useResetPasswordMfaEmailChallenge","useMemo"],"mappings":"8jBAeA,MAAMA,EAAWC,EACfC,IAIIC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAoDN,IAC3DO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAkBC,GAA6Bd,EAAUH,EAASkB,SAASD,IAC3EE,EAAcF,GAAgCd,EAAUH,EAASmB,WAAWF,IAC5EG,EAAoBH,GAC/Bd,EAAUH,EAASoB,iBAAiBH,IASzBI,EAAoC,IAC/CC,EAAQ,IAAMtB,EAAU"}
@@ -2,5 +2,5 @@ import type { ResetPasswordMfaOtpChallengeMembers, ContinueOptions, TryAnotherMe
2
2
  export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers, useTenant: () => import("@auth0/auth0-acul-js").TenantMembers, useBranding: () => import("@auth0/auth0-acul-js").BrandingMembers, useClient: () => import("@auth0/auth0-acul-js").ClientMembers, useOrganization: () => import("@auth0/auth0-acul-js").OrganizationMembers, usePrompt: () => import("@auth0/auth0-acul-js").PromptMembers, useScreen: () => import("@auth0/auth0-acul-js").ScreenMembers, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
3
3
  export declare const continueMethod: (payload: ContinueOptions) => void | Promise<void>;
4
4
  export declare const tryAnotherMethod: (payload?: TryAnotherMethodOptions) => void | Promise<void>;
5
- export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
5
+ export { useCurrentScreen, useErrors, useAuth0Themes, useChangeLanguage } from '../hooks';
6
6
  export declare const useResetPasswordMfaOtpChallenge: () => ResetPasswordMfaOtpChallengeMembers;
@@ -1,2 +1,2 @@
1
- import o from"@auth0/auth0-acul-js/reset-password-mfa-otp-challenge";import{useMemo as e}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";const n=t(o),{withError:m}=r,u=new s(n),{useUser:a,useTenant:c,useBranding:h,useClient:i,useOrganization:p,usePrompt:f,useScreen:j,useTransaction:x,useUntrustedData:d}=u,k=o=>m(n.continue(o)),l=o=>m(n.tryAnotherMethod(o)),g=()=>e(()=>n,[]);export{k as continueMethod,l as tryAnotherMethod,h as useBranding,i as useClient,p as useOrganization,f as usePrompt,g as useResetPasswordMfaOtpChallenge,j as useScreen,c as useTenant,x as useTransaction,d as useUntrustedData,a as useUser};
1
+ import o from"@auth0/auth0-acul-js/reset-password-mfa-otp-challenge";import{useMemo as e}from"react";export{useAuth0Themes}from"../hooks/common/auth0-themes.js";export{useChangeLanguage}from"../hooks/common/change-language.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";const n=t(o),{withError:m}=r,a=new s(n),{useUser:u,useTenant:c,useBranding:h,useClient:i,useOrganization:p,usePrompt:f,useScreen:g,useTransaction:j,useUntrustedData:x}=a,k=o=>m(n.continue(o)),d=o=>m(n.tryAnotherMethod(o)),l=()=>e(()=>n,[]);export{k as continueMethod,d as tryAnotherMethod,h as useBranding,i as useClient,p as useOrganization,f as usePrompt,l as useResetPasswordMfaOtpChallenge,g as useScreen,c as useTenant,j as useTransaction,x as useUntrustedData,u as useUser};
2
2
  //# sourceMappingURL=reset-password-mfa-otp-challenge.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"reset-password-mfa-otp-challenge.js","sources":["../../src/screens/reset-password-mfa-otp-challenge.tsx"],"sourcesContent":["import ResetPasswordMfaOtpChallenge from '@auth0/auth0-acul-js/reset-password-mfa-otp-challenge';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n ResetPasswordMfaOtpChallengeMembers,\n ContinueOptions,\n TryAnotherMethodOptions,\n} from '@auth0/auth0-acul-js/reset-password-mfa-otp-challenge';\n\n// Register the singleton instance of ResetPasswordMfaOtpChallenge\nconst instance = registerScreen<ResetPasswordMfaOtpChallengeMembers>(ResetPasswordMfaOtpChallenge)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<ResetPasswordMfaOtpChallengeMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const continueMethod = (payload: ContinueOptions) => withError(instance.continue(payload));\nexport const tryAnotherMethod = (payload?: TryAnotherMethodOptions) =>\n withError(instance.tryAnotherMethod(payload));\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';\n\n// Main instance hook. Returns singleton instance of ResetPasswordMfaOtpChallenge\nexport const useResetPasswordMfaOtpChallenge = (): ResetPasswordMfaOtpChallengeMembers =>\n useMemo(() => instance, []);\n"],"names":["instance","registerScreen","ResetPasswordMfaOtpChallenge","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","continueMethod","payload","continue","tryAnotherMethod","useResetPasswordMfaOtpChallenge","useMemo"],"mappings":"gcAcA,MAAMA,EAAWC,EAAoDC,IAG/DC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAkDN,IACzDO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAkBC,GAA6Bd,EAAUH,EAASkB,SAASD,IAC3EE,EAAoBF,GAC/Bd,EAAUH,EAASmB,iBAAiBF,IAMzBG,EAAkC,IAC7CC,EAAQ,IAAMrB,EAAU"}
1
+ {"version":3,"file":"reset-password-mfa-otp-challenge.js","sources":["../../src/screens/reset-password-mfa-otp-challenge.tsx"],"sourcesContent":["import ResetPasswordMfaOtpChallenge from '@auth0/auth0-acul-js/reset-password-mfa-otp-challenge';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n ResetPasswordMfaOtpChallengeMembers,\n ContinueOptions,\n TryAnotherMethodOptions,\n} from '@auth0/auth0-acul-js/reset-password-mfa-otp-challenge';\n\n// Register the singleton instance of ResetPasswordMfaOtpChallenge\nconst instance = registerScreen<ResetPasswordMfaOtpChallengeMembers>(ResetPasswordMfaOtpChallenge)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<ResetPasswordMfaOtpChallengeMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const continueMethod = (payload: ContinueOptions) => withError(instance.continue(payload));\nexport const tryAnotherMethod = (payload?: TryAnotherMethodOptions) =>\n withError(instance.tryAnotherMethod(payload));\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes, useChangeLanguage } from '../hooks';\n\n// Main instance hook. Returns singleton instance of ResetPasswordMfaOtpChallenge\nexport const useResetPasswordMfaOtpChallenge = (): ResetPasswordMfaOtpChallengeMembers =>\n useMemo(() => instance, []);\n"],"names":["instance","registerScreen","ResetPasswordMfaOtpChallenge","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","continueMethod","payload","continue","tryAnotherMethod","useResetPasswordMfaOtpChallenge","useMemo"],"mappings":"kgBAcA,MAAMA,EAAWC,EAAoDC,IAG/DC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAkDN,IACzDO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAkBC,GAA6Bd,EAAUH,EAASkB,SAASD,IAC3EE,EAAoBF,GAC/Bd,EAAUH,EAASmB,iBAAiBF,IAMzBG,EAAkC,IAC7CC,EAAQ,IAAMrB,EAAU"}
@@ -2,5 +2,5 @@ import type { ResetPasswordMfaPhoneChallengeMembers, ContinueOptions, TryAnother
2
2
  export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers, useTenant: () => import("@auth0/auth0-acul-js").TenantMembers, useBranding: () => import("@auth0/auth0-acul-js").BrandingMembers, useClient: () => import("@auth0/auth0-acul-js").ClientMembers, useOrganization: () => import("@auth0/auth0-acul-js").OrganizationMembers, usePrompt: () => import("@auth0/auth0-acul-js").PromptMembers, useScreen: () => import("@auth0/auth0-acul-js").ScreenMembersOnResetPasswordMfaPhoneChallenge, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
3
3
  export declare const continueMethod: (payload: ContinueOptions) => void | Promise<void>;
4
4
  export declare const tryAnotherMethod: (payload: TryAnotherMethodOptions) => void | Promise<void>;
5
- export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
5
+ export { useCurrentScreen, useErrors, useAuth0Themes, useChangeLanguage } from '../hooks';
6
6
  export declare const useResetPasswordMfaPhoneChallenge: () => ResetPasswordMfaPhoneChallengeMembers;
@@ -1,2 +1,2 @@
1
- import o from"@auth0/auth0-acul-js/reset-password-mfa-phone-challenge";import{useMemo as e}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";const n=t(o),{withError:m}=r,u=new s(n),{useUser:a,useTenant:c,useBranding:h,useClient:i,useOrganization:p,usePrompt:f,useScreen:j,useTransaction:x,useUntrustedData:d}=u,k=o=>m(n.continue(o)),l=o=>m(n.tryAnotherMethod(o)),g=()=>e(()=>n,[]);export{k as continueMethod,l as tryAnotherMethod,h as useBranding,i as useClient,p as useOrganization,f as usePrompt,g as useResetPasswordMfaPhoneChallenge,j as useScreen,c as useTenant,x as useTransaction,d as useUntrustedData,a as useUser};
1
+ import o from"@auth0/auth0-acul-js/reset-password-mfa-phone-challenge";import{useMemo as e}from"react";export{useAuth0Themes}from"../hooks/common/auth0-themes.js";export{useChangeLanguage}from"../hooks/common/change-language.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";const n=t(o),{withError:m}=r,a=new s(n),{useUser:u,useTenant:h,useBranding:c,useClient:i,useOrganization:p,usePrompt:f,useScreen:g,useTransaction:j,useUntrustedData:x}=a,k=o=>m(n.continue(o)),d=o=>m(n.tryAnotherMethod(o)),l=()=>e(()=>n,[]);export{k as continueMethod,d as tryAnotherMethod,c as useBranding,i as useClient,p as useOrganization,f as usePrompt,l as useResetPasswordMfaPhoneChallenge,g as useScreen,h as useTenant,j as useTransaction,x as useUntrustedData,u as useUser};
2
2
  //# sourceMappingURL=reset-password-mfa-phone-challenge.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"reset-password-mfa-phone-challenge.js","sources":["../../src/screens/reset-password-mfa-phone-challenge.tsx"],"sourcesContent":["import ResetPasswordMfaPhoneChallenge from '@auth0/auth0-acul-js/reset-password-mfa-phone-challenge';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n ResetPasswordMfaPhoneChallengeMembers,\n ContinueOptions,\n TryAnotherMethodOptions,\n} from '@auth0/auth0-acul-js/reset-password-mfa-phone-challenge';\n\n// Register the singleton instance of ResetPasswordMfaPhoneChallenge\nconst instance = registerScreen<ResetPasswordMfaPhoneChallengeMembers>(\n ResetPasswordMfaPhoneChallenge\n)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<ResetPasswordMfaPhoneChallengeMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const continueMethod = (payload: ContinueOptions) => withError(instance.continue(payload));\nexport const tryAnotherMethod = (payload: TryAnotherMethodOptions) =>\n withError(instance.tryAnotherMethod(payload));\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';\n\n// Main instance hook. Returns singleton instance of ResetPasswordMfaPhoneChallenge\nexport const useResetPasswordMfaPhoneChallenge = (): ResetPasswordMfaPhoneChallengeMembers =>\n useMemo(() => instance, []);\n"],"names":["instance","registerScreen","ResetPasswordMfaPhoneChallenge","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","continueMethod","payload","continue","tryAnotherMethod","useResetPasswordMfaPhoneChallenge","useMemo"],"mappings":"kcAcA,MAAMA,EAAWC,EACfC,IAIIC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAoDN,IAC3DO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAkBC,GAA6Bd,EAAUH,EAASkB,SAASD,IAC3EE,EAAoBF,GAC/Bd,EAAUH,EAASmB,iBAAiBF,IAMzBG,EAAoC,IAC/CC,EAAQ,IAAMrB,EAAU"}
1
+ {"version":3,"file":"reset-password-mfa-phone-challenge.js","sources":["../../src/screens/reset-password-mfa-phone-challenge.tsx"],"sourcesContent":["import ResetPasswordMfaPhoneChallenge from '@auth0/auth0-acul-js/reset-password-mfa-phone-challenge';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n ResetPasswordMfaPhoneChallengeMembers,\n ContinueOptions,\n TryAnotherMethodOptions,\n} from '@auth0/auth0-acul-js/reset-password-mfa-phone-challenge';\n\n// Register the singleton instance of ResetPasswordMfaPhoneChallenge\nconst instance = registerScreen<ResetPasswordMfaPhoneChallengeMembers>(\n ResetPasswordMfaPhoneChallenge\n)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<ResetPasswordMfaPhoneChallengeMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const continueMethod = (payload: ContinueOptions) => withError(instance.continue(payload));\nexport const tryAnotherMethod = (payload: TryAnotherMethodOptions) =>\n withError(instance.tryAnotherMethod(payload));\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes, useChangeLanguage } from '../hooks';\n\n// Main instance hook. Returns singleton instance of ResetPasswordMfaPhoneChallenge\nexport const useResetPasswordMfaPhoneChallenge = (): ResetPasswordMfaPhoneChallengeMembers =>\n useMemo(() => instance, []);\n"],"names":["instance","registerScreen","ResetPasswordMfaPhoneChallenge","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","continueMethod","payload","continue","tryAnotherMethod","useResetPasswordMfaPhoneChallenge","useMemo"],"mappings":"ogBAcA,MAAMA,EAAWC,EACfC,IAIIC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAoDN,IAC3DO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAkBC,GAA6Bd,EAAUH,EAASkB,SAASD,IAC3EE,EAAoBF,GAC/Bd,EAAUH,EAASmB,iBAAiBF,IAMzBG,EAAoC,IAC/CC,EAAQ,IAAMrB,EAAU"}
@@ -5,5 +5,5 @@ export declare const resendPushNotification: (payload?: CustomOptions) => void |
5
5
  export declare const enterCodeManually: (payload?: CustomOptions) => void | Promise<void>;
6
6
  export declare const tryAnotherMethod: (payload?: CustomOptions) => void | Promise<void>;
7
7
  export { useMfaPolling } from '../hooks/utility/polling-manager';
8
- export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
8
+ export { useCurrentScreen, useErrors, useAuth0Themes, useChangeLanguage } from '../hooks';
9
9
  export declare const useResetPasswordMfaPushChallengePush: () => ResetPasswordMfaPushChallengePushMembers;
@@ -1,2 +1,2 @@
1
- import o from"@auth0/auth0-acul-js/reset-password-mfa-push-challenge-push";import{useMemo as e}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{useMfaPolling}from"../hooks/utility/polling-manager.js";const n=t(o),{withError:m}=r,u=new s(n),{useUser:a,useTenant:i,useBranding:h,useClient:c,useOrganization:p,usePrompt:f,useScreen:l,useTransaction:j,useUntrustedData:d}=u,x=o=>m(n.continue(o)),g=o=>m(n.resendPushNotification(o)),k=o=>m(n.enterCodeManually(o)),w=o=>m(n.tryAnotherMethod(o)),y=()=>e(()=>n,[]);export{x as continueMethod,k as enterCodeManually,g as resendPushNotification,w as tryAnotherMethod,h as useBranding,c as useClient,p as useOrganization,f as usePrompt,y as useResetPasswordMfaPushChallengePush,l as useScreen,i as useTenant,j as useTransaction,d as useUntrustedData,a as useUser};
1
+ import o from"@auth0/auth0-acul-js/reset-password-mfa-push-challenge-push";import{useMemo as e}from"react";export{useAuth0Themes}from"../hooks/common/auth0-themes.js";export{useChangeLanguage}from"../hooks/common/change-language.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{useMfaPolling}from"../hooks/utility/polling-manager.js";const n=t(o),{withError:a}=r,m=new s(n),{useUser:u,useTenant:h,useBranding:i,useClient:c,useOrganization:p,usePrompt:f,useScreen:g,useTransaction:l,useUntrustedData:j}=m,x=o=>a(n.continue(o)),d=o=>a(n.resendPushNotification(o)),k=o=>a(n.enterCodeManually(o)),C=o=>a(n.tryAnotherMethod(o)),w=()=>e(()=>n,[]);export{x as continueMethod,k as enterCodeManually,d as resendPushNotification,C as tryAnotherMethod,i as useBranding,c as useClient,p as useOrganization,f as usePrompt,w as useResetPasswordMfaPushChallengePush,g as useScreen,h as useTenant,l as useTransaction,j as useUntrustedData,u as useUser};
2
2
  //# sourceMappingURL=reset-password-mfa-push-challenge-push.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"reset-password-mfa-push-challenge-push.js","sources":["../../src/screens/reset-password-mfa-push-challenge-push.tsx"],"sourcesContent":["import ResetPasswordMfaPushChallengePush from '@auth0/auth0-acul-js/reset-password-mfa-push-challenge-push';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n ResetPasswordMfaPushChallengePushMembers,\n CustomOptions,\n} from '@auth0/auth0-acul-js/reset-password-mfa-push-challenge-push';\n\n// Register the singleton instance of ResetPasswordMfaPushChallengePush\nconst instance = registerScreen<ResetPasswordMfaPushChallengePushMembers>(\n ResetPasswordMfaPushChallengePush\n)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<ResetPasswordMfaPushChallengePushMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const continueMethod = (payload?: CustomOptions) => withError(instance.continue(payload));\nexport const resendPushNotification = (payload?: CustomOptions) =>\n withError(instance.resendPushNotification(payload));\nexport const enterCodeManually = (payload?: CustomOptions) =>\n withError(instance.enterCodeManually(payload));\nexport const tryAnotherMethod = (payload?: CustomOptions) =>\n withError(instance.tryAnotherMethod(payload));\n\n// Utility Hooks\nexport { useMfaPolling } from '../hooks/utility/polling-manager';\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';\n\n// Main instance hook. Returns singleton instance of ResetPasswordMfaPushChallengePush\nexport const useResetPasswordMfaPushChallengePush = (): ResetPasswordMfaPushChallengePushMembers =>\n useMemo(() => instance, []);\n"],"names":["instance","registerScreen","ResetPasswordMfaPushChallengePush","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","continueMethod","payload","continue","resendPushNotification","enterCodeManually","tryAnotherMethod","useResetPasswordMfaPushChallengePush","useMemo"],"mappings":"qgBAaA,MAAMA,EAAWC,EACfC,IAIIC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAuDN,IAC9DO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAkBC,GAA4Bd,EAAUH,EAASkB,SAASD,IAC1EE,EAA0BF,GACrCd,EAAUH,EAASmB,uBAAuBF,IAC/BG,EAAqBH,GAChCd,EAAUH,EAASoB,kBAAkBH,IAC1BI,EAAoBJ,GAC/Bd,EAAUH,EAASqB,iBAAiBJ,IASzBK,EAAuC,IAClDC,EAAQ,IAAMvB,EAAU"}
1
+ {"version":3,"file":"reset-password-mfa-push-challenge-push.js","sources":["../../src/screens/reset-password-mfa-push-challenge-push.tsx"],"sourcesContent":["import ResetPasswordMfaPushChallengePush from '@auth0/auth0-acul-js/reset-password-mfa-push-challenge-push';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n ResetPasswordMfaPushChallengePushMembers,\n CustomOptions,\n} from '@auth0/auth0-acul-js/reset-password-mfa-push-challenge-push';\n\n// Register the singleton instance of ResetPasswordMfaPushChallengePush\nconst instance = registerScreen<ResetPasswordMfaPushChallengePushMembers>(\n ResetPasswordMfaPushChallengePush\n)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<ResetPasswordMfaPushChallengePushMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const continueMethod = (payload?: CustomOptions) => withError(instance.continue(payload));\nexport const resendPushNotification = (payload?: CustomOptions) =>\n withError(instance.resendPushNotification(payload));\nexport const enterCodeManually = (payload?: CustomOptions) =>\n withError(instance.enterCodeManually(payload));\nexport const tryAnotherMethod = (payload?: CustomOptions) =>\n withError(instance.tryAnotherMethod(payload));\n\n// Utility Hooks\nexport { useMfaPolling } from '../hooks/utility/polling-manager';\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes, useChangeLanguage } from '../hooks';\n\n// Main instance hook. Returns singleton instance of ResetPasswordMfaPushChallengePush\nexport const useResetPasswordMfaPushChallengePush = (): ResetPasswordMfaPushChallengePushMembers =>\n useMemo(() => instance, []);\n"],"names":["instance","registerScreen","ResetPasswordMfaPushChallengePush","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","continueMethod","payload","continue","resendPushNotification","enterCodeManually","tryAnotherMethod","useResetPasswordMfaPushChallengePush","useMemo"],"mappings":"ukBAaA,MAAMA,EAAWC,EACfC,IAIIC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAuDN,IAC9DO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAkBC,GAA4Bd,EAAUH,EAASkB,SAASD,IAC1EE,EAA0BF,GACrCd,EAAUH,EAASmB,uBAAuBF,IAC/BG,EAAqBH,GAChCd,EAAUH,EAASoB,kBAAkBH,IAC1BI,EAAoBJ,GAC/Bd,EAAUH,EAASqB,iBAAiBJ,IASzBK,EAAuC,IAClDC,EAAQ,IAAMvB,EAAU"}
@@ -2,5 +2,5 @@ import type { ResetPasswordMfaRecoveryCodeChallengeMembers, CustomOptions } from
2
2
  export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers, useTenant: () => import("@auth0/auth0-acul-js").TenantMembers, useBranding: () => import("@auth0/auth0-acul-js").BrandingMembers, useClient: () => import("@auth0/auth0-acul-js").ClientMembers, useOrganization: () => import("@auth0/auth0-acul-js").OrganizationMembers, usePrompt: () => import("@auth0/auth0-acul-js").PromptMembers, useScreen: () => import("@auth0/auth0-acul-js").ScreenMembers, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
3
3
  export declare const continueMethod: (code: string, payload?: CustomOptions) => void | Promise<void>;
4
4
  export declare const tryAnotherMethod: (payload?: CustomOptions) => void | Promise<void>;
5
- export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
5
+ export { useCurrentScreen, useErrors, useAuth0Themes, useChangeLanguage } from '../hooks';
6
6
  export declare const useResetPasswordMfaRecoveryCodeChallenge: () => ResetPasswordMfaRecoveryCodeChallengeMembers;
@@ -1,2 +1,2 @@
1
- import e from"@auth0/auth0-acul-js/reset-password-mfa-recovery-code-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";const n=t(e),{withError:m}=r,u=new s(n),{useUser:a,useTenant:c,useBranding:h,useClient:i,useOrganization:p,usePrompt:f,useScreen:j,useTransaction:d,useUntrustedData:x}=u,k=(e,o)=>m(n.continue(e,o)),l=e=>m(n.tryAnotherMethod(e)),g=()=>o(()=>n,[]);export{k as continueMethod,l as tryAnotherMethod,h as useBranding,i as useClient,p as useOrganization,f as usePrompt,g as useResetPasswordMfaRecoveryCodeChallenge,j as useScreen,c as useTenant,d as useTransaction,x as useUntrustedData,a as useUser};
1
+ import e from"@auth0/auth0-acul-js/reset-password-mfa-recovery-code-challenge";import{useMemo as o}from"react";export{useAuth0Themes}from"../hooks/common/auth0-themes.js";export{useChangeLanguage}from"../hooks/common/change-language.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";const n=t(e),{withError:m}=r,a=new s(n),{useUser:u,useTenant:c,useBranding:h,useClient:i,useOrganization:p,usePrompt:f,useScreen:g,useTransaction:j,useUntrustedData:x}=a,d=(e,o)=>m(n.continue(e,o)),k=e=>m(n.tryAnotherMethod(e)),l=()=>o(()=>n,[]);export{d as continueMethod,k as tryAnotherMethod,h as useBranding,i as useClient,p as useOrganization,f as usePrompt,l as useResetPasswordMfaRecoveryCodeChallenge,g as useScreen,c as useTenant,j as useTransaction,x as useUntrustedData,u as useUser};
2
2
  //# sourceMappingURL=reset-password-mfa-recovery-code-challenge.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"reset-password-mfa-recovery-code-challenge.js","sources":["../../src/screens/reset-password-mfa-recovery-code-challenge.tsx"],"sourcesContent":["import ResetPasswordMfaRecoveryCodeChallenge from '@auth0/auth0-acul-js/reset-password-mfa-recovery-code-challenge';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n ResetPasswordMfaRecoveryCodeChallengeMembers,\n CustomOptions,\n} from '@auth0/auth0-acul-js/reset-password-mfa-recovery-code-challenge';\n\n// Register the singleton instance of ResetPasswordMfaRecoveryCodeChallenge\nconst instance = registerScreen<ResetPasswordMfaRecoveryCodeChallengeMembers>(\n ResetPasswordMfaRecoveryCodeChallenge\n)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<ResetPasswordMfaRecoveryCodeChallengeMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const continueMethod = (code: string, payload?: CustomOptions) =>\n withError(instance.continue(code, payload));\nexport const tryAnotherMethod = (payload?: CustomOptions) =>\n withError(instance.tryAnotherMethod(payload));\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';\n\n// Main instance hook. Returns singleton instance of ResetPasswordMfaRecoveryCodeChallenge\nexport const useResetPasswordMfaRecoveryCodeChallenge =\n (): ResetPasswordMfaRecoveryCodeChallengeMembers => useMemo(() => instance, []);\n"],"names":["instance","registerScreen","ResetPasswordMfaRecoveryCodeChallenge","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","continueMethod","code","payload","continue","tryAnotherMethod","useResetPasswordMfaRecoveryCodeChallenge","useMemo"],"mappings":"0cAaA,MAAMA,EAAWC,EACfC,IAIIC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAA2DN,IAClEO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAiB,CAACC,EAAcC,IAC3Cf,EAAUH,EAASmB,SAASF,EAAMC,IACvBE,EAAoBF,GAC/Bf,EAAUH,EAASoB,iBAAiBF,IAMzBG,EACX,IAAoDC,EAAQ,IAAMtB,EAAU"}
1
+ {"version":3,"file":"reset-password-mfa-recovery-code-challenge.js","sources":["../../src/screens/reset-password-mfa-recovery-code-challenge.tsx"],"sourcesContent":["import ResetPasswordMfaRecoveryCodeChallenge from '@auth0/auth0-acul-js/reset-password-mfa-recovery-code-challenge';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n ResetPasswordMfaRecoveryCodeChallengeMembers,\n CustomOptions,\n} from '@auth0/auth0-acul-js/reset-password-mfa-recovery-code-challenge';\n\n// Register the singleton instance of ResetPasswordMfaRecoveryCodeChallenge\nconst instance = registerScreen<ResetPasswordMfaRecoveryCodeChallengeMembers>(\n ResetPasswordMfaRecoveryCodeChallenge\n)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<ResetPasswordMfaRecoveryCodeChallengeMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const continueMethod = (code: string, payload?: CustomOptions) =>\n withError(instance.continue(code, payload));\nexport const tryAnotherMethod = (payload?: CustomOptions) =>\n withError(instance.tryAnotherMethod(payload));\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes, useChangeLanguage } from '../hooks';\n\n// Main instance hook. Returns singleton instance of ResetPasswordMfaRecoveryCodeChallenge\nexport const useResetPasswordMfaRecoveryCodeChallenge =\n (): ResetPasswordMfaRecoveryCodeChallengeMembers => useMemo(() => instance, []);\n"],"names":["instance","registerScreen","ResetPasswordMfaRecoveryCodeChallenge","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","continueMethod","code","payload","continue","tryAnotherMethod","useResetPasswordMfaRecoveryCodeChallenge","useMemo"],"mappings":"4gBAaA,MAAMA,EAAWC,EACfC,IAIIC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAA2DN,IAClEO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAiB,CAACC,EAAcC,IAC3Cf,EAAUH,EAASmB,SAASF,EAAMC,IACvBE,EAAoBF,GAC/Bf,EAAUH,EAASoB,iBAAiBF,IAMzBG,EACX,IAAoDC,EAAQ,IAAMtB,EAAU"}
@@ -5,5 +5,5 @@ export declare const resendCode: (payload?: CustomOptions) => void | Promise<voi
5
5
  export declare const tryAnotherMethod: (payload?: CustomOptions) => void | Promise<void>;
6
6
  export declare const getACall: (payload?: CustomOptions) => void | Promise<void>;
7
7
  export { useResend } from '../hooks/utility/resend-manager';
8
- export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
8
+ export { useCurrentScreen, useErrors, useAuth0Themes, useChangeLanguage } from '../hooks';
9
9
  export declare const useResetPasswordMfaSmsChallenge: () => ResetPasswordMfaSmsChallengeMembers;
@@ -1,2 +1,2 @@
1
- import e from"@auth0/auth0-acul-js/reset-password-mfa-sms-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,a=new s(n),{useUser:u,useTenant:h,useBranding:c,useClient:i,useOrganization:p,usePrompt:f,useScreen:d,useTransaction:l,useUntrustedData:j}=a,x=e=>m(n.continueMfaSmsChallenge(e)),g=e=>m(n.resendCode(e)),k=e=>m(n.tryAnotherMethod(e)),C=e=>m(n.getACall(e)),w=()=>o(()=>n,[]);export{x as continueMfaSmsChallenge,C as getACall,g as resendCode,k as tryAnotherMethod,c as useBranding,i as useClient,p as useOrganization,f as usePrompt,w as useResetPasswordMfaSmsChallenge,d as useScreen,h as useTenant,l as useTransaction,j as useUntrustedData,u as useUser};
1
+ import e from"@auth0/auth0-acul-js/reset-password-mfa-sms-challenge";import{useMemo as o}from"react";export{useAuth0Themes}from"../hooks/common/auth0-themes.js";export{useChangeLanguage}from"../hooks/common/change-language.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,a=new s(n),{useUser:u,useTenant:h,useBranding:c,useClient:i,useOrganization:p,usePrompt:f,useScreen:g,useTransaction:l,useUntrustedData:d}=a,j=e=>m(n.continueMfaSmsChallenge(e)),x=e=>m(n.resendCode(e)),k=e=>m(n.tryAnotherMethod(e)),C=e=>m(n.getACall(e)),w=()=>o(()=>n,[]);export{j as continueMfaSmsChallenge,C as getACall,x as resendCode,k as tryAnotherMethod,c as useBranding,i as useClient,p as useOrganization,f as usePrompt,w as useResetPasswordMfaSmsChallenge,g as useScreen,h as useTenant,l as useTransaction,d as useUntrustedData,u as useUser};
2
2
  //# sourceMappingURL=reset-password-mfa-sms-challenge.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"reset-password-mfa-sms-challenge.js","sources":["../../src/screens/reset-password-mfa-sms-challenge.tsx"],"sourcesContent":["import ResetPasswordMfaSmsChallenge from '@auth0/auth0-acul-js/reset-password-mfa-sms-challenge';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n ResetPasswordMfaSmsChallengeMembers,\n MfaSmsChallengeOptions,\n CustomOptions,\n} from '@auth0/auth0-acul-js/reset-password-mfa-sms-challenge';\n\n// Register the singleton instance of ResetPasswordMfaSmsChallenge\nconst instance = registerScreen<ResetPasswordMfaSmsChallengeMembers>(ResetPasswordMfaSmsChallenge)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<ResetPasswordMfaSmsChallengeMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const continueMfaSmsChallenge = (payload: MfaSmsChallengeOptions) =>\n withError(instance.continueMfaSmsChallenge(payload));\nexport const resendCode = (payload?: CustomOptions) => withError(instance.resendCode(payload));\nexport const tryAnotherMethod = (payload?: CustomOptions) =>\n withError(instance.tryAnotherMethod(payload));\nexport const getACall = (payload?: CustomOptions) => withError(instance.getACall(payload));\n\n// Utility Hooks\nexport { useResend } from '../hooks/utility/resend-manager';\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';\n\n// Main instance hook. Returns singleton instance of ResetPasswordMfaSmsChallenge\nexport const useResetPasswordMfaSmsChallenge = (): ResetPasswordMfaSmsChallengeMembers =>\n useMemo(() => instance, []);\n"],"names":["instance","registerScreen","ResetPasswordMfaSmsChallenge","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","continueMfaSmsChallenge","payload","resendCode","tryAnotherMethod","getACall","useResetPasswordMfaSmsChallenge","useMemo"],"mappings":"0fAcA,MAAMA,EAAWC,EAAoDC,IAG/DC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAkDN,IACzDO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAA2BC,GACtCd,EAAUH,EAASgB,wBAAwBC,IAChCC,EAAcD,GAA4Bd,EAAUH,EAASkB,WAAWD,IACxEE,EAAoBF,GAC/Bd,EAAUH,EAASmB,iBAAiBF,IACzBG,EAAYH,GAA4Bd,EAAUH,EAASoB,SAASH,IASpEI,EAAkC,IAC7CC,EAAQ,IAAMtB,EAAU"}
1
+ {"version":3,"file":"reset-password-mfa-sms-challenge.js","sources":["../../src/screens/reset-password-mfa-sms-challenge.tsx"],"sourcesContent":["import ResetPasswordMfaSmsChallenge from '@auth0/auth0-acul-js/reset-password-mfa-sms-challenge';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n ResetPasswordMfaSmsChallengeMembers,\n MfaSmsChallengeOptions,\n CustomOptions,\n} from '@auth0/auth0-acul-js/reset-password-mfa-sms-challenge';\n\n// Register the singleton instance of ResetPasswordMfaSmsChallenge\nconst instance = registerScreen<ResetPasswordMfaSmsChallengeMembers>(ResetPasswordMfaSmsChallenge)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<ResetPasswordMfaSmsChallengeMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const continueMfaSmsChallenge = (payload: MfaSmsChallengeOptions) =>\n withError(instance.continueMfaSmsChallenge(payload));\nexport const resendCode = (payload?: CustomOptions) => withError(instance.resendCode(payload));\nexport const tryAnotherMethod = (payload?: CustomOptions) =>\n withError(instance.tryAnotherMethod(payload));\nexport const getACall = (payload?: CustomOptions) => withError(instance.getACall(payload));\n\n// Utility Hooks\nexport { useResend } from '../hooks/utility/resend-manager';\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes, useChangeLanguage } from '../hooks';\n\n// Main instance hook. Returns singleton instance of ResetPasswordMfaSmsChallenge\nexport const useResetPasswordMfaSmsChallenge = (): ResetPasswordMfaSmsChallengeMembers =>\n useMemo(() => instance, []);\n"],"names":["instance","registerScreen","ResetPasswordMfaSmsChallenge","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","continueMfaSmsChallenge","payload","resendCode","tryAnotherMethod","getACall","useResetPasswordMfaSmsChallenge","useMemo"],"mappings":"4jBAcA,MAAMA,EAAWC,EAAoDC,IAG/DC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAkDN,IACzDO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAA2BC,GACtCd,EAAUH,EAASgB,wBAAwBC,IAChCC,EAAcD,GAA4Bd,EAAUH,EAASkB,WAAWD,IACxEE,EAAoBF,GAC/Bd,EAAUH,EAASmB,iBAAiBF,IACzBG,EAAYH,GAA4Bd,EAAUH,EAASoB,SAASH,IASpEI,EAAkC,IAC7CC,EAAQ,IAAMtB,EAAU"}
@@ -5,5 +5,5 @@ export declare const switchToSms: (payload?: CustomOptions) => void | Promise<vo
5
5
  export declare const resendCode: (payload?: CustomOptions) => void | Promise<void>;
6
6
  export declare const tryAnotherMethod: (payload?: CustomOptions) => void | Promise<void>;
7
7
  export { useResend } from '../hooks/utility/resend-manager';
8
- export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
8
+ export { useCurrentScreen, useErrors, useAuth0Themes, useChangeLanguage } from '../hooks';
9
9
  export declare const useResetPasswordMfaVoiceChallenge: () => ResetPasswordMfaVoiceChallengeMembers;
@@ -1,2 +1,2 @@
1
- import e from"@auth0/auth0-acul-js/reset-password-mfa-voice-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:a,useTenant:c,useBranding:i,useClient:h,useOrganization:p,usePrompt:f,useScreen:d,useTransaction:j,useUntrustedData:x}=u,k=e=>m(n.continue(e)),l=e=>m(n.switchToSms(e)),g=e=>m(n.resendCode(e)),w=e=>m(n.tryAnotherMethod(e)),T=()=>o(()=>n,[]);export{k as continueMethod,g as resendCode,l as switchToSms,w as tryAnotherMethod,i as useBranding,h as useClient,p as useOrganization,f as usePrompt,T as useResetPasswordMfaVoiceChallenge,d as useScreen,c as useTenant,j as useTransaction,x as useUntrustedData,a as useUser};
1
+ import e from"@auth0/auth0-acul-js/reset-password-mfa-voice-challenge";import{useMemo as o}from"react";export{useAuth0Themes}from"../hooks/common/auth0-themes.js";export{useChangeLanguage}from"../hooks/common/change-language.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,a=new s(n),{useUser:u,useTenant:c,useBranding:h,useClient:i,useOrganization:p,usePrompt:f,useScreen:g,useTransaction:d,useUntrustedData:j}=a,x=e=>m(n.continue(e)),k=e=>m(n.switchToSms(e)),l=e=>m(n.resendCode(e)),w=e=>m(n.tryAnotherMethod(e)),C=()=>o(()=>n,[]);export{x as continueMethod,l as resendCode,k as switchToSms,w as tryAnotherMethod,h as useBranding,i as useClient,p as useOrganization,f as usePrompt,C as useResetPasswordMfaVoiceChallenge,g as useScreen,c as useTenant,d as useTransaction,j as useUntrustedData,u as useUser};
2
2
  //# sourceMappingURL=reset-password-mfa-voice-challenge.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"reset-password-mfa-voice-challenge.js","sources":["../../src/screens/reset-password-mfa-voice-challenge.tsx"],"sourcesContent":["import ResetPasswordMfaVoiceChallenge from '@auth0/auth0-acul-js/reset-password-mfa-voice-challenge';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n ResetPasswordMfaVoiceChallengeMembers,\n ContinueOptions,\n CustomOptions,\n} from '@auth0/auth0-acul-js/reset-password-mfa-voice-challenge';\n\n// Register the singleton instance of ResetPasswordMfaVoiceChallenge\nconst instance = registerScreen<ResetPasswordMfaVoiceChallengeMembers>(\n ResetPasswordMfaVoiceChallenge\n)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<ResetPasswordMfaVoiceChallengeMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const continueMethod = (payload: ContinueOptions) => withError(instance.continue(payload));\nexport const switchToSms = (payload?: CustomOptions) => withError(instance.switchToSms(payload));\nexport const resendCode = (payload?: CustomOptions) => withError(instance.resendCode(payload));\nexport const tryAnotherMethod = (payload?: CustomOptions) =>\n withError(instance.tryAnotherMethod(payload));\n\n// Utility Hooks\nexport { useResend } from '../hooks/utility/resend-manager';\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';\n\n// Main instance hook. Returns singleton instance of ResetPasswordMfaVoiceChallenge\nexport const useResetPasswordMfaVoiceChallenge = (): ResetPasswordMfaVoiceChallengeMembers =>\n useMemo(() => instance, []);\n"],"names":["instance","registerScreen","ResetPasswordMfaVoiceChallenge","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","continueMethod","payload","continue","switchToSms","resendCode","tryAnotherMethod","useResetPasswordMfaVoiceChallenge","useMemo"],"mappings":"4fAcA,MAAMA,EAAWC,EACfC,IAIIC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAoDN,IAC3DO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAkBC,GAA6Bd,EAAUH,EAASkB,SAASD,IAC3EE,EAAeF,GAA4Bd,EAAUH,EAASmB,YAAYF,IAC1EG,EAAcH,GAA4Bd,EAAUH,EAASoB,WAAWH,IACxEI,EAAoBJ,GAC/Bd,EAAUH,EAASqB,iBAAiBJ,IASzBK,EAAoC,IAC/CC,EAAQ,IAAMvB,EAAU"}
1
+ {"version":3,"file":"reset-password-mfa-voice-challenge.js","sources":["../../src/screens/reset-password-mfa-voice-challenge.tsx"],"sourcesContent":["import ResetPasswordMfaVoiceChallenge from '@auth0/auth0-acul-js/reset-password-mfa-voice-challenge';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n ResetPasswordMfaVoiceChallengeMembers,\n ContinueOptions,\n CustomOptions,\n} from '@auth0/auth0-acul-js/reset-password-mfa-voice-challenge';\n\n// Register the singleton instance of ResetPasswordMfaVoiceChallenge\nconst instance = registerScreen<ResetPasswordMfaVoiceChallengeMembers>(\n ResetPasswordMfaVoiceChallenge\n)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<ResetPasswordMfaVoiceChallengeMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const continueMethod = (payload: ContinueOptions) => withError(instance.continue(payload));\nexport const switchToSms = (payload?: CustomOptions) => withError(instance.switchToSms(payload));\nexport const resendCode = (payload?: CustomOptions) => withError(instance.resendCode(payload));\nexport const tryAnotherMethod = (payload?: CustomOptions) =>\n withError(instance.tryAnotherMethod(payload));\n\n// Utility Hooks\nexport { useResend } from '../hooks/utility/resend-manager';\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes, useChangeLanguage } from '../hooks';\n\n// Main instance hook. Returns singleton instance of ResetPasswordMfaVoiceChallenge\nexport const useResetPasswordMfaVoiceChallenge = (): ResetPasswordMfaVoiceChallengeMembers =>\n useMemo(() => instance, []);\n"],"names":["instance","registerScreen","ResetPasswordMfaVoiceChallenge","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","continueMethod","payload","continue","switchToSms","resendCode","tryAnotherMethod","useResetPasswordMfaVoiceChallenge","useMemo"],"mappings":"8jBAcA,MAAMA,EAAWC,EACfC,IAIIC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAoDN,IAC3DO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAkBC,GAA6Bd,EAAUH,EAASkB,SAASD,IAC3EE,EAAeF,GAA4Bd,EAAUH,EAASmB,YAAYF,IAC1EG,EAAcH,GAA4Bd,EAAUH,EAASoB,WAAWH,IACxEI,EAAoBJ,GAC/Bd,EAAUH,EAASqB,iBAAiBJ,IASzBK,EAAoC,IAC/CC,EAAQ,IAAMvB,EAAU"}
@@ -3,5 +3,5 @@ export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers,
3
3
  export declare const continueWithPasskey: (options?: ContinueWithPasskeyOptions) => void | Promise<void>;
4
4
  export declare const reportBrowserError: (options: ReportBrowserErrorOptions) => void | Promise<void>;
5
5
  export declare const tryAnotherMethod: (options?: TryAnotherMethodOptions) => void | Promise<void>;
6
- export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
6
+ export { useCurrentScreen, useErrors, useAuth0Themes, useChangeLanguage } from '../hooks';
7
7
  export declare const useResetPasswordMfaWebAuthnPlatformChallenge: () => ResetPasswordMfaWebAuthnPlatformChallengeMembers;
@@ -1,2 +1,2 @@
1
- import r from"@auth0/auth0-acul-js/reset-password-mfa-webauthn-platform-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 e}from"../hooks/common/errors.js";export{useErrors}from"../hooks/common/errors.js";import{ContextHooks as s}from"../hooks/context/index.js";import{registerScreen as t}from"../state/instance-store.js";const n=t(r),{withError:m}=e,u=new s(n),{useUser:a,useTenant:h,useBranding:c,useClient:i,useOrganization:p,usePrompt:f,useScreen:j,useTransaction:k,useUntrustedData:x}=u,d=r=>m(n.continueWithPasskey(r)),l=r=>m(n.reportBrowserError(r)),w=r=>m(n.tryAnotherMethod(r)),g=()=>o(()=>n,[]);export{d as continueWithPasskey,l as reportBrowserError,w as tryAnotherMethod,c as useBranding,i as useClient,p as useOrganization,f as usePrompt,g as useResetPasswordMfaWebAuthnPlatformChallenge,j as useScreen,h as useTenant,k as useTransaction,x as useUntrustedData,a as useUser};
1
+ import o from"@auth0/auth0-acul-js/reset-password-mfa-webauthn-platform-challenge";import{useMemo as e}from"react";export{useAuth0Themes}from"../hooks/common/auth0-themes.js";export{useChangeLanguage}from"../hooks/common/change-language.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";const n=t(o),{withError:m}=r,a=new s(n),{useUser:u,useTenant:h,useBranding:c,useClient:i,useOrganization:p,usePrompt:f,useScreen:g,useTransaction:j,useUntrustedData:k}=a,x=o=>m(n.continueWithPasskey(o)),l=o=>m(n.reportBrowserError(o)),d=o=>m(n.tryAnotherMethod(o)),w=()=>e(()=>n,[]);export{x as continueWithPasskey,l as reportBrowserError,d as tryAnotherMethod,c as useBranding,i as useClient,p as useOrganization,f as usePrompt,w as useResetPasswordMfaWebAuthnPlatformChallenge,g as useScreen,h as useTenant,j as useTransaction,k as useUntrustedData,u as useUser};
2
2
  //# sourceMappingURL=reset-password-mfa-webauthn-platform-challenge.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"reset-password-mfa-webauthn-platform-challenge.js","sources":["../../src/screens/reset-password-mfa-webauthn-platform-challenge.tsx"],"sourcesContent":["import ResetPasswordMfaWebAuthnPlatformChallenge from '@auth0/auth0-acul-js/reset-password-mfa-webauthn-platform-challenge';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n ResetPasswordMfaWebAuthnPlatformChallengeMembers,\n ContinueWithPasskeyOptions,\n ReportBrowserErrorOptions,\n TryAnotherMethodOptions,\n} from '@auth0/auth0-acul-js/reset-password-mfa-webauthn-platform-challenge';\n\n// Register the singleton instance of ResetPasswordMfaWebAuthnPlatformChallenge\nconst instance = registerScreen<ResetPasswordMfaWebAuthnPlatformChallengeMembers>(\n ResetPasswordMfaWebAuthnPlatformChallenge\n)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<ResetPasswordMfaWebAuthnPlatformChallengeMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const continueWithPasskey = (options?: ContinueWithPasskeyOptions) =>\n withError(instance.continueWithPasskey(options));\nexport const reportBrowserError = (options: ReportBrowserErrorOptions) =>\n withError(instance.reportBrowserError(options));\nexport const tryAnotherMethod = (options?: TryAnotherMethodOptions) =>\n withError(instance.tryAnotherMethod(options));\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';\n\n// Main instance hook. Returns singleton instance of ResetPasswordMfaWebAuthnPlatformChallenge\nexport const useResetPasswordMfaWebAuthnPlatformChallenge =\n (): ResetPasswordMfaWebAuthnPlatformChallengeMembers => useMemo(() => instance, []);\n"],"names":["instance","registerScreen","ResetPasswordMfaWebAuthnPlatformChallenge","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","continueWithPasskey","options","reportBrowserError","tryAnotherMethod","useResetPasswordMfaWebAuthnPlatformChallenge","useMemo"],"mappings":"8cAeA,MAAMA,EAAWC,EACfC,IAIIC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAA+DN,IACtEO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAuBC,GAClCd,EAAUH,EAASgB,oBAAoBC,IAC5BC,EAAsBD,GACjCd,EAAUH,EAASkB,mBAAmBD,IAC3BE,EAAoBF,GAC/Bd,EAAUH,EAASmB,iBAAiBF,IAMzBG,EACX,IAAwDC,EAAQ,IAAMrB,EAAU"}
1
+ {"version":3,"file":"reset-password-mfa-webauthn-platform-challenge.js","sources":["../../src/screens/reset-password-mfa-webauthn-platform-challenge.tsx"],"sourcesContent":["import ResetPasswordMfaWebAuthnPlatformChallenge from '@auth0/auth0-acul-js/reset-password-mfa-webauthn-platform-challenge';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n ResetPasswordMfaWebAuthnPlatformChallengeMembers,\n ContinueWithPasskeyOptions,\n ReportBrowserErrorOptions,\n TryAnotherMethodOptions,\n} from '@auth0/auth0-acul-js/reset-password-mfa-webauthn-platform-challenge';\n\n// Register the singleton instance of ResetPasswordMfaWebAuthnPlatformChallenge\nconst instance = registerScreen<ResetPasswordMfaWebAuthnPlatformChallengeMembers>(\n ResetPasswordMfaWebAuthnPlatformChallenge\n)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<ResetPasswordMfaWebAuthnPlatformChallengeMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const continueWithPasskey = (options?: ContinueWithPasskeyOptions) =>\n withError(instance.continueWithPasskey(options));\nexport const reportBrowserError = (options: ReportBrowserErrorOptions) =>\n withError(instance.reportBrowserError(options));\nexport const tryAnotherMethod = (options?: TryAnotherMethodOptions) =>\n withError(instance.tryAnotherMethod(options));\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes, useChangeLanguage } from '../hooks';\n\n// Main instance hook. Returns singleton instance of ResetPasswordMfaWebAuthnPlatformChallenge\nexport const useResetPasswordMfaWebAuthnPlatformChallenge =\n (): ResetPasswordMfaWebAuthnPlatformChallengeMembers => useMemo(() => instance, []);\n"],"names":["instance","registerScreen","ResetPasswordMfaWebAuthnPlatformChallenge","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","continueWithPasskey","options","reportBrowserError","tryAnotherMethod","useResetPasswordMfaWebAuthnPlatformChallenge","useMemo"],"mappings":"ghBAeA,MAAMA,EAAWC,EACfC,IAIIC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAA+DN,IACtEO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAuBC,GAClCd,EAAUH,EAASgB,oBAAoBC,IAC5BC,EAAsBD,GACjCd,EAAUH,EAASkB,mBAAmBD,IAC3BE,EAAoBF,GAC/Bd,EAAUH,EAASmB,iBAAiBF,IAMzBG,EACX,IAAwDC,EAAQ,IAAMrB,EAAU"}
@@ -3,5 +3,5 @@ export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers,
3
3
  export declare const useSecurityKey: (options?: UseSecurityKeyOptions) => void | Promise<void>;
4
4
  export declare const showError: (options: ShowErrorOptions) => void | Promise<void>;
5
5
  export declare const tryAnotherMethod: (options?: TryAnotherMethodOptions) => void | Promise<void>;
6
- export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
6
+ export { useCurrentScreen, useErrors, useAuth0Themes, useChangeLanguage } from '../hooks';
7
7
  export declare const useResetPasswordMfaWebAuthnRoamingChallenge: () => ResetPasswordMfaWebAuthnRoamingChallengeMembers;
@@ -1,2 +1,2 @@
1
- import r from"@auth0/auth0-acul-js/reset-password-mfa-webauthn-roaming-challenge";import{useMemo as e}from"react";export{useAuth0Themes}from"../hooks/common/auth0-themes.js";export{useCurrentScreen}from"../hooks/common/current-screen.js";import{errorManager as o}from"../hooks/common/errors.js";export{useErrors}from"../hooks/common/errors.js";import{ContextHooks as s}from"../hooks/context/index.js";import{registerScreen as t}from"../state/instance-store.js";const n=t(r),{withError:m}=o,u=new s(n),{useUser:a,useTenant:h,useBranding:c,useClient:i,useOrganization:p,usePrompt:f,useScreen:j,useTransaction:x,useUntrustedData:d}=u,k=r=>m(n.useSecurityKey(r)),w=r=>m(n.showError(r)),g=r=>m(n.tryAnotherMethod(r)),l=()=>e(()=>n,[]);export{w as showError,g as tryAnotherMethod,c as useBranding,i as useClient,p as useOrganization,f as usePrompt,l as useResetPasswordMfaWebAuthnRoamingChallenge,j as useScreen,k as useSecurityKey,h as useTenant,x as useTransaction,d as useUntrustedData,a as useUser};
1
+ import e from"@auth0/auth0-acul-js/reset-password-mfa-webauthn-roaming-challenge";import{useMemo as o}from"react";export{useAuth0Themes}from"../hooks/common/auth0-themes.js";export{useChangeLanguage}from"../hooks/common/change-language.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";const n=t(e),{withError:m}=r,a=new s(n),{useUser:u,useTenant:h,useBranding:c,useClient:i,useOrganization:p,usePrompt:f,useScreen:g,useTransaction:j,useUntrustedData:x}=a,k=e=>m(n.useSecurityKey(e)),d=e=>m(n.showError(e)),l=e=>m(n.tryAnotherMethod(e)),w=()=>o(()=>n,[]);export{d as showError,l as tryAnotherMethod,c as useBranding,i as useClient,p as useOrganization,f as usePrompt,w as useResetPasswordMfaWebAuthnRoamingChallenge,g as useScreen,k as useSecurityKey,h as useTenant,j as useTransaction,x as useUntrustedData,u as useUser};
2
2
  //# sourceMappingURL=reset-password-mfa-webauthn-roaming-challenge.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"reset-password-mfa-webauthn-roaming-challenge.js","sources":["../../src/screens/reset-password-mfa-webauthn-roaming-challenge.tsx"],"sourcesContent":["import ResetPasswordMfaWebAuthnRoamingChallenge from '@auth0/auth0-acul-js/reset-password-mfa-webauthn-roaming-challenge';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n ResetPasswordMfaWebAuthnRoamingChallengeMembers,\n UseSecurityKeyOptions,\n ShowErrorOptions,\n TryAnotherMethodOptions,\n} from '@auth0/auth0-acul-js/reset-password-mfa-webauthn-roaming-challenge';\n\n// Register the singleton instance of ResetPasswordMfaWebAuthnRoamingChallenge\nconst instance = registerScreen<ResetPasswordMfaWebAuthnRoamingChallengeMembers>(\n ResetPasswordMfaWebAuthnRoamingChallenge\n)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<ResetPasswordMfaWebAuthnRoamingChallengeMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const useSecurityKey = (options?: UseSecurityKeyOptions) =>\n withError(instance.useSecurityKey(options));\nexport const showError = (options: ShowErrorOptions) => withError(instance.showError(options));\nexport const tryAnotherMethod = (options?: TryAnotherMethodOptions) =>\n withError(instance.tryAnotherMethod(options));\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';\n\n// Main instance hook. Returns singleton instance of ResetPasswordMfaWebAuthnRoamingChallenge\nexport const useResetPasswordMfaWebAuthnRoamingChallenge =\n (): ResetPasswordMfaWebAuthnRoamingChallengeMembers => useMemo(() => instance, []);\n"],"names":["instance","registerScreen","ResetPasswordMfaWebAuthnRoamingChallenge","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","useSecurityKey","options","showError","tryAnotherMethod","useResetPasswordMfaWebAuthnRoamingChallenge","useMemo"],"mappings":"6cAeA,MAAMA,EAAWC,EACfC,IAIIC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAA8DN,IACrEO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAkBC,GAC7Bd,EAAUH,EAASgB,eAAeC,IACvBC,EAAaD,GAA8Bd,EAAUH,EAASkB,UAAUD,IACxEE,EAAoBF,GAC/Bd,EAAUH,EAASmB,iBAAiBF,IAMzBG,EACX,IAAuDC,EAAQ,IAAMrB,EAAU"}
1
+ {"version":3,"file":"reset-password-mfa-webauthn-roaming-challenge.js","sources":["../../src/screens/reset-password-mfa-webauthn-roaming-challenge.tsx"],"sourcesContent":["import ResetPasswordMfaWebAuthnRoamingChallenge from '@auth0/auth0-acul-js/reset-password-mfa-webauthn-roaming-challenge';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n ResetPasswordMfaWebAuthnRoamingChallengeMembers,\n UseSecurityKeyOptions,\n ShowErrorOptions,\n TryAnotherMethodOptions,\n} from '@auth0/auth0-acul-js/reset-password-mfa-webauthn-roaming-challenge';\n\n// Register the singleton instance of ResetPasswordMfaWebAuthnRoamingChallenge\nconst instance = registerScreen<ResetPasswordMfaWebAuthnRoamingChallengeMembers>(\n ResetPasswordMfaWebAuthnRoamingChallenge\n)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<ResetPasswordMfaWebAuthnRoamingChallengeMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const useSecurityKey = (options?: UseSecurityKeyOptions) =>\n withError(instance.useSecurityKey(options));\nexport const showError = (options: ShowErrorOptions) => withError(instance.showError(options));\nexport const tryAnotherMethod = (options?: TryAnotherMethodOptions) =>\n withError(instance.tryAnotherMethod(options));\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes, useChangeLanguage } from '../hooks';\n\n// Main instance hook. Returns singleton instance of ResetPasswordMfaWebAuthnRoamingChallenge\nexport const useResetPasswordMfaWebAuthnRoamingChallenge =\n (): ResetPasswordMfaWebAuthnRoamingChallengeMembers => useMemo(() => instance, []);\n"],"names":["instance","registerScreen","ResetPasswordMfaWebAuthnRoamingChallenge","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","useSecurityKey","options","showError","tryAnotherMethod","useResetPasswordMfaWebAuthnRoamingChallenge","useMemo"],"mappings":"+gBAeA,MAAMA,EAAWC,EACfC,IAIIC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAA8DN,IACrEO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAkBC,GAC7Bd,EAAUH,EAASgB,eAAeC,IACvBC,EAAaD,GAA8Bd,EAAUH,EAASkB,UAAUD,IACxEE,EAAoBF,GAC/Bd,EAAUH,EAASmB,iBAAiBF,IAMzBG,EACX,IAAuDC,EAAQ,IAAMrB,EAAU"}
@@ -3,5 +3,5 @@ export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers,
3
3
  export declare const resetPassword: (payload: ResetPasswordRequestOptions) => void | Promise<void>;
4
4
  export declare const backToLogin: (payload?: CustomOptions) => void | Promise<void>;
5
5
  export { useLoginIdentifiers } from '../hooks/utility/login-identifiers';
6
- export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
6
+ export { useCurrentScreen, useErrors, useAuth0Themes, useChangeLanguage } from '../hooks';
7
7
  export declare const useResetPasswordRequest: () => ResetPasswordRequestMembers;
@@ -1,2 +1,2 @@
1
- import o from"@auth0/auth0-acul-js/reset-password-request";import{useMemo as e}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";export{useLoginIdentifiers}from"../hooks/utility/login-identifiers.js";import{registerScreen as t}from"../state/instance-store.js";const n=t(o),{withError:m}=r,i=new s(n),{useUser:u,useTenant:a,useBranding:c,useClient:h,useOrganization:p,usePrompt:f,useScreen:j,useTransaction:d,useUntrustedData:k}=i,x=o=>m(n.resetPassword(o)),g=o=>m(n.backToLogin(o)),l=()=>e(()=>n,[]);export{g as backToLogin,x as resetPassword,c as useBranding,h as useClient,p as useOrganization,f as usePrompt,l as useResetPasswordRequest,j as useScreen,a as useTenant,d as useTransaction,k as useUntrustedData,u as useUser};
1
+ import o from"@auth0/auth0-acul-js/reset-password-request";import{useMemo as e}from"react";export{useAuth0Themes}from"../hooks/common/auth0-themes.js";export{useChangeLanguage}from"../hooks/common/change-language.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";export{useLoginIdentifiers}from"../hooks/utility/login-identifiers.js";import{registerScreen as t}from"../state/instance-store.js";const n=t(o),{withError:m}=r,u=new s(n),{useUser:a,useTenant:i,useBranding:c,useClient:h,useOrganization:p,usePrompt:f,useScreen:g,useTransaction:j,useUntrustedData:k}=u,x=o=>m(n.resetPassword(o)),d=o=>m(n.backToLogin(o)),l=()=>e(()=>n,[]);export{d as backToLogin,x as resetPassword,c as useBranding,h as useClient,p as useOrganization,f as usePrompt,l as useResetPasswordRequest,g as useScreen,i as useTenant,j as useTransaction,k as useUntrustedData,a as useUser};
2
2
  //# sourceMappingURL=reset-password-request.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"reset-password-request.js","sources":["../../src/screens/reset-password-request.tsx"],"sourcesContent":["import ResetPasswordRequest from '@auth0/auth0-acul-js/reset-password-request';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n ResetPasswordRequestMembers,\n ResetPasswordRequestOptions,\n CustomOptions,\n} from '@auth0/auth0-acul-js/reset-password-request';\n\n// Register the singleton instance of ResetPasswordRequest\nconst instance = registerScreen<ResetPasswordRequestMembers>(ResetPasswordRequest)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<ResetPasswordRequestMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const resetPassword = (payload: ResetPasswordRequestOptions) =>\n withError(instance.resetPassword(payload));\nexport const backToLogin = (payload?: CustomOptions) => withError(instance.backToLogin(payload));\n\n// Utility Hooks\nexport { useLoginIdentifiers } from '../hooks/utility/login-identifiers';\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';\n\n// Main instance hook. Returns singleton instance of ResetPasswordRequest\nexport const useResetPasswordRequest = (): ResetPasswordRequestMembers =>\n useMemo(() => instance, []);\n"],"names":["instance","registerScreen","ResetPasswordRequest","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","resetPassword","payload","backToLogin","useResetPasswordRequest","useMemo"],"mappings":"6fAcA,MAAMA,EAAWC,EAA4CC,IAGvDC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAA0CN,IACjDO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAiBC,GAC5Bd,EAAUH,EAASgB,cAAcC,IACtBC,EAAeD,GAA4Bd,EAAUH,EAASkB,YAAYD,IAS1EE,EAA0B,IACrCC,EAAQ,IAAMpB,EAAU"}
1
+ {"version":3,"file":"reset-password-request.js","sources":["../../src/screens/reset-password-request.tsx"],"sourcesContent":["import ResetPasswordRequest from '@auth0/auth0-acul-js/reset-password-request';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n ResetPasswordRequestMembers,\n ResetPasswordRequestOptions,\n CustomOptions,\n} from '@auth0/auth0-acul-js/reset-password-request';\n\n// Register the singleton instance of ResetPasswordRequest\nconst instance = registerScreen<ResetPasswordRequestMembers>(ResetPasswordRequest)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<ResetPasswordRequestMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const resetPassword = (payload: ResetPasswordRequestOptions) =>\n withError(instance.resetPassword(payload));\nexport const backToLogin = (payload?: CustomOptions) => withError(instance.backToLogin(payload));\n\n// Utility Hooks\nexport { useLoginIdentifiers } from '../hooks/utility/login-identifiers';\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes, useChangeLanguage } from '../hooks';\n\n// Main instance hook. Returns singleton instance of ResetPasswordRequest\nexport const useResetPasswordRequest = (): ResetPasswordRequestMembers =>\n useMemo(() => instance, []);\n"],"names":["instance","registerScreen","ResetPasswordRequest","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","resetPassword","payload","backToLogin","useResetPasswordRequest","useMemo"],"mappings":"+jBAcA,MAAMA,EAAWC,EAA4CC,IAGvDC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAA0CN,IACjDO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAiBC,GAC5Bd,EAAUH,EAASgB,cAAcC,IACtBC,EAAeD,GAA4Bd,EAAUH,EAASkB,YAAYD,IAS1EE,EAA0B,IACrCC,EAAQ,IAAMpB,EAAU"}
@@ -1,4 +1,4 @@
1
1
  import type { ResetPasswordSuccessMembers } from '@auth0/auth0-acul-js/reset-password-success';
2
2
  export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers, useTenant: () => import("@auth0/auth0-acul-js").TenantMembers, useBranding: () => import("@auth0/auth0-acul-js").BrandingMembers, useClient: () => import("@auth0/auth0-acul-js").ClientMembers, useOrganization: () => import("@auth0/auth0-acul-js").OrganizationMembers, usePrompt: () => import("@auth0/auth0-acul-js").PromptMembers, useScreen: () => import("@auth0/auth0-acul-js").ScreenMembersOnResetPasswordSuccess, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
3
- export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
3
+ export { useCurrentScreen, useErrors, useAuth0Themes, useChangeLanguage } from '../hooks';
4
4
  export declare const useResetPasswordSuccess: () => ResetPasswordSuccessMembers;
@@ -1,2 +1,2 @@
1
- import e from"@auth0/auth0-acul-js/reset-password-success";import{useMemo as s}from"react";export{useAuth0Themes}from"../hooks/common/auth0-themes.js";export{useCurrentScreen}from"../hooks/common/current-screen.js";export{useErrors}from"../hooks/common/errors.js";import{ContextHooks as o}from"../hooks/context/index.js";import{registerScreen as r}from"../state/instance-store.js";const t=r(e),n=new o(t),{useUser:u,useTenant:m,useBranding:a,useClient:c,useOrganization:i,usePrompt:h,useScreen:p,useTransaction:f,useUntrustedData:j}=n,x=()=>s(()=>t,[]);export{a as useBranding,c as useClient,i as useOrganization,h as usePrompt,x as useResetPasswordSuccess,p as useScreen,m as useTenant,f as useTransaction,j as useUntrustedData,u as useUser};
1
+ import e from"@auth0/auth0-acul-js/reset-password-success";import{useMemo as o}from"react";export{useAuth0Themes}from"../hooks/common/auth0-themes.js";export{useChangeLanguage}from"../hooks/common/change-language.js";export{useCurrentScreen}from"../hooks/common/current-screen.js";export{useErrors}from"../hooks/common/errors.js";import{ContextHooks as s}from"../hooks/context/index.js";import{registerScreen as r}from"../state/instance-store.js";const t=r(e),n=new s(t),{useUser:u,useTenant:m,useBranding:a,useClient:c,useOrganization:h,usePrompt:i,useScreen:p,useTransaction:f,useUntrustedData:g}=n,j=()=>o(()=>t,[]);export{a as useBranding,c as useClient,h as useOrganization,i as usePrompt,j as useResetPasswordSuccess,p as useScreen,m as useTenant,f as useTransaction,g as useUntrustedData,u as useUser};
2
2
  //# sourceMappingURL=reset-password-success.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"reset-password-success.js","sources":["../../src/screens/reset-password-success.tsx"],"sourcesContent":["import ResetPasswordSuccess from '@auth0/auth0-acul-js/reset-password-success';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type { ResetPasswordSuccessMembers } from '@auth0/auth0-acul-js/reset-password-success';\n\n// Register the singleton instance of ResetPasswordSuccess\nconst instance = registerScreen<ResetPasswordSuccessMembers>(ResetPasswordSuccess)!;\n\n// Context hooks\nconst factory = new ContextHooks<ResetPasswordSuccessMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';\n\n// Main instance hook. Returns singleton instance of ResetPasswordSuccess\nexport const useResetPasswordSuccess = (): ResetPasswordSuccessMembers =>\n useMemo(() => instance, []);\n"],"names":["instance","registerScreen","ResetPasswordSuccess","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","useResetPasswordSuccess","useMemo"],"mappings":"6XASA,MAAMA,EAAWC,EAA4CC,GAGvDC,EAAU,IAAIC,EAA0CJ,IACjDK,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAMSW,EAA0B,IACrCC,EAAQ,IAAMf,EAAU"}
1
+ {"version":3,"file":"reset-password-success.js","sources":["../../src/screens/reset-password-success.tsx"],"sourcesContent":["import ResetPasswordSuccess from '@auth0/auth0-acul-js/reset-password-success';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type { ResetPasswordSuccessMembers } from '@auth0/auth0-acul-js/reset-password-success';\n\n// Register the singleton instance of ResetPasswordSuccess\nconst instance = registerScreen<ResetPasswordSuccessMembers>(ResetPasswordSuccess)!;\n\n// Context hooks\nconst factory = new ContextHooks<ResetPasswordSuccessMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Common hooks\nexport { useCurrentScreen, useErrors, useAuth0Themes, useChangeLanguage } from '../hooks';\n\n// Main instance hook. Returns singleton instance of ResetPasswordSuccess\nexport const useResetPasswordSuccess = (): ResetPasswordSuccessMembers =>\n useMemo(() => instance, []);\n"],"names":["instance","registerScreen","ResetPasswordSuccess","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","useResetPasswordSuccess","useMemo"],"mappings":"+bASA,MAAMA,EAAWC,EAA4CC,GAGvDC,EAAU,IAAIC,EAA0CJ,IACjDK,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAMSW,EAA0B,IACrCC,EAAQ,IAAMf,EAAU"}
@@ -2,5 +2,5 @@ import type { ResetPasswordMembers, ResetPasswordOptions } from '@auth0/auth0-ac
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").ScreenMembersOnResetPassword, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembersOnResetPassword, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
3
3
  export declare const resetPassword: (payload: ResetPasswordOptions) => void | Promise<void>;
4
4
  export { usePasswordValidation } from '../hooks/utility/validate-password';
5
- export { useCurrentScreen, useErrors, useAuth0Themes } from '../hooks';
5
+ export { useCurrentScreen, useErrors, useAuth0Themes, useChangeLanguage } from '../hooks';
6
6
  export declare const useResetPassword: () => ResetPasswordMembers;
@@ -1,2 +1,2 @@
1
- import o from"@auth0/auth0-acul-js/reset-password";import{useMemo as r}from"react";export{useAuth0Themes}from"../hooks/common/auth0-themes.js";export{useCurrentScreen}from"../hooks/common/current-screen.js";import{errorManager as s}from"../hooks/common/errors.js";export{useErrors}from"../hooks/common/errors.js";import{ContextHooks as e}from"../hooks/context/index.js";import{registerScreen as t}from"../state/instance-store.js";export{usePasswordValidation}from"../hooks/utility/validate-password.js";const n=t(o),{withError:m}=s,a=new e(n),{useUser:u,useTenant:i,useBranding:c,useClient:h,useOrganization:p,usePrompt:d,useScreen:f,useTransaction:j,useUntrustedData:x}=a,k=o=>m(n.resetPassword(o)),w=()=>r(()=>n,[]);export{k as resetPassword,c as useBranding,h as useClient,p as useOrganization,d as usePrompt,w as useResetPassword,f as useScreen,i as useTenant,j as useTransaction,x as useUntrustedData,u as useUser};
1
+ import o from"@auth0/auth0-acul-js/reset-password";import{useMemo as e}from"react";export{useAuth0Themes}from"../hooks/common/auth0-themes.js";export{useChangeLanguage}from"../hooks/common/change-language.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{usePasswordValidation}from"../hooks/utility/validate-password.js";const n=t(o),{withError:a}=r,m=new s(n),{useUser:u,useTenant:i,useBranding:c,useClient:h,useOrganization:p,usePrompt:f,useScreen:d,useTransaction:j,useUntrustedData:g}=m,x=o=>a(n.resetPassword(o)),k=()=>e(()=>n,[]);export{x as resetPassword,c as useBranding,h as useClient,p as useOrganization,f as usePrompt,k as useResetPassword,d as useScreen,i as useTenant,j as useTransaction,g as useUntrustedData,u as useUser};
2
2
  //# sourceMappingURL=reset-password.js.map