@funkit/connect-rn 9.7.0 → 10.0.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 (483) hide show
  1. package/CHANGELOG.md +39 -0
  2. package/dist/{chunk-4P4VMXII.js → chunk-264ZLQVH.js} +2 -2
  3. package/dist/{chunk-B7O3LJWY.js → chunk-K2VB5PT5.js} +81 -17
  4. package/dist/chunk-K2VB5PT5.js.map +7 -0
  5. package/dist/{chunk-M53J24WI.js → chunk-R3RNNOBY.js} +6 -6
  6. package/dist/chunk-R3RNNOBY.js.map +7 -0
  7. package/dist/clients/lighter.js +1 -1
  8. package/dist/clients/nado.js +2 -2
  9. package/dist/index.d.ts +3 -2
  10. package/dist/index.d.ts.map +1 -1
  11. package/dist/index.js +2093 -1317
  12. package/dist/index.js.map +4 -4
  13. package/dist/preview.js +105 -50
  14. package/dist/preview.js.map +2 -2
  15. package/dist/src/components/v2/FeeLine.d.ts +2 -2
  16. package/dist/src/components/v2/FeeLine.d.ts.map +1 -1
  17. package/dist/src/fiat/common/FiatActionButton.d.ts +3 -0
  18. package/dist/src/fiat/common/FiatActionButton.d.ts.map +1 -0
  19. package/dist/src/fiat/common/FiatBackButton.d.ts.map +1 -0
  20. package/dist/src/fiat/common/FiatErrorNotice.d.ts.map +1 -0
  21. package/dist/src/fiat/common/FiatErrorScreen.d.ts.map +1 -0
  22. package/dist/src/fiat/{FiatFailureBanner.d.ts → common/FiatFailureBanner.d.ts} +1 -1
  23. package/dist/src/fiat/common/FiatFailureBanner.d.ts.map +1 -0
  24. package/dist/src/fiat/{FiatOptionsScreen.d.ts → common/FiatOptionsScreen.d.ts} +1 -1
  25. package/dist/src/fiat/common/FiatOptionsScreen.d.ts.map +1 -0
  26. package/dist/src/fiat/common/FiatProviderTerms.d.ts.map +1 -0
  27. package/dist/src/fiat/common/FiatRegionUnsupportedScreen.d.ts.map +1 -0
  28. package/dist/src/fiat/common/FiatStatusScreen.d.ts.map +1 -0
  29. package/dist/src/fiat/common/FiatStepFailedScreen.d.ts.map +1 -0
  30. package/dist/src/fiat/common/FiatSubmissionIndicator.d.ts.map +1 -0
  31. package/dist/src/fiat/common/FiatTermsNotice.d.ts.map +1 -0
  32. package/dist/src/fiat/common/FiatUnavailableScreen.d.ts.map +1 -0
  33. package/dist/src/fiat/common/FiatUnsupportedStep.d.ts.map +1 -0
  34. package/dist/src/fiat/common/ctaLabel.d.ts.map +1 -0
  35. package/dist/src/fiat/{stepDetails.d.ts → common/stepDetails.d.ts} +15 -3
  36. package/dist/src/fiat/common/stepDetails.d.ts.map +1 -0
  37. package/dist/src/fiat/contact/FiatContactScreen.d.ts.map +1 -0
  38. package/dist/src/fiat/contact/FiatPhoneField.d.ts.map +1 -0
  39. package/dist/src/fiat/{contactRound.d.ts → contact/contactRound.d.ts} +1 -1
  40. package/dist/src/fiat/contact/contactRound.d.ts.map +1 -0
  41. package/dist/src/fiat/contact/knownContacts.d.ts.map +1 -0
  42. package/dist/src/fiat/contact/phoneCountries.d.ts.map +1 -0
  43. package/dist/src/fiat/contact/phoneDraft.d.ts.map +1 -0
  44. package/dist/src/fiat/contact/sessionContact.d.ts.map +1 -0
  45. package/dist/src/fiat/contact/useContactAutoSubmit.d.ts.map +1 -0
  46. package/dist/src/fiat/contact/useContactEligibility.d.ts.map +1 -0
  47. package/dist/src/fiat/{useFlowContact.d.ts → contact/useFlowContact.d.ts} +1 -1
  48. package/dist/src/fiat/contact/useFlowContact.d.ts.map +1 -0
  49. package/dist/src/fiat/country/FiatCountryIndexRail.d.ts.map +1 -0
  50. package/dist/src/fiat/{FiatCountrySheet.d.ts → country/FiatCountrySheet.d.ts} +5 -3
  51. package/dist/src/fiat/country/FiatCountrySheet.d.ts.map +1 -0
  52. package/dist/src/fiat/country/countryListEntries.d.ts.map +1 -0
  53. package/dist/src/fiat/{countrySections.d.ts → country/countrySections.d.ts} +1 -1
  54. package/dist/src/fiat/country/countrySections.d.ts.map +1 -0
  55. package/dist/src/fiat/country/postalCodeCountries.d.ts.map +1 -0
  56. package/dist/src/fiat/country/subdivisions.d.ts.map +1 -0
  57. package/dist/src/fiat/{useCountrySheet.d.ts → country/useCountrySheet.d.ts} +1 -1
  58. package/dist/src/fiat/country/useCountrySheet.d.ts.map +1 -0
  59. package/dist/src/fiat/{PaymentDisclosureNotice.d.ts → entry/PaymentDisclosureNotice.d.ts} +1 -1
  60. package/dist/src/fiat/entry/PaymentDisclosureNotice.d.ts.map +1 -0
  61. package/dist/src/fiat/{depositMatch.d.ts → entry/depositMatch.d.ts} +3 -3
  62. package/dist/src/fiat/entry/depositMatch.d.ts.map +1 -0
  63. package/dist/src/fiat/entry/disclosureFooter.d.ts.map +1 -0
  64. package/dist/src/fiat/{disclosureFooterContent.d.ts → entry/disclosureFooterContent.d.ts} +2 -2
  65. package/dist/src/fiat/entry/disclosureFooterContent.d.ts.map +1 -0
  66. package/dist/src/fiat/{useCaptureHold.d.ts → entry/useCaptureHold.d.ts} +3 -3
  67. package/dist/src/fiat/entry/useCaptureHold.d.ts.map +1 -0
  68. package/dist/src/fiat/{useEntryQuote.d.ts → entry/useEntryQuote.d.ts} +4 -3
  69. package/dist/src/fiat/entry/useEntryQuote.d.ts.map +1 -0
  70. package/dist/src/fiat/{useEntrySubmit.d.ts → entry/useEntrySubmit.d.ts} +6 -6
  71. package/dist/src/fiat/entry/useEntrySubmit.d.ts.map +1 -0
  72. package/dist/src/fiat/entry/useFiatCheckoutPreparation.d.ts.map +1 -0
  73. package/dist/src/fiat/{useFiatDirectDelivery.d.ts → entry/useFiatDirectDelivery.d.ts} +7 -1
  74. package/dist/src/fiat/entry/useFiatDirectDelivery.d.ts.map +1 -0
  75. package/dist/src/fiat/form/FiatBirthDateField.d.ts.map +1 -0
  76. package/dist/src/fiat/form/FiatChoiceField.d.ts.map +1 -0
  77. package/dist/src/fiat/form/FiatChoiceList.d.ts.map +1 -0
  78. package/dist/src/fiat/form/FiatDatePickerDock.d.ts.map +1 -0
  79. package/dist/src/fiat/form/FiatFormAdvance.d.ts.map +1 -0
  80. package/dist/src/fiat/{FiatFormFieldRow.d.ts → form/FiatFormFieldRow.d.ts} +2 -2
  81. package/dist/src/fiat/form/FiatFormFieldRow.d.ts.map +1 -0
  82. package/dist/src/fiat/form/FiatFormHeading.d.ts.map +1 -0
  83. package/dist/src/fiat/form/FiatFormScreen.d.ts.map +1 -0
  84. package/dist/src/fiat/form/FiatSsnField.d.ts.map +1 -0
  85. package/dist/src/fiat/form/calendarDate.d.ts.map +1 -0
  86. package/dist/src/fiat/form/fieldAutofill.d.ts.map +1 -0
  87. package/dist/src/fiat/{fieldLimits.d.ts → form/fieldLimits.d.ts} +1 -1
  88. package/dist/src/fiat/form/fieldLimits.d.ts.map +1 -0
  89. package/dist/src/fiat/form/formLayout.d.ts.map +1 -0
  90. package/dist/src/fiat/form/keyboardReturnKey.d.ts.map +1 -0
  91. package/dist/src/fiat/form/nativeDatePicker.d.ts.map +1 -0
  92. package/dist/src/fiat/form/refusedFields.d.ts.map +1 -0
  93. package/dist/src/fiat/{shownFieldIssues.d.ts → form/shownFieldIssues.d.ts} +1 -1
  94. package/dist/src/fiat/form/shownFieldIssues.d.ts.map +1 -0
  95. package/dist/src/fiat/form/ssnLength.d.ts.map +1 -0
  96. package/dist/src/fiat/form/useDatePickerDock.d.ts.map +1 -0
  97. package/dist/src/fiat/{useStandingRefusals.d.ts → form/useStandingRefusals.d.ts} +1 -1
  98. package/dist/src/fiat/form/useStandingRefusals.d.ts.map +1 -0
  99. package/dist/src/fiat/kyc/FiatDocumentCaptureStep.d.ts.map +1 -0
  100. package/dist/src/fiat/{FiatIdentityStep.d.ts → kyc/FiatIdentityStep.d.ts} +2 -2
  101. package/dist/src/fiat/kyc/FiatIdentityStep.d.ts.map +1 -0
  102. package/dist/src/fiat/{FiatKycFieldControl.d.ts → kyc/FiatKycFieldControl.d.ts} +2 -2
  103. package/dist/src/fiat/kyc/FiatKycFieldControl.d.ts.map +1 -0
  104. package/dist/src/fiat/kyc/FiatKycIntroLayout.d.ts.map +1 -0
  105. package/dist/src/fiat/kyc/FiatKycIntroScreen.d.ts.map +1 -0
  106. package/dist/src/fiat/{FiatKycNotice.d.ts → kyc/FiatKycNotice.d.ts} +1 -1
  107. package/dist/src/fiat/kyc/FiatKycNotice.d.ts.map +1 -0
  108. package/dist/src/fiat/kyc/FiatKycOptionRow.d.ts.map +1 -0
  109. package/dist/src/fiat/{FiatKycOptionsScreen.d.ts → kyc/FiatKycOptionsScreen.d.ts} +2 -2
  110. package/dist/src/fiat/kyc/FiatKycOptionsScreen.d.ts.map +1 -0
  111. package/dist/src/fiat/kyc/FiatKycOutcomeScreen.d.ts.map +1 -0
  112. package/dist/src/fiat/{FiatKycPhoneField.d.ts → kyc/FiatKycPhoneField.d.ts} +1 -1
  113. package/dist/src/fiat/kyc/FiatKycPhoneField.d.ts.map +1 -0
  114. package/dist/src/fiat/kyc/FiatSharingConsentNotice.d.ts.map +1 -0
  115. package/dist/src/fiat/kyc/KycGlassBackdrop.d.ts.map +1 -0
  116. package/dist/src/fiat/kyc/formScreenProps.d.ts +1 -1
  117. package/dist/src/fiat/kyc/formScreenProps.d.ts.map +1 -1
  118. package/dist/src/fiat/kyc/formValidationError.d.ts +1 -1
  119. package/dist/src/fiat/kyc/formValidationError.d.ts.map +1 -1
  120. package/dist/src/fiat/kyc/kycFailover.d.ts +1 -1
  121. package/dist/src/fiat/kyc/kycFailover.d.ts.map +1 -1
  122. package/dist/src/fiat/kyc/kycFormAttempt.d.ts +1 -1
  123. package/dist/src/fiat/kyc/kycFormAttempt.d.ts.map +1 -1
  124. package/dist/src/fiat/kyc/kycFormTheme.d.ts.map +1 -0
  125. package/dist/src/fiat/kyc/kycOptionRows.d.ts +1 -1
  126. package/dist/src/fiat/kyc/kycOptionRows.d.ts.map +1 -1
  127. package/dist/src/fiat/kyc/kycRoutes.d.ts +1 -1
  128. package/dist/src/fiat/kyc/kycRoutes.d.ts.map +1 -1
  129. package/dist/src/fiat/kyc/kycSupport.d.ts.map +1 -0
  130. package/dist/src/fiat/kyc/kycUnavailableAlert.d.ts.map +1 -0
  131. package/dist/src/fiat/kyc/kycVerdict.d.ts +3 -3
  132. package/dist/src/fiat/kyc/kycVerdict.d.ts.map +1 -1
  133. package/dist/src/fiat/kyc/legalLinks.d.ts.map +1 -0
  134. package/dist/src/fiat/kyc/sectionDetail.d.ts +1 -1
  135. package/dist/src/fiat/kyc/sectionDetail.d.ts.map +1 -1
  136. package/dist/src/fiat/{useIdentityAssertion.d.ts → kyc/useIdentityAssertion.d.ts} +2 -2
  137. package/dist/src/fiat/kyc/useIdentityAssertion.d.ts.map +1 -0
  138. package/dist/src/fiat/kyc/useKycCompletion.d.ts +1 -1
  139. package/dist/src/fiat/kyc/useKycCompletion.d.ts.map +1 -1
  140. package/dist/src/fiat/kyc/useKycFormFailure.d.ts +1 -1
  141. package/dist/src/fiat/kyc/useKycFormFailure.d.ts.map +1 -1
  142. package/dist/src/fiat/kyc/useKycScreens.d.ts +1 -1
  143. package/dist/src/fiat/kyc/useKycScreens.d.ts.map +1 -1
  144. package/dist/src/fiat/kyc/useSharingConsent.d.ts.map +1 -0
  145. package/dist/src/fiat/otp/FiatOtpScreen.d.ts.map +1 -0
  146. package/dist/src/fiat/{otpScreenProps.d.ts → otp/otpScreenProps.d.ts} +1 -1
  147. package/dist/src/fiat/otp/otpScreenProps.d.ts.map +1 -0
  148. package/dist/src/fiat/{sessionAuth.d.ts → otp/sessionAuth.d.ts} +1 -1
  149. package/dist/src/fiat/otp/sessionAuth.d.ts.map +1 -0
  150. package/dist/src/fiat/{useAuthHandoff.d.ts → otp/useAuthHandoff.d.ts} +1 -1
  151. package/dist/src/fiat/otp/useAuthHandoff.d.ts.map +1 -0
  152. package/dist/src/fiat/otp/useOtpAutoSubmit.d.ts.map +1 -0
  153. package/dist/src/fiat/otp/useOtpReceipt.d.ts.map +1 -0
  154. package/dist/src/fiat/otp/useResendCooldown.d.ts.map +1 -0
  155. package/dist/src/fiat/{applePayAttempt.d.ts → payment/applePayAttempt.d.ts} +2 -2
  156. package/dist/src/fiat/payment/applePayAttempt.d.ts.map +1 -0
  157. package/dist/src/fiat/payment/methodName.d.ts.map +1 -0
  158. package/dist/src/fiat/payment/paymentAttempts.d.ts.map +1 -0
  159. package/dist/src/fiat/{paymentReroute.d.ts → payment/paymentReroute.d.ts} +14 -14
  160. package/dist/src/fiat/payment/paymentReroute.d.ts.map +1 -0
  161. package/dist/src/fiat/payment/paymentSurfaceFailure.d.ts.map +1 -0
  162. package/dist/src/fiat/payment/providerFailover.d.ts.map +1 -0
  163. package/dist/src/fiat/{usePaymentAttempts.d.ts → payment/usePaymentAttempts.d.ts} +1 -1
  164. package/dist/src/fiat/payment/usePaymentAttempts.d.ts.map +1 -0
  165. package/dist/src/fiat/{usePaymentFailureAnswer.d.ts → payment/usePaymentFailureAnswer.d.ts} +2 -2
  166. package/dist/src/fiat/payment/usePaymentFailureAnswer.d.ts.map +1 -0
  167. package/dist/src/fiat/{useRerouteProbe.d.ts → payment/useRerouteProbe.d.ts} +6 -7
  168. package/dist/src/fiat/payment/useRerouteProbe.d.ts.map +1 -0
  169. package/dist/src/fiat/processing/ProcessingFailure.d.ts +1 -1
  170. package/dist/src/fiat/processing/ProcessingFailure.d.ts.map +1 -1
  171. package/dist/src/fiat/processing/depositProcessing.d.ts.map +1 -0
  172. package/dist/src/fiat/processing/useProcessingPhase.d.ts.map +1 -0
  173. package/dist/src/fiat/providers/adapter.d.ts +1 -1
  174. package/dist/src/fiat/providers/adapter.d.ts.map +1 -1
  175. package/dist/src/fiat/providers/kycIntro.d.ts +1 -1
  176. package/dist/src/fiat/providers/kycIntro.d.ts.map +1 -1
  177. package/dist/src/fiat/providers/moonpay/moonpayFeeQuote.d.ts +1 -1
  178. package/dist/src/fiat/providers/moonpay/moonpayFeeQuote.d.ts.map +1 -1
  179. package/dist/src/fiat/providers/stripe/stripeApplePayReady.d.ts +1 -1
  180. package/dist/src/fiat/providers/stripe/stripeApplePayReady.d.ts.map +1 -1
  181. package/dist/src/fiat/providers/stripe/stripeContactHeading.d.ts +1 -1
  182. package/dist/src/fiat/providers/stripe/stripeContactHeading.d.ts.map +1 -1
  183. package/dist/src/fiat/providers/stripe/useStripePayButton.d.ts +27 -0
  184. package/dist/src/fiat/providers/stripe/useStripePayButton.d.ts.map +1 -0
  185. package/dist/src/fiat/quote/providerSelection.d.ts +14 -0
  186. package/dist/src/fiat/quote/providerSelection.d.ts.map +1 -0
  187. package/dist/src/fiat/quote/purchaseEstimate.d.ts +42 -0
  188. package/dist/src/fiat/quote/purchaseEstimate.d.ts.map +1 -0
  189. package/dist/src/fiat/quote/quoteNoRoute.d.ts.map +1 -0
  190. package/dist/src/fiat/quote/quoteRefusal.d.ts.map +1 -0
  191. package/dist/src/fiat/{quoteRouting.d.ts → quote/quoteRouting.d.ts} +5 -5
  192. package/dist/src/fiat/quote/quoteRouting.d.ts.map +1 -0
  193. package/dist/src/fiat/quote/useReplayableFailure.d.ts.map +1 -0
  194. package/dist/src/fiat/{useStaleQuoteRecovery.d.ts → quote/useStaleQuoteRecovery.d.ts} +1 -1
  195. package/dist/src/fiat/quote/useStaleQuoteRecovery.d.ts.map +1 -0
  196. package/dist/src/fiat/settlement/FiatPendingOrderScreen.d.ts.map +1 -0
  197. package/dist/src/fiat/settlement/FiatReceipt.d.ts.map +1 -0
  198. package/dist/src/fiat/{depositOutcome.d.ts → settlement/depositOutcome.d.ts} +2 -2
  199. package/dist/src/fiat/settlement/depositOutcome.d.ts.map +1 -0
  200. package/dist/src/fiat/{depositSettlement.d.ts → settlement/depositSettlement.d.ts} +1 -1
  201. package/dist/src/fiat/settlement/depositSettlement.d.ts.map +1 -0
  202. package/dist/src/fiat/{useDepositSettlement.d.ts → settlement/useDepositSettlement.d.ts} +10 -8
  203. package/dist/src/fiat/settlement/useDepositSettlement.d.ts.map +1 -0
  204. package/dist/src/fiat/settlement/useReceiptTitles.d.ts.map +1 -0
  205. package/dist/src/fiat/surface/ScreenSurfaceCover.d.ts.map +1 -0
  206. package/dist/src/fiat/{SurfaceSlot.d.ts → surface/SurfaceSlot.d.ts} +1 -1
  207. package/dist/src/fiat/surface/SurfaceSlot.d.ts.map +1 -0
  208. package/dist/src/fiat/{actionSlot.d.ts → surface/actionSlot.d.ts} +1 -1
  209. package/dist/src/fiat/surface/actionSlot.d.ts.map +1 -0
  210. package/dist/src/fiat/{closeFailure.d.ts → surface/closeFailure.d.ts} +1 -1
  211. package/dist/src/fiat/surface/closeFailure.d.ts.map +1 -0
  212. package/dist/src/fiat/{stepSurface.d.ts → surface/stepSurface.d.ts} +6 -6
  213. package/dist/src/fiat/surface/stepSurface.d.ts.map +1 -0
  214. package/dist/src/fiat/{surfaceRegistry.d.ts → surface/surfaceRegistry.d.ts} +1 -1
  215. package/dist/src/fiat/surface/surfaceRegistry.d.ts.map +1 -0
  216. package/dist/src/fiat/{useFailureAnnouncements.d.ts → surface/useFailureAnnouncements.d.ts} +3 -3
  217. package/dist/src/fiat/surface/useFailureAnnouncements.d.ts.map +1 -0
  218. package/dist/src/fiat/{useSurfaceAttempt.d.ts → surface/useSurfaceAttempt.d.ts} +2 -2
  219. package/dist/src/fiat/surface/useSurfaceAttempt.d.ts.map +1 -0
  220. package/dist/src/flow/DepositAmountStep.d.ts.map +1 -1
  221. package/dist/src/flow/DepositFlowContent.d.ts.map +1 -1
  222. package/dist/src/flow/Drawer.d.ts +9 -0
  223. package/dist/src/flow/Drawer.d.ts.map +1 -1
  224. package/dist/src/flow/FiatDepositAmountStep.d.ts +2 -2
  225. package/dist/src/flow/FiatDepositAmountStep.d.ts.map +1 -1
  226. package/dist/src/flow/FunkitFlowProvider.d.ts.map +1 -1
  227. package/dist/src/flow/MethodPickerStep.d.ts.map +1 -1
  228. package/dist/src/flow/PaymentMethodPickerSheet.d.ts +3 -5
  229. package/dist/src/flow/PaymentMethodPickerSheet.d.ts.map +1 -1
  230. package/dist/src/flow/PaymentMethodRows.d.ts +1 -0
  231. package/dist/src/flow/PaymentMethodRows.d.ts.map +1 -1
  232. package/dist/src/flow/depositFlowConfig.d.ts +61 -42
  233. package/dist/src/flow/depositFlowConfig.d.ts.map +1 -1
  234. package/dist/src/flow/entryBanners.d.ts +32 -2
  235. package/dist/src/flow/entryBanners.d.ts.map +1 -1
  236. package/dist/src/flow/fiatStepScreens.d.ts +3 -3
  237. package/dist/src/flow/fiatStepScreens.d.ts.map +1 -1
  238. package/dist/src/flow/fiatSubmitRenderer.d.ts +13 -13
  239. package/dist/src/flow/fiatSubmitRenderer.d.ts.map +1 -1
  240. package/dist/src/flow/flowError.d.ts +12 -0
  241. package/dist/src/flow/flowError.d.ts.map +1 -1
  242. package/dist/src/flow/paymentMethodPress.d.ts +12 -0
  243. package/dist/src/flow/paymentMethodPress.d.ts.map +1 -0
  244. package/dist/src/flow/purchaseSheetCustomers.d.ts +2 -0
  245. package/dist/src/flow/purchaseSheetCustomers.d.ts.map +1 -0
  246. package/dist/src/flow/renderFiatFlowScreen.d.ts +14 -14
  247. package/dist/src/flow/renderFiatFlowScreen.d.ts.map +1 -1
  248. package/dist/src/flow/screenBundles.d.ts +2 -2
  249. package/dist/src/flow/screenBundles.d.ts.map +1 -1
  250. package/dist/src/flow/useFeeDetails.d.ts +5 -5
  251. package/dist/src/flow/useFeeDetails.d.ts.map +1 -1
  252. package/dist/src/flow/useFunkitPurchaseSheetEnabled.d.ts +19 -0
  253. package/dist/src/flow/useFunkitPurchaseSheetEnabled.d.ts.map +1 -0
  254. package/dist/src/flow/useV2DepositEnabled.d.ts +3 -0
  255. package/dist/src/flow/useV2DepositEnabled.d.ts.map +1 -0
  256. package/dist/src/flow/validateInitialAmount.d.ts +2 -1
  257. package/dist/src/flow/validateInitialAmount.d.ts.map +1 -1
  258. package/dist/src/hooks/track/events.d.ts +1 -1
  259. package/dist/src/hooks/track/events.d.ts.map +1 -1
  260. package/dist/src/hooks/track/paymentQuoteConfirmer.d.ts +12 -0
  261. package/dist/src/hooks/track/paymentQuoteConfirmer.d.ts.map +1 -0
  262. package/dist/src/hooks/track/useDepositFlowEvents.d.ts +1 -1
  263. package/dist/src/hooks/track/useDepositOutcomeEvents.d.ts +1 -1
  264. package/dist/src/hooks/track/useDepositOutcomeEvents.d.ts.map +1 -1
  265. package/dist/src/hooks/track/usePaymentButtonEvents.d.ts +1 -1
  266. package/dist/src/hooks/track/usePaymentButtonEvents.d.ts.map +1 -1
  267. package/dist/src/hooks/track/useStepResponseObservers.d.ts +6 -0
  268. package/dist/src/hooks/track/useStepResponseObservers.d.ts.map +1 -0
  269. package/dist/src/hooks/track/useTrackFiatDepositQuoteEvents.d.ts +1 -1
  270. package/dist/src/hooks/track/useTrackFiatDepositQuoteEvents.d.ts.map +1 -1
  271. package/dist/src/hooks/track/useTrackFiatPaymentEvents.d.ts +1 -1
  272. package/dist/src/hooks/track/useTrackFiatPaymentEvents.d.ts.map +1 -1
  273. package/dist/src/native/applePayWallet.d.ts +24 -0
  274. package/dist/src/native/applePayWallet.d.ts.map +1 -0
  275. package/dist/src/preview/flowPreview.d.ts +1 -1
  276. package/dist/src/preview/flowPreview.d.ts.map +1 -1
  277. package/dist/src/preview/scenarioCatalog.d.ts +43 -37
  278. package/dist/src/preview/scenarioCatalog.d.ts.map +1 -1
  279. package/dist/src/preview/scenarios.d.ts.map +1 -1
  280. package/dist/src/providers/FunkitProvider.d.ts.map +1 -1
  281. package/dist/src/providers/FunkitStatsigProvider.d.ts +5 -0
  282. package/dist/src/providers/FunkitStatsigProvider.d.ts.map +1 -1
  283. package/dist/src/providers/useFunkitCheckout.d.ts +3 -2
  284. package/dist/src/providers/useFunkitCheckout.d.ts.map +1 -1
  285. package/dist/src/screens/DepositAmountScreen.d.ts +4 -1
  286. package/dist/src/screens/DepositAmountScreen.d.ts.map +1 -1
  287. package/dist/src/utils/formatAmount.d.ts +22 -0
  288. package/dist/src/utils/formatAmount.d.ts.map +1 -1
  289. package/expo-module.config.json +1 -1
  290. package/ios/FunkitApplePayWalletModule.swift +29 -0
  291. package/package.json +3 -3
  292. package/dist/chunk-B7O3LJWY.js.map +0 -7
  293. package/dist/chunk-M53J24WI.js.map +0 -7
  294. package/dist/src/fiat/FiatActionButton.d.ts +0 -3
  295. package/dist/src/fiat/FiatActionButton.d.ts.map +0 -1
  296. package/dist/src/fiat/FiatBackButton.d.ts.map +0 -1
  297. package/dist/src/fiat/FiatBirthDateField.d.ts.map +0 -1
  298. package/dist/src/fiat/FiatChoiceField.d.ts.map +0 -1
  299. package/dist/src/fiat/FiatChoiceList.d.ts.map +0 -1
  300. package/dist/src/fiat/FiatContactScreen.d.ts.map +0 -1
  301. package/dist/src/fiat/FiatCountryIndexRail.d.ts.map +0 -1
  302. package/dist/src/fiat/FiatCountrySheet.d.ts.map +0 -1
  303. package/dist/src/fiat/FiatDatePickerDock.d.ts.map +0 -1
  304. package/dist/src/fiat/FiatDocumentCaptureStep.d.ts.map +0 -1
  305. package/dist/src/fiat/FiatErrorNotice.d.ts.map +0 -1
  306. package/dist/src/fiat/FiatErrorScreen.d.ts.map +0 -1
  307. package/dist/src/fiat/FiatFailureBanner.d.ts.map +0 -1
  308. package/dist/src/fiat/FiatFormAdvance.d.ts.map +0 -1
  309. package/dist/src/fiat/FiatFormFieldRow.d.ts.map +0 -1
  310. package/dist/src/fiat/FiatFormHeading.d.ts.map +0 -1
  311. package/dist/src/fiat/FiatFormScreen.d.ts.map +0 -1
  312. package/dist/src/fiat/FiatIdentityStep.d.ts.map +0 -1
  313. package/dist/src/fiat/FiatKycFieldControl.d.ts.map +0 -1
  314. package/dist/src/fiat/FiatKycIntroLayout.d.ts.map +0 -1
  315. package/dist/src/fiat/FiatKycIntroScreen.d.ts.map +0 -1
  316. package/dist/src/fiat/FiatKycNotice.d.ts.map +0 -1
  317. package/dist/src/fiat/FiatKycOptionRow.d.ts.map +0 -1
  318. package/dist/src/fiat/FiatKycOptionsScreen.d.ts.map +0 -1
  319. package/dist/src/fiat/FiatKycOutcomeScreen.d.ts.map +0 -1
  320. package/dist/src/fiat/FiatKycPhoneField.d.ts.map +0 -1
  321. package/dist/src/fiat/FiatOptionsScreen.d.ts.map +0 -1
  322. package/dist/src/fiat/FiatOtpScreen.d.ts.map +0 -1
  323. package/dist/src/fiat/FiatPendingOrderScreen.d.ts.map +0 -1
  324. package/dist/src/fiat/FiatPhoneField.d.ts.map +0 -1
  325. package/dist/src/fiat/FiatProviderTerms.d.ts.map +0 -1
  326. package/dist/src/fiat/FiatReceipt.d.ts.map +0 -1
  327. package/dist/src/fiat/FiatRegionUnsupportedScreen.d.ts.map +0 -1
  328. package/dist/src/fiat/FiatSharingConsentNotice.d.ts.map +0 -1
  329. package/dist/src/fiat/FiatSsnField.d.ts.map +0 -1
  330. package/dist/src/fiat/FiatStatusScreen.d.ts.map +0 -1
  331. package/dist/src/fiat/FiatStepFailedScreen.d.ts.map +0 -1
  332. package/dist/src/fiat/FiatSubmissionIndicator.d.ts.map +0 -1
  333. package/dist/src/fiat/FiatTermsNotice.d.ts.map +0 -1
  334. package/dist/src/fiat/FiatUnavailableScreen.d.ts.map +0 -1
  335. package/dist/src/fiat/FiatUnsupportedStep.d.ts.map +0 -1
  336. package/dist/src/fiat/KycGlassBackdrop.d.ts.map +0 -1
  337. package/dist/src/fiat/PaymentDisclosureNotice.d.ts.map +0 -1
  338. package/dist/src/fiat/ScreenSurfaceCover.d.ts.map +0 -1
  339. package/dist/src/fiat/SurfaceSlot.d.ts.map +0 -1
  340. package/dist/src/fiat/actionSlot.d.ts.map +0 -1
  341. package/dist/src/fiat/applePayAttempt.d.ts.map +0 -1
  342. package/dist/src/fiat/calendarDate.d.ts.map +0 -1
  343. package/dist/src/fiat/closeFailure.d.ts.map +0 -1
  344. package/dist/src/fiat/contactRound.d.ts.map +0 -1
  345. package/dist/src/fiat/countryListEntries.d.ts.map +0 -1
  346. package/dist/src/fiat/countrySections.d.ts.map +0 -1
  347. package/dist/src/fiat/ctaLabel.d.ts.map +0 -1
  348. package/dist/src/fiat/depositMatch.d.ts.map +0 -1
  349. package/dist/src/fiat/depositOutcome.d.ts.map +0 -1
  350. package/dist/src/fiat/depositProcessing.d.ts.map +0 -1
  351. package/dist/src/fiat/depositSettlement.d.ts.map +0 -1
  352. package/dist/src/fiat/disclosureFooter.d.ts.map +0 -1
  353. package/dist/src/fiat/disclosureFooterContent.d.ts.map +0 -1
  354. package/dist/src/fiat/fieldAutofill.d.ts.map +0 -1
  355. package/dist/src/fiat/fieldLimits.d.ts.map +0 -1
  356. package/dist/src/fiat/formLayout.d.ts.map +0 -1
  357. package/dist/src/fiat/keyboardReturnKey.d.ts.map +0 -1
  358. package/dist/src/fiat/knownContacts.d.ts.map +0 -1
  359. package/dist/src/fiat/kycFormTheme.d.ts.map +0 -1
  360. package/dist/src/fiat/kycSupport.d.ts.map +0 -1
  361. package/dist/src/fiat/kycUnavailableAlert.d.ts.map +0 -1
  362. package/dist/src/fiat/legalLinks.d.ts.map +0 -1
  363. package/dist/src/fiat/methodName.d.ts.map +0 -1
  364. package/dist/src/fiat/nativeDatePicker.d.ts.map +0 -1
  365. package/dist/src/fiat/otpScreenProps.d.ts.map +0 -1
  366. package/dist/src/fiat/paymentAttempts.d.ts.map +0 -1
  367. package/dist/src/fiat/paymentReroute.d.ts.map +0 -1
  368. package/dist/src/fiat/paymentSurfaceFailure.d.ts.map +0 -1
  369. package/dist/src/fiat/phoneCountries.d.ts.map +0 -1
  370. package/dist/src/fiat/phoneDraft.d.ts.map +0 -1
  371. package/dist/src/fiat/postalCodeCountries.d.ts.map +0 -1
  372. package/dist/src/fiat/providerFailover.d.ts.map +0 -1
  373. package/dist/src/fiat/quoteNoRoute.d.ts.map +0 -1
  374. package/dist/src/fiat/quoteRefusal.d.ts.map +0 -1
  375. package/dist/src/fiat/quoteRouting.d.ts.map +0 -1
  376. package/dist/src/fiat/refusedFields.d.ts.map +0 -1
  377. package/dist/src/fiat/sessionAuth.d.ts.map +0 -1
  378. package/dist/src/fiat/sessionContact.d.ts.map +0 -1
  379. package/dist/src/fiat/shownFieldIssues.d.ts.map +0 -1
  380. package/dist/src/fiat/ssnLength.d.ts.map +0 -1
  381. package/dist/src/fiat/stepDetails.d.ts.map +0 -1
  382. package/dist/src/fiat/stepSurface.d.ts.map +0 -1
  383. package/dist/src/fiat/subdivisions.d.ts.map +0 -1
  384. package/dist/src/fiat/surfaceRegistry.d.ts.map +0 -1
  385. package/dist/src/fiat/useAuthHandoff.d.ts.map +0 -1
  386. package/dist/src/fiat/useCaptureHold.d.ts.map +0 -1
  387. package/dist/src/fiat/useContactAutoSubmit.d.ts.map +0 -1
  388. package/dist/src/fiat/useContactEligibility.d.ts.map +0 -1
  389. package/dist/src/fiat/useCountrySheet.d.ts.map +0 -1
  390. package/dist/src/fiat/useDatePickerDock.d.ts.map +0 -1
  391. package/dist/src/fiat/useDepositSettlement.d.ts.map +0 -1
  392. package/dist/src/fiat/useEntryQuote.d.ts.map +0 -1
  393. package/dist/src/fiat/useEntrySubmit.d.ts.map +0 -1
  394. package/dist/src/fiat/useFailureAnnouncements.d.ts.map +0 -1
  395. package/dist/src/fiat/useFiatCheckoutPreparation.d.ts.map +0 -1
  396. package/dist/src/fiat/useFiatDirectDelivery.d.ts.map +0 -1
  397. package/dist/src/fiat/useFlowContact.d.ts.map +0 -1
  398. package/dist/src/fiat/useIdentityAssertion.d.ts.map +0 -1
  399. package/dist/src/fiat/useOtpAutoSubmit.d.ts.map +0 -1
  400. package/dist/src/fiat/useOtpReceipt.d.ts.map +0 -1
  401. package/dist/src/fiat/usePaymentAttempts.d.ts.map +0 -1
  402. package/dist/src/fiat/usePaymentFailureAnswer.d.ts.map +0 -1
  403. package/dist/src/fiat/useProcessingPhase.d.ts.map +0 -1
  404. package/dist/src/fiat/useReceiptTitles.d.ts.map +0 -1
  405. package/dist/src/fiat/useReplayableFailure.d.ts.map +0 -1
  406. package/dist/src/fiat/useRerouteProbe.d.ts.map +0 -1
  407. package/dist/src/fiat/useResendCooldown.d.ts.map +0 -1
  408. package/dist/src/fiat/useSharingConsent.d.ts.map +0 -1
  409. package/dist/src/fiat/useStaleQuoteRecovery.d.ts.map +0 -1
  410. package/dist/src/fiat/useStandingRefusals.d.ts.map +0 -1
  411. package/dist/src/fiat/useSurfaceAttempt.d.ts.map +0 -1
  412. /package/dist/{chunk-4P4VMXII.js.map → chunk-264ZLQVH.js.map} +0 -0
  413. /package/dist/src/fiat/{FiatBackButton.d.ts → common/FiatBackButton.d.ts} +0 -0
  414. /package/dist/src/fiat/{FiatErrorNotice.d.ts → common/FiatErrorNotice.d.ts} +0 -0
  415. /package/dist/src/fiat/{FiatErrorScreen.d.ts → common/FiatErrorScreen.d.ts} +0 -0
  416. /package/dist/src/fiat/{FiatProviderTerms.d.ts → common/FiatProviderTerms.d.ts} +0 -0
  417. /package/dist/src/fiat/{FiatRegionUnsupportedScreen.d.ts → common/FiatRegionUnsupportedScreen.d.ts} +0 -0
  418. /package/dist/src/fiat/{FiatStatusScreen.d.ts → common/FiatStatusScreen.d.ts} +0 -0
  419. /package/dist/src/fiat/{FiatStepFailedScreen.d.ts → common/FiatStepFailedScreen.d.ts} +0 -0
  420. /package/dist/src/fiat/{FiatSubmissionIndicator.d.ts → common/FiatSubmissionIndicator.d.ts} +0 -0
  421. /package/dist/src/fiat/{FiatTermsNotice.d.ts → common/FiatTermsNotice.d.ts} +0 -0
  422. /package/dist/src/fiat/{FiatUnavailableScreen.d.ts → common/FiatUnavailableScreen.d.ts} +0 -0
  423. /package/dist/src/fiat/{FiatUnsupportedStep.d.ts → common/FiatUnsupportedStep.d.ts} +0 -0
  424. /package/dist/src/fiat/{ctaLabel.d.ts → common/ctaLabel.d.ts} +0 -0
  425. /package/dist/src/fiat/{FiatContactScreen.d.ts → contact/FiatContactScreen.d.ts} +0 -0
  426. /package/dist/src/fiat/{FiatPhoneField.d.ts → contact/FiatPhoneField.d.ts} +0 -0
  427. /package/dist/src/fiat/{knownContacts.d.ts → contact/knownContacts.d.ts} +0 -0
  428. /package/dist/src/fiat/{phoneCountries.d.ts → contact/phoneCountries.d.ts} +0 -0
  429. /package/dist/src/fiat/{phoneDraft.d.ts → contact/phoneDraft.d.ts} +0 -0
  430. /package/dist/src/fiat/{sessionContact.d.ts → contact/sessionContact.d.ts} +0 -0
  431. /package/dist/src/fiat/{useContactAutoSubmit.d.ts → contact/useContactAutoSubmit.d.ts} +0 -0
  432. /package/dist/src/fiat/{useContactEligibility.d.ts → contact/useContactEligibility.d.ts} +0 -0
  433. /package/dist/src/fiat/{FiatCountryIndexRail.d.ts → country/FiatCountryIndexRail.d.ts} +0 -0
  434. /package/dist/src/fiat/{countryListEntries.d.ts → country/countryListEntries.d.ts} +0 -0
  435. /package/dist/src/fiat/{postalCodeCountries.d.ts → country/postalCodeCountries.d.ts} +0 -0
  436. /package/dist/src/fiat/{subdivisions.d.ts → country/subdivisions.d.ts} +0 -0
  437. /package/dist/src/fiat/{disclosureFooter.d.ts → entry/disclosureFooter.d.ts} +0 -0
  438. /package/dist/src/fiat/{useFiatCheckoutPreparation.d.ts → entry/useFiatCheckoutPreparation.d.ts} +0 -0
  439. /package/dist/src/fiat/{FiatBirthDateField.d.ts → form/FiatBirthDateField.d.ts} +0 -0
  440. /package/dist/src/fiat/{FiatChoiceField.d.ts → form/FiatChoiceField.d.ts} +0 -0
  441. /package/dist/src/fiat/{FiatChoiceList.d.ts → form/FiatChoiceList.d.ts} +0 -0
  442. /package/dist/src/fiat/{FiatDatePickerDock.d.ts → form/FiatDatePickerDock.d.ts} +0 -0
  443. /package/dist/src/fiat/{FiatFormAdvance.d.ts → form/FiatFormAdvance.d.ts} +0 -0
  444. /package/dist/src/fiat/{FiatFormHeading.d.ts → form/FiatFormHeading.d.ts} +0 -0
  445. /package/dist/src/fiat/{FiatFormScreen.d.ts → form/FiatFormScreen.d.ts} +0 -0
  446. /package/dist/src/fiat/{FiatSsnField.d.ts → form/FiatSsnField.d.ts} +0 -0
  447. /package/dist/src/fiat/{calendarDate.d.ts → form/calendarDate.d.ts} +0 -0
  448. /package/dist/src/fiat/{fieldAutofill.d.ts → form/fieldAutofill.d.ts} +0 -0
  449. /package/dist/src/fiat/{formLayout.d.ts → form/formLayout.d.ts} +0 -0
  450. /package/dist/src/fiat/{keyboardReturnKey.d.ts → form/keyboardReturnKey.d.ts} +0 -0
  451. /package/dist/src/fiat/{nativeDatePicker.d.ts → form/nativeDatePicker.d.ts} +0 -0
  452. /package/dist/src/fiat/{refusedFields.d.ts → form/refusedFields.d.ts} +0 -0
  453. /package/dist/src/fiat/{ssnLength.d.ts → form/ssnLength.d.ts} +0 -0
  454. /package/dist/src/fiat/{useDatePickerDock.d.ts → form/useDatePickerDock.d.ts} +0 -0
  455. /package/dist/src/fiat/{FiatDocumentCaptureStep.d.ts → kyc/FiatDocumentCaptureStep.d.ts} +0 -0
  456. /package/dist/src/fiat/{FiatKycIntroLayout.d.ts → kyc/FiatKycIntroLayout.d.ts} +0 -0
  457. /package/dist/src/fiat/{FiatKycIntroScreen.d.ts → kyc/FiatKycIntroScreen.d.ts} +0 -0
  458. /package/dist/src/fiat/{FiatKycOptionRow.d.ts → kyc/FiatKycOptionRow.d.ts} +0 -0
  459. /package/dist/src/fiat/{FiatKycOutcomeScreen.d.ts → kyc/FiatKycOutcomeScreen.d.ts} +0 -0
  460. /package/dist/src/fiat/{FiatSharingConsentNotice.d.ts → kyc/FiatSharingConsentNotice.d.ts} +0 -0
  461. /package/dist/src/fiat/{KycGlassBackdrop.d.ts → kyc/KycGlassBackdrop.d.ts} +0 -0
  462. /package/dist/src/fiat/{kycFormTheme.d.ts → kyc/kycFormTheme.d.ts} +0 -0
  463. /package/dist/src/fiat/{kycSupport.d.ts → kyc/kycSupport.d.ts} +0 -0
  464. /package/dist/src/fiat/{kycUnavailableAlert.d.ts → kyc/kycUnavailableAlert.d.ts} +0 -0
  465. /package/dist/src/fiat/{legalLinks.d.ts → kyc/legalLinks.d.ts} +0 -0
  466. /package/dist/src/fiat/{useSharingConsent.d.ts → kyc/useSharingConsent.d.ts} +0 -0
  467. /package/dist/src/fiat/{FiatOtpScreen.d.ts → otp/FiatOtpScreen.d.ts} +0 -0
  468. /package/dist/src/fiat/{useOtpAutoSubmit.d.ts → otp/useOtpAutoSubmit.d.ts} +0 -0
  469. /package/dist/src/fiat/{useOtpReceipt.d.ts → otp/useOtpReceipt.d.ts} +0 -0
  470. /package/dist/src/fiat/{useResendCooldown.d.ts → otp/useResendCooldown.d.ts} +0 -0
  471. /package/dist/src/fiat/{methodName.d.ts → payment/methodName.d.ts} +0 -0
  472. /package/dist/src/fiat/{paymentAttempts.d.ts → payment/paymentAttempts.d.ts} +0 -0
  473. /package/dist/src/fiat/{paymentSurfaceFailure.d.ts → payment/paymentSurfaceFailure.d.ts} +0 -0
  474. /package/dist/src/fiat/{providerFailover.d.ts → payment/providerFailover.d.ts} +0 -0
  475. /package/dist/src/fiat/{depositProcessing.d.ts → processing/depositProcessing.d.ts} +0 -0
  476. /package/dist/src/fiat/{useProcessingPhase.d.ts → processing/useProcessingPhase.d.ts} +0 -0
  477. /package/dist/src/fiat/{quoteNoRoute.d.ts → quote/quoteNoRoute.d.ts} +0 -0
  478. /package/dist/src/fiat/{quoteRefusal.d.ts → quote/quoteRefusal.d.ts} +0 -0
  479. /package/dist/src/fiat/{useReplayableFailure.d.ts → quote/useReplayableFailure.d.ts} +0 -0
  480. /package/dist/src/fiat/{FiatPendingOrderScreen.d.ts → settlement/FiatPendingOrderScreen.d.ts} +0 -0
  481. /package/dist/src/fiat/{FiatReceipt.d.ts → settlement/FiatReceipt.d.ts} +0 -0
  482. /package/dist/src/fiat/{useReceiptTitles.d.ts → settlement/useReceiptTitles.d.ts} +0 -0
  483. /package/dist/src/fiat/{ScreenSurfaceCover.d.ts → surface/ScreenSurfaceCover.d.ts} +0 -0
package/dist/preview.js CHANGED
@@ -5,7 +5,7 @@ import {
5
5
  NET_WORTH,
6
6
  PERSONA_PRIVACY_POLICY_URL,
7
7
  TRANSACTIONS_PER_MONTH
8
- } from "./chunk-M53J24WI.js";
8
+ } from "./chunk-R3RNNOBY.js";
9
9
  import {
10
10
  logger
11
11
  } from "./chunk-2HFFVYAZ.js";
@@ -16,13 +16,19 @@ var AMOUNT = [
16
16
  "screens/DepositAmountScreen.tsx"
17
17
  ];
18
18
  var FORM = [
19
- "fiat/FiatIdentityStep.tsx",
20
- "fiat/FiatFormScreen.tsx",
21
- "fiat/formLayout.ts",
22
- "fiat/FiatKycFieldControl.tsx"
19
+ "fiat/kyc/FiatIdentityStep.tsx",
20
+ "fiat/form/FiatFormScreen.tsx",
21
+ "fiat/form/formLayout.ts",
22
+ "fiat/kyc/FiatKycFieldControl.tsx"
23
+ ];
24
+ var INTRO = [
25
+ "fiat/kyc/FiatIdentityStep.tsx",
26
+ "fiat/kyc/FiatKycIntroScreen.tsx"
27
+ ];
28
+ var STATUS = [
29
+ "fiat/common/FiatStatusScreen.tsx",
30
+ "fiat/settlement/depositOutcome.ts"
23
31
  ];
24
- var INTRO = ["fiat/FiatIdentityStep.tsx", "fiat/FiatKycIntroScreen.tsx"];
25
- var STATUS = ["fiat/FiatStatusScreen.tsx", "fiat/depositOutcome.ts"];
26
32
  var CRYPTO_V2 = [
27
33
  "flow/CryptoAddressPage.tsx",
28
34
  "flow/CryptoDepositStep.tsx",
@@ -40,7 +46,7 @@ var PROCESSING = [
40
46
  "fiat/processing/ProcessingAurora.tsx",
41
47
  "fiat/processing/gradientPuff.ts",
42
48
  "fiat/processing/pressureWave.ts",
43
- "fiat/depositProcessing.ts",
49
+ "fiat/processing/depositProcessing.ts",
44
50
  "screens/DepositAmountScreen.tsx",
45
51
  "flow/FiatDepositAmountStep.tsx"
46
52
  ];
@@ -62,7 +68,7 @@ var PREVIEW_SCENARIO_CATALOG = {
62
68
  requires: "fiatRail",
63
69
  touches: [
64
70
  ...AMOUNT,
65
- "fiat/depositMatch.ts",
71
+ "fiat/entry/depositMatch.ts",
66
72
  "flow/DepositMatchSheet.tsx",
67
73
  "screens/DepositMatchScreen.tsx"
68
74
  ]
@@ -71,7 +77,11 @@ var PREVIEW_SCENARIO_CATALOG = {
71
77
  title: "Amount entry, fee subsidy without the deposit match",
72
78
  flow: "deposit",
73
79
  requires: "fiatRail",
74
- touches: [...AMOUNT, "fiat/stepDetails.ts", "screens/FeeDetailsScreen.tsx"]
80
+ touches: [
81
+ ...AMOUNT,
82
+ "fiat/common/stepDetails.ts",
83
+ "screens/FeeDetailsScreen.tsx"
84
+ ]
75
85
  },
76
86
  "fiat.amount.depositMatch.unsubsidized": {
77
87
  title: "Amount entry, deposit match without a fee subsidy (internal flag)",
@@ -79,7 +89,7 @@ var PREVIEW_SCENARIO_CATALOG = {
79
89
  requires: "fiatRail",
80
90
  touches: [
81
91
  ...AMOUNT,
82
- "fiat/depositMatch.ts",
92
+ "fiat/entry/depositMatch.ts",
83
93
  "flow/DepositMatchSheet.tsx",
84
94
  "screens/DepositMatchScreen.tsx"
85
95
  ]
@@ -165,29 +175,32 @@ var PREVIEW_SCENARIO_CATALOG = {
165
175
  title: "Contact: email",
166
176
  flow: "deposit",
167
177
  requires: "fiatRail",
168
- touches: ["fiat/FiatContactScreen.tsx", "fiat/sessionContact.ts"]
178
+ touches: [
179
+ "fiat/contact/FiatContactScreen.tsx",
180
+ "fiat/contact/sessionContact.ts"
181
+ ]
169
182
  },
170
183
  "fiat.contact.phone": {
171
184
  title: "Contact: phone",
172
185
  flow: "deposit",
173
186
  requires: "fiatRail",
174
187
  touches: [
175
- "fiat/FiatContactScreen.tsx",
176
- "fiat/FiatPhoneField.tsx",
177
- "fiat/useContactAutoSubmit.ts"
188
+ "fiat/contact/FiatContactScreen.tsx",
189
+ "fiat/contact/FiatPhoneField.tsx",
190
+ "fiat/contact/useContactAutoSubmit.ts"
178
191
  ]
179
192
  },
180
193
  "fiat.otp.email": {
181
194
  title: "OTP: email code",
182
195
  flow: "deposit",
183
196
  requires: "fiatRail",
184
- touches: ["fiat/FiatOtpScreen.tsx"]
197
+ touches: ["fiat/otp/FiatOtpScreen.tsx"]
185
198
  },
186
199
  "fiat.otp.sms": {
187
200
  title: "OTP: SMS code",
188
201
  flow: "deposit",
189
202
  requires: "fiatRail",
190
- touches: ["fiat/FiatOtpScreen.tsx"]
203
+ touches: ["fiat/otp/FiatOtpScreen.tsx"]
191
204
  },
192
205
  // KYC — identity rounds.
193
206
  "kyc.l1.intro": {
@@ -206,37 +219,37 @@ var PREVIEW_SCENARIO_CATALOG = {
206
219
  title: "KYC L1: date of birth",
207
220
  flow: "deposit",
208
221
  requires: "fiatRail",
209
- touches: [...FORM, "fiat/FiatBirthDateField.tsx"]
222
+ touches: [...FORM, "fiat/form/FiatBirthDateField.tsx"]
210
223
  },
211
224
  "kyc.l1.address": {
212
225
  title: "KYC L1: address",
213
226
  flow: "deposit",
214
227
  requires: "fiatRail",
215
- touches: [...FORM, "fiat/subdivisions.ts"]
228
+ touches: [...FORM, "fiat/country/subdivisions.ts"]
216
229
  },
217
230
  "kyc.l1.ssn": {
218
231
  title: "KYC L1: SSN",
219
232
  flow: "deposit",
220
233
  requires: "fiatRail",
221
- touches: [...FORM, "fiat/FiatSsnField.tsx"]
234
+ touches: [...FORM, "fiat/form/FiatSsnField.tsx"]
222
235
  },
223
236
  "kyc.nationality": {
224
237
  title: "KYC: nationality",
225
238
  flow: "deposit",
226
239
  requires: "fiatRail",
227
- touches: [...FORM, "fiat/FiatCountrySheet.tsx"]
240
+ touches: [...FORM, "fiat/country/FiatCountrySheet.tsx"]
228
241
  },
229
242
  "kyc.country": {
230
243
  title: "KYC: country of residence",
231
244
  flow: "deposit",
232
245
  requires: "fiatRail",
233
- touches: [...FORM, "fiat/FiatCountrySheet.tsx"]
246
+ touches: [...FORM, "fiat/country/FiatCountrySheet.tsx"]
234
247
  },
235
248
  "kyc.ssnLastFour": {
236
249
  title: "KYC: SSN last four",
237
250
  flow: "deposit",
238
251
  requires: "fiatRail",
239
- touches: [...FORM, "fiat/FiatSsnField.tsx"]
252
+ touches: [...FORM, "fiat/form/FiatSsnField.tsx"]
240
253
  },
241
254
  "kyc.l2.intro": {
242
255
  title: "KYC L2: additional-information faceplate",
@@ -261,8 +274,8 @@ var PREVIEW_SCENARIO_CATALOG = {
261
274
  touches: [
262
275
  ...INTRO,
263
276
  "fiat/providers/kycIntro.ts",
264
- "fiat/FiatSharingConsentNotice.tsx",
265
- "fiat/useSharingConsent.ts"
277
+ "fiat/kyc/FiatSharingConsentNotice.tsx",
278
+ "fiat/kyc/useSharingConsent.ts"
266
279
  ]
267
280
  },
268
281
  "kyc.l2.dob": {
@@ -275,13 +288,13 @@ var PREVIEW_SCENARIO_CATALOG = {
275
288
  title: "KYC L2: occupation",
276
289
  flow: "deposit",
277
290
  requires: "fiatRail",
278
- touches: [...FORM, "fiat/FiatChoiceList.tsx"]
291
+ touches: [...FORM, "fiat/form/FiatChoiceList.tsx"]
279
292
  },
280
293
  "kyc.l2.purpose": {
281
294
  title: "KYC L2: purpose",
282
295
  flow: "deposit",
283
296
  requires: "fiatRail",
284
- touches: [...FORM, "fiat/FiatChoiceList.tsx"]
297
+ touches: [...FORM, "fiat/form/FiatChoiceList.tsx"]
285
298
  },
286
299
  "kyc.dueDiligence": {
287
300
  title: "KYC: due diligence",
@@ -293,7 +306,11 @@ var PREVIEW_SCENARIO_CATALOG = {
293
306
  title: "KYC: due diligence, phone number refused",
294
307
  flow: "deposit",
295
308
  requires: "fiatRail",
296
- touches: [...FORM, "fiat/refusedFields.ts", "fiat/shownFieldIssues.ts"]
309
+ touches: [
310
+ ...FORM,
311
+ "fiat/form/refusedFields.ts",
312
+ "fiat/form/shownFieldIssues.ts"
313
+ ]
297
314
  },
298
315
  "kyc.dueDiligence.income": {
299
316
  title: "KYC: due diligence figures",
@@ -305,7 +322,7 @@ var PREVIEW_SCENARIO_CATALOG = {
305
322
  title: "KYC: enhanced due diligence profession",
306
323
  flow: "deposit",
307
324
  requires: "fiatRail",
308
- touches: [...FORM, "fiat/FiatChoiceList.tsx"]
325
+ touches: [...FORM, "fiat/form/FiatChoiceList.tsx"]
309
326
  },
310
327
  "kyc.edd.netWorth": {
311
328
  title: "KYC: enhanced due diligence net worth",
@@ -323,19 +340,19 @@ var PREVIEW_SCENARIO_CATALOG = {
323
340
  title: "KYC: a second round after review",
324
341
  flow: "deposit",
325
342
  requires: "fiatRail",
326
- touches: ["flow/pageTurn.ts", "fiat/FiatKycOutcomeScreen.tsx"]
343
+ touches: ["flow/pageTurn.ts", "fiat/kyc/FiatKycOutcomeScreen.tsx"]
327
344
  },
328
345
  "kyc.form.retry": {
329
346
  title: "KYC: form send failed",
330
347
  flow: "deposit",
331
348
  requires: "fiatRail",
332
- touches: [...FORM, "fiat/FiatErrorNotice.tsx"]
349
+ touches: [...FORM, "fiat/common/FiatErrorNotice.tsx"]
333
350
  },
334
351
  "kyc.form.rateLimited": {
335
352
  title: "KYC: form send rate-limited",
336
353
  flow: "deposit",
337
354
  requires: "fiatRail",
338
- touches: [...FORM, "fiat/FiatErrorNotice.tsx", ...AMOUNT]
355
+ touches: [...FORM, "fiat/common/FiatErrorNotice.tsx", ...AMOUNT]
339
356
  },
340
357
  // KYC — capture and verdicts.
341
358
  "kyc.capture.intro": {
@@ -343,8 +360,8 @@ var PREVIEW_SCENARIO_CATALOG = {
343
360
  flow: "deposit",
344
361
  requires: "fiatRail",
345
362
  touches: [
346
- "fiat/FiatDocumentCaptureStep.tsx",
347
- "fiat/FiatKycIntroScreen.tsx"
363
+ "fiat/kyc/FiatDocumentCaptureStep.tsx",
364
+ "fiat/kyc/FiatKycIntroScreen.tsx"
348
365
  ]
349
366
  },
350
367
  "kyc.capture.moonpay-handoff": {
@@ -360,7 +377,10 @@ var PREVIEW_SCENARIO_CATALOG = {
360
377
  title: "KYC completion: in review",
361
378
  flow: "deposit",
362
379
  requires: "fiatRail",
363
- touches: ["fiat/FiatKycOutcomeScreen.tsx", "fiat/kyc/useKycCompletion.ts"]
380
+ touches: [
381
+ "fiat/kyc/FiatKycOutcomeScreen.tsx",
382
+ "fiat/kyc/useKycCompletion.ts"
383
+ ]
364
384
  },
365
385
  "kyc.review.extended": {
366
386
  title: "KYC: an extended review opens the pending card",
@@ -372,19 +392,28 @@ var PREVIEW_SCENARIO_CATALOG = {
372
392
  title: "KYC: a brief review waited out, then priced",
373
393
  flow: "deposit",
374
394
  requires: "fiatRail",
375
- touches: ["fiat/kyc/useKycCompletion.ts", "fiat/FiatKycOutcomeScreen.tsx"]
395
+ touches: [
396
+ "fiat/kyc/useKycCompletion.ts",
397
+ "fiat/kyc/FiatKycOutcomeScreen.tsx"
398
+ ]
376
399
  },
377
400
  "kyc.completion.hold": {
378
401
  title: "KYC completion: on hold",
379
402
  flow: "deposit",
380
403
  requires: "fiatRail",
381
- touches: ["fiat/FiatKycOutcomeScreen.tsx", "fiat/kyc/useKycCompletion.ts"]
404
+ touches: [
405
+ "fiat/kyc/FiatKycOutcomeScreen.tsx",
406
+ "fiat/kyc/useKycCompletion.ts"
407
+ ]
382
408
  },
383
409
  "kyc.completion.restricted": {
384
410
  title: "KYC completion: rejected",
385
411
  flow: "deposit",
386
412
  requires: "fiatRail",
387
- touches: ["fiat/FiatKycOutcomeScreen.tsx", "fiat/kyc/useKycCompletion.ts"]
413
+ touches: [
414
+ "fiat/kyc/FiatKycOutcomeScreen.tsx",
415
+ "fiat/kyc/useKycCompletion.ts"
416
+ ]
388
417
  },
389
418
  "kyc.required": {
390
419
  title: "Amount entry, identity asked before a first deposit",
@@ -396,37 +425,46 @@ var PREVIEW_SCENARIO_CATALOG = {
396
425
  title: "Amount entry after KYC: in review",
397
426
  flow: "deposit",
398
427
  requires: "fiatRail",
399
- touches: [...AMOUNT, "fiat/FiatKycNotice.tsx"]
428
+ touches: [...AMOUNT, "fiat/kyc/FiatKycNotice.tsx"]
400
429
  },
401
430
  "kyc.verdict.hold": {
402
431
  title: "Amount entry after KYC: on hold",
403
432
  flow: "deposit",
404
433
  requires: "fiatRail",
405
- touches: [...AMOUNT, "fiat/FiatKycNotice.tsx"]
434
+ touches: [...AMOUNT, "fiat/kyc/FiatKycNotice.tsx"]
406
435
  },
407
436
  "kyc.verdict.rejected": {
408
437
  title: "Amount entry after KYC: rejected",
409
438
  flow: "deposit",
410
439
  requires: "fiatRail",
411
- touches: [...AMOUNT, "fiat/FiatKycNotice.tsx"]
440
+ touches: [...AMOUNT, "fiat/kyc/FiatKycNotice.tsx"]
412
441
  },
413
442
  "kyc.options.review": {
414
443
  title: "KYC options card: in review",
415
444
  flow: "deposit",
416
445
  requires: "fiatRail",
417
- touches: ["fiat/FiatKycOptionsScreen.tsx", "fiat/FiatKycOptionRow.tsx"]
446
+ touches: [
447
+ "fiat/kyc/FiatKycOptionsScreen.tsx",
448
+ "fiat/kyc/FiatKycOptionRow.tsx"
449
+ ]
418
450
  },
419
451
  "kyc.options.hold": {
420
452
  title: "KYC options card: on hold",
421
453
  flow: "deposit",
422
454
  requires: "fiatRail",
423
- touches: ["fiat/FiatKycOptionsScreen.tsx", "fiat/FiatKycOptionRow.tsx"]
455
+ touches: [
456
+ "fiat/kyc/FiatKycOptionsScreen.tsx",
457
+ "fiat/kyc/FiatKycOptionRow.tsx"
458
+ ]
424
459
  },
425
460
  "kyc.options.rejected": {
426
461
  title: "KYC options card: rejected",
427
462
  flow: "deposit",
428
463
  requires: "fiatRail",
429
- touches: ["fiat/FiatKycOptionsScreen.tsx", "fiat/FiatKycOptionRow.tsx"]
464
+ touches: [
465
+ "fiat/kyc/FiatKycOptionsScreen.tsx",
466
+ "fiat/kyc/FiatKycOptionRow.tsx"
467
+ ]
430
468
  },
431
469
  // Orders.
432
470
  "order.review": {
@@ -445,7 +483,7 @@ var PREVIEW_SCENARIO_CATALOG = {
445
483
  title: "Pending order: resume or cancel",
446
484
  flow: "deposit",
447
485
  requires: "fiatRail",
448
- touches: ["fiat/FiatPendingOrderScreen.tsx"]
486
+ touches: ["fiat/settlement/FiatPendingOrderScreen.tsx"]
449
487
  },
450
488
  "order.tracking": {
451
489
  title: "Order processing",
@@ -480,7 +518,7 @@ var PREVIEW_SCENARIO_CATALOG = {
480
518
  title: "Order settled (closes into the deposit toast)",
481
519
  flow: "deposit",
482
520
  requires: "fiatRail",
483
- touches: [...STATUS, "fiat/FiatReceipt.tsx"]
521
+ touches: [...STATUS, "fiat/settlement/FiatReceipt.tsx"]
484
522
  },
485
523
  "order.failed": {
486
524
  title: "Order failed",
@@ -488,6 +526,12 @@ var PREVIEW_SCENARIO_CATALOG = {
488
526
  requires: "fiatRail",
489
527
  touches: STATUS
490
528
  },
529
+ "order.deliveryFailed": {
530
+ title: "Paid, but the token purchase failed",
531
+ flow: "deposit",
532
+ requires: "fiatRail",
533
+ touches: [...STATUS, "flow/renderFiatFlowScreen.tsx"]
534
+ },
491
535
  "order.cancelled": {
492
536
  title: "Order cancelled",
493
537
  flow: "deposit",
@@ -510,19 +554,22 @@ var PREVIEW_SCENARIO_CATALOG = {
510
554
  title: "Blocked by the rail: region, with a comeback date",
511
555
  flow: "deposit",
512
556
  requires: "fiatRail",
513
- touches: ["fiat/FiatRegionUnsupportedScreen.tsx"]
557
+ touches: ["fiat/common/FiatRegionUnsupportedScreen.tsx"]
514
558
  },
515
559
  "fiat.blocked.unservable": {
516
560
  title: "Blocked by the rail: nothing can serve this deposit",
517
561
  flow: "deposit",
518
562
  requires: "fiatRail",
519
- touches: ["fiat/FiatUnavailableScreen.tsx"]
563
+ touches: ["fiat/common/FiatUnavailableScreen.tsx"]
520
564
  },
521
565
  "fiat.accountIneligible": {
522
566
  title: "The host's minter refused this account",
523
567
  flow: "deposit",
524
568
  requires: "fiatRail",
525
- touches: ["fiat/FiatUnavailableScreen.tsx", "fiat/useIdentityAssertion.ts"]
569
+ touches: [
570
+ "fiat/common/FiatUnavailableScreen.tsx",
571
+ "fiat/kyc/useIdentityAssertion.ts"
572
+ ]
526
573
  },
527
574
  "fiat.unsupported": {
528
575
  title: "State this build predates",
@@ -544,7 +591,7 @@ var PREVIEW_SCENARIO_CATALOG = {
544
591
  "fiat/processing/DepositProcessingCard.tsx",
545
592
  "fiat/processing/DepositCardSheet.tsx",
546
593
  "fiat/processing/ProcessingFailure.tsx",
547
- "fiat/usePaymentFailureAnswer.ts"
594
+ "fiat/payment/usePaymentFailureAnswer.ts"
548
595
  ]
549
596
  },
550
597
  "fiat.retryable": {
@@ -1569,6 +1616,14 @@ var DEFINITIONS = {
1569
1616
  }
1570
1617
  ),
1571
1618
  "order.failed": fiat({ step: FAILED_ORDER }),
1619
+ "order.deliveryFailed": fiat({
1620
+ step: {
1621
+ state: { kind: "DELIVERY", state: "FAILED" },
1622
+ orderId: ORDER.orderId,
1623
+ provider: PROVIDER,
1624
+ transitions: []
1625
+ }
1626
+ }),
1572
1627
  "order.cancelled": fiat({
1573
1628
  step: orderCreated({ status: "CANCELLED" })
1574
1629
  }),