@funkit/connect-rn 12.2.0 → 12.4.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 (431) hide show
  1. package/CHANGELOG.md +137 -0
  2. package/README.md +6 -1
  3. package/dist/{chunk-QCVNSXNO.js → chunk-ACECDE3B.js} +5 -7
  4. package/dist/chunk-ACECDE3B.js.map +7 -0
  5. package/dist/{chunk-NXDFUNCP.js → chunk-DDFBGRBX.js} +74 -10
  6. package/dist/chunk-DDFBGRBX.js.map +7 -0
  7. package/dist/{chunk-7RKYLSYP.js → chunk-LJHYIZUN.js} +2 -2
  8. package/dist/clients/lighter/lighterWithdrawalConfig.d.ts +1 -1
  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 +2 -0
  13. package/dist/index.d.ts.map +1 -1
  14. package/dist/index.js +11447 -7278
  15. package/dist/index.js.map +4 -4
  16. package/dist/preview.js +279 -5
  17. package/dist/preview.js.map +4 -4
  18. package/dist/src/components/DepositActionMotion.d.ts +3 -3
  19. package/dist/src/components/Grabber.d.ts +1 -1
  20. package/dist/src/components/Grabber.d.ts.map +1 -1
  21. package/dist/src/components/PillButton.d.ts +1 -1
  22. package/dist/src/components/PillButton.d.ts.map +1 -1
  23. package/dist/src/components/v2/FeeLine.d.ts +1 -1
  24. package/dist/src/components/v2/ListRow.d.ts +1 -1
  25. package/dist/src/components/v2/QuickAmountsRow.d.ts +1 -1
  26. package/dist/src/components/v2/QuickAmountsRow.d.ts.map +1 -1
  27. package/dist/src/fiat/common/FiatBackButton.d.ts +1 -1
  28. package/dist/src/fiat/common/FiatBackButton.d.ts.map +1 -1
  29. package/dist/src/fiat/common/FiatStepFailedScreen.d.ts +3 -2
  30. package/dist/src/fiat/common/FiatStepFailedScreen.d.ts.map +1 -1
  31. package/dist/src/fiat/common/FiatSubmissionIndicator.d.ts +1 -7
  32. package/dist/src/fiat/common/FiatSubmissionIndicator.d.ts.map +1 -1
  33. package/dist/src/fiat/common/ctaLabel.d.ts +1 -1
  34. package/dist/src/fiat/common/stepDetails.d.ts +1 -1
  35. package/dist/src/fiat/common/stepDetails.d.ts.map +1 -1
  36. package/dist/src/fiat/contact/FiatContactScreen.d.ts.map +1 -1
  37. package/dist/src/fiat/contact/contactRound.d.ts +1 -0
  38. package/dist/src/fiat/contact/contactRound.d.ts.map +1 -1
  39. package/dist/src/fiat/contact/knownContacts.d.ts +1 -1
  40. package/dist/src/fiat/contact/phoneRegionRedirect.d.ts +2 -0
  41. package/dist/src/fiat/contact/phoneRegionRedirect.d.ts.map +1 -1
  42. package/dist/src/fiat/country/FiatCountrySheet.d.ts +1 -1
  43. package/dist/src/fiat/country/countryListEntries.d.ts +1 -1
  44. package/dist/src/fiat/country/countrySections.d.ts +1 -1
  45. package/dist/src/fiat/entry/useCaptureHold.d.ts +3 -3
  46. package/dist/src/fiat/entry/useCaptureHold.d.ts.map +1 -1
  47. package/dist/src/fiat/entry/useEntryQuote.d.ts +18 -4
  48. package/dist/src/fiat/entry/useEntryQuote.d.ts.map +1 -1
  49. package/dist/src/fiat/entry/useEntrySubmit.d.ts +2 -2
  50. package/dist/src/fiat/entry/useEntrySubmit.d.ts.map +1 -1
  51. package/dist/src/fiat/form/FiatBirthDateField.d.ts +1 -1
  52. package/dist/src/fiat/form/FiatBirthDateField.d.ts.map +1 -1
  53. package/dist/src/fiat/form/FiatFormAdvance.d.ts.map +1 -1
  54. package/dist/src/fiat/form/FiatFormFieldRow.d.ts +1 -1
  55. package/dist/src/fiat/form/FiatFormScreen.d.ts.map +1 -1
  56. package/dist/src/fiat/form/FiatSsnField.d.ts.map +1 -1
  57. package/dist/src/fiat/form/fieldAutofill.d.ts +1 -1
  58. package/dist/src/fiat/form/formLayout.d.ts +3 -1
  59. package/dist/src/fiat/form/formLayout.d.ts.map +1 -1
  60. package/dist/src/fiat/kyc/FiatDocumentCaptureStep.d.ts +1 -1
  61. package/dist/src/fiat/kyc/FiatDocumentCaptureStep.d.ts.map +1 -1
  62. package/dist/src/fiat/kyc/FiatIdentityStep.d.ts.map +1 -1
  63. package/dist/src/fiat/kyc/FiatKycFieldControl.d.ts +1 -1
  64. package/dist/src/fiat/kyc/FiatKycOutcomeScreen.d.ts +6 -2
  65. package/dist/src/fiat/kyc/FiatKycOutcomeScreen.d.ts.map +1 -1
  66. package/dist/src/fiat/kyc/SumsubCaptureStep.d.ts +25 -0
  67. package/dist/src/fiat/kyc/SumsubCaptureStep.d.ts.map +1 -0
  68. package/dist/src/fiat/kyc/analyticsKycSection.d.ts.map +1 -1
  69. package/dist/src/fiat/kyc/formValidationError.d.ts +1 -1
  70. package/dist/src/fiat/kyc/kycCapture.d.ts +3 -4
  71. package/dist/src/fiat/kyc/kycCapture.d.ts.map +1 -1
  72. package/dist/src/fiat/kyc/kycFieldValidators.d.ts +3 -1
  73. package/dist/src/fiat/kyc/kycFieldValidators.d.ts.map +1 -1
  74. package/dist/src/fiat/kyc/kycForm.d.ts +4 -5
  75. package/dist/src/fiat/kyc/kycForm.d.ts.map +1 -1
  76. package/dist/src/fiat/kyc/kycFormState.d.ts +7 -1
  77. package/dist/src/fiat/kyc/kycFormState.d.ts.map +1 -1
  78. package/dist/src/fiat/kyc/kycFormTheme.d.ts +1 -1
  79. package/dist/src/fiat/kyc/kycFormTheme.d.ts.map +1 -1
  80. package/dist/src/fiat/kyc/kycReaskCopy.d.ts +6 -0
  81. package/dist/src/fiat/kyc/kycReaskCopy.d.ts.map +1 -0
  82. package/dist/src/fiat/kyc/kycRoutes.d.ts +2 -2
  83. package/dist/src/fiat/kyc/kycRoutes.d.ts.map +1 -1
  84. package/dist/src/fiat/kyc/kycUnavailableAlert.d.ts +1 -1
  85. package/dist/src/fiat/kyc/kycValues.d.ts +4 -0
  86. package/dist/src/fiat/kyc/kycValues.d.ts.map +1 -0
  87. package/dist/src/fiat/kyc/kycVerdict.d.ts +1 -1
  88. package/dist/src/fiat/kyc/kycVerdict.d.ts.map +1 -1
  89. package/dist/src/fiat/kyc/useKycCompletion.d.ts +4 -4
  90. package/dist/src/fiat/kyc/useKycScreens.d.ts +1 -1
  91. package/dist/src/fiat/otp/FunReauthStep.d.ts +7 -2
  92. package/dist/src/fiat/otp/FunReauthStep.d.ts.map +1 -1
  93. package/dist/src/fiat/payment/failoverKind.d.ts +8 -1
  94. package/dist/src/fiat/payment/failoverKind.d.ts.map +1 -1
  95. package/dist/src/fiat/payment/failoverPrompt.d.ts +4 -1
  96. package/dist/src/fiat/payment/failoverPrompt.d.ts.map +1 -1
  97. package/dist/src/fiat/payment/methodName.d.ts.map +1 -1
  98. package/dist/src/fiat/payment/paymentAttempts.d.ts +1 -1
  99. package/dist/src/fiat/payment/paymentReroute.d.ts.map +1 -1
  100. package/dist/src/fiat/payment/paymentSurfaceFailure.d.ts.map +1 -1
  101. package/dist/src/fiat/payment/platformPayAttempt.d.ts +31 -0
  102. package/dist/src/fiat/payment/platformPayAttempt.d.ts.map +1 -0
  103. package/dist/src/fiat/payment/usePaymentAttempts.d.ts +3 -0
  104. package/dist/src/fiat/payment/usePaymentAttempts.d.ts.map +1 -1
  105. package/dist/src/fiat/payment/usePaymentFailureAnswer.d.ts +10 -7
  106. package/dist/src/fiat/payment/usePaymentFailureAnswer.d.ts.map +1 -1
  107. package/dist/src/fiat/processing/DepositCardSheet.d.ts +3 -0
  108. package/dist/src/fiat/processing/DepositCardSheet.d.ts.map +1 -1
  109. package/dist/src/fiat/processing/ProcessingAurora.d.ts +1 -1
  110. package/dist/src/fiat/processing/ProcessingAurora.d.ts.map +1 -1
  111. package/dist/src/fiat/providerFlow.d.ts +11 -2
  112. package/dist/src/fiat/providerFlow.d.ts.map +1 -1
  113. package/dist/src/fiat/providerFlows.d.ts.map +1 -1
  114. package/dist/src/fiat/providers/adapter.d.ts +3 -3
  115. package/dist/src/fiat/providers/adapter.d.ts.map +1 -1
  116. package/dist/src/fiat/providers/alchemypay/AlchemyPayButtonSurface.d.ts +8 -5
  117. package/dist/src/fiat/providers/alchemypay/AlchemyPayButtonSurface.d.ts.map +1 -1
  118. package/dist/src/fiat/providers/alchemypay/AlchemyPayChallengeSheet.d.ts +14 -0
  119. package/dist/src/fiat/providers/alchemypay/AlchemyPayChallengeSheet.d.ts.map +1 -0
  120. package/dist/src/fiat/providers/alchemypay/Checkout.d.ts +1 -1
  121. package/dist/src/fiat/providers/alchemypay/Checkout.d.ts.map +1 -1
  122. package/dist/src/fiat/providers/alchemypay/alchemyPayButtonEvents.d.ts +20 -5
  123. package/dist/src/fiat/providers/alchemypay/alchemyPayButtonEvents.d.ts.map +1 -1
  124. package/dist/src/fiat/providers/alchemypay/alchemyPayPage.d.ts +10 -3
  125. package/dist/src/fiat/providers/alchemypay/alchemyPayPage.d.ts.map +1 -1
  126. package/dist/src/fiat/providers/alchemypay/checkoutRules.d.ts.map +1 -1
  127. package/dist/src/fiat/providers/alchemypay/googlePayBuyLabel.d.ts +7 -0
  128. package/dist/src/fiat/providers/alchemypay/googlePayBuyLabel.d.ts.map +1 -0
  129. package/dist/src/fiat/providers/alchemypay/index.d.ts.map +1 -1
  130. package/dist/src/fiat/providers/alchemypay/useAlchemyPayCheckout.d.ts +2 -0
  131. package/dist/src/fiat/providers/alchemypay/useAlchemyPayCheckout.d.ts.map +1 -1
  132. package/dist/src/fiat/providers/banxa/BanxaCheckoutSurface.d.ts +2 -2
  133. package/dist/src/fiat/providers/banxa/BanxaCheckoutSurface.d.ts.map +1 -1
  134. package/dist/src/fiat/providers/checkout/retryProviderRequest.d.ts +16 -0
  135. package/dist/src/fiat/providers/checkout/retryProviderRequest.d.ts.map +1 -0
  136. package/dist/src/fiat/providers/checkout/slotOutlets.d.ts +8 -0
  137. package/dist/src/fiat/providers/checkout/slotOutlets.d.ts.map +1 -1
  138. package/dist/src/fiat/providers/checkout/useFiatNextApi.d.ts +10 -2
  139. package/dist/src/fiat/providers/checkout/useFiatNextApi.d.ts.map +1 -1
  140. package/dist/src/fiat/providers/coinbase/CoinbaseCheckoutSurface.d.ts +1 -1
  141. package/dist/src/fiat/providers/coinbase/CoinbaseCheckoutSurface.d.ts.map +1 -1
  142. package/dist/src/fiat/providers/coinbase/coinbaseApplePay.d.ts +2 -2
  143. package/dist/src/fiat/providers/coinbase/coinbaseApplePay.d.ts.map +1 -1
  144. package/dist/src/fiat/providers/coinbase/coinbaseCardRefusal.d.ts +5 -0
  145. package/dist/src/fiat/providers/coinbase/coinbaseCardRefusal.d.ts.map +1 -1
  146. package/dist/src/fiat/providers/coinbase/coinbasePlatformPayStyle.d.ts +22 -0
  147. package/dist/src/fiat/providers/coinbase/coinbasePlatformPayStyle.d.ts.map +1 -0
  148. package/dist/src/fiat/providers/coinbase/coinbasePreparedPayment.d.ts +2 -2
  149. package/dist/src/fiat/providers/coinbase/coinbasePreparedPayment.d.ts.map +1 -1
  150. package/dist/src/fiat/providers/coinbase/coinbaseWallet.d.ts +15 -0
  151. package/dist/src/fiat/providers/coinbase/coinbaseWallet.d.ts.map +1 -0
  152. package/dist/src/fiat/providers/coinbase/next/Checkout.d.ts.map +1 -1
  153. package/dist/src/fiat/providers/coinbase/next/coinbaseCheckoutTerms.d.ts.map +1 -1
  154. package/dist/src/fiat/providers/coinbase/next/useCoinbaseCheckout.d.ts +6 -1
  155. package/dist/src/fiat/providers/coinbase/next/useCoinbaseCheckout.d.ts.map +1 -1
  156. package/dist/src/fiat/providers/moonpay/Capture.d.ts +1 -1
  157. package/dist/src/fiat/providers/moonpay/Capture.d.ts.map +1 -1
  158. package/dist/src/fiat/providers/moonpay/KycForm.d.ts +0 -2
  159. package/dist/src/fiat/providers/moonpay/KycForm.d.ts.map +1 -1
  160. package/dist/src/fiat/providers/moonpay/errors.d.ts +1 -1
  161. package/dist/src/fiat/providers/moonpay/errors.d.ts.map +1 -1
  162. package/dist/src/fiat/providers/moonpay/events.d.ts +2 -0
  163. package/dist/src/fiat/providers/moonpay/events.d.ts.map +1 -1
  164. package/dist/src/fiat/providers/moonpay/fullCheckout/Checkout.d.ts.map +1 -1
  165. package/dist/src/fiat/providers/moonpay/fullCheckout/checkoutScreens.d.ts +0 -2
  166. package/dist/src/fiat/providers/moonpay/fullCheckout/checkoutScreens.d.ts.map +1 -1
  167. package/dist/src/fiat/providers/moonpay/fullCheckout/kycChallenge.d.ts +14 -0
  168. package/dist/src/fiat/providers/moonpay/fullCheckout/kycChallenge.d.ts.map +1 -0
  169. package/dist/src/fiat/providers/moonpay/fullCheckout/moonPayCheckoutTerms.d.ts.map +1 -1
  170. package/dist/src/fiat/providers/moonpay/fullCheckout/useCheckoutModel.d.ts +11 -5
  171. package/dist/src/fiat/providers/moonpay/fullCheckout/useCheckoutModel.d.ts.map +1 -1
  172. package/dist/src/fiat/providers/moonpay/guestCheckout/checkoutScreens.d.ts +0 -2
  173. package/dist/src/fiat/providers/moonpay/guestCheckout/checkoutScreens.d.ts.map +1 -1
  174. package/dist/src/fiat/providers/moonpay/guestCheckout/useGuestCheck.d.ts +2 -2
  175. package/dist/src/fiat/providers/moonpay/guestCheckout/useGuestCheck.d.ts.map +1 -1
  176. package/dist/src/fiat/providers/moonpay/guestCheckout/useGuestCheckoutModel.d.ts +5 -4
  177. package/dist/src/fiat/providers/moonpay/guestCheckout/useGuestCheckoutModel.d.ts.map +1 -1
  178. package/dist/src/fiat/providers/moonpay/index.d.ts.map +1 -1
  179. package/dist/src/fiat/providers/moonpay/moonpay.d.ts +2 -2
  180. package/dist/src/fiat/providers/moonpay/moonpay.d.ts.map +1 -1
  181. package/dist/src/fiat/providers/moonpay/moonpayAuthStyle.d.ts +7 -7
  182. package/dist/src/fiat/providers/moonpay/moonpayAuthStyle.d.ts.map +1 -1
  183. package/dist/src/fiat/providers/moonpay/{moonpayApplePayPainted.d.ts → moonpayPlatformPayPainted.d.ts} +3 -3
  184. package/dist/src/fiat/providers/moonpay/moonpayPlatformPayPainted.d.ts.map +1 -0
  185. package/dist/src/fiat/providers/moonpay/moonpayPlatformPayStyle.d.ts +13 -0
  186. package/dist/src/fiat/providers/moonpay/moonpayPlatformPayStyle.d.ts.map +1 -0
  187. package/dist/src/fiat/providers/moonpay/sdk/{ApplePayButton.d.ts → PlatformPayButton.d.ts} +14 -8
  188. package/dist/src/fiat/providers/moonpay/sdk/PlatformPayButton.d.ts.map +1 -0
  189. package/dist/src/fiat/providers/moonpay/sdk/{ApplePaySlot.d.ts → PlatformPaySlot.d.ts} +4 -4
  190. package/dist/src/fiat/providers/moonpay/sdk/PlatformPaySlot.d.ts.map +1 -0
  191. package/dist/src/fiat/providers/moonpay/useReadiness.d.ts +4 -4
  192. package/dist/src/fiat/providers/moonpay/useReadiness.d.ts.map +1 -1
  193. package/dist/src/fiat/providers/{applePayButtonMetrics.d.ts → platformPayButtonMetrics.d.ts} +6 -6
  194. package/dist/src/fiat/providers/platformPayButtonMetrics.d.ts.map +1 -0
  195. package/dist/src/fiat/providers/{applePayPaintGate.d.ts → platformPayPaintGate.d.ts} +8 -8
  196. package/dist/src/fiat/providers/platformPayPaintGate.d.ts.map +1 -0
  197. package/dist/src/fiat/providers/stripe/next/Checkout.d.ts +2 -2
  198. package/dist/src/fiat/providers/stripe/next/Checkout.d.ts.map +1 -1
  199. package/dist/src/fiat/providers/stripe/next/stripeCheckoutTerms.d.ts.map +1 -1
  200. package/dist/src/fiat/providers/stripe/next/useStripeCheckout.d.ts +5 -2
  201. package/dist/src/fiat/providers/stripe/next/useStripeCheckout.d.ts.map +1 -1
  202. package/dist/src/fiat/providers/stripe/next/useStripeExit.d.ts.map +1 -1
  203. package/dist/src/fiat/providers/stripe/next/useStripeFunnel.d.ts +2 -2
  204. package/dist/src/fiat/providers/stripe/next/useStripeFunnel.d.ts.map +1 -1
  205. package/dist/src/fiat/providers/stripe/next/useStripePayment.d.ts +1 -1
  206. package/dist/src/fiat/providers/stripe/stripeApplePaySelection.d.ts +9 -2
  207. package/dist/src/fiat/providers/stripe/stripeApplePaySelection.d.ts.map +1 -1
  208. package/dist/src/fiat/providers/stripe/stripeCheckout.d.ts +1 -1
  209. package/dist/src/fiat/providers/stripe/stripeKycInfo.d.ts +1 -1
  210. package/dist/src/fiat/providers/stripe/stripeOnramp.d.ts +15 -4
  211. package/dist/src/fiat/providers/stripe/stripeOnramp.d.ts.map +1 -1
  212. package/dist/src/fiat/providers/stripe/stripePayment.d.ts +2 -0
  213. package/dist/src/fiat/providers/stripe/stripePayment.d.ts.map +1 -1
  214. package/dist/src/fiat/providers/stripe/{stripeApplePayButton.d.ts → stripePlatformPayButton.d.ts} +4 -4
  215. package/dist/src/fiat/providers/stripe/stripePlatformPayButton.d.ts.map +1 -0
  216. package/dist/src/fiat/providers/stripe/stripePlatformPayReady.d.ts +18 -0
  217. package/dist/src/fiat/providers/stripe/stripePlatformPayReady.d.ts.map +1 -0
  218. package/dist/src/fiat/providers/stripe/stripeSeamlessSignIn.d.ts +1 -1
  219. package/dist/src/fiat/providers/stripe/useCreateStripeAccountWithExistingUserData.d.ts +5 -4
  220. package/dist/src/fiat/providers/stripe/useCreateStripeAccountWithExistingUserData.d.ts.map +1 -1
  221. package/dist/src/fiat/providers/stripe/useStripeKycFailover.d.ts +1 -1
  222. package/dist/src/fiat/providers/stripe/useStripeKycFailover.d.ts.map +1 -1
  223. package/dist/src/fiat/providers/stripe/useStripeOnrampClient.d.ts.map +1 -1
  224. package/dist/src/fiat/providers/stripe/useStripePayButton.d.ts +5 -5
  225. package/dist/src/fiat/providers/stripe/useStripePayButton.d.ts.map +1 -1
  226. package/dist/src/fiat/providers/sumsub/SumsubNativeKycSurface.d.ts.map +1 -1
  227. package/dist/src/fiat/providers/sumsub/sumsubNativeLaunch.d.ts.map +1 -1
  228. package/dist/src/fiat/providers/sumsub/sumsubSdkLogs.d.ts +11 -0
  229. package/dist/src/fiat/providers/sumsub/sumsubSdkLogs.d.ts.map +1 -0
  230. package/dist/src/fiat/providers/transak/TransakApplePayFrame.d.ts +17 -0
  231. package/dist/src/fiat/providers/transak/TransakApplePayFrame.d.ts.map +1 -0
  232. package/dist/src/fiat/providers/transak/TransakApplePaySurface.d.ts +6 -0
  233. package/dist/src/fiat/providers/transak/TransakApplePaySurface.d.ts.map +1 -1
  234. package/dist/src/fiat/providers/transak/next/Capture.d.ts +15 -0
  235. package/dist/src/fiat/providers/transak/next/Capture.d.ts.map +1 -0
  236. package/dist/src/fiat/providers/transak/next/Checkout.d.ts +25 -0
  237. package/dist/src/fiat/providers/transak/next/Checkout.d.ts.map +1 -0
  238. package/dist/src/fiat/providers/transak/next/KycForm.d.ts +22 -0
  239. package/dist/src/fiat/providers/transak/next/KycForm.d.ts.map +1 -0
  240. package/dist/src/fiat/providers/transak/next/checkoutRules.d.ts +32 -0
  241. package/dist/src/fiat/providers/transak/next/checkoutRules.d.ts.map +1 -0
  242. package/dist/src/fiat/providers/transak/next/index.d.ts +4 -0
  243. package/dist/src/fiat/providers/transak/next/index.d.ts.map +1 -0
  244. package/dist/src/fiat/providers/transak/next/prefetch.d.ts +25 -0
  245. package/dist/src/fiat/providers/transak/next/prefetch.d.ts.map +1 -0
  246. package/dist/src/fiat/providers/transak/next/useTransakCheckout.d.ts +49 -0
  247. package/dist/src/fiat/providers/transak/next/useTransakCheckout.d.ts.map +1 -0
  248. package/dist/src/fiat/settlement/depositSettlement.d.ts.map +1 -1
  249. package/dist/src/fiat/surface/SurfaceSlot.d.ts +1 -1
  250. package/dist/src/fiat/surface/SurfaceSlot.d.ts.map +1 -1
  251. package/dist/src/fiat/surface/actionSlot.d.ts +2 -2
  252. package/dist/src/fiat/surface/actionSlot.d.ts.map +1 -1
  253. package/dist/src/fiat/surface/stepSurface.d.ts +4 -1
  254. package/dist/src/fiat/surface/stepSurface.d.ts.map +1 -1
  255. package/dist/src/fiat/surface/useFailureAnnouncements.d.ts +3 -2
  256. package/dist/src/fiat/surface/useFailureAnnouncements.d.ts.map +1 -1
  257. package/dist/src/fiat/surface/useSurfaceAttempt.d.ts +5 -3
  258. package/dist/src/fiat/surface/useSurfaceAttempt.d.ts.map +1 -1
  259. package/dist/src/fiat/useProviderCheckout.d.ts +20 -3
  260. package/dist/src/fiat/useProviderCheckout.d.ts.map +1 -1
  261. package/dist/src/flow/CryptoDepositStep.d.ts +3 -1
  262. package/dist/src/flow/CryptoDepositStep.d.ts.map +1 -1
  263. package/dist/src/flow/DepositAmountStep.d.ts.map +1 -1
  264. package/dist/src/flow/DepositAssetPicker.d.ts.map +1 -1
  265. package/dist/src/flow/DepositFlowContent.d.ts +11 -8
  266. package/dist/src/flow/DepositFlowContent.d.ts.map +1 -1
  267. package/dist/src/flow/DimLayer.d.ts +1 -1
  268. package/dist/src/flow/DimLayer.d.ts.map +1 -1
  269. package/dist/src/flow/Drawer.d.ts +1 -1
  270. package/dist/src/flow/Drawer.d.ts.map +1 -1
  271. package/dist/src/flow/FiatDepositAmountStep.d.ts.map +1 -1
  272. package/dist/src/flow/FiatRegionBlockedStep.d.ts +2 -1
  273. package/dist/src/flow/FiatRegionBlockedStep.d.ts.map +1 -1
  274. package/dist/src/flow/FiatRegionPendingStep.d.ts +3 -1
  275. package/dist/src/flow/FiatRegionPendingStep.d.ts.map +1 -1
  276. package/dist/src/flow/FlowPage.d.ts +7 -2
  277. package/dist/src/flow/FlowPage.d.ts.map +1 -1
  278. package/dist/src/flow/FlowSheet.d.ts +3 -1
  279. package/dist/src/flow/FlowSheet.d.ts.map +1 -1
  280. package/dist/src/flow/FunkitFlowProvider.d.ts +1 -0
  281. package/dist/src/flow/FunkitFlowProvider.d.ts.map +1 -1
  282. package/dist/src/flow/PaymentMethodPickerSheet.d.ts +4 -1
  283. package/dist/src/flow/PaymentMethodPickerSheet.d.ts.map +1 -1
  284. package/dist/src/flow/PaymentMethodRows.d.ts +2 -1
  285. package/dist/src/flow/PaymentMethodRows.d.ts.map +1 -1
  286. package/dist/src/flow/SheetMaterial.d.ts.map +1 -1
  287. package/dist/src/flow/TakeoverPages.d.ts +7 -1
  288. package/dist/src/flow/TakeoverPages.d.ts.map +1 -1
  289. package/dist/src/flow/WalletDepositStep.d.ts.map +1 -1
  290. package/dist/src/flow/WithdrawalFlowContent.d.ts.map +1 -1
  291. package/dist/src/flow/cryptoTokenPick.d.ts +1 -1
  292. package/dist/src/flow/cryptoTokenPick.d.ts.map +1 -1
  293. package/dist/src/flow/depositFlowConfig.d.ts +12 -0
  294. package/dist/src/flow/depositFlowConfig.d.ts.map +1 -1
  295. package/dist/src/flow/depositMethods.d.ts.map +1 -1
  296. package/dist/src/flow/depositRailCopy.d.ts.map +1 -1
  297. package/dist/src/flow/fiatStepScreens.d.ts +10 -9
  298. package/dist/src/flow/fiatStepScreens.d.ts.map +1 -1
  299. package/dist/src/flow/fiatSubmitRenderer.d.ts +9 -7
  300. package/dist/src/flow/fiatSubmitRenderer.d.ts.map +1 -1
  301. package/dist/src/flow/flowBack.d.ts +29 -0
  302. package/dist/src/flow/flowBack.d.ts.map +1 -0
  303. package/dist/src/flow/moonPayHostedMethodRows.d.ts +3 -1
  304. package/dist/src/flow/moonPayHostedMethodRows.d.ts.map +1 -1
  305. package/dist/src/flow/pageKey.d.ts +4 -0
  306. package/dist/src/flow/pageKey.d.ts.map +1 -0
  307. package/dist/src/flow/pageTurn.d.ts +13 -0
  308. package/dist/src/flow/pageTurn.d.ts.map +1 -1
  309. package/dist/src/flow/quickAmounts.d.ts.map +1 -1
  310. package/dist/src/flow/renderFiatFlowScreen.d.ts +11 -7
  311. package/dist/src/flow/renderFiatFlowScreen.d.ts.map +1 -1
  312. package/dist/src/flow/screenBundles.d.ts +17 -5
  313. package/dist/src/flow/screenBundles.d.ts.map +1 -1
  314. package/dist/src/flow/swappedLongtail.d.ts +3 -1
  315. package/dist/src/flow/swappedLongtail.d.ts.map +1 -1
  316. package/dist/src/flow/swappedMethodRows.d.ts +4 -3
  317. package/dist/src/flow/swappedMethodRows.d.ts.map +1 -1
  318. package/dist/src/flow/useFunkitDepositWallet.d.ts +8 -0
  319. package/dist/src/flow/useFunkitDepositWallet.d.ts.map +1 -0
  320. package/dist/src/flow/useMoonPayHostedMethods.d.ts.map +1 -1
  321. package/dist/src/flow/walletMethods.d.ts +32 -0
  322. package/dist/src/flow/walletMethods.d.ts.map +1 -0
  323. package/dist/src/flow/withdrawalFlowConfig.d.ts +6 -1
  324. package/dist/src/flow/withdrawalFlowConfig.d.ts.map +1 -1
  325. package/dist/src/flow/withdrawalStepView.d.ts +14 -0
  326. package/dist/src/flow/withdrawalStepView.d.ts.map +1 -0
  327. package/dist/src/hooks/track/StepViewContext.d.ts +37 -0
  328. package/dist/src/hooks/track/StepViewContext.d.ts.map +1 -0
  329. package/dist/src/hooks/track/StepViewProvider.d.ts +8 -0
  330. package/dist/src/hooks/track/StepViewProvider.d.ts.map +1 -0
  331. package/dist/src/hooks/track/events.d.ts +130 -12
  332. package/dist/src/hooks/track/events.d.ts.map +1 -1
  333. package/dist/src/hooks/track/paymentQuoteConfirmer.d.ts +1 -1
  334. package/dist/src/hooks/track/paymentQuoteConfirmer.d.ts.map +1 -1
  335. package/dist/src/hooks/track/paymentRecovery.d.ts +15 -0
  336. package/dist/src/hooks/track/paymentRecovery.d.ts.map +1 -0
  337. package/dist/src/hooks/track/providerQuoteForAnalytics.d.ts +11 -0
  338. package/dist/src/hooks/track/providerQuoteForAnalytics.d.ts.map +1 -0
  339. package/dist/src/hooks/track/stepViewHistory.d.ts +32 -0
  340. package/dist/src/hooks/track/stepViewHistory.d.ts.map +1 -0
  341. package/dist/src/hooks/track/useCryptoDepositTransferEvents.d.ts +23 -0
  342. package/dist/src/hooks/track/useCryptoDepositTransferEvents.d.ts.map +1 -0
  343. package/dist/src/hooks/track/useDelegatedStepView.d.ts +3 -0
  344. package/dist/src/hooks/track/useDelegatedStepView.d.ts.map +1 -0
  345. package/dist/src/hooks/track/useDepositFlowEvents.d.ts +6 -2
  346. package/dist/src/hooks/track/useDepositFlowEvents.d.ts.map +1 -1
  347. package/dist/src/hooks/track/usePaymentRecoveryEvents.d.ts +15 -0
  348. package/dist/src/hooks/track/usePaymentRecoveryEvents.d.ts.map +1 -0
  349. package/dist/src/hooks/track/useProviderCheckoutEvents.d.ts +7 -4
  350. package/dist/src/hooks/track/useProviderCheckoutEvents.d.ts.map +1 -1
  351. package/dist/src/hooks/track/useTrackFiatDepositQuoteEvents.d.ts +5 -4
  352. package/dist/src/hooks/track/useTrackFiatDepositQuoteEvents.d.ts.map +1 -1
  353. package/dist/src/hooks/track/useTrackFiatPaymentEvents.d.ts +10 -2
  354. package/dist/src/hooks/track/useTrackFiatPaymentEvents.d.ts.map +1 -1
  355. package/dist/src/hooks/track/useTrackSessionAuthEvents.d.ts +4 -3
  356. package/dist/src/hooks/track/useTrackSessionAuthEvents.d.ts.map +1 -1
  357. package/dist/src/hooks/track/useTrackedNav.d.ts +4 -0
  358. package/dist/src/hooks/track/useTrackedNav.d.ts.map +1 -0
  359. package/dist/src/hooks/useDelayedSpinner.d.ts +4 -1
  360. package/dist/src/hooks/useDelayedSpinner.d.ts.map +1 -1
  361. package/dist/src/hooks/useNestedSheet.d.ts +14 -1
  362. package/dist/src/hooks/useNestedSheet.d.ts.map +1 -1
  363. package/dist/src/icons/EyeIcon.d.ts +7 -0
  364. package/dist/src/icons/EyeIcon.d.ts.map +1 -0
  365. package/dist/src/icons/KycIdentityIcon.d.ts +1 -1
  366. package/dist/src/icons/PaymentBrandIcons.d.ts +4 -0
  367. package/dist/src/icons/PaymentBrandIcons.d.ts.map +1 -1
  368. package/dist/src/icons/TokenChainIcon.d.ts +1 -1
  369. package/dist/src/icons/kycArtwork.d.ts +3 -3
  370. package/dist/src/icons/kycArtwork.d.ts.map +1 -1
  371. package/dist/src/preview/fixtures/alchemyPayCheckout.d.ts +3 -1
  372. package/dist/src/preview/fixtures/alchemyPayCheckout.d.ts.map +1 -1
  373. package/dist/src/preview/fixtures/moonPayChallenge.d.ts +7 -2
  374. package/dist/src/preview/fixtures/moonPayChallenge.d.ts.map +1 -1
  375. package/dist/src/preview/fixtures/transakCheckout.d.ts +17 -0
  376. package/dist/src/preview/fixtures/transakCheckout.d.ts.map +1 -0
  377. package/dist/src/preview/flowPreview.d.ts +11 -2
  378. package/dist/src/preview/flowPreview.d.ts.map +1 -1
  379. package/dist/src/preview/replay/ReplayMoonPay.d.ts +1 -1
  380. package/dist/src/preview/replay/ReplayMoonPay.d.ts.map +1 -1
  381. package/dist/src/preview/scenarioCatalog.d.ts +60 -0
  382. package/dist/src/preview/scenarioCatalog.d.ts.map +1 -1
  383. package/dist/src/preview/scenarios.d.ts.map +1 -1
  384. package/dist/src/providers/useFrozenIdentity.d.ts +1 -1
  385. package/dist/src/screens/FeeDetailsScreen.d.ts +1 -1
  386. package/dist/src/screens/LockedTransferCryptoScreen.d.ts.map +1 -1
  387. package/dist/src/screens/QrCodeScreen.d.ts.map +1 -1
  388. package/dist/src/screens/SelectAvailableChainScreen.d.ts.map +1 -1
  389. package/dist/src/screens/SelectChainScreen.d.ts +1 -0
  390. package/dist/src/screens/SelectChainScreen.d.ts.map +1 -1
  391. package/dist/src/screens/SelectMethodScreen.d.ts +1 -0
  392. package/dist/src/screens/SelectMethodScreen.d.ts.map +1 -1
  393. package/dist/src/screens/SelectReceiveTokenAndChainScreen.d.ts.map +1 -1
  394. package/dist/src/screens/SelectReceiveTokenScreen.d.ts +2 -1
  395. package/dist/src/screens/SelectReceiveTokenScreen.d.ts.map +1 -1
  396. package/dist/src/screens/TokenAndChainPickerScreen.d.ts +3 -1
  397. package/dist/src/screens/TokenAndChainPickerScreen.d.ts.map +1 -1
  398. package/dist/src/screens/TransferCryptoScreen.d.ts.map +1 -1
  399. package/dist/src/screens/WithdrawCryptoSteps.d.ts.map +1 -1
  400. package/dist/src/statsig/useStatsigReady.d.ts +1 -1
  401. package/dist/src/swapped/SwappedScreen.d.ts +1 -1
  402. package/dist/src/swapped/SwappedScreen.d.ts.map +1 -1
  403. package/dist/src/swapped/useSwappedBuyingCrypto.d.ts +1 -1
  404. package/dist/src/theme/inputTextStyle.d.ts +1 -1
  405. package/dist/src/theme/legibleBrandColor.d.ts +2 -2
  406. package/dist/src/transfer/fops.d.ts +5 -1
  407. package/dist/src/transfer/fops.d.ts.map +1 -1
  408. package/dist/src/transfer/hooks/useFops.d.ts.map +1 -1
  409. package/dist/src/utils/assetGrid.d.ts +1 -1
  410. package/dist/src/utils/colorMotion.d.ts +5 -5
  411. package/dist/src/utils/customers.d.ts +1 -0
  412. package/dist/src/utils/customers.d.ts.map +1 -1
  413. package/dist/src/utils/motion.d.ts +1 -1
  414. package/package.json +4 -4
  415. package/dist/chunk-NXDFUNCP.js.map +0 -7
  416. package/dist/chunk-QCVNSXNO.js.map +0 -7
  417. package/dist/src/fiat/payment/applePayAttempt.d.ts +0 -31
  418. package/dist/src/fiat/payment/applePayAttempt.d.ts.map +0 -1
  419. package/dist/src/fiat/providers/applePayButtonMetrics.d.ts.map +0 -1
  420. package/dist/src/fiat/providers/applePayPaintGate.d.ts.map +0 -1
  421. package/dist/src/fiat/providers/moonpay/moonpayApplePayPainted.d.ts.map +0 -1
  422. package/dist/src/fiat/providers/moonpay/moonpayApplePayStyle.d.ts +0 -7
  423. package/dist/src/fiat/providers/moonpay/moonpayApplePayStyle.d.ts.map +0 -1
  424. package/dist/src/fiat/providers/moonpay/reask.d.ts +0 -5
  425. package/dist/src/fiat/providers/moonpay/reask.d.ts.map +0 -1
  426. package/dist/src/fiat/providers/moonpay/sdk/ApplePayButton.d.ts.map +0 -1
  427. package/dist/src/fiat/providers/moonpay/sdk/ApplePaySlot.d.ts.map +0 -1
  428. package/dist/src/fiat/providers/stripe/stripeApplePayButton.d.ts.map +0 -1
  429. package/dist/src/fiat/providers/stripe/stripeApplePayReady.d.ts +0 -18
  430. package/dist/src/fiat/providers/stripe/stripeApplePayReady.d.ts.map +0 -1
  431. /package/dist/{chunk-7RKYLSYP.js.map → chunk-LJHYIZUN.js.map} +0 -0
@@ -1,7 +1,7 @@
1
1
  import { type WithSpringConfig } from 'react-native-reanimated';
2
2
  import type { SkiaEffects } from './skiaPeer';
3
3
  export declare const AURORA_FADE_MS = 300;
4
- /** Soft colour puffs drifting behind the wait's copy, fading out once the deposit lands. */
4
+ /** Soft color puffs drifting behind the wait's copy, fading out once the deposit lands. */
5
5
  export declare function ProcessingAurora({ effects, width, height, visible, motion, }: {
6
6
  effects: SkiaEffects;
7
7
  width: number;
@@ -1 +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"}
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,2FAA2F;AAC3F,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"}
@@ -1,6 +1,7 @@
1
1
  import type { FiatClientCapability } from '@funkit/api-base';
2
2
  import type { FiatDestinationAsset, FiatRouteContext, FiatStepResponse } from '@funkit/connect-core';
3
3
  import type { ComponentType, ReactNode } from 'react';
4
+ import type { StepView } from '../hooks/track/stepViewHistory';
4
5
  import type { ProviderCheckoutEvents } from '../hooks/track/useProviderCheckoutEvents';
5
6
  import type { FeeQuote, PricedFeeSubsidy } from './common/stepDetails';
6
7
  /**
@@ -81,11 +82,13 @@ export interface ProviderCheckoutProps {
81
82
  */
82
83
  onOrder: (order: FiatStepResponse, checkoutAttemptId?: string) => void;
83
84
  onExit: (exit: ProviderExit) => void;
85
+ /** Marks a buyer-initiated return to an earlier screen in this checkout. */
86
+ onBackNavigation: () => void;
84
87
  /** Closes the whole flow, as legacy's close on its failed order screen does. */
85
88
  onCloseFlow: () => void;
86
89
  /** The buyer acted on the provider's payment control: opens a payment attempt, as legacy's surfaces do. */
87
90
  onPaymentStarted: () => void;
88
- /** The buyer closed the provider's payment sheet: ends that attempt as cancelled, as legacy's surfaces do. */
91
+ /** The buyer closed the provider's payment sheet: ends that attempt as canceled, as legacy's surfaces do. */
89
92
  onPaymentCancelled: () => void;
90
93
  /**
91
94
  * The provider's own price for `quote`, shown on the fee line in place of the backend's. `subsidy`: the backend's
@@ -120,6 +123,7 @@ export interface ProviderCheckoutProps {
120
123
  */
121
124
  paymentFailureShown: boolean;
122
125
  }
126
+ export type ProviderTakeoverView = Pick<StepView, 'step' | 'identity'>;
123
127
  export interface ProviderSlot {
124
128
  /**
125
129
  * The amount screen's action slot. Drawn while the screen offers an action for the current quote, or while held.
@@ -132,7 +136,9 @@ export interface ProviderSlot {
132
136
  /** The consent footer under the keypad; `undefined` clears it. */
133
137
  disclosure: (node: ReactNode) => void;
134
138
  /** Full screen: provider auth UI, KYC form. While one is up, requotes cannot replace this checkout. */
135
- takeover: (screen: ReactNode) => void;
139
+ takeover: (screen: ReactNode, options?: {
140
+ view?: ProviderTakeoverView | null;
141
+ }) => void;
136
142
  /** Back to the inline slot. */
137
143
  release: () => void;
138
144
  /**
@@ -178,6 +184,7 @@ export interface ProviderSlot {
178
184
  */
179
185
  export type ProviderExit = {
180
186
  recovery: 'REQUOTE';
187
+ cause?: 'auth';
181
188
  message?: string;
182
189
  verdict?: 'KYC_REJECTED';
183
190
  maxAmount?: {
@@ -188,6 +195,8 @@ export type ProviderExit = {
188
195
  } | {
189
196
  recovery: 'RETRY';
190
197
  message?: string;
198
+ cause?: 'auth';
199
+ trigger?: 'auto';
191
200
  } | {
192
201
  recovery: 'NONE';
193
202
  message?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"providerFlow.d.ts","sourceRoot":"","sources":["../../../src/fiat/providerFlow.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAA;AAC5D,OAAO,KAAK,EACV,oBAAoB,EACpB,gBAAgB,EAChB,gBAAgB,EACjB,MAAM,sBAAsB,CAAA;AAC7B,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAErD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0CAA0C,CAAA;AACtF,OAAO,KAAK,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAA;AAEtE;;;;;;;GAOG;AACH,MAAM,WAAW,YAAY;IAC3B,QAAQ,EAAE,aAAa,CAAC,qBAAqB,CAAC,CAAA;IAC9C,8FAA8F;IAC9F,IAAI,CAAC,EAAE,aAAa,CAAC;QAAE,QAAQ,EAAE,SAAS,CAAA;KAAE,CAAC,CAAA;IAC7C;;;;OAIG;IACH,OAAO,CAAC,EAAE,aAAa,CAAC;QAAE,QAAQ,EAAE,SAAS,CAAA;KAAE,CAAC,CAAA;IAChD;;;OAGG;IACH,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,qBAAqB,KAAK,IAAI,CA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AAE,cAAc,CAAA;CAAE,GAChE;IAAE,SAAS,EAAE,IAAI,CAAA;CAAE,GACnB;IAAE,aAAa,EAAE,MAAM,CAAA;CAAE,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"providerFlows.d.ts","sourceRoot":"","sources":["../../../src/fiat/providerFlows.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAExE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAMlD;;;GAGG;AACH,eAAO,MAAM,cAAc,EAAE,OAAO,CAAC,MAAM,CAAC,YAAY,EAAE,YAAY,CAAC,CAMtE,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,mBAAmB,EAAE,OAAO,CACvC,MAAM,CAAC,YAAY,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,CAM3D,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,uBAAuB,EAAE,OAAO,CAC3C,MAAM,CAAC,YAAY,EAAE;IAAE,UAAU,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE,CAAC,CAGhE,CAAA"}
1
+ {"version":3,"file":"providerFlows.d.ts","sourceRoot":"","sources":["../../../src/fiat/providerFlows.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAExE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAOlD;;;GAGG;AACH,eAAO,MAAM,cAAc,EAAE,OAAO,CAAC,MAAM,CAAC,YAAY,EAAE,YAAY,CAAC,CAOtE,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,mBAAmB,EAAE,OAAO,CACvC,MAAM,CAAC,YAAY,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,CAM3D,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,uBAAuB,EAAE,OAAO,CAC3C,MAAM,CAAC,YAAY,EAAE;IAAE,UAAU,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE,CAAC,CAIhE,CAAA"}
@@ -18,7 +18,7 @@ export interface DisclosureSegment {
18
18
  * screen keeps the amount up beneath it, waiting.
19
19
  */
20
20
  export type SurfacePresentation = 'EMBEDDED' | 'HANDOFF' | 'BACKGROUND';
21
- export type ApplePayBackendStage = 'session_start' | 'session_verify' | 'payment_artifact';
21
+ export type PlatformPayBackendStage = 'session_start' | 'session_verify' | 'payment_artifact';
22
22
  /** What a provider's control is, as it declares it: only it knows what it drew. */
23
23
  export type ReadySurface = 'APPLE_PAY_BUTTON' | 'OTHER';
24
24
  export interface SurfaceReadiness {
@@ -31,7 +31,7 @@ export interface SurfaceContext {
31
31
  /** Inert quote-owned payment metadata that an auth surface may prewarm. */
32
32
  preparedPayment?: PreparedPayment;
33
33
  /** Quote selection clock, supplied only for embedded Apple Pay controls. */
34
- readinessTiming?: ApplePayReadinessTiming;
34
+ readinessTiming?: PlatformPayReadinessTiming;
35
35
  /**
36
36
  * Uncovers an `EMBEDDED` widget; a handoff has nothing to announce. `surface`
37
37
  * names what the slot now shows, so the screen can match its fine print to it.
@@ -89,7 +89,7 @@ export interface SurfaceContext {
89
89
  /** Resolves whether the backend took the result, where the caller can tell. */
90
90
  report: (result: SurfaceResult) => void | Promise<boolean | undefined>;
91
91
  }
92
- export interface ApplePayReadinessTiming {
92
+ export interface PlatformPayReadinessTiming {
93
93
  attemptId: string;
94
94
  selectedAt: number;
95
95
  /** The buyer's Continue this attempt's button waits on, when the checkout asks for one. */
@@ -1 +1 @@
1
- {"version":3,"file":"adapter.d.ts","sourceRoot":"","sources":["../../../../src/fiat/providers/adapter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,eAAe,EACf,OAAO,EACP,aAAa,EACd,MAAM,sBAAsB,CAAA;AAC7B,OAAO,KA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AC7B,uEAAuE;IACvE,mBAAmB,CAAC,EAAE,OAAO,CAAA;IAC7B,eAAe,CAAC,EACZ,aAAa,GACb,iBAAiB,GACjB,WAAW,GACX,YAAY,GACZ,WAAW,CAAA;IACf,uEAAuE;IACvE,gBAAgB,CAAC,EAAE,MAAM,IAAI,CAAA;CAC9B;AAED;;;;GAIG;AACH,MAAM,MAAM,WAAW,GAAG,aAAa,CAAC;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,CAAC,CAAA;AAEhE,MAAM,WAAW,cAAc;IAC7B,YAAY,EAAE,mBAAmB,CAAA;IACjC,MAAM,EAAE,CAAC,OAAO,EAAE,cAAc,KAAK,SAAS,CAAA;IAC9C;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAA;CAC9B;AAED;;;;;;;;;GASG;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,OAAO,EAAE,OAAO,KAAK,cAAc,GAAG,SAAS,CAAA"}
@@ -1,10 +1,13 @@
1
1
  import { type ReactNode } from 'react';
2
- import type { ApplePayReadinessTiming, SurfaceReadiness } from '../adapter';
2
+ import type { WalletPaymentMethod } from '../../../flow/walletMethods';
3
+ import type { PlatformPayReadinessTiming, SurfaceReadiness } from '../adapter';
3
4
  export interface AlchemyPayButtonSurfaceProps {
4
5
  /** The `pay` answer's link. Never logged. */
5
6
  url: string;
6
7
  environment: 'sandbox' | 'production';
7
- readinessTiming?: ApplePayReadinessTiming;
8
+ /** The order's wallet: Apple Pay's session or Google Pay's Payment Request is what the page opens. */
9
+ wallet: WalletPaymentMethod;
10
+ readinessTiming?: PlatformPayReadinessTiming;
8
11
  /** The button is drawn and can be pressed. */
9
12
  onReady: (info: SurfaceReadiness) => void;
10
13
  /** The buyer tapped the button and Apple's sheet opened: a payment attempt starts. */
@@ -22,11 +25,11 @@ export interface AlchemyPayButtonSurfaceProps {
22
25
  onFailed: (code: string) => void;
23
26
  }
24
27
  /**
25
- * AlchemyPay's Apple Pay button, sized as the action's slot. The page is AlchemyPay's, with every
28
+ * AlchemyPay's wallet button (Apple Pay, or Google Pay on Android), sized as the action's slot. The page is AlchemyPay's, with every
26
29
  * part but the button hidden. Each page ends once: returned, authorized, sheet closed, or failed.
27
30
  */
28
- export declare function AlchemyPayButtonSurface({ url, environment, readinessTiming, onReady, onSheetOpened, onReturned, onAuthorized, onSheetClosed, onFailed, }: AlchemyPayButtonSurfaceProps): import("react").JSX.Element;
29
- /** The action slot's frame for the button: its corners take the button's colour for the theme. */
31
+ export declare function AlchemyPayButtonSurface({ url, environment, wallet, readinessTiming, onReady, onSheetOpened, onReturned, onAuthorized, onSheetClosed, onFailed, }: AlchemyPayButtonSurfaceProps): import("react").JSX.Element;
32
+ /** The action slot's frame for the button: its corners take the button's color for the theme. */
30
33
  export declare function AlchemyPayButtonFrame({ children }: {
31
34
  children: ReactNode;
32
35
  }): import("react").JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"AlchemyPayButtonSurface.d.ts","sourceRoot":"","sources":["../../../../../src/fiat/providers/alchemypay/AlchemyPayButtonSurface.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAoB,MAAM,OAAO,CAAA;AAOxD,OAAO,KAAK,EAAE,uBAAuB,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAoB3E,MAAM,WAAW,4BAA4B;IAC3C,6CAA6C;IAC7C,GAAG,EAAE,MAAM,CAAA;IACX,WAAW,EAAE,SAAS,GAAG,YAAY,CAAA;IACrC,eAAe,CAAC,EAAE,uBAAuB,CAAA;IACzC,8CAA8C;IAC9C,OAAO,EAAE,CAAC,IAAI,EAAE,gBAAgB,KAAK,IAAI,CAAA;IACzC,sFAAsF;IACtF,aAAa,EAAE,MAAM,IAAI,CAAA;IACzB,qGAAqG;IACrG,UAAU,EAAE,MAAM,IAAI,CAAA;IACtB;;;OAGG;IACH,YAAY,EAAE,MAAM,IAAI,CAAA;IACxB,yEAAyE;IACzE,aAAa,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;IACrC,+CAA+C;IAC/C,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;CACjC;AAED;;;GAGG;AACH,wBAAgB,uBAAuB,CAAC,EACtC,GAAG,EACH,WAAW,EACX,eAAe,EACf,OAAO,EACP,aAAa,EACb,UAAU,EACV,YAAY,EACZ,aAAa,EACb,QAAQ,GACT,EAAE,4BAA4B,+BAmK9B;AAED,kGAAkG;AAClG,wBAAgB,qBAAqB,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,+BAO1E"}
1
+ {"version":3,"file":"AlchemyPayButtonSurface.d.ts","sourceRoot":"","sources":["../../../../../src/fiat/providers/alchemypay/AlchemyPayButtonSurface.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAoB,MAAM,OAAO,CAAA;AAIxD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAA;AAItE,OAAO,KAAK,EAAE,0BAA0B,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAsB9E,MAAM,WAAW,4BAA4B;IAC3C,6CAA6C;IAC7C,GAAG,EAAE,MAAM,CAAA;IACX,WAAW,EAAE,SAAS,GAAG,YAAY,CAAA;IACrC,sGAAsG;IACtG,MAAM,EAAE,mBAAmB,CAAA;IAC3B,eAAe,CAAC,EAAE,0BAA0B,CAAA;IAC5C,8CAA8C;IAC9C,OAAO,EAAE,CAAC,IAAI,EAAE,gBAAgB,KAAK,IAAI,CAAA;IACzC,sFAAsF;IACtF,aAAa,EAAE,MAAM,IAAI,CAAA;IACzB,qGAAqG;IACrG,UAAU,EAAE,MAAM,IAAI,CAAA;IACtB;;;OAGG;IACH,YAAY,EAAE,MAAM,IAAI,CAAA;IACxB,yEAAyE;IACzE,aAAa,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;IACrC,+CAA+C;IAC/C,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;CACjC;AAED;;;GAGG;AACH,wBAAgB,uBAAuB,CAAC,EACtC,GAAG,EACH,WAAW,EACX,MAAM,EACN,eAAe,EACf,OAAO,EACP,aAAa,EACb,UAAU,EACV,YAAY,EACZ,aAAa,EACb,QAAQ,GACT,EAAE,4BAA4B,+BAyM9B;AAED,iGAAiG;AACjG,wBAAgB,qBAAqB,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,+BAO1E"}
@@ -0,0 +1,14 @@
1
+ /** A frictionless payment returned in about 5 s. A challenge the signals below miss shows by then. */
2
+ export declare const ALCHEMYPAY_CHALLENGE_REVEAL_MS = 12000;
3
+ /**
4
+ * The acquirer's pages after the buyer authorized, over the checkout. They load hidden: the buyer sees
5
+ * them only when the bank asks to confirm the payment (3DS). One WebView throughout, so revealing it
6
+ * never reloads the challenge. The order is already read, so the sheet only has to close.
7
+ */
8
+ export declare function AlchemyPayChallengeSheet({ url, environment, onClosed, }: {
9
+ url: string;
10
+ environment: 'sandbox' | 'production';
11
+ /** The page returned (`funapp://`), or the buyer closed the sheet. */
12
+ onClosed: (by: 'RETURN' | 'BUYER') => void;
13
+ }): import("react").JSX.Element;
14
+ //# sourceMappingURL=AlchemyPayChallengeSheet.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AlchemyPayChallengeSheet.d.ts","sourceRoot":"","sources":["../../../../../src/fiat/providers/alchemypay/AlchemyPayChallengeSheet.tsx"],"names":[],"mappings":"AAYA,sGAAsG;AACtG,eAAO,MAAM,8BAA8B,QAAS,CAAA;AAEpD;;;;GAIG;AACH,wBAAgB,wBAAwB,CAAC,EACvC,GAAG,EACH,WAAW,EACX,QAAQ,GACT,EAAE;IACD,GAAG,EAAE,MAAM,CAAA;IACX,WAAW,EAAE,SAAS,GAAG,YAAY,CAAA;IACrC,sEAAsE;IACtE,QAAQ,EAAE,CAAC,EAAE,EAAE,QAAQ,GAAG,OAAO,KAAK,IAAI,CAAA;CAC3C,+BAkGA"}
@@ -1,4 +1,4 @@
1
- import type { AlchemyPayStage } from '@funkit/connect-core';
1
+ import { type AlchemyPayStage } from '@funkit/connect-core';
2
2
  import type { ProviderCheckoutProps } from '../../providerFlow';
3
3
  import { type SlotScreen } from '../checkout/slotOutlets';
4
4
  import { type AlchemyPayCheckoutModel } from './useAlchemyPayCheckout';
@@ -1 +1 @@
1
- {"version":3,"file":"Checkout.d.ts","sourceRoot":"","sources":["../../../../../src/fiat/providers/alchemypay/Checkout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA;AAQ3D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAA;AAE/D,OAAO,EAAE,KAAK,UAAU,EAAkB,MAAM,yBAAyB,CAAA;AAoBzE,OAAO,EACL,KAAK,uBAAuB,EAE7B,MAAM,yBAAyB,CAAA;AAQhC,oGAAoG;AACpG,eAAO,MAAM,oBAAoB,mDACiB,CAAA;AAElD,8EAA8E;AAC9E,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,qBAAqB,QAwC9D;AASD,oEAAoE;AACpE,MAAM,WAAW,qBAAqB;IACpC,OAAO,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAA;IAC9B,kFAAkF;IAClF,UAAU,EAAE,mBAAmB,GAAG,SAAS,CAAA;IAC3C,YAAY,EAAE,CAAC,MAAM,EAAE,mBAAmB,KAAK,IAAI,CAAA;CACpD;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,CAC9B,KAAK,EAAE,uBAAuB,EAC9B,MAAM,EAAE,qBAAqB,GAC5B,UAAU,GAAG,SAAS,CAqDxB;AAED,yEAAyE;AACzE,wBAAgB,kBAAkB,CAChC,KAAK,EAAE,uBAAuB,GAC7B,UAAU,GAAG,SAAS,CAuGxB;AAED,KAAK,mBAAmB,GAAG,OAAO,CAAC,eAAe,EAAE;IAAE,IAAI,EAAE,KAAK,CAAA;CAAE,CAAC,CAAC,UAAU,CAAC,CAAA"}
1
+ {"version":3,"file":"Checkout.d.ts","sourceRoot":"","sources":["../../../../../src/fiat/providers/alchemypay/Checkout.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,eAAe,EAErB,MAAM,sBAAsB,CAAA;AAQ7B,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAA;AAE/D,OAAO,EAAE,KAAK,UAAU,EAAkB,MAAM,yBAAyB,CAAA;AAuBzE,OAAO,EACL,KAAK,uBAAuB,EAE7B,MAAM,yBAAyB,CAAA;AAShC,oGAAoG;AACpG,eAAO,MAAM,oBAAoB,mDACiB,CAAA;AAElD,8EAA8E;AAC9E,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,qBAAqB,QAwC9D;AASD,oEAAoE;AACpE,MAAM,WAAW,qBAAqB;IACpC,OAAO,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAA;IAC9B,kFAAkF;IAClF,UAAU,EAAE,mBAAmB,GAAG,SAAS,CAAA;IAC3C,YAAY,EAAE,CAAC,MAAM,EAAE,mBAAmB,KAAK,IAAI,CAAA;CACpD;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,CAC9B,KAAK,EAAE,uBAAuB,EAC9B,MAAM,EAAE,qBAAqB,GAC5B,UAAU,GAAG,SAAS,CAqDxB;AAED,yEAAyE;AACzE,wBAAgB,kBAAkB,CAChC,KAAK,EAAE,uBAAuB,GAC7B,UAAU,GAAG,SAAS,CAgHxB;AAED,KAAK,mBAAmB,GAAG,OAAO,CAAC,eAAe,EAAE;IAAE,IAAI,EAAE,KAAK,CAAA;CAAE,CAAC,CAAC,UAAU,CAAC,CAAA"}
@@ -1,3 +1,4 @@
1
+ import type { WalletPaymentMethod } from '../../../flow/walletMethods';
1
2
  import type { useTheme } from '../../../theme/restyle';
2
3
  /** The code for a page whose payment AlchemyPay refused with its own error toast. */
3
4
  export declare const ALCHEMYPAY_PAGE_ERROR = "ALCHEMYPAY_PAGE_ERROR";
@@ -8,9 +9,15 @@ export declare const ALCHEMYPAY_SHEET_ERROR = "alchemypay_apple_pay:failed";
8
9
  * live. Read as Coinbase's dismissed sheet: a cancel that the failover still answers.
9
10
  */
10
11
  export declare const ALCHEMYPAY_SHEET_DISMISSED = "alchemypay_apple_pay:dismissed";
12
+ /**
13
+ * Google Pay's sheet could not open (`NotSupportedError`): nothing was authorized, so the order is
14
+ * unpaid at once with no reads, and the failover answers it.
15
+ */
16
+ export declare const ALCHEMYPAY_SHEET_UNAVAILABLE = "alchemypay_google_pay:unavailable";
11
17
  /**
12
18
  * What our script on AlchemyPay's page reports. AlchemyPay posts nothing itself, so the script
13
- * watches Apple's payment session and AlchemyPay's toasts instead.
19
+ * watches the wallet's payment sheet (Apple's session, or Google Pay's Payment Request) and
20
+ * AlchemyPay's toasts instead.
14
21
  */
15
22
  export type AlchemyPayButtonEvent =
16
23
  /** The button is drawn and can be pressed. */
@@ -39,9 +46,17 @@ export type AlchemyPayButtonEvent =
39
46
  kind: 'NOTICE';
40
47
  message: string;
41
48
  }
42
- /** The page has no Apple Pay session to wrap, so no sheet can be reported. */
49
+ /** The page has no Apple Pay session, or no Payment Request for Google Pay, to wrap. */
43
50
  | {
44
51
  kind: 'SESSION_MISSING';
52
+ }
53
+ /**
54
+ * Google Pay's sheet could not open (`NotSupportedError` on a WebView without Google Pay).
55
+ * Every later tap would fail the same way, so the page ends.
56
+ */
57
+ | {
58
+ kind: 'SHEET_FAILED';
59
+ message: string;
45
60
  };
46
61
  /** Apple's button styles: white on a dark sheet, black on a light one, as Apple's guidelines ask. */
47
62
  export type AlchemyPayButtonStyle = 'white' | 'black';
@@ -65,8 +80,8 @@ export declare function readAlchemyPayButtonEvent(raw: string, nonce: string): A
65
80
  * - AlchemyPay draws its button from its own text and logo. WebKit draws Apple's standard
66
81
  * "Buy with Apple Pay" button over it instead, on an element of ours that taps pass through.
67
82
  * WebKit sizes the label to that element's box, so it sits Coinbase's inset in from the
68
- * slot's edges, on AlchemyPay's button painted the same colour.
69
- * - Apple's session is wrapped, not replaced: AlchemyPay still runs every step of it.
83
+ * slot's edges, on AlchemyPay's button painted the same color.
84
+ * - The wallet's sheet is wrapped, not replaced: AlchemyPay still runs every step of it.
70
85
  */
71
- export declare function alchemyPayButtonScript(buttonStyle: AlchemyPayButtonStyle, nonce: string): string;
86
+ export declare function alchemyPayButtonScript(buttonStyle: AlchemyPayButtonStyle, nonce: string, wallet: WalletPaymentMethod): string;
72
87
  //# sourceMappingURL=alchemyPayButtonEvents.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"alchemyPayButtonEvents.d.ts","sourceRoot":"","sources":["../../../../../src/fiat/providers/alchemypay/alchemyPayButtonEvents.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAA;AAGtD,qFAAqF;AACrF,eAAO,MAAM,qBAAqB,0BAA0B,CAAA;AAE5D,+EAA+E;AAC/E,eAAO,MAAM,sBAAsB,gCAAgC,CAAA;AAEnE;;;GAGG;AACH,eAAO,MAAM,0BAA0B,mCAAmC,CAAA;AAE1E;;;GAGG;AACH,MAAM,MAAM,qBAAqB;AAC/B,8CAA8C;AAC5C;IAAE,IAAI,EAAE,OAAO,CAAA;CAAE;AACnB,4DAA4D;GAC1D;IAAE,IAAI,EAAE,cAAc,CAAA;CAAE;AAC1B,4EAA4E;GAC1E;IAAE,IAAI,EAAE,cAAc,CAAA;CAAE;AAC1B,yDAAyD;GACvD;IAAE,IAAI,EAAE,YAAY,CAAA;CAAE;AACxB,yCAAyC;GACvC;IAAE,IAAI,EAAE,OAAO,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE;AACpC,0EAA0E;GACxE;IAAE,IAAI,EAAE,QAAQ,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE;AACrC,8EAA8E;GAC5E;IAAE,IAAI,EAAE,iBAAiB,CAAA;CAAE,CAAA;AAM/B,qGAAqG;AACrG,MAAM,MAAM,qBAAqB,GAAG,OAAO,GAAG,OAAO,CAAA;AAErD,uFAAuF;AACvF,eAAO,MAAM,sBAAsB,EAAE,MAAM,CAAC,qBAAqB,EAAE,MAAM,CAGxE,CAAA;AAED,qDAAqD;AACrD,wBAAgB,qBAAqB,CACnC,KAAK,EAAE,UAAU,CAAC,OAAO,QAAQ,CAAC,GACjC,qBAAqB,CAEvB;AAED,gGAAgG;AAChG,wBAAgB,kBAAkB,IAAI,MAAM,CAG3C;AAED;;;GAGG;AACH,wBAAgB,yBAAyB,CACvC,GAAG,EAAE,MAAM,EACX,KAAK,EAAE,MAAM,GACZ,qBAAqB,GAAG,SAAS,CAqCnC;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,sBAAsB,CACpC,WAAW,EAAE,qBAAqB,EAClC,KAAK,EAAE,MAAM,GACZ,MAAM,CA4ER"}
1
+ {"version":3,"file":"alchemyPayButtonEvents.d.ts","sourceRoot":"","sources":["../../../../../src/fiat/providers/alchemypay/alchemyPayButtonEvents.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAA;AAEtE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAA;AAItD,qFAAqF;AACrF,eAAO,MAAM,qBAAqB,0BAA0B,CAAA;AAE5D,+EAA+E;AAC/E,eAAO,MAAM,sBAAsB,gCAAgC,CAAA;AAEnE;;;GAGG;AACH,eAAO,MAAM,0BAA0B,mCAAmC,CAAA;AAE1E;;;GAGG;AACH,eAAO,MAAM,4BAA4B,sCAAsC,CAAA;AAE/E;;;;GAIG;AACH,MAAM,MAAM,qBAAqB;AAC/B,8CAA8C;AAC5C;IAAE,IAAI,EAAE,OAAO,CAAA;CAAE;AACnB,4DAA4D;GAC1D;IAAE,IAAI,EAAE,cAAc,CAAA;CAAE;AAC1B,4EAA4E;GAC1E;IAAE,IAAI,EAAE,cAAc,CAAA;CAAE;AAC1B,yDAAyD;GACvD;IAAE,IAAI,EAAE,YAAY,CAAA;CAAE;AACxB,yCAAyC;GACvC;IAAE,IAAI,EAAE,OAAO,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE;AACpC,0EAA0E;GACxE;IAAE,IAAI,EAAE,QAAQ,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE;AACrC,wFAAwF;GACtF;IAAE,IAAI,EAAE,iBAAiB,CAAA;CAAE;AAC7B;;;GAGG;GACD;IAAE,IAAI,EAAE,cAAc,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,CAAA;AAU7C,qGAAqG;AACrG,MAAM,MAAM,qBAAqB,GAAG,OAAO,GAAG,OAAO,CAAA;AAErD,uFAAuF;AACvF,eAAO,MAAM,sBAAsB,EAAE,MAAM,CAAC,qBAAqB,EAAE,MAAM,CAGxE,CAAA;AAED,qDAAqD;AACrD,wBAAgB,qBAAqB,CACnC,KAAK,EAAE,UAAU,CAAC,OAAO,QAAQ,CAAC,GACjC,qBAAqB,CAEvB;AAED,gGAAgG;AAChG,wBAAgB,kBAAkB,IAAI,MAAM,CAG3C;AAED;;;GAGG;AACH,wBAAgB,yBAAyB,CACvC,GAAG,EAAE,MAAM,EACX,KAAK,EAAE,MAAM,GACZ,qBAAqB,GAAG,SAAS,CAsCnC;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,sBAAsB,CACpC,WAAW,EAAE,qBAAqB,EAClC,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,mBAAmB,GAC1B,MAAM,CAiGR"}
@@ -2,18 +2,25 @@
2
2
  export declare const ALCHEMYPAY_PAGE_CLOSED = "ALCHEMYPAY_PAGE_CLOSED";
3
3
  /** The https host of `url`, parsed by hand: Hermes' `URL` is incomplete. */
4
4
  export declare function httpsHostOf(url: string): string | undefined;
5
+ /** Whether `url` is an https page of AlchemyPay's acquirer, Unlimit (`cardpay.com`). */
6
+ export declare function isAcquirerUrl(url: string): boolean;
5
7
  /** Whether `url` is an https page on one of AlchemyPay's own sites. */
6
8
  export declare function isAlchemyPayUrl(url: string): boolean;
7
9
  /**
8
10
  * What the page's WebView does with a navigation.
9
11
  * - `LOAD`: AlchemyPay's own page, or any subframe (Apple Pay draws in one).
10
- * - `RETURNED`: the top frame leaves AlchemyPay. That is its redirect when the buyer is done,
11
- * whatever URL the backend set, so the page closes and the order is read. It never loads.
12
+ * - `ACQUIRER`: after the buyer authorized, the top frame goes to another https page. AlchemyPay hands
13
+ * the payment to its acquirer (Unlimit, on `cardpay.com`) by GET, whose pages run 3DS and the
14
+ * charge, then return to AlchemyPay. The bank may ask the buyer to confirm there, so it opens in a
15
+ * sheet the buyer sees, never in the hidden page.
16
+ * - `RETURNED`: the top frame leaves AlchemyPay, or after authorization leaves https. That is its
17
+ * redirect when the buyer is done (the backend's `funapp://` return), so the page closes and the
18
+ * order is read. It never loads.
12
19
  */
13
20
  export declare function alchemyPayNavigation(request: {
14
21
  url: string;
15
22
  isTopFrame?: boolean;
16
- }): 'LOAD' | 'RETURNED';
23
+ }, authorized?: boolean): 'LOAD' | 'ACQUIRER' | 'RETURNED';
17
24
  /** Only the origin is logged: the link itself is a credential. */
18
25
  export declare function loggedOrigin(url: string): string;
19
26
  //# sourceMappingURL=alchemyPayPage.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"alchemyPayPage.d.ts","sourceRoot":"","sources":["../../../../../src/fiat/providers/alchemypay/alchemyPayPage.ts"],"names":[],"mappings":"AAAA,2FAA2F;AAC3F,eAAO,MAAM,sBAAsB,2BAA2B,CAAA;AAE9D,4EAA4E;AAC5E,wBAAgB,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAI3D;AAOD,uEAAuE;AACvE,wBAAgB,eAAe,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAGpD;AAED;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAAC,OAAO,EAAE;IAC5C,GAAG,EAAE,MAAM,CAAA;IACX,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB,GAAG,MAAM,GAAG,UAAU,CAKtB;AAED,kEAAkE;AAClE,wBAAgB,YAAY,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAKhD"}
1
+ {"version":3,"file":"alchemyPayPage.d.ts","sourceRoot":"","sources":["../../../../../src/fiat/providers/alchemypay/alchemyPayPage.ts"],"names":[],"mappings":"AAAA,2FAA2F;AAC3F,eAAO,MAAM,sBAAsB,2BAA2B,CAAA;AAE9D,4EAA4E;AAC5E,wBAAgB,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAI3D;AAOD,wFAAwF;AACxF,wBAAgB,aAAa,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAGlD;AAED,uEAAuE;AACvE,wBAAgB,eAAe,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAGpD;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,oBAAoB,CAClC,OAAO,EAAE;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,UAAU,CAAC,EAAE,OAAO,CAAA;CAAE,EAC9C,UAAU,UAAQ,GACjB,MAAM,GAAG,UAAU,GAAG,UAAU,CAOlC;AAED,kEAAkE;AAClE,wBAAgB,YAAY,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAKhD"}
@@ -1 +1 @@
1
- {"version":3,"file":"checkoutRules.d.ts","sourceRoot":"","sources":["../../../../../src/fiat/providers/alchemypay/checkoutRules.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,kBAAkB,EACvB,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,EAC5B,KAAK,eAAe,EAKrB,MAAM,sBAAsB,CAAA;AAC7B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAExC,OAAO,KAAK,EAAE,QA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,CAAC,KAAK,EAAE,uBAAuB,GAAG,MAAM,CAItE;AAED,qGAAqG;AACrG,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,YAAY,GAAG,kBAAkB,CAM5E;AAED;;;GAGG;AACH,wBAAgB,kBAAkB,CAChC,KAAK,EAAE,eAAe,GACrB,QAAQ,GAAG,SAAS,CAWtB;AAED,wDAAwD;AACxD,wBAAgB,sBAAsB,CACpC,IAAI,EAAE,sBAAsB,EAC5B,CAAC,EAAE,SAAS,GACX,YAAY,CAcd;AAED;;;GAGG;AACH,wBAAgB,UAAU,CACxB,KAAK,EAAE,uBAAuB,EAC9B,UAAU,EAAE,OAAO,GAClB,MAAM,GAAG,SAAS,CAwBpB"}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Google's "Buy with Google Pay" label: the G mark in its four colors and the words in `textColor`.
3
+ * The paths are Google's button artwork, as AlchemyPay's Google Pay page (payWayCode 701) serves it
4
+ * (sandbox, 2026-11-19), cut to the label's own box so it can sit on a button of any size.
5
+ */
6
+ export declare function googlePayBuyLabelSvg(textColor: string): string;
7
+ //# sourceMappingURL=googlePayBuyLabel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"googlePayBuyLabel.d.ts","sourceRoot":"","sources":["../../../../../src/fiat/providers/alchemypay/googlePayBuyLabel.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,CAK9D"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/fiat/providers/alchemypay/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAItD,gEAAgE;AAChE,eAAO,MAAM,cAAc,EAAE,YAG5B,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/fiat/providers/alchemypay/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAItD,gEAAgE;AAChE,eAAO,MAAM,cAAc,EAAE,YAK5B,CAAA"}
@@ -9,6 +9,8 @@ export declare function useAlchemyPayCheckout({ quote, geo, slot, clientCapabili
9
9
  state: import("@funkit/connect-core").AlchemyPayCheckoutState;
10
10
  t: import("i18next").TFunction<"translation", undefined>;
11
11
  slot: import("../../providerFlow").ProviderSlot;
12
+ /** The wallet the order is placed for, whose sheet AlchemyPay's page opens. */
13
+ wallet: "apple_pay" | "google_pay";
12
14
  geo: {
13
15
  alpha2: string;
14
16
  region?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"useAlchemyPayCheckout.d.ts","sourceRoot":"","sources":["../../../../../src/fiat/providers/alchemypay/useAlchemyPayCheckout.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,eAAe,EAGpB,KAAK,kBAAkB,EAUxB,MAAM,sBAAsB,CAAA;AAC7B,OAAO,EACL,KAAK,QAAQ,EAMd,MAAM,OAAO,CAAA;AAMd,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAA;AAe/D,iEAAiE;AACjE,eAAO,MAAM,8BAA8B,8BAA8B,CAAA;AAkGzE,wGAAwG;AACxG,wBAAgB,qBAAqB,CAAC,EACpC,KAAK,EACL,GAAG,EACH,IAAI,EACJ,kBAAkB,EAClB,OAAO,EACP,MAAM,EACN,UAAU,EACV,SAAS,EACT,gBAAgB,EAChB,SAAS,EACT,gBAAgB,EAChB,cAAc,EACd,gBAAgB,EAAE,cAAc,GACjC,EAAE,qBAAqB;;;;;;;;;;;;;;;IA2RpB,uEAAuE;;;;IAiBvE,+EAA+E;;4BAMvD,kBAAkB;;IAG1C,0FAA0F;;IAW1F,mGAAmG;;0BAlGxE,MAAM;8BAwCF,MAAM;4BAiEb,MAAM;0BAER,MAAM;0BAtFD,MAAM,QAAQ,MAAM;IAwF/C,sEAAsE;wBAClD,MAAM;;;EAI7B;AAUD,MAAM,MAAM,uBAAuB,GAAG,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAA"}
1
+ {"version":3,"file":"useAlchemyPayCheckout.d.ts","sourceRoot":"","sources":["../../../../../src/fiat/providers/alchemypay/useAlchemyPayCheckout.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,eAAe,EAGpB,KAAK,kBAAkB,EAWxB,MAAM,sBAAsB,CAAA;AAC7B,OAAO,EACL,KAAK,QAAQ,EAMd,MAAM,OAAO,CAAA;AAMd,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAA;AAkB/D,iEAAiE;AACjE,eAAO,MAAM,8BAA8B,8BAA8B,CAAA;AAkGzE,wGAAwG;AACxG,wBAAgB,qBAAqB,CAAC,EACpC,KAAK,EACL,GAAG,EACH,IAAI,EACJ,kBAAkB,EAClB,OAAO,EACP,MAAM,EACN,UAAU,EACV,SAAS,EACT,gBAAgB,EAChB,SAAS,EACT,gBAAgB,EAChB,cAAc,EACd,gBAAgB,EAAE,cAAc,GACjC,EAAE,qBAAqB;;;;;IAoUpB,+EAA+E;;;;;;;;;;;;IAQ/E,uEAAuE;;;;IAiBvE,+EAA+E;;4BAMvD,kBAAkB;;IAG1C,0FAA0F;;IAW1F,mGAAmG;;0BA1GxE,MAAM;8BA8CF,MAAM;4BAmEb,MAAM;0BAER,MAAM;0BA9FD,MAAM,QAAQ,MAAM;IAgG/C,sEAAsE;wBAClD,MAAM;;;EAI7B;AAUD,MAAM,MAAM,uBAAuB,GAAG,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAA"}
@@ -1,9 +1,9 @@
1
- import type { ApplePayReadinessTiming, SurfaceReadiness } from '../adapter';
1
+ import type { PlatformPayReadinessTiming, SurfaceReadiness } from '../adapter';
2
2
  export interface BanxaCheckoutSurfaceProps {
3
3
  checkoutUrl: string;
4
4
  /** Log context only — the contract says URL surfaces may carry none. */
5
5
  environment: string;
6
- readinessTiming?: ApplePayReadinessTiming;
6
+ readinessTiming?: PlatformPayReadinessTiming;
7
7
  /** The button is drawn and can be pressed. */
8
8
  onReady: (info: SurfaceReadiness) => void;
9
9
  /** Banxa took the payment. */
@@ -1 +1 @@
1
- {"version":3,"file":"BanxaCheckoutSurface.d.ts","sourceRoot":"","sources":["../../../../../src/fiat/providers/banxa/BanxaCheckoutSurface.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,uBAAuB,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAgB3E,MAAM,WAAW,yBAAyB;IACxC,WAAW,EAAE,MAAM,CAAA;IACnB,wEAAwE;IACxE,WAAW,EAAE,MAAM,CAAA;IACnB,eAAe,CAAC,EAAE,uBAAuB,CAAA;IACzC,8CAA8C;IAC9C,OAAO,EAAE,CAAC,IAAI,EAAE,gBAAgB,KAAK,IAAI,CAAA;IACzC,8BAA8B;IAC9B,MAAM,EAAE,MAAM,IAAI,CAAA;IAClB,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;IAChC,2EAA2E;IAC3E,gBAAgB,EAAE,MAAM,IAAI,CAAA;CAC7B;AAED,qEAAqE;AACrE,wBAAgB,oBAAoB,CAAC,EACnC,WAAW,EACX,WAAW,EACX,eAAe,EACf,OAAO,EACP,MAAM,EACN,QAAQ,EACR,gBAAgB,GACjB,EAAE,yBAAyB,+BAkG3B"}
1
+ {"version":3,"file":"BanxaCheckoutSurface.d.ts","sourceRoot":"","sources":["../../../../../src/fiat/providers/banxa/BanxaCheckoutSurface.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,0BAA0B,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAgB9E,MAAM,WAAW,yBAAyB;IACxC,WAAW,EAAE,MAAM,CAAA;IACnB,wEAAwE;IACxE,WAAW,EAAE,MAAM,CAAA;IACnB,eAAe,CAAC,EAAE,0BAA0B,CAAA;IAC5C,8CAA8C;IAC9C,OAAO,EAAE,CAAC,IAAI,EAAE,gBAAgB,KAAK,IAAI,CAAA;IACzC,8BAA8B;IAC9B,MAAM,EAAE,MAAM,IAAI,CAAA;IAClB,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;IAChC,2EAA2E;IAC3E,gBAAgB,EAAE,MAAM,IAAI,CAAA;CAC7B;AAED,qEAAqE;AACrE,wBAAgB,oBAAoB,CAAC,EACnC,WAAW,EACX,WAAW,EACX,eAAe,EACf,OAAO,EACP,MAAM,EACN,QAAQ,EACR,gBAAgB,GACjB,EAAE,yBAAyB,+BAkG3B"}
@@ -0,0 +1,16 @@
1
+ import type { MoonPayCall, MoonPayGuestCall, StripeCall } from '@funkit/connect-core';
2
+ import type { ProviderCheckoutEvents } from '../../../hooks/track/useProviderCheckoutEvents';
3
+ type RequestAction = (MoonPayCall | MoonPayGuestCall | StripeCall)['action'];
4
+ export declare function retryProviderRequest(failure: {
5
+ call: {
6
+ action: RequestAction;
7
+ };
8
+ fault?: {
9
+ reason?: string;
10
+ };
11
+ } | undefined, trackRetry: ProviderCheckoutEvents['requestRetried'], dispatch: (event: {
12
+ type: 'RETRY';
13
+ at: string;
14
+ }) => void): void;
15
+ export {};
16
+ //# sourceMappingURL=retryProviderRequest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"retryProviderRequest.d.ts","sourceRoot":"","sources":["../../../../../src/fiat/providers/checkout/retryProviderRequest.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,WAAW,EACX,gBAAgB,EAChB,UAAU,EACX,MAAM,sBAAsB,CAAA;AAE7B,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,gDAAgD,CAAA;AAE5F,KAAK,aAAa,GAAG,CAAC,WAAW,GAAG,gBAAgB,GAAG,UAAU,CAAC,CAAC,QAAQ,CAAC,CAAA;AAqB5E,wBAAgB,oBAAoB,CAClC,OAAO,EACH;IAAE,IAAI,EAAE;QAAE,MAAM,EAAE,aAAa,CAAA;KAAE,CAAC;IAAC,KAAK,CAAC,EAAE;QAAE,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE,CAAA;CAAE,GAChE,SAAS,EACb,UAAU,EAAE,sBAAsB,CAAC,gBAAgB,CAAC,EACpD,QAAQ,EAAE,CAAC,KAAK,EAAE;IAAE,IAAI,EAAE,OAAO,CAAC;IAAC,EAAE,EAAE,MAAM,CAAA;CAAE,KAAK,IAAI,QAMzD"}
@@ -1,9 +1,17 @@
1
1
  import { type ReactNode } from 'react';
2
+ import type { StepView } from '../../../hooks/track/stepViewHistory';
2
3
  import type { ProviderSlot } from '../../providerFlow';
3
4
  /** A screen for one of the slot's places; a new `key` is a new screen, not a redraw of this one. */
4
5
  export interface SlotScreen {
5
6
  key: string;
6
7
  node: ReactNode;
8
+ view?: {
9
+ kind: 'page';
10
+ step: StepView['step'];
11
+ } | {
12
+ kind: 'delegated';
13
+ roundIdentity: string;
14
+ };
7
15
  /** The view must stay where it first drew: it does not survive a move into the failover sheet. */
8
16
  inPlace?: boolean;
9
17
  }
@@ -1 +1 @@
1
- {"version":3,"file":"slotOutlets.d.ts","sourceRoot":"","sources":["../../../../../src/fiat/providers/checkout/slotOutlets.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,SAAS,EAMf,MAAM,OAAO,CAAA;AAEd,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AA8BtD,oGAAoG;AACpG,MAAM,WAAW,UAAU;IACzB,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,SAAS,CAAA;IACf,kGAAkG;IAClG,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAyCD,iGAAiG;AACjG,wBAAgB,cAAc,CAC5B,IAAI,EAAE,YAAY,EAClB,OAAO,EAAE;IACP,MAAM,EAAE,UAAU,GAAG,SAAS,CAAA;IAC9B,UAAU,EAAE,UAAU,GAAG,SAAS,CAAA;IAClC,QAAQ,EAAE,UAAU,GAAG,SAAS,CAAA;CACjC,QASF"}
1
+ {"version":3,"file":"slotOutlets.d.ts","sourceRoot":"","sources":["../../../../../src/fiat/providers/checkout/slotOutlets.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,SAAS,EAQf,MAAM,OAAO,CAAA;AAOd,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sCAAsC,CAAA;AACpE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAmFtD,oGAAoG;AACpG,MAAM,WAAW,UAAU;IACzB,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,SAAS,CAAA;IACf,IAAI,CAAC,EACD;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAA;KAAE,GACxC;QAAE,IAAI,EAAE,WAAW,CAAC;QAAC,aAAa,EAAE,MAAM,CAAA;KAAE,CAAA;IAChD,kGAAkG;IAClG,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAoDD,iGAAiG;AACjG,wBAAgB,cAAc,CAC5B,IAAI,EAAE,YAAY,EAClB,OAAO,EAAE;IACP,MAAM,EAAE,UAAU,GAAG,SAAS,CAAA;IAC9B,UAAU,EAAE,UAAU,GAAG,SAAS,CAAA;IAClC,QAAQ,EAAE,UAAU,GAAG,SAAS,CAAA;CACjC,QASF"}
@@ -1,10 +1,18 @@
1
1
  import type { FiatClientCapability } from '@funkit/api-base';
2
- import { type FiatRouteContext } from '@funkit/connect-core';
2
+ import { type FiatRouteContext, type IdentityAssertionProvider } from '@funkit/connect-core';
3
+ /**
4
+ * Hands a provider checkout the amount screen's assertion cache. With a cache of its own, the
5
+ * checkout asked the host for a second assertion before its first `/fiat/next`, and the buyer
6
+ * waited on it.
7
+ */
8
+ export declare const FlowAssertionsProvider: import("react").Provider<IdentityAssertionProvider | undefined>;
3
9
  /**
4
10
  * What `POST /fiat/next` sends with: this user's API key and Bearer. A host with a minter sends
5
11
  * its identity assertion; a Fun-login host sends the Fun session, as its other `/fiat/*` calls do,
6
12
  * so the backend can resolve a mode-2 identity rather than an anonymous caller. It also carries
7
13
  * the flow's capabilities.
14
+ * - `flowAssertions` is for the amount screen, which renders `FlowAssertionsProvider` and so
15
+ * cannot read it.
8
16
  */
9
- export declare function useFiatNextApi(clientCapabilities: readonly FiatClientCapability[]): FiatRouteContext;
17
+ export declare function useFiatNextApi(clientCapabilities: readonly FiatClientCapability[], flowAssertions?: IdentityAssertionProvider): FiatRouteContext;
10
18
  //# sourceMappingURL=useFiatNextApi.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useFiatNextApi.d.ts","sourceRoot":"","sources":["../../../../../src/fiat/providers/checkout/useFiatNextApi.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAA;AAC5D,OAAO,EACL,KAAK,gBAAgB,EAKtB,MAAM,sBAAsB,CAAA;AAO7B;;;;;GAKG;AACH,wBAAgB,cAAc,CAC5B,kBAAkB,EAAE,SAAS,oBAAoB,EAAE,GAClD,gBAAgB,CAyBlB"}
1
+ {"version":3,"file":"useFiatNextApi.d.ts","sourceRoot":"","sources":["../../../../../src/fiat/providers/checkout/useFiatNextApi.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAA;AAC5D,OAAO,EACL,KAAK,gBAAgB,EACrB,KAAK,yBAAyB,EAK/B,MAAM,sBAAsB,CAAA;AAW7B;;;;GAIG;AACH,eAAO,MAAM,sBAAsB,iEAAiC,CAAA;AAEpE;;;;;;;GAOG;AACH,wBAAgB,cAAc,CAC5B,kBAAkB,EAAE,SAAS,oBAAoB,EAAE,EACnD,cAAc,CAAC,EAAE,yBAAyB,GACzC,gBAAgB,CA+BlB"}
@@ -29,7 +29,7 @@ export interface CoinbaseCheckoutSurfaceProps {
29
29
  * the action's own slot (design 2114:8131: "Deposit with Apple Pay" is the
30
30
  * amount screen's action, not a page of its own).
31
31
  *
32
- * - a cancelled sheet leaves the page loaded and the button live, so pressing
32
+ * - a canceled sheet leaves the page loaded and the button live, so pressing
33
33
  * it again opens the sheet rather than re-running the order
34
34
  * - the page paints no background of its own once told to, so the frame
35
35
  * around it decides the button's shape
@@ -1 +1 @@
1
- {"version":3,"file":"CoinbaseCheckoutSurface.d.ts","sourceRoot":"","sources":["../../../../../src/fiat/providers/coinbase/CoinbaseCheckoutSurface.tsx"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAMlD,MAAM,WAAW,4BAA4B;IAC3C,WAAW,EAAE,MAAM,CAAA;IACnB,wEAAwE;IACxE,WAAW,EAAE,MAAM,CAAA;IACnB,eAAe,CAAC,EAAE;QAAE,SAAS,EAAE,MAAM,CAAC;QAAC,UAAU,EAAE,MAAM,CAAA;KAAE,CAAA;IAC3D,8CAA8C;IAC9C,OAAO,EAAE,CAAC,IAAI,EAAE,gBAAgB,KAAK,IAAI,CAAA;IACzC,8DAA8D;IAC9D,MAAM,EAAE,MAAM,IAAI,CAAA;IAClB,yCAAyC;IACzC,WAAW,EAAE,MAAM,IAAI,CAAA;IACvB,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,KAAK,IAAI,CAAA;IACjD,yEAAyE;IACzE,mBAAmB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;IAC3C,gFAAgF;IAChF,gBAAgB,EAAE,MAAM,IAAI,CAAA;IAC5B,kBAAkB,EAAE,MAAM,IAAI,CAAA;CAC/B;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,uBAAuB,CAAC,EACtC,WAAW,EACX,WAAW,EACX,eAAe,EACf,OAAO,EACP,MAAM,EACN,WAAW,EACX,QAAQ,EACR,mBAAmB,EACnB,gBAAgB,EAChB,kBAAkB,GACnB,EAAE,4BAA4B,+BA+K9B"}
1
+ {"version":3,"file":"CoinbaseCheckoutSurface.d.ts","sourceRoot":"","sources":["../../../../../src/fiat/providers/coinbase/CoinbaseCheckoutSurface.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAQlD,MAAM,WAAW,4BAA4B;IAC3C,WAAW,EAAE,MAAM,CAAA;IACnB,wEAAwE;IACxE,WAAW,EAAE,MAAM,CAAA;IACnB,eAAe,CAAC,EAAE;QAAE,SAAS,EAAE,MAAM,CAAC;QAAC,UAAU,EAAE,MAAM,CAAA;KAAE,CAAA;IAC3D,8CAA8C;IAC9C,OAAO,EAAE,CAAC,IAAI,EAAE,gBAAgB,KAAK,IAAI,CAAA;IACzC,8DAA8D;IAC9D,MAAM,EAAE,MAAM,IAAI,CAAA;IAClB,yCAAyC;IACzC,WAAW,EAAE,MAAM,IAAI,CAAA;IACvB,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,KAAK,IAAI,CAAA;IACjD,yEAAyE;IACzE,mBAAmB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;IAC3C,gFAAgF;IAChF,gBAAgB,EAAE,MAAM,IAAI,CAAA;IAC5B,kBAAkB,EAAE,MAAM,IAAI,CAAA;CAC/B;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,uBAAuB,CAAC,EACtC,WAAW,EACX,WAAW,EACX,eAAe,EACf,OAAO,EACP,MAAM,EACN,WAAW,EACX,QAAQ,EACR,mBAAmB,EACnB,gBAAgB,EAChB,kBAAkB,GACnB,EAAE,4BAA4B,+BAiL9B"}
@@ -1,5 +1,5 @@
1
- import type { ApplePayBackendStage, SurfaceAdapter } from '../adapter';
2
- export declare function coinbaseBackendStage(endpoint: string): ApplePayBackendStage | undefined;
1
+ import type { PlatformPayBackendStage, SurfaceAdapter } from '../adapter';
2
+ export declare function coinbaseBackendStage(endpoint: string): PlatformPayBackendStage | undefined;
3
3
  /**
4
4
  * Coinbase's order arrives already made, with a hosted page that is nothing
5
5
  * but its Apple Pay button. Embedded, then: the button takes the action's
@@ -1 +1 @@
1
- {"version":3,"file":"coinbaseApplePay.d.ts","sourceRoot":"","sources":["../../../../../src/fiat/providers/coinbase/coinbaseApplePay.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,oBAAoB,EACpB,cAAc,EAEf,MAAM,YAAY,CAAA;AASnB,wBAAgB,oBAAoB,CAClC,QAAQ,EAAE,MAAM,GACf,oBAAoB,GAAG,SAAS,CAQlC;AA6BD;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB,EAAE,cAW9B,CAAA"}
1
+ {"version":3,"file":"coinbaseApplePay.d.ts","sourceRoot":"","sources":["../../../../../src/fiat/providers/coinbase/coinbaseApplePay.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,uBAAuB,EACvB,cAAc,EAEf,MAAM,YAAY,CAAA;AASnB,wBAAgB,oBAAoB,CAClC,QAAQ,EAAE,MAAM,GACf,uBAAuB,GAAG,SAAS,CAQrC;AA6BD;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB,EAAE,cAW9B,CAAA"}
@@ -4,5 +4,10 @@
4
4
  * wallet Stripe and MoonPay still pay from.
5
5
  */
6
6
  export declare const COINBASE_APPLE_PAY_NOT_SETUP = "ERROR_CODE_GUEST_APPLE_PAY_NOT_SETUP";
7
+ /**
8
+ * Coinbase's page refusing Google Pay as it loads, on Android: Google Wallet holds no verified debit
9
+ * card. Coinbase's own copy: "Google Pay isn't ready. Open Google Wallet, add and verify a debit card".
10
+ */
11
+ export declare const COINBASE_GOOGLE_PAY_NOT_SET_UP = "ERROR_CODE_GUEST_GOOGLE_PAY_NOT_SUPPORTED";
7
12
  export declare function isCoinbaseCardRefusal(code: string): boolean;
8
13
  //# sourceMappingURL=coinbaseCardRefusal.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"coinbaseCardRefusal.d.ts","sourceRoot":"","sources":["../../../../../src/fiat/providers/coinbase/coinbaseCardRefusal.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,eAAO,MAAM,4BAA4B,yCACD,CAAA;AAoBxC,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAE3D"}
1
+ {"version":3,"file":"coinbaseCardRefusal.d.ts","sourceRoot":"","sources":["../../../../../src/fiat/providers/coinbase/coinbaseCardRefusal.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,eAAO,MAAM,4BAA4B,yCACD,CAAA;AAExC;;;GAGG;AACH,eAAO,MAAM,8BAA8B,8CACE,CAAA;AAoB7C,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAE3D"}
@@ -0,0 +1,22 @@
1
+ import { type PlatformPayButtonMetrics } from '../platformPayButtonMetrics';
2
+ /** The wallet button's color on Coinbase's page, and so the frame's behind its rounded corners. */
3
+ export declare const COINBASE_PLATFORM_PAY_FILL = "#FFFFFF";
4
+ /**
5
+ * Coinbase's Google Pay page (sandbox 2026-11-20) centers Google's own button in the page, as
6
+ * `#api-onramp-google-pay-button > .google-pay-button-container > .gpay-button-fill > button.gpay-button.black`.
7
+ *
8
+ * - That button is 48px tall with 4px corners, a dark fill and an outline, so the white frame showed around it.
9
+ * - The rules stretch it to the slot with the slot's corners, in the white of Coinbase's Apple Pay button.
10
+ * - Google draws the label as the button's background, scaled to fill its padding box, which is larger than
11
+ * Google's artwork and the other providers' buttons. It is sized by height instead, with no padding.
12
+ */
13
+ export declare function coinbaseGooglePayRule({ height, radius, }: PlatformPayButtonMetrics): string;
14
+ /**
15
+ * Styles the provider's existing control, so its trusted tap handler stays intact.
16
+ *
17
+ * - Late mounts and provider re-renders are observed, without changing payment state.
18
+ * - Google's stylesheet carries only the dark label of the black button Coinbase asks for. The light
19
+ * label is its sibling on the same host, so the page's own locale is kept.
20
+ */
21
+ export declare function coinbasePlatformPayStyleScript(metrics: PlatformPayButtonMetrics): string;
22
+ //# sourceMappingURL=coinbasePlatformPayStyle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"coinbasePlatformPayStyle.d.ts","sourceRoot":"","sources":["../../../../../src/fiat/providers/coinbase/coinbasePlatformPayStyle.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,wBAAwB,EAG9B,MAAM,6BAA6B,CAAA;AAEpC,mGAAmG;AACnG,eAAO,MAAM,0BAA0B,YAAY,CAAA;AAKnD;;;;;;;;GAQG;AACH,wBAAgB,qBAAqB,CAAC,EACpC,MAAM,EACN,MAAM,GACP,EAAE,wBAAwB,GAAG,MAAM,CAQnC;AAED;;;;;;GAMG;AACH,wBAAgB,8BAA8B,CAC5C,OAAO,EAAE,wBAAwB,GAChC,MAAM,CA4CR"}
@@ -1,5 +1,5 @@
1
1
  import type { EntryCta, FiatFlow, FiatStepResponse, PreparedPayment, UseFiatQuoteResult } from '@funkit/connect-core';
2
- import type { ApplePayReadinessTiming } from '../adapter';
2
+ import type { PlatformPayReadinessTiming } from '../adapter';
3
3
  /** Which check sent the entry back to `POST /fiat/payment-session`. */
4
4
  export type CoinbasePreparedFallback = 'ENTRY_NOT_PAYMENT_SESSION' | 'ENTRY_NEEDS_INPUTS' | 'QUOTE_MISMATCH' | 'MALFORMED' | 'SURFACE_UNSUPPORTED' | 'NOT_CLIENT_SURFACE' | 'NO_ORDER';
5
5
  export type CoinbasePreparedRound = {
@@ -20,5 +20,5 @@ export declare function coinbasePreparedPayment(prepared: PreparedPayment, entry
20
20
  * A Coinbase quote that already opened its payment session hands over that
21
21
  * round in place of `POST /fiat/payment-session`. False sends the request as before.
22
22
  */
23
- export declare function enterPreparedCoinbasePayment(quoteState: UseFiatQuoteResult, flow: FiatFlow, readinessTiming: ApplePayReadinessTiming | undefined): boolean;
23
+ export declare function enterPreparedCoinbasePayment(quoteState: UseFiatQuoteResult, flow: FiatFlow, readinessTiming: PlatformPayReadinessTiming | undefined): boolean;
24
24
  //# sourceMappingURL=coinbasePreparedPayment.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"coinbasePreparedPayment.d.ts","sourceRoot":"","sources":["../../../../../src/fiat/providers/coinbase/coinbasePreparedPayment.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,QAAQ,EACR,QAAQ,EACR,gBAAgB,EAChB,eAAe,EACf,kBAAkB,EACnB,MAAM,sBAAsB,CAAA;AAO7B,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAA;AAMzD,uEAAuE;AACvE,MAAM,MAAM,wBAAwB,GAChC,2BAA2B,GAC3B,oBAAoB,GACpB,gBAAgB,GAChB,WAAW,GACX,qBAAqB,GACrB,oBAAoB,GACpB,UAAU,CAAA;AAEd,MAAM,MAAM,qBAAqB,GAC7B;IAAE,IAAI,EAAE,SAAS,CAAC;IAAC,QAAQ,EAAE,gBAAgB,CAAA;CAAE,GAC/C;IAAE,IAAI,EAAE,UAAU,CAAC;IAAC,MAAM,EAAE,wBAAwB,CAAA;CAAE,CAAA;AAO1D;;;;;GAKG;AACH,wBAAgB,uBAAuB,CACrC,QAAQ,EAAE,eAAe,EACzB,QAAQ,EAAE,QAAQ,GACjB,qBAAqB,CA2DvB;AAED;;;GAGG;AACH,wBAAgB,4BAA4B,CAC1C,UAAU,EAAE,kBAAkB,EAC9B,IAAI,EAAE,QAAQ,EACd,eAAe,EAAE,uBAAuB,GAAG,SAAS,GACnD,OAAO,CAgCT"}
1
+ {"version":3,"file":"coinbasePreparedPayment.d.ts","sourceRoot":"","sources":["../../../../../src/fiat/providers/coinbase/coinbasePreparedPayment.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,QAAQ,EACR,QAAQ,EACR,gBAAgB,EAChB,eAAe,EACf,kBAAkB,EACnB,MAAM,sBAAsB,CAAA;AAO7B,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,YAAY,CAAA;AAM5D,uEAAuE;AACvE,MAAM,MAAM,wBAAwB,GAChC,2BAA2B,GAC3B,oBAAoB,GACpB,gBAAgB,GAChB,WAAW,GACX,qBAAqB,GACrB,oBAAoB,GACpB,UAAU,CAAA;AAEd,MAAM,MAAM,qBAAqB,GAC7B;IAAE,IAAI,EAAE,SAAS,CAAC;IAAC,QAAQ,EAAE,gBAAgB,CAAA;CAAE,GAC/C;IAAE,IAAI,EAAE,UAAU,CAAC;IAAC,MAAM,EAAE,wBAAwB,CAAA;CAAE,CAAA;AAO1D;;;;;GAKG;AACH,wBAAgB,uBAAuB,CACrC,QAAQ,EAAE,eAAe,EACzB,QAAQ,EAAE,QAAQ,GACjB,qBAAqB,CA2DvB;AAED;;;GAGG;AACH,wBAAgB,4BAA4B,CAC1C,UAAU,EAAE,kBAAkB,EAC9B,IAAI,EAAE,QAAQ,EACd,eAAe,EAAE,0BAA0B,GAAG,SAAS,GACtD,OAAO,CAgCT"}
@@ -0,0 +1,15 @@
1
+ import type { WalletPaymentMethod } from '../../../flow/walletMethods';
2
+ /** The query flag that opens each wallet's test sheet on a sandbox order, per Coinbase's headless onramp docs. */
3
+ export declare const COINBASE_SANDBOX_PARAMS: Record<WalletPaymentMethod, string>;
4
+ /**
5
+ * Coinbase's page posts its events to `window.androidWebView` on Android, which React Native's WebView does not
6
+ * define, so they go to `ReactNativeWebView` instead. Installed before the page's own script runs.
7
+ */
8
+ export declare const COINBASE_ANDROID_BRIDGE = "\n (function () {\n if (window.androidWebView || !window.ReactNativeWebView) return;\n window.androidWebView = {\n postMessage: function (message) {\n window.ReactNativeWebView.postMessage(typeof message === 'string' ? message : JSON.stringify(message));\n }\n };\n })();\n true;\n";
9
+ /**
10
+ * The bridge script for this platform's WebView. Android only: iOS's Coinbase page posts through
11
+ * `ReactNativeWebView` already, and giving it an `androidWebView` too could send each event twice or
12
+ * steer the page onto its Android path.
13
+ */
14
+ export declare function coinbaseBridgeFor(os: string): string | undefined;
15
+ //# sourceMappingURL=coinbaseWallet.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"coinbaseWallet.d.ts","sourceRoot":"","sources":["../../../../../src/fiat/providers/coinbase/coinbaseWallet.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAA;AAEtE,kHAAkH;AAClH,eAAO,MAAM,uBAAuB,EAAE,MAAM,CAAC,mBAAmB,EAAE,MAAM,CAGvE,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,uBAAuB,2TAUnC,CAAA;AAED;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,EAAE,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAEhE"}