@funkit/connect-rn 8.2.0 → 9.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 (297) hide show
  1. package/CHANGELOG.md +184 -0
  2. package/README.md +25 -12
  3. package/dist/{chunk-GG2WCQ6N.js → chunk-3ZNAGQHD.js} +3 -3
  4. package/dist/chunk-BC4RXFI7.js +319 -0
  5. package/dist/chunk-BC4RXFI7.js.map +7 -0
  6. package/dist/{chunk-J5K2FSAI.js → chunk-MVQH4YFI.js} +330 -146
  7. package/dist/chunk-MVQH4YFI.js.map +7 -0
  8. package/dist/{chunk-D64EJ57D.js → chunk-ZE77GVDW.js} +94 -10
  9. package/dist/chunk-ZE77GVDW.js.map +7 -0
  10. package/dist/clients/lighter.js +2 -2
  11. package/dist/clients/nado.js +3 -3
  12. package/dist/clients/solana.js +1 -1
  13. package/dist/index.d.ts +1 -0
  14. package/dist/index.d.ts.map +1 -1
  15. package/dist/index.js +9859 -6316
  16. package/dist/index.js.map +4 -4
  17. package/dist/preview.d.ts +5 -0
  18. package/dist/preview.d.ts.map +1 -0
  19. package/dist/preview.js +1159 -0
  20. package/dist/preview.js.map +7 -0
  21. package/dist/src/components/DepositActionMotion.d.ts +4 -1
  22. package/dist/src/components/DepositActionMotion.d.ts.map +1 -1
  23. package/dist/src/components/DismissibleToast.d.ts +35 -0
  24. package/dist/src/components/DismissibleToast.d.ts.map +1 -0
  25. package/dist/src/components/GlassSurface.d.ts +3 -1
  26. package/dist/src/components/GlassSurface.d.ts.map +1 -1
  27. package/dist/src/components/PillButton.d.ts +20 -2
  28. package/dist/src/components/PillButton.d.ts.map +1 -1
  29. package/dist/src/components/StateSwap.d.ts +17 -0
  30. package/dist/src/components/StateSwap.d.ts.map +1 -0
  31. package/dist/src/components/WithdrawSourceCard.d.ts.map +1 -1
  32. package/dist/src/components/v2/AmountDisplay.d.ts.map +1 -1
  33. package/dist/src/components/v2/PaymentMethodPicker.d.ts +18 -0
  34. package/dist/src/components/v2/PaymentMethodPicker.d.ts.map +1 -0
  35. package/dist/src/components/v2/QuickAmountsRow.d.ts.map +1 -1
  36. package/dist/src/fiat/FiatBackButton.d.ts +5 -1
  37. package/dist/src/fiat/FiatBackButton.d.ts.map +1 -1
  38. package/dist/src/fiat/FiatChoiceField.d.ts +4 -3
  39. package/dist/src/fiat/FiatChoiceField.d.ts.map +1 -1
  40. package/dist/src/fiat/FiatContactScreen.d.ts.map +1 -1
  41. package/dist/src/fiat/FiatCountrySheet.d.ts.map +1 -1
  42. package/dist/src/fiat/FiatDocumentCaptureStep.d.ts +7 -2
  43. package/dist/src/fiat/FiatDocumentCaptureStep.d.ts.map +1 -1
  44. package/dist/src/fiat/FiatFailureBanner.d.ts +4 -1
  45. package/dist/src/fiat/FiatFailureBanner.d.ts.map +1 -1
  46. package/dist/src/fiat/FiatFormAdvance.d.ts.map +1 -1
  47. package/dist/src/fiat/FiatFormFieldRow.d.ts +15 -1
  48. package/dist/src/fiat/FiatFormFieldRow.d.ts.map +1 -1
  49. package/dist/src/fiat/FiatFormHeading.d.ts +21 -0
  50. package/dist/src/fiat/FiatFormHeading.d.ts.map +1 -0
  51. package/dist/src/fiat/FiatFormScreen.d.ts +7 -1
  52. package/dist/src/fiat/FiatFormScreen.d.ts.map +1 -1
  53. package/dist/src/fiat/FiatIdentityStep.d.ts +16 -1
  54. package/dist/src/fiat/FiatIdentityStep.d.ts.map +1 -1
  55. package/dist/src/fiat/FiatKycFieldControl.d.ts +0 -2
  56. package/dist/src/fiat/FiatKycFieldControl.d.ts.map +1 -1
  57. package/dist/src/fiat/FiatKycIntroScreen.d.ts +14 -3
  58. package/dist/src/fiat/FiatKycIntroScreen.d.ts.map +1 -1
  59. package/dist/src/fiat/FiatKycOptionsScreen.d.ts +1 -1
  60. package/dist/src/fiat/FiatKycOptionsScreen.d.ts.map +1 -1
  61. package/dist/src/fiat/FiatKycOutcomeScreen.d.ts +8 -6
  62. package/dist/src/fiat/FiatKycOutcomeScreen.d.ts.map +1 -1
  63. package/dist/src/fiat/FiatKycPhoneField.d.ts +2 -3
  64. package/dist/src/fiat/FiatKycPhoneField.d.ts.map +1 -1
  65. package/dist/src/fiat/FiatOtpScreen.d.ts.map +1 -1
  66. package/dist/src/fiat/FiatPhoneField.d.ts +17 -4
  67. package/dist/src/fiat/FiatPhoneField.d.ts.map +1 -1
  68. package/dist/src/fiat/FiatReceipt.d.ts +9 -3
  69. package/dist/src/fiat/FiatReceipt.d.ts.map +1 -1
  70. package/dist/src/fiat/FiatRegionUnsupportedScreen.d.ts.map +1 -1
  71. package/dist/src/fiat/FiatSsnField.d.ts.map +1 -1
  72. package/dist/src/fiat/FiatSubmissionIndicator.d.ts +7 -1
  73. package/dist/src/fiat/FiatSubmissionIndicator.d.ts.map +1 -1
  74. package/dist/src/fiat/FiatTermsNotice.d.ts +4 -2
  75. package/dist/src/fiat/FiatTermsNotice.d.ts.map +1 -1
  76. package/dist/src/fiat/FiatUnsupportedStep.d.ts +11 -0
  77. package/dist/src/fiat/FiatUnsupportedStep.d.ts.map +1 -0
  78. package/dist/src/fiat/SurfaceSlot.d.ts +8 -3
  79. package/dist/src/fiat/SurfaceSlot.d.ts.map +1 -1
  80. package/dist/src/fiat/closeFailure.d.ts +19 -0
  81. package/dist/src/fiat/closeFailure.d.ts.map +1 -0
  82. package/dist/src/fiat/countryListEntries.d.ts +2 -3
  83. package/dist/src/fiat/countryListEntries.d.ts.map +1 -1
  84. package/dist/src/fiat/depositOutcome.d.ts +18 -1
  85. package/dist/src/fiat/depositOutcome.d.ts.map +1 -1
  86. package/dist/src/fiat/fieldLabel.d.ts +14 -0
  87. package/dist/src/fiat/fieldLabel.d.ts.map +1 -0
  88. package/dist/src/fiat/formLayout.d.ts +16 -3
  89. package/dist/src/fiat/formLayout.d.ts.map +1 -1
  90. package/dist/src/fiat/formValidationError.d.ts +4 -2
  91. package/dist/src/fiat/formValidationError.d.ts.map +1 -1
  92. package/dist/src/fiat/kycFailover.d.ts +6 -0
  93. package/dist/src/fiat/kycFailover.d.ts.map +1 -0
  94. package/dist/src/fiat/kycFormState.d.ts +12 -0
  95. package/dist/src/fiat/kycFormState.d.ts.map +1 -1
  96. package/dist/src/fiat/kycFormTheme.d.ts +8 -0
  97. package/dist/src/fiat/kycFormTheme.d.ts.map +1 -1
  98. package/dist/src/fiat/kycUnavailableAlert.d.ts.map +1 -1
  99. package/dist/src/fiat/legalLinks.d.ts +4 -3
  100. package/dist/src/fiat/legalLinks.d.ts.map +1 -1
  101. package/dist/src/fiat/otpScreenProps.d.ts.map +1 -1
  102. package/dist/src/fiat/paymentSurfaceFailure.d.ts +56 -0
  103. package/dist/src/fiat/paymentSurfaceFailure.d.ts.map +1 -0
  104. package/dist/src/fiat/phoneDraft.d.ts +20 -0
  105. package/dist/src/fiat/phoneDraft.d.ts.map +1 -1
  106. package/dist/src/fiat/postalCodeCountries.d.ts +16 -0
  107. package/dist/src/fiat/postalCodeCountries.d.ts.map +1 -0
  108. package/dist/src/fiat/providers/CoinbaseCheckoutSurface.d.ts +8 -2
  109. package/dist/src/fiat/providers/CoinbaseCheckoutSurface.d.ts.map +1 -1
  110. package/dist/src/fiat/providers/SumsubKycSurface.d.ts.map +1 -1
  111. package/dist/src/fiat/providers/TransakApplePaySurface.d.ts.map +1 -1
  112. package/dist/src/fiat/providers/adapter.d.ts +33 -5
  113. package/dist/src/fiat/providers/adapter.d.ts.map +1 -1
  114. package/dist/src/fiat/providers/applePayButtonMetrics.d.ts +1 -2
  115. package/dist/src/fiat/providers/applePayButtonMetrics.d.ts.map +1 -1
  116. package/dist/src/fiat/providers/applePayPaintGate.d.ts +5 -2
  117. package/dist/src/fiat/providers/applePayPaintGate.d.ts.map +1 -1
  118. package/dist/src/fiat/providers/banxaRedirect.d.ts.map +1 -1
  119. package/dist/src/fiat/providers/coinbaseApplePay.d.ts +2 -1
  120. package/dist/src/fiat/providers/coinbaseApplePay.d.ts.map +1 -1
  121. package/dist/src/fiat/providers/coinbaseFailureCopy.d.ts +7 -1
  122. package/dist/src/fiat/providers/coinbaseFailureCopy.d.ts.map +1 -1
  123. package/dist/src/fiat/providers/describeThrown.d.ts.map +1 -1
  124. package/dist/src/fiat/providers/kycIntro.d.ts +20 -0
  125. package/dist/src/fiat/providers/kycIntro.d.ts.map +1 -0
  126. package/dist/src/fiat/providers/moonpay.d.ts +6 -1
  127. package/dist/src/fiat/providers/moonpay.d.ts.map +1 -1
  128. package/dist/src/fiat/providers/moonpayApplePayPainted.d.ts +6 -3
  129. package/dist/src/fiat/providers/moonpayApplePayPainted.d.ts.map +1 -1
  130. package/dist/src/fiat/providers/moonpayApplePayStyle.d.ts +5 -10
  131. package/dist/src/fiat/providers/moonpayApplePayStyle.d.ts.map +1 -1
  132. package/dist/src/fiat/providers/moonpayAuthStyle.d.ts +19 -0
  133. package/dist/src/fiat/providers/moonpayAuthStyle.d.ts.map +1 -0
  134. package/dist/src/fiat/providers/moonpayFeeQuote.d.ts +26 -0
  135. package/dist/src/fiat/providers/moonpayFeeQuote.d.ts.map +1 -0
  136. package/dist/src/fiat/providers/stripeAuthorize.d.ts.map +1 -1
  137. package/dist/src/fiat/providers/stripeCheckout.d.ts.map +1 -1
  138. package/dist/src/fiat/providers/stripeKyc.d.ts +2 -0
  139. package/dist/src/fiat/providers/stripeKyc.d.ts.map +1 -1
  140. package/dist/src/fiat/providers/stripeKycIntro.d.ts +10 -0
  141. package/dist/src/fiat/providers/stripeKycIntro.d.ts.map +1 -0
  142. package/dist/src/fiat/providers/stripePayment.d.ts +2 -2
  143. package/dist/src/fiat/providers/stripePayment.d.ts.map +1 -1
  144. package/dist/src/fiat/providers/stripeRoundPush.d.ts +45 -0
  145. package/dist/src/fiat/providers/stripeRoundPush.d.ts.map +1 -0
  146. package/dist/src/fiat/providers/stripeSeamlessSignIn.d.ts +5 -0
  147. package/dist/src/fiat/providers/stripeSeamlessSignIn.d.ts.map +1 -1
  148. package/dist/src/fiat/providers/stripeSessionAuth.d.ts.map +1 -1
  149. package/dist/src/fiat/providers/sumsubKyc.d.ts.map +1 -1
  150. package/dist/src/fiat/providers/surfaceParams.d.ts +30 -0
  151. package/dist/src/fiat/providers/surfaceParams.d.ts.map +1 -0
  152. package/dist/src/fiat/providers/transakApplePay.d.ts.map +1 -1
  153. package/dist/src/fiat/providers/useStripeOnrampClient.d.ts +0 -10
  154. package/dist/src/fiat/providers/useStripeOnrampClient.d.ts.map +1 -1
  155. package/dist/src/fiat/providers/useStripeSessionAuth.d.ts +42 -0
  156. package/dist/src/fiat/providers/useStripeSessionAuth.d.ts.map +1 -0
  157. package/dist/src/fiat/providers/useWebViewTermination.d.ts +15 -0
  158. package/dist/src/fiat/providers/useWebViewTermination.d.ts.map +1 -0
  159. package/dist/src/fiat/quoteNoRoute.d.ts +11 -0
  160. package/dist/src/fiat/quoteNoRoute.d.ts.map +1 -0
  161. package/dist/src/fiat/renderCaptureSurface.d.ts +2 -0
  162. package/dist/src/fiat/renderCaptureSurface.d.ts.map +1 -1
  163. package/dist/src/fiat/sectionDetail.d.ts +8 -1
  164. package/dist/src/fiat/sectionDetail.d.ts.map +1 -1
  165. package/dist/src/fiat/shownFieldIssues.d.ts +17 -0
  166. package/dist/src/fiat/shownFieldIssues.d.ts.map +1 -0
  167. package/dist/src/fiat/stepDetails.d.ts +13 -14
  168. package/dist/src/fiat/stepDetails.d.ts.map +1 -1
  169. package/dist/src/fiat/subdivisions.d.ts +6 -0
  170. package/dist/src/fiat/subdivisions.d.ts.map +1 -1
  171. package/dist/src/fiat/useContactAutoSubmit.d.ts +20 -0
  172. package/dist/src/fiat/useContactAutoSubmit.d.ts.map +1 -0
  173. package/dist/src/fiat/useFiatCheckoutPreparation.d.ts +2 -1
  174. package/dist/src/fiat/useFiatCheckoutPreparation.d.ts.map +1 -1
  175. package/dist/src/fiat/useKycCaptureRound.d.ts +16 -0
  176. package/dist/src/fiat/useKycCaptureRound.d.ts.map +1 -0
  177. package/dist/src/fiat/useKycCompletion.d.ts.map +1 -1
  178. package/dist/src/fiat/useOtpAutoSubmit.d.ts +15 -2
  179. package/dist/src/fiat/useOtpAutoSubmit.d.ts.map +1 -1
  180. package/dist/src/fiat/useOtpReceipt.d.ts +3 -2
  181. package/dist/src/fiat/useOtpReceipt.d.ts.map +1 -1
  182. package/dist/src/fiat/useReceiptTitles.d.ts +6 -0
  183. package/dist/src/fiat/useReceiptTitles.d.ts.map +1 -0
  184. package/dist/src/flow/DepositAmountStep.d.ts.map +1 -1
  185. package/dist/src/flow/DepositAssetPicker.d.ts +4 -2
  186. package/dist/src/flow/DepositAssetPicker.d.ts.map +1 -1
  187. package/dist/src/flow/DepositFlowContent.d.ts.map +1 -1
  188. package/dist/src/flow/DepositReceivedToast.d.ts +2 -2
  189. package/dist/src/flow/DepositReceivedToast.d.ts.map +1 -1
  190. package/dist/src/flow/FeeDetailsSheet.d.ts +3 -1
  191. package/dist/src/flow/FeeDetailsSheet.d.ts.map +1 -1
  192. package/dist/src/flow/FiatDepositAmountStep.d.ts +11 -1
  193. package/dist/src/flow/FiatDepositAmountStep.d.ts.map +1 -1
  194. package/dist/src/flow/FlowPage.d.ts +3 -0
  195. package/dist/src/flow/FlowPage.d.ts.map +1 -1
  196. package/dist/src/flow/FlowSheet.d.ts +10 -2
  197. package/dist/src/flow/FlowSheet.d.ts.map +1 -1
  198. package/dist/src/flow/FunkitFlowProvider.d.ts +3 -0
  199. package/dist/src/flow/FunkitFlowProvider.d.ts.map +1 -1
  200. package/dist/src/flow/SheetMaterial.d.ts +7 -6
  201. package/dist/src/flow/SheetMaterial.d.ts.map +1 -1
  202. package/dist/src/flow/WithdrawalFlowContent.d.ts.map +1 -1
  203. package/dist/src/flow/depositFlowConfig.d.ts +24 -7
  204. package/dist/src/flow/depositFlowConfig.d.ts.map +1 -1
  205. package/dist/src/flow/depositRailCopy.d.ts +2 -0
  206. package/dist/src/flow/depositRailCopy.d.ts.map +1 -1
  207. package/dist/src/flow/flowError.d.ts +3 -1
  208. package/dist/src/flow/flowError.d.ts.map +1 -1
  209. package/dist/src/flow/guardHostCallbacks.d.ts +8 -1
  210. package/dist/src/flow/guardHostCallbacks.d.ts.map +1 -1
  211. package/dist/src/flow/sheetPressHold.d.ts +24 -0
  212. package/dist/src/flow/sheetPressHold.d.ts.map +1 -0
  213. package/dist/src/flow/swipeBack.d.ts +30 -0
  214. package/dist/src/flow/swipeBack.d.ts.map +1 -0
  215. package/dist/src/flow/useDepositReceivedToast.d.ts.map +1 -1
  216. package/dist/src/flow/useFlowTransitions.d.ts +47 -0
  217. package/dist/src/flow/useFlowTransitions.d.ts.map +1 -0
  218. package/dist/src/flow/useKeyboardHeight.d.ts +2 -2
  219. package/dist/src/flow/useKeyboardHeight.d.ts.map +1 -1
  220. package/dist/src/flow/v2DepositCustomers.d.ts +2 -0
  221. package/dist/src/flow/v2DepositCustomers.d.ts.map +1 -0
  222. package/dist/src/flow/validateClientMetadata.d.ts.map +1 -1
  223. package/dist/src/hooks/usePressScale.d.ts +2 -6
  224. package/dist/src/hooks/usePressScale.d.ts.map +1 -1
  225. package/dist/src/icons/assetLogos.d.ts.map +1 -1
  226. package/dist/src/identity/IdentityContext.d.ts +8 -0
  227. package/dist/src/identity/IdentityContext.d.ts.map +1 -1
  228. package/dist/src/logging/datadogHttpLogTransport.d.ts +10 -3
  229. package/dist/src/logging/datadogHttpLogTransport.d.ts.map +1 -1
  230. package/dist/src/logging/logger.d.ts.map +1 -1
  231. package/dist/src/native/glassEffect.d.ts +20 -0
  232. package/dist/src/native/glassEffect.d.ts.map +1 -1
  233. package/dist/src/preview/fixtures/kycForms.d.ts +45 -0
  234. package/dist/src/preview/fixtures/kycForms.d.ts.map +1 -0
  235. package/dist/src/preview/flowPreview.d.ts +142 -0
  236. package/dist/src/preview/flowPreview.d.ts.map +1 -0
  237. package/dist/src/preview/previewFetch.d.ts +10 -0
  238. package/dist/src/preview/previewFetch.d.ts.map +1 -0
  239. package/dist/src/preview/scenarioCatalog.d.ts +380 -0
  240. package/dist/src/preview/scenarioCatalog.d.ts.map +1 -0
  241. package/dist/src/preview/scenarios.d.ts +57 -0
  242. package/dist/src/preview/scenarios.d.ts.map +1 -0
  243. package/dist/src/providers/FunkitI18nProvider.d.ts +2 -0
  244. package/dist/src/providers/FunkitI18nProvider.d.ts.map +1 -1
  245. package/dist/src/providers/useFunkitCheckout.d.ts +6 -0
  246. package/dist/src/providers/useFunkitCheckout.d.ts.map +1 -1
  247. package/dist/src/screens/DepositAmountScreen.d.ts +9 -2
  248. package/dist/src/screens/DepositAmountScreen.d.ts.map +1 -1
  249. package/dist/src/screens/FeeDetailsScreen.d.ts.map +1 -1
  250. package/dist/src/screens/TokenAndChainPickerScreen.d.ts +3 -1
  251. package/dist/src/screens/TokenAndChainPickerScreen.d.ts.map +1 -1
  252. package/dist/src/screens/WithdrawCryptoSteps.d.ts.map +1 -1
  253. package/dist/src/screens/depositMetrics.d.ts +40 -3
  254. package/dist/src/screens/depositMetrics.d.ts.map +1 -1
  255. package/dist/src/swapped/SwappedWebView.d.ts.map +1 -1
  256. package/dist/src/theme/keyboardAppearance.d.ts +10 -0
  257. package/dist/src/theme/keyboardAppearance.d.ts.map +1 -0
  258. package/dist/src/theme/tokens.d.ts +4 -1
  259. package/dist/src/theme/tokens.d.ts.map +1 -1
  260. package/dist/src/transfer/depositAssets.d.ts +6 -4
  261. package/dist/src/transfer/depositAssets.d.ts.map +1 -1
  262. package/dist/src/transfer/hooks/useLockedTokenAmount.d.ts +19 -1
  263. package/dist/src/transfer/hooks/useLockedTokenAmount.d.ts.map +1 -1
  264. package/dist/src/transfer/hooks/useUDAParams.d.ts.map +1 -1
  265. package/dist/src/transfer/lockedQuoteSource.d.ts +23 -0
  266. package/dist/src/transfer/lockedQuoteSource.d.ts.map +1 -0
  267. package/dist/src/transfer/lockedTokenAmount.d.ts +25 -0
  268. package/dist/src/transfer/lockedTokenAmount.d.ts.map +1 -1
  269. package/dist/src/utils/formatAmount.d.ts +1 -0
  270. package/dist/src/utils/formatAmount.d.ts.map +1 -1
  271. package/dist/src/utils/motion.d.ts +6 -0
  272. package/dist/src/utils/motion.d.ts.map +1 -1
  273. package/dist/src/withdrawal/useCryptoWithdrawalForm.d.ts +3 -2
  274. package/dist/src/withdrawal/useCryptoWithdrawalForm.d.ts.map +1 -1
  275. package/ios/FrostedGlassView.swift +207 -0
  276. package/ios/FunkitGlassEffect.podspec +1 -1
  277. package/ios/FunkitGlassEffectModule.swift +42 -0
  278. package/package.json +14 -8
  279. package/dist/chunk-D64EJ57D.js.map +0 -7
  280. package/dist/chunk-J5K2FSAI.js.map +0 -7
  281. package/dist/src/components/ActionLoading.d.ts +0 -19
  282. package/dist/src/components/ActionLoading.d.ts.map +0 -1
  283. package/dist/src/fiat/FiatConsentCheck.d.ts +0 -11
  284. package/dist/src/fiat/FiatConsentCheck.d.ts.map +0 -1
  285. package/dist/src/fiat/FiatFormConsent.d.ts +0 -6
  286. package/dist/src/fiat/FiatFormConsent.d.ts.map +0 -1
  287. package/dist/src/fiat/FiatQuotePrice.d.ts +0 -12
  288. package/dist/src/fiat/FiatQuotePrice.d.ts.map +0 -1
  289. package/dist/src/fiat/providerFailover.d.ts +0 -12
  290. package/dist/src/fiat/providerFailover.d.ts.map +0 -1
  291. package/dist/src/fiat/providers/StripeSessionAuthController.d.ts +0 -29
  292. package/dist/src/fiat/providers/StripeSessionAuthController.d.ts.map +0 -1
  293. package/dist/src/fiat/providers/moonpayTrace.d.ts +0 -25
  294. package/dist/src/fiat/providers/moonpayTrace.d.ts.map +0 -1
  295. package/dist/src/fiat/useQuoteableCeiling.d.ts +0 -28
  296. package/dist/src/fiat/useQuoteableCeiling.d.ts.map +0 -1
  297. /package/dist/{chunk-GG2WCQ6N.js.map → chunk-3ZNAGQHD.js.map} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"datadogHttpLogTransport.d.ts","sourceRoot":"","sources":["../../../src/logging/datadogHttpLogTransport.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,SAAS,EACT,YAAY,EACZ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D;;;;;GAKG;AACH,eAAO,MAAM,MAAM,WAKlB,CAAA"}
1
+ {"version":3,"file":"logger.d.ts","sourceRoot":"","sources":["../../../src/logging/logger.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;AAShD;;;;;GAKG;AACH,eAAO,MAAM,MAAM,WAKlB,CAAA"}
@@ -6,6 +6,7 @@ export interface GlassViewProps extends ViewProps {
6
6
  tintColor?: ColorValue;
7
7
  isInteractive?: boolean;
8
8
  colorScheme?: 'auto' | 'light' | 'dark';
9
+ borderRadius?: number;
9
10
  /**
10
11
  * Corners follow the enclosing container — the screen, for a full-bleed view
11
12
  * (iOS 26 `containerConcentric`). Overrides the fixed radius props.
@@ -13,6 +14,25 @@ export interface GlassViewProps extends ViewProps {
13
14
  concentricCorners?: boolean;
14
15
  concentricMinimumRadius?: number;
15
16
  }
17
+ export type FrostStyle = 'regular' | 'light' | 'dark' | 'systemUltraThinMaterialLight' | 'systemUltraThinMaterialDark';
18
+ export interface FrostedGlassViewProps extends ViewProps {
19
+ blurStyle?: FrostStyle;
20
+ /** 0–100, on expo-blur's scale. */
21
+ blurIntensity?: number;
22
+ /** Painted over the blur, under the glass. */
23
+ fillColor?: ColorValue;
24
+ /** Left out, the view draws no glass. Ignored below iOS 26. */
25
+ glassStyle?: Exclude<GlassStyle, 'none'>;
26
+ glassTint?: ColorValue;
27
+ colorScheme?: 'auto' | 'light' | 'dark';
28
+ /** Every layer's corner, and below iOS 26 the corner of a concentric view too. */
29
+ cornerRadius?: number;
30
+ /** Every layer follows the enclosing container's corner (iOS 26 `containerConcentric`). */
31
+ concentricCorners?: boolean;
32
+ concentricMinimumRadius?: number;
33
+ }
16
34
  export declare const isLiquidGlassAvailable: boolean;
17
35
  export declare const GlassView: ComponentType<GlassViewProps> | null;
36
+ /** Linked on every iOS version the pod supports; draws glass only where {@link isLiquidGlassAvailable}. */
37
+ export declare const FrostedGlassView: ComponentType<FrostedGlassViewProps> | null;
18
38
  //# sourceMappingURL=glassEffect.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"glassEffect.d.ts","sourceRoot":"","sources":["../../../src/native/glassEffect.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAC1C,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAIzD,MAAM,MAAM,UAAU,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,CAAA;AAErD,MAAM,WAAW,cAAe,SAAQ,SAAS;IAC/C,gBAAgB,CAAC,EAAE,UAAU,CAAA;IAC7B,SAAS,CAAC,EAAE,UAAU,CAAA;IACtB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,WAAW,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,MAAM,CAAA;IACvC;;;OAGG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,uBAAuB,CAAC,EAAE,MAAM,CAAA;CACjC;AAWD,eAAO,MAAM,sBAAsB,SAEW,CAAA;AAE9C,eAAO,MAAM,SAAS,EAAE,aAAa,CAAC,cAAc,CAAC,GAAG,IAG9C,CAAA"}
1
+ {"version":3,"file":"glassEffect.d.ts","sourceRoot":"","sources":["../../../src/native/glassEffect.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAC1C,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAIzD,MAAM,MAAM,UAAU,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,CAAA;AAErD,MAAM,WAAW,cAAe,SAAQ,SAAS;IAC/C,gBAAgB,CAAC,EAAE,UAAU,CAAA;IAC7B,SAAS,CAAC,EAAE,UAAU,CAAA;IACtB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,WAAW,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,MAAM,CAAA;IACvC,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB;;;OAGG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,uBAAuB,CAAC,EAAE,MAAM,CAAA;CACjC;AAED,MAAM,MAAM,UAAU,GAClB,SAAS,GACT,OAAO,GACP,MAAM,GACN,8BAA8B,GAC9B,6BAA6B,CAAA;AAEjC,MAAM,WAAW,qBAAsB,SAAQ,SAAS;IACtD,SAAS,CAAC,EAAE,UAAU,CAAA;IACtB,mCAAmC;IACnC,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,8CAA8C;IAC9C,SAAS,CAAC,EAAE,UAAU,CAAA;IACtB,+DAA+D;IAC/D,UAAU,CAAC,EAAE,OAAO,CAAC,UAAU,EAAE,MAAM,CAAC,CAAA;IACxC,SAAS,CAAC,EAAE,UAAU,CAAA;IACtB,WAAW,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,MAAM,CAAA;IACvC,kFAAkF;IAClF,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,2FAA2F;IAC3F,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,uBAAuB,CAAC,EAAE,MAAM,CAAA;CACjC;AAaD,eAAO,MAAM,sBAAsB,SAEW,CAAA;AAE9C,eAAO,MAAM,SAAS,EAAE,aAAa,CAAC,cAAc,CAAC,GAAG,IAG9C,CAAA;AAEV,2GAA2G;AAC3G,eAAO,MAAM,gBAAgB,EAAE,aAAa,CAAC,qBAAqB,CAAC,GAAG,IAG5D,CAAA"}
@@ -0,0 +1,45 @@
1
+ import type { FormDescriptor, Quote } from '@funkit/connect-core';
2
+ /** Every field the L1 frames draw, and nothing else. */
3
+ export declare const US_ROUND: FormDescriptor;
4
+ export declare const LAST_FOUR_FORM: FormDescriptor;
5
+ export declare const COUNTRY_FORM: FormDescriptor;
6
+ /** An address round as MoonPay words it, whose labels follow the country. */
7
+ export declare const ADDRESS_ROUND: FormDescriptor;
8
+ /** The round MoonPay closes with: one COUNTRY-typed field, asked alone. */
9
+ export declare const NATIONALITY_FORM: FormDescriptor;
10
+ /** A COUNTRY field no frame drew, so the catch-all page has to name it. */
11
+ export declare const DETAILS_COUNTRY_FORM: FormDescriptor;
12
+ export declare const OCCUPATION_FORM: FormDescriptor;
13
+ export declare const PURPOSE_FORM: FormDescriptor;
14
+ /**
15
+ * MoonPay's customer due diligence round: the tax fields, the phone, and the
16
+ * declarations and figures its questionnaire asks for, all in one form.
17
+ */
18
+ export declare const DUE_DILIGENCE_FORM: FormDescriptor;
19
+ /** The additional-information round the L2 faceplate introduces. */
20
+ export declare const L2_FORM: FormDescriptor;
21
+ /** A form the native renderer has no drawing for. */
22
+ export declare const UNSUPPORTED_FORM: FormDescriptor;
23
+ /**
24
+ * The quote the round carries, so the price stays on screen through
25
+ * verification. `$105` is the amount the frames are drawn with.
26
+ */
27
+ export declare const US_QUOTE: Quote;
28
+ export declare const VALID_VALUES: {
29
+ LEGAL_FIRST_NAME: string;
30
+ LEGAL_LAST_NAME: string;
31
+ DATE_OF_BIRTH: string;
32
+ RESIDENTIAL_ADDRESS_LINE_1: string;
33
+ RESIDENTIAL_ADDRESS_CITY: string;
34
+ RESIDENTIAL_ADDRESS_REGION: string;
35
+ RESIDENTIAL_ADDRESS_POSTAL_CODE: string;
36
+ TAX_IDENTIFIER: string;
37
+ };
38
+ /** The Brooklyn address the KYC R2 address frames are drawn with. */
39
+ export declare const FRAME_ADDRESS: {
40
+ RESIDENTIAL_ADDRESS_LINE_1: string;
41
+ RESIDENTIAL_ADDRESS_CITY: string;
42
+ RESIDENTIAL_ADDRESS_REGION: string;
43
+ RESIDENTIAL_ADDRESS_POSTAL_CODE: string;
44
+ };
45
+ //# sourceMappingURL=kycForms.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"kycForms.d.ts","sourceRoot":"","sources":["../../../../src/preview/fixtures/kycForms.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAa,KAAK,EAAE,MAAM,sBAAsB,CAAA;AAmB5E,wDAAwD;AACxD,eAAO,MAAM,QAAQ,EAAE,cA4BtB,CAAA;AAED,eAAO,MAAM,cAAc,EAAE,cAW5B,CAAA;AAED,eAAO,MAAM,YAAY,EAAE,cAU1B,CAAA;AAED,6EAA6E;AAC7E,eAAO,MAAM,aAAa,EAAE,cAS3B,CAAA;AAED,2EAA2E;AAC3E,eAAO,MAAM,gBAAgB,EAAE,cAU9B,CAAA;AAED,2EAA2E;AAC3E,eAAO,MAAM,oBAAoB,EAAE,cAUlC,CAAA;AAED,eAAO,MAAM,eAAe,EAAE,cAwB7B,CAAA;AAED,eAAO,MAAM,YAAY,EAAE,cAc1B,CAAA;AA+BD;;;GAGG;AACH,eAAO,MAAM,kBAAkB,EAAE,cA2ChC,CAAA;AAED,oEAAoE;AACpE,eAAO,MAAM,OAAO,EAAE,cAYrB,CAAA;AAED,qDAAqD;AACrD,eAAO,MAAM,gBAAgB,EAAE,cAU9B,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,QAAQ,EAAE,KAStB,CAAA;AAED,eAAO,MAAM,YAAY;;;;;;;;;CASxB,CAAA;AAED,qEAAqE;AACrE,eAAO,MAAM,aAAa;;;;;CAKzB,CAAA"}
@@ -0,0 +1,142 @@
1
+ import type { FiatStepResponse } from '@funkit/connect-core';
2
+ import { type Dispatch, type ReactNode, type SetStateAction } from 'react';
3
+ import type { KycCompletion } from '../fiat/useKycCompletion';
4
+ import type { KycSection } from '../fiat/formLayout';
5
+ import type { FlowScreen } from '../flow/FunkitFlowProvider';
6
+ /**
7
+ * Where the fiat session opens. Each field seeds one piece of state a user would otherwise reach
8
+ * by tapping through, so any screen of the rail is one seed away.
9
+ */
10
+ export interface FiatPreviewSeed {
11
+ /** The step response the session opens on, as if the backend had just sent it. */
12
+ step?: FiatStepResponse;
13
+ /** The amount entry's value. */
14
+ amount?: string;
15
+ /** Presses the entry CTA once it is ready: opens the contact round, or the KYC options card. */
16
+ pressEntry?: boolean;
17
+ /** An identity round's consent intro, or its form open at a section. */
18
+ identity?: {
19
+ page: 'consent';
20
+ } | {
21
+ page: 'form';
22
+ section?: KycSection;
23
+ };
24
+ /** Past the document-capture intro, onto the provider's own surface. */
25
+ documentStarted?: boolean;
26
+ /** The acknowledgement a finished identity form shows before its verdict. */
27
+ kycCompletion?: KycCompletion;
28
+ /** A provider surface that failed, as the adapter reports it. */
29
+ surfaceFailure?: {
30
+ code: string;
31
+ detail?: string;
32
+ };
33
+ /** Submits the seeded step's CTA with this id on open — how a failed send is reached. */
34
+ submitOnOpen?: string;
35
+ }
36
+ export interface DepositPreviewSeed {
37
+ /** The screen the flow opens on; defaults to the root `beginDeposit` picks. Transfer opens above it. */
38
+ screen?: Extract<FlowScreen, 'depositAmount' | 'addMoney' | 'transfer'>;
39
+ fiat?: FiatPreviewSeed;
40
+ /** The deposit chain, by id, as if picked from the Crypto row — Transfer needs one. */
41
+ chainId?: string;
42
+ }
43
+ type WithdrawalStackScreen = Extract<FlowScreen, 'withdrawMethod' | 'withdrawAmount' | 'withdrawAddress' | 'withdrawReceiveToken'>;
44
+ /** The submitted withdrawal the completion screen reports on. */
45
+ export interface WithdrawalPreviewCompletion {
46
+ txHash: `0x${string}`;
47
+ amountLabel: string;
48
+ usdLabel?: string;
49
+ tokenLabel?: string;
50
+ }
51
+ interface WithdrawalPreviewFields {
52
+ /** The payout method picked on the list, by `WithdrawalMethodOption.id`. */
53
+ methodId?: string;
54
+ amount?: string;
55
+ recipient?: string;
56
+ /** The retryable error that replaces every screen after a failed execution. */
57
+ executionError?: boolean;
58
+ }
59
+ /**
60
+ * The withdrawal flow's opening state. The type rules out the stacks that render nothing: an
61
+ * empty one, and a completion screen with no withdrawal to report.
62
+ */
63
+ export type WithdrawalPreviewSeed = WithdrawalPreviewFields & ({
64
+ /** The screens on the stack, root first; defaults to the payout-method list. */
65
+ stack?: [WithdrawalStackScreen, ...WithdrawalStackScreen[]];
66
+ complete?: undefined;
67
+ } | {
68
+ stack: ['withdrawComplete'];
69
+ complete: WithdrawalPreviewCompletion;
70
+ });
71
+ /**
72
+ * A state to open the SDK's flow at, for hosted previews and QA builds.
73
+ * - Consumed by the next matching `begin*` only; closing and reopening starts clean.
74
+ * - Never set in production: every read falls back to the flow's own start.
75
+ */
76
+ export interface FlowPreviewSeed {
77
+ deposit?: DepositPreviewSeed;
78
+ withdrawal?: WithdrawalPreviewSeed;
79
+ }
80
+ /**
81
+ * Opens the next `beginDeposit` / `beginWithdrawal` below it at `seed`.
82
+ * - Mount it above `<FunkitProvider>`.
83
+ * - Memoize `seed`: a new object is a new preview, so one built inline reopens every flow seeded.
84
+ */
85
+ export declare function FunkitFlowPreview({ seed, children, }: {
86
+ seed: FlowPreviewSeed | undefined;
87
+ children: ReactNode;
88
+ }): import("react").JSX.Element;
89
+ /** The seed a host mounted; read by the flow provider when a flow opens. */
90
+ export declare function useHostFlowPreview(): FlowPreviewSeed | undefined;
91
+ /** The seeds of the flow session a host preview opened; empty everywhere else. */
92
+ export interface ActivePreview {
93
+ deposit?: DepositPreviewSeed;
94
+ withdrawal?: WithdrawalPreviewSeed;
95
+ }
96
+ /** Scopes a consumed seed to the one flow session it opened. */
97
+ export declare function ActiveFlowPreview({ deposit, withdrawal, children, }: {
98
+ deposit?: DepositPreviewSeed;
99
+ withdrawal?: WithdrawalPreviewSeed;
100
+ children: ReactNode;
101
+ }): import("react").JSX.Element;
102
+ /** Reads one seed value out of the session's preview. */
103
+ export type PreviewPick<T> = (preview: ActivePreview) => T | undefined;
104
+ /**
105
+ * Every seed value a flow reads, one reader each. Readers are tracked by identity, so each is
106
+ * declared once here rather than inline where it is read.
107
+ */
108
+ export declare const SEED: {
109
+ fiatAmount: (p: ActivePreview) => string | undefined;
110
+ fiatStep: (p: ActivePreview) => FiatStepResponse | undefined;
111
+ fiatPressEntry: (p: ActivePreview) => boolean | undefined;
112
+ fiatSubmitOnOpen: (p: ActivePreview) => string | undefined;
113
+ fiatSurfaceFailure: (p: ActivePreview) => {
114
+ code: string;
115
+ detail?: string;
116
+ } | undefined;
117
+ kycCompletion: (p: ActivePreview) => "restricted" | "review" | "hold" | undefined;
118
+ identityPage: (p: ActivePreview) => "form" | "consent" | undefined;
119
+ identitySection: (p: ActivePreview) => KycSection | undefined;
120
+ documentStarted: (p: ActivePreview) => boolean | undefined;
121
+ depositChainId: (p: ActivePreview) => string | undefined;
122
+ withdrawalMethodId: (p: ActivePreview) => string | undefined;
123
+ withdrawalAmount: (p: ActivePreview) => string | undefined;
124
+ withdrawalRecipient: (p: ActivePreview) => string | undefined;
125
+ withdrawalComplete: (p: ActivePreview) => WithdrawalPreviewCompletion | undefined;
126
+ withdrawalExecutionError: (p: ActivePreview) => boolean | undefined;
127
+ };
128
+ /**
129
+ * The seed value for the first mount that reads it; `undefined` for every mount after.
130
+ * - A later mount of the same reader is the user moving on (a new round, a return to the entry),
131
+ * so a seed never re-applies after the state it describes.
132
+ * - Marked read on commit, so Strict Mode's double render still sees it.
133
+ */
134
+ export declare function useSeed<T>(pick: PreviewPick<T>): T | undefined;
135
+ /**
136
+ * `useState` whose initial value a host preview may seed; production always starts at `initial`.
137
+ * `fromSeed` shapes a seed value into the state when the two differ.
138
+ */
139
+ export declare function useSeededState<T>(pick: PreviewPick<T>, initial: T): [T, Dispatch<SetStateAction<T>>];
140
+ export declare function useSeededState<S, T>(pick: PreviewPick<S>, initial: T, fromSeed: (seed: S) => T): [T, Dispatch<SetStateAction<T>>];
141
+ export {};
142
+ //# sourceMappingURL=flowPreview.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"flowPreview.d.ts","sourceRoot":"","sources":["../../../src/preview/flowPreview.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAA;AAC5D,OAAO,EACL,KAAK,QAAQ,EACb,KAAK,SAAS,EACd,KAAK,cAAc,EAMpB,MAAM,OAAO,CAAA;AAEd,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAA;AAC7D,OAAO,KAA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MAAM,MAAM,WAAW,CAAC,CAAC,IAAI,CAAC,OAAO,EAAE,aAAa,KAAK,CAAC,GAAG,SAAS,CAAA;AAEtE;;;GAGG;AACH,eAAO,MAAM,IAAI;;;;;;cAjIU,MAAM;iBAAW,MAAM;;;;;;;;;;;;CAoJF,CAAA;AAIhD;;;;;GAKG;AACH,wBAAgB,OAAO,CAAC,CAAC,EAAE,IAAI,EAAE,WAAW,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,SAAS,CAc9D;AAED;;;GAGG;AACH,wBAAgB,cAAc,CAAC,CAAC,EAC9B,IAAI,EAAE,WAAW,CAAC,CAAC,CAAC,EACpB,OAAO,EAAE,CAAC,GACT,CAAC,CAAC,EAAE,QAAQ,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;AACnC,wBAAgB,cAAc,CAAC,CAAC,EAAE,CAAC,EACjC,IAAI,EAAE,WAAW,CAAC,CAAC,CAAC,EACpB,OAAO,EAAE,CAAC,EACV,QAAQ,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,CAAC,GACvB,CAAC,CAAC,EAAE,QAAQ,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA"}
@@ -0,0 +1,10 @@
1
+ import { type PreviewScenario } from './scenarios';
2
+ type Fetch = typeof fetch;
3
+ /**
4
+ * A `fetch` that answers the fiat backend from a scenario and passes every other request through.
5
+ * - The session stays on whatever step it was last sent: polls and unlisted CTAs re-send it.
6
+ * - Install it as `globalThis.fetch` before the flow opens; `@funkit/api-base` reads it per call.
7
+ */
8
+ export declare function createPreviewFetch(scenario: PreviewScenario, passThrough: Fetch): Fetch;
9
+ export {};
10
+ //# sourceMappingURL=previewFetch.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"previewFetch.d.ts","sourceRoot":"","sources":["../../../src/preview/previewFetch.ts"],"names":[],"mappings":"AAIA,OAAO,EAIL,KAAK,eAAe,EACrB,MAAM,aAAa,CAAA;AAEpB,KAAK,KAAK,GAAG,OAAO,KAAK,CAAA;AA0EzB;;;;GAIG;AACH,wBAAgB,kBAAkB,CAChC,QAAQ,EAAE,eAAe,EACzB,WAAW,EAAE,KAAK,GACjB,KAAK,CA2DP"}
@@ -0,0 +1,380 @@
1
+ export type PreviewFlow = 'deposit' | 'withdrawal';
2
+ /**
3
+ * What the host's flow config must offer for the scenario to open.
4
+ * - `fiatRail`: an amount-first deposit with a fiat rail (Fomo, Pump.fun).
5
+ * - `cryptoDeposit`: the Add money deposit (Betty, Mallard, Ulys, …).
6
+ * - `cryptoWithdrawal`: a crypto withdrawal config (Mallard, Ulys).
7
+ */
8
+ export type PreviewRequirement = 'fiatRail' | 'cryptoDeposit' | 'cryptoWithdrawal';
9
+ export interface PreviewScenarioEntry {
10
+ title: string;
11
+ flow: PreviewFlow;
12
+ requires: PreviewRequirement;
13
+ /** Source files, relative to `src/`, whose change makes this state worth a link. */
14
+ touches: readonly string[];
15
+ }
16
+ export declare const PREVIEW_SCENARIO_CATALOG: {
17
+ readonly 'fiat.amount': {
18
+ readonly title: "Amount entry, priced";
19
+ readonly flow: "deposit";
20
+ readonly requires: "fiatRail";
21
+ readonly touches: string[];
22
+ };
23
+ readonly 'fiat.amount.empty': {
24
+ readonly title: "Amount entry, empty";
25
+ readonly flow: "deposit";
26
+ readonly requires: "fiatRail";
27
+ readonly touches: string[];
28
+ };
29
+ readonly 'fiat.amount.belowMinimum': {
30
+ readonly title: "Amount entry, below the provider minimum";
31
+ readonly flow: "deposit";
32
+ readonly requires: "fiatRail";
33
+ readonly touches: string[];
34
+ };
35
+ readonly 'fiat.amount.noProvider': {
36
+ readonly title: "Amount entry, no provider serves this buyer (fun-backend #4936)";
37
+ readonly flow: "deposit";
38
+ readonly requires: "fiatRail";
39
+ readonly touches: string[];
40
+ };
41
+ readonly 'fiat.amount.kycUnservable': {
42
+ readonly title: "Amount entry, identity no provider can take (fun-backend #4875)";
43
+ readonly flow: "deposit";
44
+ readonly requires: "fiatRail";
45
+ readonly touches: string[];
46
+ };
47
+ readonly 'fiat.amount.userLimit': {
48
+ readonly title: "Amount entry, over the buyer's provider limit (fun-backend #4936)";
49
+ readonly flow: "deposit";
50
+ readonly requires: "fiatRail";
51
+ readonly touches: string[];
52
+ };
53
+ readonly 'fiat.amount.providerOutage': {
54
+ readonly title: "Amount entry, providers down (fun-backend #4936)";
55
+ readonly flow: "deposit";
56
+ readonly requires: "fiatRail";
57
+ readonly touches: string[];
58
+ };
59
+ readonly 'fiat.amount.noRouteToday': {
60
+ readonly title: "Amount entry, today's no-route refusal (still Try again)";
61
+ readonly flow: "deposit";
62
+ readonly requires: "fiatRail";
63
+ readonly touches: string[];
64
+ };
65
+ readonly 'fiat.amount.currencyLookupFailed': {
66
+ readonly title: "Amount entry, the buyer's currency lookup failed";
67
+ readonly flow: "deposit";
68
+ readonly requires: "fiatRail";
69
+ readonly touches: string[];
70
+ };
71
+ readonly 'fiat.contact.email': {
72
+ readonly title: "Contact: email";
73
+ readonly flow: "deposit";
74
+ readonly requires: "fiatRail";
75
+ readonly touches: readonly ["fiat/FiatContactScreen.tsx", "fiat/sessionContact.ts"];
76
+ };
77
+ readonly 'fiat.contact.phone': {
78
+ readonly title: "Contact: phone";
79
+ readonly flow: "deposit";
80
+ readonly requires: "fiatRail";
81
+ readonly touches: readonly ["fiat/FiatContactScreen.tsx", "fiat/FiatPhoneField.tsx", "fiat/useContactAutoSubmit.ts"];
82
+ };
83
+ readonly 'fiat.otp.email': {
84
+ readonly title: "OTP: email code";
85
+ readonly flow: "deposit";
86
+ readonly requires: "fiatRail";
87
+ readonly touches: readonly ["fiat/FiatOtpScreen.tsx"];
88
+ };
89
+ readonly 'fiat.otp.sms': {
90
+ readonly title: "OTP: SMS code";
91
+ readonly flow: "deposit";
92
+ readonly requires: "fiatRail";
93
+ readonly touches: readonly ["fiat/FiatOtpScreen.tsx"];
94
+ };
95
+ readonly 'kyc.l1.intro': {
96
+ readonly title: "KYC L1: consent faceplate";
97
+ readonly flow: "deposit";
98
+ readonly requires: "fiatRail";
99
+ readonly touches: string[];
100
+ };
101
+ readonly 'kyc.l1.name': {
102
+ readonly title: "KYC L1: name";
103
+ readonly flow: "deposit";
104
+ readonly requires: "fiatRail";
105
+ readonly touches: string[];
106
+ };
107
+ readonly 'kyc.l1.dob': {
108
+ readonly title: "KYC L1: date of birth";
109
+ readonly flow: "deposit";
110
+ readonly requires: "fiatRail";
111
+ readonly touches: readonly [...string[], "fiat/FiatBirthDateField.tsx"];
112
+ };
113
+ readonly 'kyc.l1.address': {
114
+ readonly title: "KYC L1: address";
115
+ readonly flow: "deposit";
116
+ readonly requires: "fiatRail";
117
+ readonly touches: readonly [...string[], "fiat/subdivisions.ts"];
118
+ };
119
+ readonly 'kyc.l1.ssn': {
120
+ readonly title: "KYC L1: SSN";
121
+ readonly flow: "deposit";
122
+ readonly requires: "fiatRail";
123
+ readonly touches: readonly [...string[], "fiat/FiatSsnField.tsx"];
124
+ };
125
+ readonly 'kyc.nationality': {
126
+ readonly title: "KYC: nationality";
127
+ readonly flow: "deposit";
128
+ readonly requires: "fiatRail";
129
+ readonly touches: readonly [...string[], "fiat/FiatCountrySheet.tsx"];
130
+ };
131
+ readonly 'kyc.country': {
132
+ readonly title: "KYC: country of residence";
133
+ readonly flow: "deposit";
134
+ readonly requires: "fiatRail";
135
+ readonly touches: readonly [...string[], "fiat/FiatCountrySheet.tsx"];
136
+ };
137
+ readonly 'kyc.ssnLastFour': {
138
+ readonly title: "KYC: SSN last four";
139
+ readonly flow: "deposit";
140
+ readonly requires: "fiatRail";
141
+ readonly touches: readonly [...string[], "fiat/FiatSsnField.tsx"];
142
+ };
143
+ readonly 'kyc.l2.intro': {
144
+ readonly title: "KYC L2: additional-information faceplate";
145
+ readonly flow: "deposit";
146
+ readonly requires: "fiatRail";
147
+ readonly touches: string[];
148
+ };
149
+ readonly 'kyc.stripe.l1.intro': {
150
+ readonly title: "KYC Stripe L1: step-up faceplate";
151
+ readonly flow: "deposit";
152
+ readonly requires: "fiatRail";
153
+ readonly touches: readonly [...string[], "fiat/providers/kycIntro.ts", "fiat/providers/stripeKycIntro.ts"];
154
+ };
155
+ readonly 'kyc.l2.dob': {
156
+ readonly title: "KYC L2: age";
157
+ readonly flow: "deposit";
158
+ readonly requires: "fiatRail";
159
+ readonly touches: string[];
160
+ };
161
+ readonly 'kyc.l2.occupation': {
162
+ readonly title: "KYC L2: occupation";
163
+ readonly flow: "deposit";
164
+ readonly requires: "fiatRail";
165
+ readonly touches: readonly [...string[], "fiat/FiatChoiceList.tsx"];
166
+ };
167
+ readonly 'kyc.l2.purpose': {
168
+ readonly title: "KYC L2: purpose";
169
+ readonly flow: "deposit";
170
+ readonly requires: "fiatRail";
171
+ readonly touches: readonly [...string[], "fiat/FiatChoiceList.tsx"];
172
+ };
173
+ readonly 'kyc.dueDiligence': {
174
+ readonly title: "KYC: due diligence";
175
+ readonly flow: "deposit";
176
+ readonly requires: "fiatRail";
177
+ readonly touches: string[];
178
+ };
179
+ readonly 'kyc.dueDiligence.income': {
180
+ readonly title: "KYC: due diligence figures";
181
+ readonly flow: "deposit";
182
+ readonly requires: "fiatRail";
183
+ readonly touches: string[];
184
+ };
185
+ readonly 'kyc.form.unsupported': {
186
+ readonly title: "KYC: form this build cannot draw";
187
+ readonly flow: "deposit";
188
+ readonly requires: "fiatRail";
189
+ readonly touches: readonly string[];
190
+ };
191
+ readonly 'kyc.form.retry': {
192
+ readonly title: "KYC: form send failed";
193
+ readonly flow: "deposit";
194
+ readonly requires: "fiatRail";
195
+ readonly touches: readonly [...string[], "fiat/FiatErrorNotice.tsx"];
196
+ };
197
+ readonly 'kyc.capture.intro': {
198
+ readonly title: "KYC: document-capture intro";
199
+ readonly flow: "deposit";
200
+ readonly requires: "fiatRail";
201
+ readonly touches: readonly ["fiat/FiatDocumentCaptureStep.tsx", "fiat/FiatKycIntroScreen.tsx"];
202
+ };
203
+ readonly 'kyc.completion.review': {
204
+ readonly title: "KYC completion: in review";
205
+ readonly flow: "deposit";
206
+ readonly requires: "fiatRail";
207
+ readonly touches: readonly ["fiat/FiatKycOutcomeScreen.tsx", "fiat/useKycCompletion.ts"];
208
+ };
209
+ readonly 'kyc.completion.hold': {
210
+ readonly title: "KYC completion: on hold";
211
+ readonly flow: "deposit";
212
+ readonly requires: "fiatRail";
213
+ readonly touches: readonly ["fiat/FiatKycOutcomeScreen.tsx", "fiat/useKycCompletion.ts"];
214
+ };
215
+ readonly 'kyc.completion.restricted': {
216
+ readonly title: "KYC completion: rejected";
217
+ readonly flow: "deposit";
218
+ readonly requires: "fiatRail";
219
+ readonly touches: readonly ["fiat/FiatKycOutcomeScreen.tsx", "fiat/useKycCompletion.ts"];
220
+ };
221
+ readonly 'kyc.verdict.review': {
222
+ readonly title: "Amount entry after KYC: in review";
223
+ readonly flow: "deposit";
224
+ readonly requires: "fiatRail";
225
+ readonly touches: readonly [...string[], "fiat/FiatKycNotice.tsx"];
226
+ };
227
+ readonly 'kyc.verdict.hold': {
228
+ readonly title: "Amount entry after KYC: on hold";
229
+ readonly flow: "deposit";
230
+ readonly requires: "fiatRail";
231
+ readonly touches: readonly [...string[], "fiat/FiatKycNotice.tsx"];
232
+ };
233
+ readonly 'kyc.verdict.rejected': {
234
+ readonly title: "Amount entry after KYC: rejected";
235
+ readonly flow: "deposit";
236
+ readonly requires: "fiatRail";
237
+ readonly touches: readonly [...string[], "fiat/FiatKycNotice.tsx"];
238
+ };
239
+ readonly 'kyc.options.review': {
240
+ readonly title: "KYC options card: in review";
241
+ readonly flow: "deposit";
242
+ readonly requires: "fiatRail";
243
+ readonly touches: readonly ["fiat/FiatKycOptionsScreen.tsx", "fiat/FiatKycOptionRow.tsx"];
244
+ };
245
+ readonly 'kyc.options.hold': {
246
+ readonly title: "KYC options card: on hold";
247
+ readonly flow: "deposit";
248
+ readonly requires: "fiatRail";
249
+ readonly touches: readonly ["fiat/FiatKycOptionsScreen.tsx", "fiat/FiatKycOptionRow.tsx"];
250
+ };
251
+ readonly 'kyc.options.rejected': {
252
+ readonly title: "KYC options card: rejected";
253
+ readonly flow: "deposit";
254
+ readonly requires: "fiatRail";
255
+ readonly touches: readonly ["fiat/FiatKycOptionsScreen.tsx", "fiat/FiatKycOptionRow.tsx"];
256
+ };
257
+ readonly 'order.review': {
258
+ readonly title: "Order review";
259
+ readonly flow: "deposit";
260
+ readonly requires: "fiatRail";
261
+ readonly touches: string[];
262
+ };
263
+ readonly 'order.bankInstructions': {
264
+ readonly title: "Bank transfer instructions (not drawn on RN yet)";
265
+ readonly flow: "deposit";
266
+ readonly requires: "fiatRail";
267
+ readonly touches: string[];
268
+ };
269
+ readonly 'order.pending': {
270
+ readonly title: "Pending order: resume or cancel";
271
+ readonly flow: "deposit";
272
+ readonly requires: "fiatRail";
273
+ readonly touches: readonly ["fiat/FiatPendingOrderScreen.tsx"];
274
+ };
275
+ readonly 'order.tracking': {
276
+ readonly title: "Order processing";
277
+ readonly flow: "deposit";
278
+ readonly requires: "fiatRail";
279
+ readonly touches: string[];
280
+ };
281
+ readonly 'order.success': {
282
+ readonly title: "Order settled (closes into the deposit toast)";
283
+ readonly flow: "deposit";
284
+ readonly requires: "fiatRail";
285
+ readonly touches: readonly [...string[], "fiat/FiatReceipt.tsx"];
286
+ };
287
+ readonly 'order.failed': {
288
+ readonly title: "Order failed";
289
+ readonly flow: "deposit";
290
+ readonly requires: "fiatRail";
291
+ readonly touches: string[];
292
+ };
293
+ readonly 'order.cancelled': {
294
+ readonly title: "Order cancelled";
295
+ readonly flow: "deposit";
296
+ readonly requires: "fiatRail";
297
+ readonly touches: string[];
298
+ };
299
+ readonly 'order.refunded': {
300
+ readonly title: "Order refunded";
301
+ readonly flow: "deposit";
302
+ readonly requires: "fiatRail";
303
+ readonly touches: string[];
304
+ };
305
+ readonly 'fiat.blocked': {
306
+ readonly title: "Blocked by the rail";
307
+ readonly flow: "deposit";
308
+ readonly requires: "fiatRail";
309
+ readonly touches: string[];
310
+ };
311
+ readonly 'fiat.unsupported': {
312
+ readonly title: "State this build predates";
313
+ readonly flow: "deposit";
314
+ readonly requires: "fiatRail";
315
+ readonly touches: string[];
316
+ };
317
+ readonly 'fiat.surfaceFailed': {
318
+ readonly title: "Provider surface failed";
319
+ readonly flow: "deposit";
320
+ readonly requires: "fiatRail";
321
+ readonly touches: string[];
322
+ };
323
+ readonly 'fiat.retryable': {
324
+ readonly title: "Submission failed, retryable";
325
+ readonly flow: "deposit";
326
+ readonly requires: "fiatRail";
327
+ readonly touches: string[];
328
+ };
329
+ readonly 'deposit.addMoney': {
330
+ readonly title: "Add money: method list";
331
+ readonly flow: "deposit";
332
+ readonly requires: "cryptoDeposit";
333
+ readonly touches: readonly ["screens/SelectMethodScreen.tsx"];
334
+ };
335
+ readonly 'deposit.transfer': {
336
+ readonly title: "Transfer crypto: deposit address";
337
+ readonly flow: "deposit";
338
+ readonly requires: "cryptoDeposit";
339
+ readonly touches: readonly ["screens/TransferCryptoScreen.tsx"];
340
+ };
341
+ readonly 'withdraw.method': {
342
+ readonly title: "Withdraw: payout methods";
343
+ readonly flow: "withdrawal";
344
+ readonly requires: "cryptoWithdrawal";
345
+ readonly touches: readonly ["flow/WithdrawalFlowContent.tsx", "screens/WithdrawMethodScreen.tsx"];
346
+ };
347
+ readonly 'withdraw.amount': {
348
+ readonly title: "Withdraw: amount";
349
+ readonly flow: "withdrawal";
350
+ readonly requires: "cryptoWithdrawal";
351
+ readonly touches: readonly [...string[], "screens/WithdrawAmountScreen.tsx"];
352
+ };
353
+ readonly 'withdraw.address': {
354
+ readonly title: "Withdraw: recipient address";
355
+ readonly flow: "withdrawal";
356
+ readonly requires: "cryptoWithdrawal";
357
+ readonly touches: readonly [...string[], "screens/WithdrawAddressScreen.tsx"];
358
+ };
359
+ readonly 'withdraw.receiveToken': {
360
+ readonly title: "Withdraw: receive token and chain";
361
+ readonly flow: "withdrawal";
362
+ readonly requires: "cryptoWithdrawal";
363
+ readonly touches: readonly [...string[], "screens/SelectReceiveTokenAndChainScreen.tsx"];
364
+ };
365
+ readonly 'withdraw.complete': {
366
+ readonly title: "Withdraw: submitted";
367
+ readonly flow: "withdrawal";
368
+ readonly requires: "cryptoWithdrawal";
369
+ readonly touches: readonly ["screens/WithdrawCryptoComplete.tsx", "screens/WithdrawCompleteScreen.tsx"];
370
+ };
371
+ readonly 'withdraw.error': {
372
+ readonly title: "Withdraw: execution failed";
373
+ readonly flow: "withdrawal";
374
+ readonly requires: "cryptoWithdrawal";
375
+ readonly touches: readonly ["flow/WithdrawalFlowContent.tsx", "screens/WithdrawMethodScreen.tsx"];
376
+ };
377
+ };
378
+ export type PreviewScenarioId = keyof typeof PREVIEW_SCENARIO_CATALOG;
379
+ export declare const PREVIEW_SCENARIO_IDS: PreviewScenarioId[];
380
+ //# sourceMappingURL=scenarioCatalog.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scenarioCatalog.d.ts","sourceRoot":"","sources":["../../../src/preview/scenarioCatalog.ts"],"names":[],"mappings":"AAGA,MAAM,MAAM,WAAW,GAAG,SAAS,GAAG,YAAY,CAAA;AAElD;;;;;GAKG;AACH,MAAM,MAAM,kBAAkB,GAC1B,UAAU,GACV,eAAe,GACf,kBAAkB,CAAA;AAEtB,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,WAAW,CAAA;IACjB,QAAQ,EAAE,kBAAkB,CAAA;IAC5B,oFAAoF;IACpF,OAAO,EAAE,SAAS,MAAM,EAAE,CAAA;CAC3B;AAmBD,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmYoB,CAAA;AAEzD,MAAM,MAAM,iBAAiB,GAAG,MAAM,OAAO,wBAAwB,CAAA;AAErE,eAAO,MAAM,oBAAoB,EAE5B,iBAAiB,EAAE,CAAA"}