@funkit/connect-rn 9.2.0 → 9.3.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 (294) hide show
  1. package/CHANGELOG.md +107 -0
  2. package/README.md +23 -0
  3. package/dist/{chunk-OW6L3UM7.js → chunk-BSYYQSWJ.js} +2 -1
  4. package/dist/chunk-BSYYQSWJ.js.map +7 -0
  5. package/dist/{chunk-AI6F43VP.js → chunk-GPJAVLS6.js} +2 -2
  6. package/dist/chunk-GPJAVLS6.js.map +7 -0
  7. package/dist/{chunk-5DJHIA7X.js → chunk-ZIE5S6XC.js} +227 -91
  8. package/dist/chunk-ZIE5S6XC.js.map +7 -0
  9. package/dist/clients/lighter.js +1 -1
  10. package/dist/clients/lighter.js.map +1 -1
  11. package/dist/clients/nado.js +2 -2
  12. package/dist/index.d.ts +4 -4
  13. package/dist/index.d.ts.map +1 -1
  14. package/dist/index.js +17781 -14730
  15. package/dist/index.js.map +4 -4
  16. package/dist/preview.js +133 -33
  17. package/dist/preview.js.map +2 -2
  18. package/dist/src/components/Grabber.d.ts +3 -1
  19. package/dist/src/components/Grabber.d.ts.map +1 -1
  20. package/dist/src/components/InfoTooltip.d.ts.map +1 -1
  21. package/dist/src/components/v2/FeeLine.d.ts +35 -0
  22. package/dist/src/components/v2/FeeLine.d.ts.map +1 -0
  23. package/dist/src/fiat/FiatContactScreen.d.ts.map +1 -1
  24. package/dist/src/fiat/FiatFormFieldRow.d.ts +1 -1
  25. package/dist/src/fiat/FiatFormFieldRow.d.ts.map +1 -1
  26. package/dist/src/fiat/FiatFormScreen.d.ts.map +1 -1
  27. package/dist/src/fiat/FiatKycPhoneField.d.ts.map +1 -1
  28. package/dist/src/fiat/FiatOtpScreen.d.ts.map +1 -1
  29. package/dist/src/fiat/FiatSsnField.d.ts.map +1 -1
  30. package/dist/src/fiat/FiatUnsupportedStep.d.ts.map +1 -1
  31. package/dist/src/fiat/SurfaceSlot.d.ts.map +1 -1
  32. package/dist/src/fiat/actionSlot.d.ts +51 -0
  33. package/dist/src/fiat/actionSlot.d.ts.map +1 -0
  34. package/dist/src/fiat/applePayAttempt.d.ts +25 -0
  35. package/dist/src/fiat/applePayAttempt.d.ts.map +1 -0
  36. package/dist/src/fiat/contactRound.d.ts +33 -0
  37. package/dist/src/fiat/contactRound.d.ts.map +1 -0
  38. package/dist/src/fiat/depositOutcome.d.ts +2 -3
  39. package/dist/src/fiat/depositOutcome.d.ts.map +1 -1
  40. package/dist/src/fiat/depositProcessing.d.ts +20 -0
  41. package/dist/src/fiat/depositProcessing.d.ts.map +1 -0
  42. package/dist/src/fiat/depositSettlement.d.ts +18 -0
  43. package/dist/src/fiat/depositSettlement.d.ts.map +1 -0
  44. package/dist/src/fiat/fieldLimits.d.ts +13 -0
  45. package/dist/src/fiat/fieldLimits.d.ts.map +1 -0
  46. package/dist/src/fiat/kyc/fieldLabel.d.ts.map +1 -0
  47. package/dist/src/fiat/{formScreenProps.d.ts → kyc/formScreenProps.d.ts} +1 -1
  48. package/dist/src/fiat/kyc/formScreenProps.d.ts.map +1 -0
  49. package/dist/src/fiat/{formValidationError.d.ts → kyc/formValidationError.d.ts} +1 -1
  50. package/dist/src/fiat/kyc/formValidationError.d.ts.map +1 -0
  51. package/dist/src/fiat/kyc/isAdditionalKycForm.d.ts.map +1 -0
  52. package/dist/src/fiat/kyc/kycCapture.d.ts +13 -0
  53. package/dist/src/fiat/kyc/kycCapture.d.ts.map +1 -0
  54. package/dist/src/fiat/kyc/kycCopy.d.ts +21 -0
  55. package/dist/src/fiat/kyc/kycCopy.d.ts.map +1 -0
  56. package/dist/src/fiat/{kycFailover.d.ts → kyc/kycFailover.d.ts} +1 -1
  57. package/dist/src/fiat/kyc/kycFailover.d.ts.map +1 -0
  58. package/dist/src/fiat/kyc/kycFieldValidators.d.ts.map +1 -0
  59. package/dist/src/fiat/kyc/kycForm.d.ts +39 -0
  60. package/dist/src/fiat/kyc/kycForm.d.ts.map +1 -0
  61. package/dist/src/fiat/{kycFormAttempt.d.ts → kyc/kycFormAttempt.d.ts} +1 -1
  62. package/dist/src/fiat/kyc/kycFormAttempt.d.ts.map +1 -0
  63. package/dist/src/fiat/kyc/kycFormState.d.ts.map +1 -0
  64. package/dist/src/fiat/{kycOptionRows.d.ts → kyc/kycOptionRows.d.ts} +1 -1
  65. package/dist/src/fiat/kyc/kycOptionRows.d.ts.map +1 -0
  66. package/dist/src/fiat/kyc/kycRoutes.d.ts +34 -0
  67. package/dist/src/fiat/kyc/kycRoutes.d.ts.map +1 -0
  68. package/dist/src/fiat/kyc/kycVerdict.d.ts +34 -0
  69. package/dist/src/fiat/kyc/kycVerdict.d.ts.map +1 -0
  70. package/dist/src/fiat/kyc/kycWait.d.ts.map +1 -0
  71. package/dist/src/fiat/{sectionDetail.d.ts → kyc/sectionDetail.d.ts} +1 -1
  72. package/dist/src/fiat/kyc/sectionDetail.d.ts.map +1 -0
  73. package/dist/src/fiat/kyc/useKycCaptureRound.d.ts.map +1 -0
  74. package/dist/src/fiat/{useKycCompletion.d.ts → kyc/useKycCompletion.d.ts} +1 -1
  75. package/dist/src/fiat/kyc/useKycCompletion.d.ts.map +1 -0
  76. package/dist/src/fiat/kyc/useKycFormFailure.d.ts +16 -0
  77. package/dist/src/fiat/kyc/useKycFormFailure.d.ts.map +1 -0
  78. package/dist/src/fiat/{useKycRoundReporting.d.ts → kyc/useKycRoundReporting.d.ts} +1 -1
  79. package/dist/src/fiat/kyc/useKycRoundReporting.d.ts.map +1 -0
  80. package/dist/src/fiat/kyc/useKycScreens.d.ts +48 -0
  81. package/dist/src/fiat/kyc/useKycScreens.d.ts.map +1 -0
  82. package/dist/src/fiat/kyc/useKycThreshold.d.ts +15 -0
  83. package/dist/src/fiat/kyc/useKycThreshold.d.ts.map +1 -0
  84. package/dist/src/fiat/paymentReroute.d.ts +28 -1
  85. package/dist/src/fiat/paymentReroute.d.ts.map +1 -1
  86. package/dist/src/fiat/paymentSurfaceFailure.d.ts +5 -4
  87. package/dist/src/fiat/paymentSurfaceFailure.d.ts.map +1 -1
  88. package/dist/src/fiat/processing/CompletionCheck.d.ts +12 -0
  89. package/dist/src/fiat/processing/CompletionCheck.d.ts.map +1 -0
  90. package/dist/src/fiat/processing/CompletionWave.d.ts +17 -0
  91. package/dist/src/fiat/processing/CompletionWave.d.ts.map +1 -0
  92. package/dist/src/fiat/processing/DepositCardSheet.d.ts +25 -0
  93. package/dist/src/fiat/processing/DepositCardSheet.d.ts.map +1 -0
  94. package/dist/src/fiat/processing/DepositProcessingCard.d.ts +22 -0
  95. package/dist/src/fiat/processing/DepositProcessingCard.d.ts.map +1 -0
  96. package/dist/src/fiat/processing/ProcessingAurora.d.ts +13 -0
  97. package/dist/src/fiat/processing/ProcessingAurora.d.ts.map +1 -0
  98. package/dist/src/fiat/processing/ProcessingFailure.d.ts +26 -0
  99. package/dist/src/fiat/processing/ProcessingFailure.d.ts.map +1 -0
  100. package/dist/src/fiat/processing/ProcessingOptionIcons.d.ts +21 -0
  101. package/dist/src/fiat/processing/ProcessingOptionIcons.d.ts.map +1 -0
  102. package/dist/src/fiat/processing/ProcessingProgress.d.ts +7 -0
  103. package/dist/src/fiat/processing/ProcessingProgress.d.ts.map +1 -0
  104. package/dist/src/fiat/processing/RevealText.d.ts +16 -0
  105. package/dist/src/fiat/processing/RevealText.d.ts.map +1 -0
  106. package/dist/src/fiat/processing/cardSurface.d.ts +65 -0
  107. package/dist/src/fiat/processing/cardSurface.d.ts.map +1 -0
  108. package/dist/src/fiat/processing/cornerRadius.d.ts +13 -0
  109. package/dist/src/fiat/processing/cornerRadius.d.ts.map +1 -0
  110. package/dist/src/fiat/processing/gradientPuff.d.ts +18 -0
  111. package/dist/src/fiat/processing/gradientPuff.d.ts.map +1 -0
  112. package/dist/src/fiat/processing/pressureWave.d.ts +23 -0
  113. package/dist/src/fiat/processing/pressureWave.d.ts.map +1 -0
  114. package/dist/src/fiat/processing/skiaPeer.d.ts +15 -0
  115. package/dist/src/fiat/processing/skiaPeer.d.ts.map +1 -0
  116. package/dist/src/fiat/providers/adapter.d.ts +2 -3
  117. package/dist/src/fiat/providers/adapter.d.ts.map +1 -1
  118. package/dist/src/fiat/providers/applePayPaintGate.d.ts.map +1 -1
  119. package/dist/src/fiat/providers/coinbase/CoinbaseWarmup.d.ts.map +1 -1
  120. package/dist/src/fiat/providers/coinbase/coinbasePreparedPayment.d.ts +7 -1
  121. package/dist/src/fiat/providers/coinbase/coinbasePreparedPayment.d.ts.map +1 -1
  122. package/dist/src/fiat/providers/moonpay/moonpay.d.ts.map +1 -1
  123. package/dist/src/fiat/providers/moonpay/moonpayCardRefusal.d.ts.map +1 -1
  124. package/dist/src/fiat/providers/stripe/stripeApplePayReady.d.ts +5 -1
  125. package/dist/src/fiat/providers/stripe/stripeApplePayReady.d.ts.map +1 -1
  126. package/dist/src/fiat/providers/stripe/stripeKyc.d.ts +9 -1
  127. package/dist/src/fiat/providers/stripe/stripeKyc.d.ts.map +1 -1
  128. package/dist/src/fiat/providers/stripe/stripeLinkWarmup.d.ts +12 -0
  129. package/dist/src/fiat/providers/stripe/stripeLinkWarmup.d.ts.map +1 -1
  130. package/dist/src/fiat/providers/stripe/stripePayment.d.ts.map +1 -1
  131. package/dist/src/fiat/providers/stripe/stripeRoundPush.d.ts +9 -0
  132. package/dist/src/fiat/providers/stripe/stripeRoundPush.d.ts.map +1 -1
  133. package/dist/src/fiat/providers/stripe/useCreateStripeAccountWithExistingUserData.d.ts.map +1 -1
  134. package/dist/src/fiat/providers/stripe/useStripeKycFailover.d.ts +5 -0
  135. package/dist/src/fiat/providers/stripe/useStripeKycFailover.d.ts.map +1 -0
  136. package/dist/src/fiat/providers/stripe/useStripeKycPush.d.ts +20 -0
  137. package/dist/src/fiat/providers/stripe/useStripeKycPush.d.ts.map +1 -0
  138. package/dist/src/fiat/providers/stripe/useStripeSessionAuth.d.ts +18 -1
  139. package/dist/src/fiat/providers/stripe/useStripeSessionAuth.d.ts.map +1 -1
  140. package/dist/src/fiat/providers/stripe/useStripeSheets.d.ts +9 -0
  141. package/dist/src/fiat/providers/stripe/useStripeSheets.d.ts.map +1 -0
  142. package/dist/src/fiat/providers/stripe/useStripeState.d.ts +7 -0
  143. package/dist/src/fiat/providers/stripe/useStripeState.d.ts.map +1 -0
  144. package/dist/src/fiat/providers/transak/TransakApplePaySurface.d.ts.map +1 -1
  145. package/dist/src/fiat/quoteRouting.d.ts +54 -0
  146. package/dist/src/fiat/quoteRouting.d.ts.map +1 -0
  147. package/dist/src/fiat/sessionAuth.d.ts +8 -0
  148. package/dist/src/fiat/sessionAuth.d.ts.map +1 -0
  149. package/dist/src/fiat/shownFieldIssues.d.ts +1 -1
  150. package/dist/src/fiat/shownFieldIssues.d.ts.map +1 -1
  151. package/dist/src/fiat/stepSurface.d.ts +35 -0
  152. package/dist/src/fiat/stepSurface.d.ts.map +1 -0
  153. package/dist/src/fiat/{renderCaptureSurface.d.ts → surfaceRegistry.d.ts} +5 -5
  154. package/dist/src/fiat/surfaceRegistry.d.ts.map +1 -0
  155. package/dist/src/fiat/useAuthHandoff.d.ts +17 -0
  156. package/dist/src/fiat/useAuthHandoff.d.ts.map +1 -0
  157. package/dist/src/fiat/useCaptureHold.d.ts +22 -0
  158. package/dist/src/fiat/useCaptureHold.d.ts.map +1 -0
  159. package/dist/src/fiat/useContactAutoSubmit.d.ts.map +1 -1
  160. package/dist/src/fiat/useDatePickerDock.d.ts.map +1 -1
  161. package/dist/src/fiat/useDepositSettlement.d.ts +33 -0
  162. package/dist/src/fiat/useDepositSettlement.d.ts.map +1 -0
  163. package/dist/src/fiat/useEntryQuote.d.ts +25 -0
  164. package/dist/src/fiat/useEntryQuote.d.ts.map +1 -0
  165. package/dist/src/fiat/useEntrySubmit.d.ts +24 -0
  166. package/dist/src/fiat/useEntrySubmit.d.ts.map +1 -0
  167. package/dist/src/fiat/useFailureAnnouncements.d.ts +17 -0
  168. package/dist/src/fiat/useFailureAnnouncements.d.ts.map +1 -0
  169. package/dist/src/fiat/useIdentityAssertion.d.ts +2 -6
  170. package/dist/src/fiat/useIdentityAssertion.d.ts.map +1 -1
  171. package/dist/src/fiat/usePaymentFailureAnswer.d.ts +37 -22
  172. package/dist/src/fiat/usePaymentFailureAnswer.d.ts.map +1 -1
  173. package/dist/src/fiat/useProcessingPhase.d.ts +4 -0
  174. package/dist/src/fiat/useProcessingPhase.d.ts.map +1 -0
  175. package/dist/src/fiat/useReplayableFailure.d.ts.map +1 -1
  176. package/dist/src/fiat/useRerouteProbe.d.ts +24 -0
  177. package/dist/src/fiat/useRerouteProbe.d.ts.map +1 -0
  178. package/dist/src/fiat/useStaleQuoteRecovery.d.ts +16 -0
  179. package/dist/src/fiat/useStaleQuoteRecovery.d.ts.map +1 -1
  180. package/dist/src/fiat/useStandingRefusals.d.ts +1 -1
  181. package/dist/src/fiat/useStandingRefusals.d.ts.map +1 -1
  182. package/dist/src/fiat/useSurfaceAttempt.d.ts +24 -0
  183. package/dist/src/fiat/useSurfaceAttempt.d.ts.map +1 -0
  184. package/dist/src/flow/DepositAmountStep.d.ts.map +1 -1
  185. package/dist/src/flow/DepositFlowContent.d.ts +1 -4
  186. package/dist/src/flow/DepositFlowContent.d.ts.map +1 -1
  187. package/dist/src/flow/Drawer.d.ts +24 -2
  188. package/dist/src/flow/Drawer.d.ts.map +1 -1
  189. package/dist/src/flow/FiatDepositAmountStep.d.ts +1 -11
  190. package/dist/src/flow/FiatDepositAmountStep.d.ts.map +1 -1
  191. package/dist/src/flow/FunkitFlowProvider.d.ts.map +1 -1
  192. package/dist/src/flow/WithdrawalFlowContent.d.ts.map +1 -1
  193. package/dist/src/flow/entryBanners.d.ts +29 -0
  194. package/dist/src/flow/entryBanners.d.ts.map +1 -0
  195. package/dist/src/flow/fiatStepScreens.d.ts +30 -0
  196. package/dist/src/flow/fiatStepScreens.d.ts.map +1 -0
  197. package/dist/src/flow/fiatSubmitRenderer.d.ts +100 -0
  198. package/dist/src/flow/fiatSubmitRenderer.d.ts.map +1 -0
  199. package/dist/src/flow/renderFiatFlowScreen.d.ts +97 -0
  200. package/dist/src/flow/renderFiatFlowScreen.d.ts.map +1 -0
  201. package/dist/src/flow/screenBundles.d.ts +49 -0
  202. package/dist/src/flow/screenBundles.d.ts.map +1 -0
  203. package/dist/src/flow/sheetPressHold.d.ts.map +1 -1
  204. package/dist/src/flow/useFeeDetails.d.ts +19 -0
  205. package/dist/src/flow/useFeeDetails.d.ts.map +1 -0
  206. package/dist/src/hooks/useCheckoutsListenerByUserId.d.ts.map +1 -0
  207. package/dist/src/hooks/useEnclosingSheetOpen.d.ts +8 -0
  208. package/dist/src/hooks/useEnclosingSheetOpen.d.ts.map +1 -0
  209. package/dist/src/hooks/useRecentDeposits.d.ts.map +1 -0
  210. package/dist/src/hooks/useSettledOpacity.d.ts +10 -0
  211. package/dist/src/hooks/useSettledOpacity.d.ts.map +1 -0
  212. package/dist/src/icons/FunIcon.d.ts.map +1 -1
  213. package/dist/src/native/glassEffect.d.ts +4 -0
  214. package/dist/src/native/glassEffect.d.ts.map +1 -1
  215. package/dist/src/preview/fiatPreviewPress.d.ts +6 -0
  216. package/dist/src/preview/fiatPreviewPress.d.ts.map +1 -0
  217. package/dist/src/preview/flowPreview.d.ts +4 -1
  218. package/dist/src/preview/flowPreview.d.ts.map +1 -1
  219. package/dist/src/preview/previewFetch.d.ts.map +1 -1
  220. package/dist/src/preview/scenarioCatalog.d.ts +25 -7
  221. package/dist/src/preview/scenarioCatalog.d.ts.map +1 -1
  222. package/dist/src/preview/scenarios.d.ts +6 -0
  223. package/dist/src/preview/scenarios.d.ts.map +1 -1
  224. package/dist/src/providers/BrandingContext.d.ts.map +1 -0
  225. package/dist/src/providers/FunkitProvider.d.ts +2 -2
  226. package/dist/src/providers/FunkitProvider.d.ts.map +1 -1
  227. package/dist/src/{haptics → providers}/HapticsContext.d.ts +3 -1
  228. package/dist/src/providers/HapticsContext.d.ts.map +1 -0
  229. package/dist/src/providers/IdentityContext.d.ts.map +1 -0
  230. package/dist/src/{haptics → providers}/hapticTap.d.ts +3 -2
  231. package/dist/src/providers/hapticTap.d.ts.map +1 -0
  232. package/dist/src/providers/useFrozenIdentity.d.ts +1 -1
  233. package/dist/src/providers/useFrozenIdentity.d.ts.map +1 -1
  234. package/dist/src/screens/DepositAmountScreen.d.ts +20 -22
  235. package/dist/src/screens/DepositAmountScreen.d.ts.map +1 -1
  236. package/dist/src/screens/TokenAndChainPickerScreen.d.ts.map +1 -1
  237. package/dist/src/screens/WithdrawAmountScreen.d.ts +3 -1
  238. package/dist/src/screens/WithdrawAmountScreen.d.ts.map +1 -1
  239. package/dist/src/screens/WithdrawCryptoSteps.d.ts.map +1 -1
  240. package/dist/src/screens/depositMetrics.d.ts +7 -0
  241. package/dist/src/screens/depositMetrics.d.ts.map +1 -1
  242. package/dist/src/theme/buildFunkitTheme.d.ts +2 -0
  243. package/dist/src/theme/buildFunkitTheme.d.ts.map +1 -1
  244. package/dist/src/theme/restyle.d.ts +66 -0
  245. package/dist/src/theme/restyle.d.ts.map +1 -1
  246. package/dist/src/theme/toRestyleTheme.d.ts +6 -0
  247. package/dist/src/theme/toRestyleTheme.d.ts.map +1 -1
  248. package/dist/src/theme/typeScale.d.ts +12 -0
  249. package/dist/src/theme/typeScale.d.ts.map +1 -1
  250. package/dist/src/theme/useFunkitTheme.d.ts.map +1 -1
  251. package/dist/src/transfer/hooks/useLockedTokenAmount.d.ts.map +1 -1
  252. package/dist/src/withdrawal/useDepositAddressWithdrawalStatus.d.ts.map +1 -1
  253. package/dist/src/withdrawal/useWithdrawalSourceTokenBalance.d.ts.map +1 -1
  254. package/package.json +9 -4
  255. package/dist/chunk-5DJHIA7X.js.map +0 -7
  256. package/dist/chunk-AI6F43VP.js.map +0 -7
  257. package/dist/chunk-OW6L3UM7.js.map +0 -7
  258. package/dist/src/branding/BrandingContext.d.ts.map +0 -1
  259. package/dist/src/fiat/FiatPaymentFailedSheet.d.ts +0 -26
  260. package/dist/src/fiat/FiatPaymentFailedSheet.d.ts.map +0 -1
  261. package/dist/src/fiat/fieldLabel.d.ts.map +0 -1
  262. package/dist/src/fiat/formScreenProps.d.ts.map +0 -1
  263. package/dist/src/fiat/formValidationError.d.ts.map +0 -1
  264. package/dist/src/fiat/isAdditionalKycForm.d.ts.map +0 -1
  265. package/dist/src/fiat/kycFailover.d.ts.map +0 -1
  266. package/dist/src/fiat/kycFieldValidators.d.ts.map +0 -1
  267. package/dist/src/fiat/kycFormAttempt.d.ts.map +0 -1
  268. package/dist/src/fiat/kycFormState.d.ts.map +0 -1
  269. package/dist/src/fiat/kycOptionRows.d.ts.map +0 -1
  270. package/dist/src/fiat/kycWait.d.ts.map +0 -1
  271. package/dist/src/fiat/renderCaptureSurface.d.ts.map +0 -1
  272. package/dist/src/fiat/sectionDetail.d.ts.map +0 -1
  273. package/dist/src/fiat/useKycCaptureRound.d.ts.map +0 -1
  274. package/dist/src/fiat/useKycCompletion.d.ts.map +0 -1
  275. package/dist/src/fiat/useKycRoundReporting.d.ts.map +0 -1
  276. package/dist/src/flow/DepositReceivedToast.d.ts +0 -17
  277. package/dist/src/flow/DepositReceivedToast.d.ts.map +0 -1
  278. package/dist/src/flow/useDepositReceivedToast.d.ts +0 -31
  279. package/dist/src/flow/useDepositReceivedToast.d.ts.map +0 -1
  280. package/dist/src/haptics/HapticsContext.d.ts.map +0 -1
  281. package/dist/src/haptics/hapticTap.d.ts.map +0 -1
  282. package/dist/src/history/useCheckoutsListenerByUserId.d.ts.map +0 -1
  283. package/dist/src/history/useRecentDeposits.d.ts.map +0 -1
  284. package/dist/src/identity/IdentityContext.d.ts.map +0 -1
  285. /package/dist/src/fiat/{fieldLabel.d.ts → kyc/fieldLabel.d.ts} +0 -0
  286. /package/dist/src/fiat/{isAdditionalKycForm.d.ts → kyc/isAdditionalKycForm.d.ts} +0 -0
  287. /package/dist/src/fiat/{kycFieldValidators.d.ts → kyc/kycFieldValidators.d.ts} +0 -0
  288. /package/dist/src/fiat/{kycFormState.d.ts → kyc/kycFormState.d.ts} +0 -0
  289. /package/dist/src/fiat/{kycWait.d.ts → kyc/kycWait.d.ts} +0 -0
  290. /package/dist/src/fiat/{useKycCaptureRound.d.ts → kyc/useKycCaptureRound.d.ts} +0 -0
  291. /package/dist/src/{history → hooks}/useCheckoutsListenerByUserId.d.ts +0 -0
  292. /package/dist/src/{history → hooks}/useRecentDeposits.d.ts +0 -0
  293. /package/dist/src/{branding → providers}/BrandingContext.d.ts +0 -0
  294. /package/dist/src/{identity → providers}/IdentityContext.d.ts +0 -0
@@ -0,0 +1,34 @@
1
+ import { type FiatFlow, type FiatProvider, type FiatStepResponse, type UseFiatQuoteResult } from '@funkit/connect-core';
2
+ import type { useBlockedState } from '../quoteRouting';
3
+ import type { useEntryQuote } from '../useEntryQuote';
4
+ import type { KycNoticeState } from './kycCopy';
5
+ import type { useKycThreshold } from './useKycThreshold';
6
+ import { type KycRecheck, type ShownKyc } from './kycWait';
7
+ import { type ProviderFailover } from '../providerFailover';
8
+ export declare function useKycRejection(flow: FiatFlow): {
9
+ recoverableRejection: boolean;
10
+ };
11
+ export declare function useKycRejectionRequote(resolvedStep: FiatStepResponse | undefined, provider: FiatProvider | undefined, failovers: readonly ProviderFailover[], onKycRetry: (provider: FiatProvider) => void): void;
12
+ export declare function useKycVerdict({ blocked: { resolvedStep }, entryQuote: { entryCta, flowStep, isEntryReady, provider }, failovers, flow, kycRecheck, kycThreshold: { identityDetour, isKycThreshold }, onInputFailover, quoteState, }: {
13
+ blocked: ReturnType<typeof useBlockedState>;
14
+ entryQuote: ReturnType<typeof useEntryQuote>;
15
+ flow: FiatFlow;
16
+ kycThreshold: ReturnType<typeof useKycThreshold>;
17
+ quoteState: UseFiatQuoteResult;
18
+ failovers: readonly ProviderFailover[];
19
+ kycRecheck: KycRecheck | undefined;
20
+ onInputFailover: (provider: FiatProvider, cause: 'kyc' | 'auth') => void;
21
+ }): {
22
+ kycResolution: import("@funkit/connect-core").KycResolution | undefined;
23
+ awaitsForm: boolean;
24
+ resolvedKyc: ShownKyc;
25
+ kycSubmission: number;
26
+ setKycSubmission: import("react").Dispatch<import("react").SetStateAction<number>>;
27
+ shownKycOutcome: ShownKyc;
28
+ kycOnHold: boolean;
29
+ kycCompletion: import("./useKycCompletion").KycCompletion | undefined;
30
+ isExtendedReview: boolean;
31
+ kycCardOutcome: ShownKyc;
32
+ identityNoticeState: KycNoticeState | undefined;
33
+ };
34
+ //# sourceMappingURL=kycVerdict.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"kycVerdict.d.ts","sourceRoot":"","sources":["../../../../src/fiat/kyc/kycVerdict.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,QAAQ,EACb,KAAK,YAAY,EACjB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EAExB,MAAM,sBAAsB,CAAA;AAE7B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAA;AACtD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAA;AACrD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAE/C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAGxD,OAAO,EAIL,KAAK,UAAU,EACf,KAAK,QAAQ,EACd,MAAM,WAAW,CAAA;AAClB,OAAO,EAAmB,KAAK,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;AAE5E,wBAAgB,eAAe,CAAC,IAAI,EAAE,QAAQ;;EAsC7C;AAED,wBAAgB,sBAAsB,CACpC,YAAY,EAAE,gBAAgB,GAAG,SAAS,EAC1C,QAAQ,EAAE,YAAY,GAAG,SAAS,EAClC,SAAS,EAAE,SAAS,gBAAgB,EAAE,EACtC,UAAU,EAAE,CAAC,QAAQ,EAAE,YAAY,KAAK,IAAI,QAwB7C;AAED,wBAAgB,aAAa,CAAC,EAC5B,OAAO,EAAE,EAAE,YAAY,EAAE,EACzB,UAAU,EAAE,EAAE,QAAQ,EAAE,QAAQ,EAAE,YAAY,EAAE,QAAQ,EAAE,EAC1D,SAAS,EACT,IAAI,EACJ,UAAU,EACV,YAAY,EAAE,EAAE,cAAc,EAAE,cAAc,EAAE,EAChD,eAAe,EACf,UAAU,GACX,EAAE;IACD,OAAO,EAAE,UAAU,CAAC,OAAO,eAAe,CAAC,CAAA;IAC3C,UAAU,EAAE,UAAU,CAAC,OAAO,aAAa,CAAC,CAAA;IAC5C,IAAI,EAAE,QAAQ,CAAA;IACd,YAAY,EAAE,UAAU,CAAC,OAAO,eAAe,CAAC,CAAA;IAChD,UAAU,EAAE,kBAAkB,CAAA;IAC9B,SAAS,EAAE,SAAS,gBAAgB,EAAE,CAAA;IACtC,UAAU,EAAE,UAAU,GAAG,SAAS,CAAA;IAClC,eAAe,EAAE,CAAC,QAAQ,EAAE,YAAY,EAAE,KAAK,EAAE,KAAK,GAAG,MAAM,KAAK,IAAI,CAAA;CACzE;;;;;;;;;;;;EAqHA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"kycWait.d.ts","sourceRoot":"","sources":["../../../../src/fiat/kyc/kycWait.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,QAAQ,EACR,gBAAgB,EAChB,UAAU,EACX,MAAM,sBAAsB,CAAA;AAE7B,iFAAiF;AACjF,MAAM,MAAM,QAAQ,GAAG,UAAU,GAAG,UAAU,GAAG,SAAS,CAAA;AAE1D,kEAAkE;AAClE,MAAM,MAAM,UAAU,GAAG,SAAS,GAAG,MAAM,CAAA;AAE3C,4EAA4E;AAC5E,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,UAAU,GAAG,SAAS,GAAG,QAAQ,CAS1E;AAED;;;;GAIG;AACH,wBAAgB,cAAc,CAC5B,KAAK,EAAE,QAAQ,EACf,IAAI,EAAE,gBAAgB,GAAG,SAAS,GACjC,OAAO,CAET;AAED;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,GAAG,QAAQ,CAIvE"}
@@ -1,5 +1,5 @@
1
1
  import type { TFunction } from 'i18next';
2
- import type { KycSection, KycSectionPage } from './formLayout';
2
+ import type { KycSection, KycSectionPage } from '../formLayout';
3
3
  /**
4
4
  * The line under the title on one page. The title itself never changes, so
5
5
  * this is what says which details the page is asking for.
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sectionDetail.d.ts","sourceRoot":"","sources":["../../../../src/fiat/kyc/sectionDetail.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAExC,OAAO,KAAK,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AAE/D;;;;;;GAMG;AACH,wBAAgB,aAAa,CAAC,OAAO,EAAE,UAAU,EAAE,CAAC,EAAE,SAAS,GAAG,MAAM,CAiCvE;AAED;;;GAGG;AACH,wBAAgB,UAAU,CACxB,IAAI,EAAE,cAAc,EACpB,CAAC,EAAE,SAAS,EACZ,UAAU,CAAC,EAAE,MAAM,GAClB,MAAM,CAQR;AAED,sFAAsF;AACtF,wBAAgB,mBAAmB,CACjC,OAAO,EAAE,MAAM,GAAG,SAAS,EAC3B,CAAC,EAAE,SAAS,GACX,MAAM,CAYR;AAED,+DAA+D;AAC/D,wBAAgB,QAAQ,CACtB,IAAI,EAAE,cAAc,EACpB,CAAC,EAAE,SAAS,GACX,MAAM,GAAG,SAAS,CAQpB"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useKycCaptureRound.d.ts","sourceRoot":"","sources":["../../../../src/fiat/kyc/useKycCaptureRound.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AAMpD;;;;;;;GAOG;AACH,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,QAAQ;;;;;EAoChD"}
@@ -1,5 +1,5 @@
1
1
  import type { FiatFlow } from '@funkit/connect-core';
2
- import type { FiatKycOutcomeScreenProps } from './FiatKycOutcomeScreen';
2
+ import type { FiatKycOutcomeScreenProps } from '../FiatKycOutcomeScreen';
3
3
  /**
4
4
  * - `extended`: a review the backend expects to take a while, or a brief one whose poll stopped
5
5
  * or that is still open after `BRIEF_REVIEW_LIMIT_MS`. It gets the pending options card, whose
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useKycCompletion.d.ts","sourceRoot":"","sources":["../../../../src/fiat/kyc/useKycCompletion.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AAIpD,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,yBAAyB,CAAA;AAGxE;;;;;GAKG;AACH,MAAM,MAAM,aAAa,GAAG,yBAAyB,CAAC,SAAS,CAAC,GAAG,UAAU,CAAA;AAO7E;;;GAGG;AACH,eAAO,MAAM,qBAAqB,QAAS,CAAA;AAE3C;;;;;;;;GAQG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,QAAQ,GAAG,aAAa,GAAG,SAAS,CAgC1E;AA8BD;;;;;;GAMG;AACH,wBAAgB,oBAAoB,IAAI,OAAO,CAO9C"}
@@ -0,0 +1,16 @@
1
+ import { type FailureReason, type FiatFlow, type FiatProvider } from '@funkit/connect-core';
2
+ import { type InputStep } from '../providerFailover';
3
+ export declare function useKycFormFailure({ flow, roundOutlivedItsQuote, countRefusal, failOverInput, retrySurface, }: {
4
+ flow: FiatFlow;
5
+ roundOutlivedItsQuote: boolean;
6
+ countRefusal: (provider: FiatProvider, step: InputStep, part?: string) => boolean;
7
+ failOverInput: (step: InputStep, code: string | undefined) => void;
8
+ retrySurface: () => void;
9
+ }): {
10
+ formError: FailureReason | undefined;
11
+ roundError: FailureReason | undefined;
12
+ kycNetworkFailure: boolean;
13
+ kycProviderFailure: boolean;
14
+ announceKycFailure: (reason: "provider" | "network") => void;
15
+ };
16
+ //# sourceMappingURL=useKycFormFailure.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useKycFormFailure.d.ts","sourceRoot":"","sources":["../../../../src/fiat/kyc/useKycFormFailure.ts"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,aAAa,EAClB,KAAK,QAAQ,EAEb,KAAK,YAAY,EAClB,MAAM,sBAAsB,CAAA;AAI7B,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,qBAAqB,CAAA;AAIpD,wBAAgB,iBAAiB,CAAC,EAChC,IAAI,EACJ,qBAAqB,EACrB,YAAY,EACZ,aAAa,EACb,YAAY,GACb,EAAE;IACD,IAAI,EAAE,QAAQ,CAAA;IACd,qBAAqB,EAAE,OAAO,CAAA;IAC9B,YAAY,EAAE,CACZ,QAAQ,EAAE,YAAY,EACtB,IAAI,EAAE,SAAS,EACf,IAAI,CAAC,EAAE,MAAM,KACV,OAAO,CAAA;IACZ,aAAa,EAAE,CAAC,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,GAAG,SAAS,KAAK,IAAI,CAAA;IAClE,YAAY,EAAE,MAAM,IAAI,CAAA;CACzB;;;;;;EA6DA"}
@@ -4,7 +4,7 @@ import { type FiatFlow } from '@funkit/connect-core';
4
4
  * renewing the identity SDK's token, recording why the SDK gave up, and
5
5
  * auditing Fun's consent. Each is bound to the quote the round runs under.
6
6
  */
7
- export declare function useKycRoundReporting(flow: FiatFlow, apiKey: string): {
7
+ export declare function useKycRoundReporting(flow: FiatFlow): {
8
8
  renewCaptureToken: () => Promise<string | undefined>;
9
9
  recordCaptureFailure: (errorType: string) => void;
10
10
  recordKycConsent: (acceptedAt: Date, shownLanguage: string) => void;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useKycRoundReporting.d.ts","sourceRoot":"","sources":["../../../../src/fiat/kyc/useKycRoundReporting.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,QAAQ,EAId,MAAM,sBAAsB,CAAA;AAO7B;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,QAAQ;;sCAqBnC,MAAM;mCAcL,IAAI,iBAAiB,MAAM;EAoB3C"}
@@ -0,0 +1,48 @@
1
+ import { type FiatFlow, type FiatProvider } from '@funkit/connect-core';
2
+ import type { InputStep } from '../providerFailover';
3
+ import type { StripeOnrampClient } from '../providers/stripe/stripeOnramp';
4
+ /** What the KYC form and capture screens draw from; nothing else reads it. */
5
+ export declare function useKycScreens({ countRefusal, failOverInput, flow, retrySurface, roundOutlivedItsQuote, stripeOnramp, }: {
6
+ countRefusal: (provider: FiatProvider, step: InputStep, part?: string) => boolean;
7
+ failOverInput: (step: InputStep, code: string | undefined) => void;
8
+ flow: FiatFlow;
9
+ retrySurface: () => void;
10
+ roundOutlivedItsQuote: boolean;
11
+ stripeOnramp: StripeOnrampClient | undefined;
12
+ }): {
13
+ kycForm: {
14
+ stripeExistingUserData: {
15
+ carried: import("@funkit/connect-core").FormValues;
16
+ registerWith?: import("@funkit/connect-core").FormValues;
17
+ screen: (props: import("../providers/stripe/useCreateStripeAccountWithExistingUserData").CreateStripeAccountScreen) => import("react").ReactElement;
18
+ };
19
+ stripeKycPush: {
20
+ submit: (values: import("@funkit/connect-core").FormValues, deliver: () => void) => void;
21
+ attemptKey: string | undefined;
22
+ isPushing: boolean;
23
+ error: string | undefined;
24
+ };
25
+ carryKycValues: (values: import("@funkit/connect-core").FormValues) => void;
26
+ kycProviderFailure: boolean;
27
+ roundError: import("@funkit/connect-core").FailureReason | undefined;
28
+ kycIntro: {
29
+ intro: import("../providers/kycIntro").KycIntro;
30
+ onRoundSent: () => void;
31
+ };
32
+ recordKycConsent: (acceptedAt: Date, shownLanguage: string) => void;
33
+ formError: import("@funkit/connect-core").FailureReason | undefined;
34
+ };
35
+ kycCapture: {
36
+ kycCaptureRound: {
37
+ round: number;
38
+ reissued: boolean;
39
+ markReported: () => void;
40
+ retry: () => void;
41
+ };
42
+ renewCaptureToken: () => Promise<string | undefined>;
43
+ recordCaptureFailure: (errorType: string) => void;
44
+ };
45
+ };
46
+ /** The quote a KYC round is bound to, when the flow holds one. */
47
+ export declare function captureQuoteRefOf(flow: FiatFlow): string | undefined;
48
+ //# sourceMappingURL=useKycScreens.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useKycScreens.d.ts","sourceRoot":"","sources":["../../../../src/fiat/kyc/useKycScreens.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,QAAQ,EACb,KAAK,YAAY,EAGlB,MAAM,sBAAsB,CAAA;AAG7B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAA;AACpD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAA;AAO1E,8EAA8E;AAC9E,wBAAgB,aAAa,CAAC,EAC5B,YAAY,EACZ,aAAa,EACb,IAAI,EACJ,YAAY,EACZ,qBAAqB,EACrB,YAAY,GACb,EAAE;IACD,YAAY,EAAE,CACZ,QAAQ,EAAE,YAAY,EACtB,IAAI,EAAE,SAAS,EACf,IAAI,CAAC,EAAE,MAAM,KACV,OAAO,CAAA;IACZ,aAAa,EAAE,CAAC,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,GAAG,SAAS,KAAK,IAAI,CAAA;IAClE,IAAI,EAAE,QAAQ,CAAA;IACd,YAAY,EAAE,MAAM,IAAI,CAAA;IACxB,qBAAqB,EAAE,OAAO,CAAA;IAC9B,YAAY,EAAE,kBAAkB,GAAG,SAAS,CAAA;CAC7C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkEA;AAED,kEAAkE;AAClE,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,QAAQ,GAAG,MAAM,GAAG,SAAS,CAGpE"}
@@ -0,0 +1,15 @@
1
+ import type { EntryCta, FailureReason, FiatProvider } from '@funkit/connect-core';
2
+ import type { FiatRailConfig } from '../../flow/depositFlowConfig';
3
+ export declare function useKycThreshold({ entryCta, fiat, isEntryReady, provider, quoteCurrency, refusal, userId, }: {
4
+ entryCta: EntryCta;
5
+ fiat: FiatRailConfig;
6
+ isEntryReady: boolean;
7
+ provider: FiatProvider | undefined;
8
+ quoteCurrency: string | undefined;
9
+ refusal: FailureReason | undefined;
10
+ userId: string;
11
+ }): {
12
+ identityDetour: boolean;
13
+ isKycThreshold: boolean;
14
+ };
15
+ //# sourceMappingURL=useKycThreshold.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useKycThreshold.d.ts","sourceRoot":"","sources":["../../../../src/fiat/kyc/useKycThreshold.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,QAAQ,EACR,aAAa,EACb,YAAY,EACb,MAAM,sBAAsB,CAAA;AAK7B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAA;AAElE,wBAAgB,eAAe,CAAC,EAC9B,QAAQ,EACR,IAAI,EACJ,YAAY,EACZ,QAAQ,EACR,aAAa,EACb,OAAO,EACP,MAAM,GACP,EAAE;IACD,QAAQ,EAAE,QAAQ,CAAA;IAClB,IAAI,EAAE,cAAc,CAAA;IACpB,YAAY,EAAE,OAAO,CAAA;IACrB,QAAQ,EAAE,YAAY,GAAG,SAAS,CAAA;IAClC,aAAa,EAAE,MAAM,GAAG,SAAS,CAAA;IACjC,OAAO,EAAE,aAAa,GAAG,SAAS,CAAA;IAClC,MAAM,EAAE,MAAM,CAAA;CACf;;;EAkCA"}
@@ -1,4 +1,4 @@
1
- import type { EntryCta, FiatProvider, FiatRoutingOverrides } from '@funkit/connect-core';
1
+ import type { EntryCta, FiatProvider, FiatQuoteMinimum, FiatRoutingOverrides, UseFiatQuoteResult } from '@funkit/connect-core';
2
2
  import type { PaymentFailureKind } from './paymentSurfaceFailure';
3
3
  /**
4
4
  * The allow-list that skips every given provider.
@@ -45,4 +45,31 @@ export declare function paymentRerouteOverrides({ failure, paymentMethod, failed
45
45
  * the quote endpoint skips pricing for it.
46
46
  */
47
47
  export declare function isServableReroute(entry: EntryCta): boolean;
48
+ /**
49
+ * What the reroute probe found for the buyer's card: a provider not tried yet
50
+ * that prices the deposit, or the least one of them would price.
51
+ */
52
+ export type PaymentReroute = {
53
+ kind: 'PROVIDER';
54
+ provider: FiatProvider;
55
+ } | {
56
+ kind: 'MINIMUM';
57
+ minimum: FiatQuoteMinimum;
58
+ };
59
+ /**
60
+ * The reroute a settled probe offers, or undefined when nothing it asked
61
+ * would take the buyer on.
62
+ *
63
+ * - A refusal under the remaining providers' minimum still moves the buyer:
64
+ * the amount screen they land on offers that minimum to deposit instead.
65
+ * - Only a minimum over the entered amount, in its currency, is a way on; any
66
+ * other is a stale or foreign bound.
67
+ * - A host-locked amount cannot be raised, so a minimum is no way on for it.
68
+ */
69
+ export declare function paymentRerouteFor({ probe, amount, currency, lockAmount, }: {
70
+ probe: Pick<UseFiatQuoteResult, 'isQuoteFresh' | 'entryCta' | 'provider' | 'minimum'>;
71
+ amount: string;
72
+ currency: string | undefined;
73
+ lockAmount: boolean;
74
+ }): PaymentReroute | undefined;
48
75
  //# sourceMappingURL=paymentReroute.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"paymentReroute.d.ts","sourceRoot":"","sources":["../../../src/fiat/paymentReroute.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,QAAQ,EACR,YAAY,EACZ,oBAAoB,EACrB,MAAM,sBAAsB,CAAA;AAC7B,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAA;AAWjE;;;;GAIG;AACH,wBAAgB,gBAAgB,CAC9B,OAAO,EAAE,SAAS,YAAY,EAAE,EAChC,OAAO,EAAE,oBAAoB,GAAG,SAAS,GACxC,oBAAoB,GAAG,SAAS,CASlC;AAKD;;;;GAIG;AACH,wBAAgB,mBAAmB,CACjC,eAAe,EAAE,OAAO,GACvB,SAAS,YAAY,EAAE,CAEzB;AAED;;;;;;GAMG;AACH,wBAAgB,qBAAqB,CAAC,EACpC,OAAO,EACP,UAAU,EACV,OAAO,GACR,EAAE;IACD,OAAO,EAAE,SAAS,YAAY,EAAE,CAAA;IAChC,UAAU,EAAE,SAAS,YAAY,EAAE,CAAA;IACnC,OAAO,EAAE,oBAAoB,GAAG,SAAS,CAAA;CAC1C,GAAG,oBAAoB,GAAG,SAAS,CAKnC;AAED;;;;;;GAMG;AACH,wBAAgB,uBAAuB,CAAC,EACtC,OAAO,EACP,aAAa,EACb,cAAc,EACd,OAAO,EACP,OAAO,GACR,EAAE;IACD,OAAO,EAAE,kBAAkB,GAAG,SAAS,CAAA;IACvC,aAAa,EAAE,MAAM,CAAA;IACrB,cAAc,EAAE,YAAY,GAAG,SAAS,CAAA;IACxC,OAAO,EAAE,SAAS,YAAY,EAAE,CAAA;IAChC,OAAO,EAAE,oBAAoB,GAAG,SAAS,CAAA;CAC1C,GAAG,oBAAoB,GAAG,SAAS,CAanC;AAED;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,QAAQ,GAAG,OAAO,CAa1D"}
1
+ {"version":3,"file":"paymentReroute.d.ts","sourceRoot":"","sources":["../../../src/fiat/paymentReroute.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,QAAQ,EACR,YAAY,EACZ,gBAAgB,EAChB,oBAAoB,EACpB,kBAAkB,EACnB,MAAM,sBAAsB,CAAA;AAC7B,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAA;AAWjE;;;;GAIG;AACH,wBAAgB,gBAAgB,CAC9B,OAAO,EAAE,SAAS,YAAY,EAAE,EAChC,OAAO,EAAE,oBAAoB,GAAG,SAAS,GACxC,oBAAoB,GAAG,SAAS,CASlC;AAKD;;;;GAIG;AACH,wBAAgB,mBAAmB,CACjC,eAAe,EAAE,OAAO,GACvB,SAAS,YAAY,EAAE,CAEzB;AAED;;;;;;GAMG;AACH,wBAAgB,qBAAqB,CAAC,EACpC,OAAO,EACP,UAAU,EACV,OAAO,GACR,EAAE;IACD,OAAO,EAAE,SAAS,YAAY,EAAE,CAAA;IAChC,UAAU,EAAE,SAAS,YAAY,EAAE,CAAA;IACnC,OAAO,EAAE,oBAAoB,GAAG,SAAS,CAAA;CAC1C,GAAG,oBAAoB,GAAG,SAAS,CAKnC;AAED;;;;;;GAMG;AACH,wBAAgB,uBAAuB,CAAC,EACtC,OAAO,EACP,aAAa,EACb,cAAc,EACd,OAAO,EACP,OAAO,GACR,EAAE;IACD,OAAO,EAAE,kBAAkB,GAAG,SAAS,CAAA;IACvC,aAAa,EAAE,MAAM,CAAA;IACrB,cAAc,EAAE,YAAY,GAAG,SAAS,CAAA;IACxC,OAAO,EAAE,SAAS,YAAY,EAAE,CAAA;IAChC,OAAO,EAAE,oBAAoB,GAAG,SAAS,CAAA;CAC1C,GAAG,oBAAoB,GAAG,SAAS,CAanC;AAED;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,QAAQ,GAAG,OAAO,CAa1D;AAED;;;GAGG;AACH,MAAM,MAAM,cAAc,GACtB;IAAE,IAAI,EAAE,UAAU,CAAC;IAAC,QAAQ,EAAE,YAAY,CAAA;CAAE,GAC5C;IAAE,IAAI,EAAE,SAAS,CAAC;IAAC,OAAO,EAAE,gBAAgB,CAAA;CAAE,CAAA;AAElD;;;;;;;;;GASG;AACH,wBAAgB,iBAAiB,CAAC,EAChC,KAAK,EACL,MAAM,EACN,QAAQ,EACR,UAAU,GACX,EAAE;IACD,KAAK,EAAE,IAAI,CACT,kBAAkB,EAClB,cAAc,GAAG,UAAU,GAAG,UAAU,GAAG,SAAS,CACrD,CAAA;IACD,MAAM,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAA;IAC5B,UAAU,EAAE,OAAO,CAAA;CACpB,GAAG,cAAc,GAAG,SAAS,CAkB7B"}
@@ -34,14 +34,15 @@ export declare function paymentFailureKind(code: string): PaymentFailureKind;
34
34
  * - A spent capture is always repriced.
35
35
  * - A sheet is never remounted while its provider says it can reopen: its surface opens the sheet
36
36
  * on mount, so a remount would reopen it unasked. It waits for the buyer's tap instead.
37
- * - Past that window, a dismissed sheet is repriced and a failed one is remounted.
37
+ * - Past that window, it is repriced, whether dismissed or failed. A remount reuses the round's
38
+ * session, which a failed payment has usually spent (MoonPay's token, Stripe's refused Link
39
+ * credential, Coinbase's session token), so every retry failed again before the sheet opened.
38
40
  */
39
- export declare function paymentSurfaceRecovery({ cause, stale, reopenableUntil, now, }: {
40
- cause: 'cancelled' | 'failed';
41
+ export declare function paymentSurfaceRecovery({ stale, reopenableUntil, now, }: {
41
42
  stale: boolean;
42
43
  reopenableUntil: number | undefined;
43
44
  now?: number;
44
- }): 'hold' | 'remount' | 'requote';
45
+ }): 'hold' | 'requote';
45
46
  /**
46
47
  * Whether a re-presented button would open a session that is already dead.
47
48
  * Reads the clock, so it belongs at the moment of recovery, not in a render.
@@ -1 +1 @@
1
- {"version":3,"file":"paymentSurfaceFailure.d.ts","sourceRoot":"","sources":["../../../src/fiat/paymentSurfaceFailure.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAA;AAMpE;;;;;;;;;GASG;AACH,MAAM,MAAM,kBAAkB,GAAG,WAAW,GAAG,UAAU,GAAG,QAAQ,CAAA;AAEpE;;;;GAIG;AACH,eAAO,MAAM,YAAY,iBAAiB,CAAA;AAC1C,eAAO,MAAM,cAAc,mBAAmB,CAAA;AAC9C,eAAO,MAAM,cAAc,mBAAmB,CAAA;AAC9C,eAAO,MAAM,eAAe,oBAAoB,CAAA;AAShD,yFAAyF;AACzF,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAExD;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,CAC9B,IAAI,EAAE,IAAI,CAAC,QAAQ,EAAE,MAAM,GAAG,cAAc,CAAC,GAC5C,MAAM,GAAG,SAAS,CAkBpB;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,MAAM,GAAG,kBAAkB,CAanE;AAED;;;;;;;GAOG;AACH,wBAAgB,sBAAsB,CAAC,EACrC,KAAK,EACL,KAAK,EACL,eAAe,EACf,GAAgB,GACjB,EAAE;IACD,KAAK,EAAE,WAAW,GAAG,QAAQ,CAAA;IAC7B,KAAK,EAAE,OAAO,CAAA;IACd,eAAe,EAAE,MAAM,GAAG,SAAS,CAAA;IACnC,GAAG,CAAC,EAAE,MAAM,CAAA;CACb,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,CAQjC;AAED;;;GAGG;AACH,wBAAgB,cAAc,CAC5B,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,WAAW,CAAC,GAAG,SAAS,EAC/C,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,WAAW,CAAC,GAAG,SAAS,EAC3C,GAAG,GAAE,MAAmB,GACvB,OAAO,CAQT"}
1
+ {"version":3,"file":"paymentSurfaceFailure.d.ts","sourceRoot":"","sources":["../../../src/fiat/paymentSurfaceFailure.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAA;AAMpE;;;;;;;;;GASG;AACH,MAAM,MAAM,kBAAkB,GAAG,WAAW,GAAG,UAAU,GAAG,QAAQ,CAAA;AAEpE;;;;GAIG;AACH,eAAO,MAAM,YAAY,iBAAiB,CAAA;AAC1C,eAAO,MAAM,cAAc,mBAAmB,CAAA;AAC9C,eAAO,MAAM,cAAc,mBAAmB,CAAA;AAC9C,eAAO,MAAM,eAAe,oBAAoB,CAAA;AAShD,yFAAyF;AACzF,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAExD;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,CAC9B,IAAI,EAAE,IAAI,CAAC,QAAQ,EAAE,MAAM,GAAG,cAAc,CAAC,GAC5C,MAAM,GAAG,SAAS,CAkBpB;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,MAAM,GAAG,kBAAkB,CAanE;AAED;;;;;;;;;GASG;AACH,wBAAgB,sBAAsB,CAAC,EACrC,KAAK,EACL,eAAe,EACf,GAAgB,GACjB,EAAE;IACD,KAAK,EAAE,OAAO,CAAA;IACd,eAAe,EAAE,MAAM,GAAG,SAAS,CAAA;IACnC,GAAG,CAAC,EAAE,MAAM,CAAA;CACb,GAAG,MAAM,GAAG,SAAS,CAQrB;AAED;;;GAGG;AACH,wBAAgB,cAAc,CAC5B,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,WAAW,CAAC,GAAG,SAAS,EAC/C,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,WAAW,CAAC,GAAG,SAAS,EAC3C,GAAG,GAAE,MAAmB,GACvB,OAAO,CAQT"}
@@ -0,0 +1,12 @@
1
+ /** From mount until the tick lands. */
2
+ export declare const COMPLETION_CHECK_DRAW_MS: number;
3
+ /**
4
+ * The success mark the wait ends on: its ring sweeps in, then the tick strokes
5
+ * across it with Apple Pay's success haptic. `onDrawn` fires as the tick lands.
6
+ */
7
+ export declare function CompletionCheck({ size, color, onDrawn, }: {
8
+ size: number;
9
+ color: string;
10
+ onDrawn?: () => void;
11
+ }): import("react").JSX.Element;
12
+ //# sourceMappingURL=CompletionCheck.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CompletionCheck.d.ts","sourceRoot":"","sources":["../../../../src/fiat/processing/CompletionCheck.tsx"],"names":[],"mappings":"AA0BA,uCAAuC;AACvC,eAAO,MAAM,wBAAwB,QAA0B,CAAA;AAE/D;;;GAGG;AACH,wBAAgB,eAAe,CAAC,EAC9B,IAAI,EACJ,KAAK,EACL,OAAO,GACR,EAAE;IACD,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;CACrB,+BAuEA"}
@@ -0,0 +1,17 @@
1
+ import type { SkImage } from '@shopify/react-native-skia';
2
+ import type { SkiaEffects } from './skiaPeer';
3
+ /**
4
+ * Plays the pressure wave once over `snapshot`, a still of the card it covers,
5
+ * then reports `onDone` so the live card can take over again.
6
+ */
7
+ export declare function CompletionWave({ effects, snapshot, width, height, originX, originY, cornerRadius, onDone, }: {
8
+ effects: SkiaEffects;
9
+ snapshot: SkImage;
10
+ width: number;
11
+ height: number;
12
+ originX: number;
13
+ originY: number;
14
+ cornerRadius: number;
15
+ onDone: () => void;
16
+ }): import("react").JSX.Element;
17
+ //# sourceMappingURL=CompletionWave.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CompletionWave.d.ts","sourceRoot":"","sources":["../../../../src/fiat/processing/CompletionWave.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAWzD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAA;AAE7C;;;GAGG;AACH,wBAAgB,cAAc,CAAC,EAC7B,OAAO,EACP,QAAQ,EACR,KAAK,EACL,MAAM,EACN,OAAO,EACP,OAAO,EACP,YAAY,EACZ,MAAM,GACP,EAAE;IACD,OAAO,EAAE,WAAW,CAAA;IACpB,QAAQ,EAAE,OAAO,CAAA;IACjB,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,EAAE,MAAM,CAAA;IACf,YAAY,EAAE,MAAM,CAAA;IACpB,MAAM,EAAE,MAAM,IAAI,CAAA;CACnB,+BA4CA"}
@@ -0,0 +1,25 @@
1
+ import type { NestedSheet } from '../../hooks/useNestedSheet';
2
+ import type { DepositCoverRefs } from '../../screens/DepositAmountScreen';
3
+ import { type ProcessingFailureAnswer } from './ProcessingFailure';
4
+ /** What the deposit card is showing: the wait, or the failed payment's ways on. */
5
+ export type DepositCardScreen = 'processing' | 'paymentFailed';
6
+ /**
7
+ * The card a paid deposit waits on, and the same card once the payment fails:
8
+ * one drawer that the buyer can pull away only once there is nothing left to
9
+ * wait for.
10
+ *
11
+ * Turning into the failure, the failure takes the card's layout at once, so
12
+ * the card resizes on the drawer's spring while the wait, pinned over it,
13
+ * fades away and the failure fades in on the same spring. The wait's puff
14
+ * shader fades in its shader (design, Neil).
15
+ */
16
+ export declare function DepositCardSheet({ sheet, methodName, delivered, onCompletionShown, failure, cover, }: {
17
+ sheet: NestedSheet<DepositCardScreen>;
18
+ methodName: string;
19
+ delivered: boolean;
20
+ onCompletionShown: () => void;
21
+ failure: ProcessingFailureAnswer;
22
+ /** What the card has to cover on the amount screen behind it. */
23
+ cover: DepositCoverRefs;
24
+ }): import("react").JSX.Element;
25
+ //# sourceMappingURL=DepositCardSheet.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DepositCardSheet.d.ts","sourceRoot":"","sources":["../../../../src/fiat/processing/DepositCardSheet.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AAC7D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAA;AAUzE,OAAO,EAEL,KAAK,uBAAuB,EAC7B,MAAM,qBAAqB,CAAA;AAE5B,mFAAmF;AACnF,MAAM,MAAM,iBAAiB,GAAG,YAAY,GAAG,eAAe,CAAA;AAE9D;;;;;;;;;GASG;AACH,wBAAgB,gBAAgB,CAAC,EAC/B,KAAK,EACL,UAAU,EACV,SAAS,EACT,iBAAiB,EACjB,OAAO,EACP,KAAK,GACN,EAAE;IACD,KAAK,EAAE,WAAW,CAAC,iBAAiB,CAAC,CAAA;IACrC,UAAU,EAAE,MAAM,CAAA;IAClB,SAAS,EAAE,OAAO,CAAA;IAClB,iBAAiB,EAAE,MAAM,IAAI,CAAA;IAC7B,OAAO,EAAE,uBAAuB,CAAA;IAChC,iEAAiE;IACjE,KAAK,EAAE,gBAAgB,CAAA;CACxB,+BA4DA"}
@@ -0,0 +1,22 @@
1
+ /** From the deposit landing until the card reports its ending shown, at the longest. */
2
+ export declare const PROCESSING_LANDING_MS: number;
3
+ /**
4
+ * The wait after a payment is taken: copy that changes as the wait drags on
5
+ * over drifting light, then the success mark and a pressure wave once the
6
+ * deposit lands. `onCompletionShown` fires when that ending has played.
7
+ *
8
+ * `fadingOut` takes it all away in place on the drawer's spring, the puff
9
+ * shader and the copy together, for what the card turns into next.
10
+ */
11
+ export declare function DepositProcessingCard({ delivered, methodName, onCompletionShown, fadingOut, onContentHeight, }: {
12
+ delivered: boolean;
13
+ methodName: string;
14
+ onCompletionShown: () => void;
15
+ fadingOut?: boolean;
16
+ /**
17
+ * The height the content needs, frame included, so the card can grow past
18
+ * its design height for larger text rather than clip the copy.
19
+ */
20
+ onContentHeight?: (height: number) => void;
21
+ }): import("react").JSX.Element;
22
+ //# sourceMappingURL=DepositProcessingCard.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DepositProcessingCard.d.ts","sourceRoot":"","sources":["../../../../src/fiat/processing/DepositProcessingCard.tsx"],"names":[],"mappings":"AAiDA,wFAAwF;AACxF,eAAO,MAAM,qBAAqB,QAI7B,CAAA;AAEL;;;;;;;GAOG;AACH,wBAAgB,qBAAqB,CAAC,EACpC,SAAS,EACT,UAAU,EACV,iBAAiB,EACjB,SAAiB,EACjB,eAAe,GAChB,EAAE;IACD,SAAS,EAAE,OAAO,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,iBAAiB,EAAE,MAAM,IAAI,CAAA;IAC7B,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB;;;OAGG;IACH,eAAe,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAA;CAC3C,+BA+HA"}
@@ -0,0 +1,13 @@
1
+ import { type WithSpringConfig } from 'react-native-reanimated';
2
+ import type { SkiaEffects } from './skiaPeer';
3
+ export declare const AURORA_FADE_MS = 300;
4
+ /** Soft colour puffs drifting behind the wait's copy, fading out once the deposit lands. */
5
+ export declare function ProcessingAurora({ effects, width, height, visible, motion, }: {
6
+ effects: SkiaEffects;
7
+ width: number;
8
+ height: number;
9
+ visible: boolean;
10
+ /** The spring its fade takes, in place of the design's 0.3s. */
11
+ motion?: WithSpringConfig;
12
+ }): import("react").JSX.Element;
13
+ //# sourceMappingURL=ProcessingAurora.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProcessingAurora.d.ts","sourceRoot":"","sources":["../../../../src/fiat/processing/ProcessingAurora.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,gBAAgB,EAMtB,MAAM,yBAAyB,CAAA;AAGhC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAA;AAI7C,eAAO,MAAM,cAAc,MAAM,CAAA;AAIjC,4FAA4F;AAC5F,wBAAgB,gBAAgB,CAAC,EAC/B,OAAO,EACP,KAAK,EACL,MAAM,EACN,OAAO,EACP,MAAM,GACP,EAAE;IACD,OAAO,EAAE,WAAW,CAAA;IACpB,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,EAAE,OAAO,CAAA;IAChB,gEAAgE;IAChE,MAAM,CAAC,EAAE,gBAAgB,CAAA;CAC1B,+BAgCA"}
@@ -0,0 +1,26 @@
1
+ import type { FiatQuoteMinimum } from '@funkit/connect-core';
2
+ import type { PaymentFailureAlternative } from '../usePaymentFailureAnswer';
3
+ export interface ProcessingFailureAnswer {
4
+ /** Which second route the card offers; see `PaymentFailureAnswer`. */
5
+ alternative: PaymentFailureAlternative;
6
+ /** The amount a `minimum` alternative offers to deposit instead. */
7
+ minimum?: FiatQuoteMinimum;
8
+ /** Opens the pay sheet again, for another card. */
9
+ onRetry: () => void;
10
+ /**
11
+ * A new quote from another provider, for the same card: at the amount, or
12
+ * on the amount screen offering the minimum.
13
+ */
14
+ onRequote: () => void;
15
+ /** The host's payment-method picker. */
16
+ onChangeMethod: () => void;
17
+ }
18
+ /**
19
+ * The failed payment's message and ways on: the design gives every failure one
20
+ * message, whatever the provider's code said, and the ways on as rows.
21
+ */
22
+ export declare function ProcessingFailure({ methodName, answer, }: {
23
+ methodName: string;
24
+ answer: ProcessingFailureAnswer;
25
+ }): import("react").JSX.Element;
26
+ //# sourceMappingURL=ProcessingFailure.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProcessingFailure.d.ts","sourceRoot":"","sources":["../../../../src/fiat/processing/ProcessingFailure.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAA;AAU5D,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,4BAA4B,CAAA;AAa3E,MAAM,WAAW,uBAAuB;IACtC,sEAAsE;IACtE,WAAW,EAAE,yBAAyB,CAAA;IACtC,oEAAoE;IACpE,OAAO,CAAC,EAAE,gBAAgB,CAAA;IAC1B,mDAAmD;IACnD,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB;;;OAGG;IACH,SAAS,EAAE,MAAM,IAAI,CAAA;IACrB,wCAAwC;IACxC,cAAc,EAAE,MAAM,IAAI,CAAA;CAC3B;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,EAChC,UAAU,EACV,MAAM,GACP,EAAE;IACD,UAAU,EAAE,MAAM,CAAA;IAClB,MAAM,EAAE,uBAAuB,CAAA;CAChC,+BAuDA"}
@@ -0,0 +1,21 @@
1
+ /**
2
+ * The glyphs on the processing card's ways on after a failed payment, exported
3
+ * byte for byte from Figma 4628:5015 ("icon-cc-swap") and 4628:5011
4
+ * ("icon-apple"), in their 36pt frames. `inkTop` and `inkBottom` bound the
5
+ * drawn paths inside that frame, so a glyph can be sized by its ink.
6
+ */
7
+ export interface OptionGlyph {
8
+ xml: string;
9
+ inkTop: number;
10
+ inkBottom: number;
11
+ }
12
+ export declare const OPTION_GLYPH_FRAME = 36;
13
+ export declare const CARD_SWAP_GLYPH: OptionGlyph;
14
+ export declare const APPLE_GLYPH: OptionGlyph;
15
+ /** A glyph drawn `scale` times its frame, in `color`. */
16
+ export declare function OptionGlyphIcon({ glyph, scale, color, }: {
17
+ glyph: OptionGlyph;
18
+ scale: number;
19
+ color: string;
20
+ }): import("react").JSX.Element;
21
+ //# sourceMappingURL=ProcessingOptionIcons.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProcessingOptionIcons.d.ts","sourceRoot":"","sources":["../../../../src/fiat/processing/ProcessingOptionIcons.tsx"],"names":[],"mappings":"AAEA;;;;;GAKG;AACH,MAAM,WAAW,WAAW;IAC1B,GAAG,EAAE,MAAM,CAAA;IACX,MAAM,EAAE,MAAM,CAAA;IACd,SAAS,EAAE,MAAM,CAAA;CAClB;AAED,eAAO,MAAM,kBAAkB,KAAK,CAAA;AAEpC,eAAO,MAAM,eAAe,EAAE,WAI7B,CAAA;AAED,eAAO,MAAM,WAAW,EAAE,WAIzB,CAAA;AAED,yDAAyD;AACzD,wBAAgB,eAAe,CAAC,EAC9B,KAAK,EACL,KAAK,EACL,KAAK,GACN,EAAE;IACD,KAAK,EAAE,WAAW,CAAA;IAClB,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;CACd,+BASA"}
@@ -0,0 +1,7 @@
1
+ /** The wait's three steps — payment taken, settling, landed — each segment filling as it is reached. */
2
+ export declare function ProcessingProgress({ filled, fillColor, trackColor, }: {
3
+ filled: number;
4
+ fillColor: string;
5
+ trackColor: string;
6
+ }): import("react").JSX.Element;
7
+ //# sourceMappingURL=ProcessingProgress.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProcessingProgress.d.ts","sourceRoot":"","sources":["../../../../src/fiat/processing/ProcessingProgress.tsx"],"names":[],"mappings":"AAeA,wGAAwG;AACxG,wBAAgB,kBAAkB,CAAC,EACjC,MAAM,EACN,SAAS,EACT,UAAU,GACX,EAAE;IACD,MAAM,EAAE,MAAM,CAAA;IACd,SAAS,EAAE,MAAM,CAAA;IACjB,UAAU,EAAE,MAAM,CAAA;CACnB,+BAaA"}
@@ -0,0 +1,16 @@
1
+ import { type StyleProp, type ViewStyle } from 'react-native';
2
+ import { type TextProps } from '../../theme/restyle';
3
+ /**
4
+ * Text that writes itself in left to right, word by word, as the prototype's
5
+ * soft wipe does. Mount it under a new `key` to play the reveal again.
6
+ */
7
+ export declare function RevealText({ text, variant, color, delayMs, instant, style, }: {
8
+ text: string;
9
+ variant: TextProps['variant'];
10
+ color: string;
11
+ delayMs?: number;
12
+ /** Shows the whole line at once, without writing it in. */
13
+ instant?: boolean;
14
+ style?: StyleProp<ViewStyle>;
15
+ }): import("react").JSX.Element;
16
+ //# sourceMappingURL=RevealText.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RevealText.d.ts","sourceRoot":"","sources":["../../../../src/fiat/processing/RevealText.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,SAAS,EAAoB,KAAK,SAAS,EAAE,MAAM,cAAc,CAAA;AAW/E,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,qBAAqB,CAAA;AAa1D;;;GAGG;AACH,wBAAgB,UAAU,CAAC,EACzB,IAAI,EACJ,OAAO,EACP,KAAK,EACL,OAAW,EACX,OAAe,EACf,KAAK,GACN,EAAE;IACD,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;IAC7B,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,2DAA2D;IAC3D,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;CAC7B,+BAwCA"}
@@ -0,0 +1,65 @@
1
+ import type { BottomSheetBackgroundProps } from '@gorhom/bottom-sheet';
2
+ import { type ViewStyle } from 'react-native';
3
+ export declare const CARD_FILL = "rgba(16, 16, 19, 0.9)";
4
+ export declare const CARD_BORDER = "rgba(255, 255, 255, 0.06)";
5
+ export declare const CARD_SHADOW = "0px 0px 64px 0px #000000";
6
+ /** What's written on the card: its surface is dark in either theme. */
7
+ export declare const CARD_INK: {
8
+ primary: string;
9
+ secondary: string;
10
+ success: string;
11
+ error: string;
12
+ hyperlink: string;
13
+ warning: string;
14
+ watermark: string;
15
+ tertiary: string;
16
+ ghosted: string;
17
+ };
18
+ /** How far a card stands off the screen's sides and foot. */
19
+ export declare const CARD_INSET = 8;
20
+ export declare const CARD_BOTTOM_RADIUS = 46;
21
+ /** The corners the card's content is cut to, at its head and its foot. */
22
+ export interface CardContentCorners {
23
+ top: number;
24
+ bottom: number;
25
+ /**
26
+ * Whether these are the glass's own: probed, or fixed where there is nothing
27
+ * to probe. Content that paints to its edge waits for them, as until then it
28
+ * would show past the glass's corners.
29
+ */
30
+ known: boolean;
31
+ }
32
+ /**
33
+ * The content's corners before the device's have been probed: the glass's
34
+ * floor with Liquid Glass, else just inside the frame's fixed corners.
35
+ */
36
+ export declare const CARD_CONTENT_CORNERS: CardContentCorners;
37
+ /** The corners a card's glass and content take: the probed ones once known. */
38
+ export declare function useCardCorners(): CardContentCorners;
39
+ /** The card's content corners, for what it holds. */
40
+ export declare const CardContentCornersContext: import("react").Context<CardContentCorners>;
41
+ /**
42
+ * Where the card's own content sits: inside its edge, on the glass and cut to
43
+ * the glass's corners, so content that paints to its bounds (the wait's puff
44
+ * shader) keeps to the card's shape.
45
+ */
46
+ /** How far the card's content frame sits inside the card, on each side. */
47
+ export declare const CARD_CONTENT_INSET: number;
48
+ export declare function cardContentFrame(corners: CardContentCorners): ViewStyle;
49
+ /**
50
+ * The card surface as a drawer's background: the frame's frost under its fill,
51
+ * edged with its hairline. With Liquid Glass, the glass keeps the frame's head
52
+ * and takes the device's concentric corners at its foot, as probed, a uniform
53
+ * gutter inside the hairline so the two stay parallel. Without it, the frame's
54
+ * fixed corners.
55
+ */
56
+ export declare function CardSheetBackground({ pointerEvents, style, }: BottomSheetBackgroundProps): import("react").JSX.Element;
57
+ /**
58
+ * Probes the concentric corner the system gives a card's glass at rest, which
59
+ * the glass's foot takes. A view resolves concentric corners from its distance
60
+ * to the display's rounded corners, and only when laid out, which the drawer's
61
+ * slide doesn't do; so the probe stands in for the glass where it comes to
62
+ * rest, never seen. Mounted while a deposit flow is open, until it has read.
63
+ */
64
+ export declare function CardCornerProbe(): import("react").JSX.Element | null;
65
+ //# sourceMappingURL=cardSurface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cardSurface.d.ts","sourceRoot":"","sources":["../../../../src/fiat/processing/cardSurface.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,sBAAsB,CAAA;AAStE,OAAO,EAIL,KAAK,SAAS,EAEf,MAAM,cAAc,CAAA;AAcrB,eAAO,MAAM,SAAS,0BAA0B,CAAA;AAChD,eAAO,MAAM,WAAW,8BAA8B,CAAA;AACtD,eAAO,MAAM,WAAW,6BAA6B,CAAA;AACrD,uEAAuE;AACvE,eAAO,MAAM,QAAQ;;;;;;;;;;CAA8B,CAAA;AACnD,6DAA6D;AAC7D,eAAO,MAAM,UAAU,IAAI,CAAA;AAI3B,eAAO,MAAM,kBAAkB,KAAK,CAAA;AAmBpC,0EAA0E;AAC1E,MAAM,WAAW,kBAAkB;IACjC,GAAG,EAAE,MAAM,CAAA;IACX,MAAM,EAAE,MAAM,CAAA;IACd;;;;OAIG;IACH,KAAK,EAAE,OAAO,CAAA;CACf;AAED;;;GAGG;AACH,eAAO,MAAM,oBAAoB,EAAE,kBAM9B,CAAA;AAuBL,+EAA+E;AAC/E,wBAAgB,cAAc,IAAI,kBAAkB,CAInD;AAED,qDAAqD;AACrD,eAAO,MAAM,yBAAyB,6CACmB,CAAA;AAEzD;;;;GAIG;AACH,2EAA2E;AAC3E,eAAO,MAAM,kBAAkB,QAAkC,CAAA;AAEjE,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,kBAAkB,GAAG,SAAS,CAWvE;AAED;;;;;;GAMG;AACH,wBAAgB,mBAAmB,CAAC,EAClC,aAAa,EACb,KAAK,GACN,EAAE,0BAA0B,+BAiE5B;AAiDD;;;;;;GAMG;AACH,wBAAgB,eAAe,uCAM9B"}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * The radius of a rounded corner, fitted from where a shape's fill begins
3
+ * along the rows down from its top edge: a quarter circle of radius `r` steps
4
+ * in by `r - √(r² - (r - h)²)` at height `h`, and not at all past `r`.
5
+ *
6
+ * `insetAt(h)` is the fill's distance in from the straight edge at height `h`,
7
+ * both in points; rows that fit no corner (none of the fill) report `undefined`.
8
+ */
9
+ export declare function fitCornerRadius(insetAt: (height: number) => number | undefined, { maxRadius, step }: {
10
+ maxRadius: number;
11
+ step: number;
12
+ }): number | undefined;
13
+ //# sourceMappingURL=cornerRadius.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cornerRadius.d.ts","sourceRoot":"","sources":["../../../../src/fiat/processing/cornerRadius.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,wBAAgB,eAAe,CAC7B,OAAO,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,MAAM,GAAG,SAAS,EAC/C,EAAE,SAAS,EAAE,IAAI,EAAE,EAAE;IAAE,SAAS,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,GACvD,MAAM,GAAG,SAAS,CA4BpB"}
@@ -0,0 +1,18 @@
1
+ export declare const PUFF_COUNT = 6;
2
+ export declare const GRADIENT_PUFF_SKSL = "\nuniform float2 resolution;\nuniform float sharp;\nuniform float dither;\nuniform float4 puffs[6];\nuniform float4 tints[6];\n\nhalf4 main(float2 xy) {\n float m = min(resolution.x, resolution.y);\n float2 p = xy / m;\n float3 accRgb = float3(0.0);\n float accA = 0.0;\n for (int i = 0; i < 6; i++) {\n float4 a = puffs[i];\n float2 d = p - a.xy;\n float q = dot(d, d) / max(a.z * a.z, 0.000001);\n float w = a.w * exp(-q * sharp);\n accRgb += tints[i].rgb * w;\n accA += w;\n }\n float outA = 1.0 - exp(-accA);\n float3 rgb = accRgb * (outA / max(accA, 0.0001));\n float n = fract(sin(dot(floor(xy), float2(12.9898, 78.233))) * 43758.5453) - 0.5;\n float dith = n * dither / 255.0;\n float a2 = clamp(outA + dith, 0.0, 1.0);\n rgb = clamp(rgb + float3(dith), float3(0.0), float3(a2));\n return half4(half3(rgb), half(a2));\n}\n";
3
+ export type GradientPuffUniforms = {
4
+ resolution: [number, number];
5
+ sharp: number;
6
+ dither: number;
7
+ puffs: number[];
8
+ tints: number[];
9
+ };
10
+ /** Every puff's position, size, opacity and tint at `timeMs` on a `width` × `height` card. */
11
+ export declare function gradientPuffUniforms(timeMs: number, width: number, height: number,
12
+ /**
13
+ * The prototype's overall opacity input, 0 to 1 of its tuned value. Animated
14
+ * to fade the light out through the shader's own saturation, so the faint
15
+ * edges go before the bright cores.
16
+ */
17
+ fade?: number): GradientPuffUniforms;
18
+ //# sourceMappingURL=gradientPuff.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gradientPuff.d.ts","sourceRoot":"","sources":["../../../../src/fiat/processing/gradientPuff.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,UAAU,IAAI,CAAA;AAE3B,eAAO,MAAM,kBAAkB,i2BA4B9B,CAAA;AAoCD,MAAM,MAAM,oBAAoB,GAAG;IACjC,UAAU,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAC5B,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;IACd,KAAK,EAAE,MAAM,EAAE,CAAA;IACf,KAAK,EAAE,MAAM,EAAE,CAAA;CAChB,CAAA;AAED,8FAA8F;AAC9F,wBAAgB,oBAAoB,CAClC,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,MAAM;AACd;;;;GAIG;AACH,IAAI,SAAI,GACP,oBAAoB,CAoGtB"}