@funkit/connect-rn 12.1.2 → 12.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.
- package/CHANGELOG.md +158 -0
- package/README.md +1 -1
- package/app.plugin.js +63 -0
- package/dist/{chunk-Q74I4SOP.js → chunk-5QHEW234.js} +2 -2
- package/dist/{chunk-GOFKXSDM.js → chunk-HXOQOPQY.js} +147 -75
- package/dist/chunk-HXOQOPQY.js.map +7 -0
- package/dist/{chunk-AICRSY7K.js → chunk-NW2EYUCE.js} +17 -12
- package/dist/chunk-NW2EYUCE.js.map +7 -0
- package/dist/clients/lighter/lighterWithdrawalConfig.d.ts +1 -1
- package/dist/clients/lighter.js +1 -1
- package/dist/clients/lighter.js.map +1 -1
- package/dist/clients/nado.js +2 -2
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +30535 -25254
- package/dist/index.js.map +4 -4
- package/dist/preview.js +454 -6
- package/dist/preview.js.map +4 -4
- package/dist/src/components/DepositActionMotion.d.ts +7 -5
- package/dist/src/components/DepositActionMotion.d.ts.map +1 -1
- package/dist/src/components/Grabber.d.ts +1 -1
- package/dist/src/components/Grabber.d.ts.map +1 -1
- package/dist/src/components/LoadingSpinner.d.ts +12 -4
- package/dist/src/components/LoadingSpinner.d.ts.map +1 -1
- package/dist/src/components/PillButton.d.ts +1 -1
- package/dist/src/components/PillButton.d.ts.map +1 -1
- package/dist/src/components/v2/AmountDisplay.d.ts.map +1 -1
- package/dist/src/components/v2/FeeLine.d.ts +6 -5
- package/dist/src/components/v2/FeeLine.d.ts.map +1 -1
- package/dist/src/components/v2/ListRow.d.ts +1 -1
- package/dist/src/components/v2/QuickAmountsRow.d.ts +1 -1
- package/dist/src/components/v2/QuickAmountsRow.d.ts.map +1 -1
- package/dist/src/components/waitingRingHandoff.d.ts +28 -0
- package/dist/src/components/waitingRingHandoff.d.ts.map +1 -0
- package/dist/src/fiat/common/FiatStepFailedScreen.d.ts +3 -2
- package/dist/src/fiat/common/FiatStepFailedScreen.d.ts.map +1 -1
- package/dist/src/fiat/common/ctaLabel.d.ts +1 -1
- package/dist/src/fiat/common/stepDetails.d.ts +5 -6
- package/dist/src/fiat/common/stepDetails.d.ts.map +1 -1
- package/dist/src/fiat/contact/contactRound.d.ts +1 -0
- package/dist/src/fiat/contact/contactRound.d.ts.map +1 -1
- package/dist/src/fiat/contact/knownContacts.d.ts +1 -1
- package/dist/src/fiat/contact/phoneRegionRedirect.d.ts +2 -0
- package/dist/src/fiat/contact/phoneRegionRedirect.d.ts.map +1 -1
- package/dist/src/fiat/contact/sessionContact.d.ts +2 -0
- package/dist/src/fiat/contact/sessionContact.d.ts.map +1 -1
- package/dist/src/fiat/country/FiatCountrySheet.d.ts +1 -1
- package/dist/src/fiat/country/countryListEntries.d.ts +1 -1
- package/dist/src/fiat/country/countrySections.d.ts +1 -1
- package/dist/src/fiat/entry/useCaptureHold.d.ts +3 -3
- package/dist/src/fiat/entry/useCaptureHold.d.ts.map +1 -1
- package/dist/src/fiat/entry/useEntryQuote.d.ts +18 -4
- package/dist/src/fiat/entry/useEntryQuote.d.ts.map +1 -1
- package/dist/src/fiat/entry/useEntrySubmit.d.ts +2 -2
- package/dist/src/fiat/entry/useEntrySubmit.d.ts.map +1 -1
- package/dist/src/fiat/form/FiatBirthDateField.d.ts +1 -1
- package/dist/src/fiat/form/FiatBirthDateField.d.ts.map +1 -1
- package/dist/src/fiat/form/FiatFormFieldRow.d.ts +1 -1
- package/dist/src/fiat/form/FiatFormScreen.d.ts.map +1 -1
- package/dist/src/fiat/form/fieldAutofill.d.ts +1 -1
- package/dist/src/fiat/kyc/FiatKycFieldControl.d.ts +1 -1
- package/dist/src/fiat/kyc/FiatKycIntroScreen.d.ts +3 -1
- package/dist/src/fiat/kyc/FiatKycIntroScreen.d.ts.map +1 -1
- package/dist/src/fiat/kyc/FiatKycOutcomeScreen.d.ts +1 -1
- package/dist/src/fiat/kyc/SumsubCaptureStep.d.ts +25 -0
- package/dist/src/fiat/kyc/SumsubCaptureStep.d.ts.map +1 -0
- package/dist/src/fiat/kyc/formValidationError.d.ts +1 -1
- package/dist/src/fiat/kyc/kycCapture.d.ts +3 -4
- package/dist/src/fiat/kyc/kycCapture.d.ts.map +1 -1
- package/dist/src/fiat/kyc/kycFieldValidators.d.ts +3 -1
- package/dist/src/fiat/kyc/kycFieldValidators.d.ts.map +1 -1
- package/dist/src/fiat/kyc/kycForm.d.ts +4 -5
- package/dist/src/fiat/kyc/kycForm.d.ts.map +1 -1
- package/dist/src/fiat/kyc/kycFormState.d.ts +7 -1
- package/dist/src/fiat/kyc/kycFormState.d.ts.map +1 -1
- package/dist/src/fiat/kyc/kycFormTheme.d.ts +1 -1
- package/dist/src/fiat/kyc/kycFormTheme.d.ts.map +1 -1
- package/dist/src/fiat/kyc/kycReaskCopy.d.ts +6 -0
- package/dist/src/fiat/kyc/kycReaskCopy.d.ts.map +1 -0
- package/dist/src/fiat/kyc/kycRoutes.d.ts +2 -2
- package/dist/src/fiat/kyc/kycRoutes.d.ts.map +1 -1
- package/dist/src/fiat/kyc/kycUnavailableAlert.d.ts +1 -1
- package/dist/src/fiat/kyc/kycValues.d.ts +4 -0
- package/dist/src/fiat/kyc/kycValues.d.ts.map +1 -0
- package/dist/src/fiat/kyc/kycVerdict.d.ts +1 -1
- package/dist/src/fiat/kyc/kycVerdict.d.ts.map +1 -1
- package/dist/src/fiat/kyc/useKycCompletion.d.ts +4 -4
- package/dist/src/fiat/kyc/useKycScreens.d.ts +1 -1
- package/dist/src/fiat/otp/FunReauthStep.d.ts +4 -1
- package/dist/src/fiat/otp/FunReauthStep.d.ts.map +1 -1
- package/dist/src/fiat/payment/failoverKind.d.ts +14 -6
- package/dist/src/fiat/payment/failoverKind.d.ts.map +1 -1
- package/dist/src/fiat/payment/failoverPrompt.d.ts +5 -2
- package/dist/src/fiat/payment/failoverPrompt.d.ts.map +1 -1
- package/dist/src/fiat/payment/methodName.d.ts.map +1 -1
- package/dist/src/fiat/payment/paymentAttempts.d.ts +1 -1
- package/dist/src/fiat/payment/paymentReroute.d.ts.map +1 -1
- package/dist/src/fiat/payment/paymentSurfaceFailure.d.ts.map +1 -1
- package/dist/src/fiat/payment/platformPayAttempt.d.ts +31 -0
- package/dist/src/fiat/payment/platformPayAttempt.d.ts.map +1 -0
- package/dist/src/fiat/payment/providerFailover.d.ts +3 -1
- package/dist/src/fiat/payment/providerFailover.d.ts.map +1 -1
- package/dist/src/fiat/payment/usePaymentAttempts.d.ts +3 -0
- package/dist/src/fiat/payment/usePaymentAttempts.d.ts.map +1 -1
- package/dist/src/fiat/payment/usePaymentFailureAnswer.d.ts +10 -7
- package/dist/src/fiat/payment/usePaymentFailureAnswer.d.ts.map +1 -1
- package/dist/src/fiat/payment/useRegionCurrencySheet.d.ts +24 -0
- package/dist/src/fiat/payment/useRegionCurrencySheet.d.ts.map +1 -0
- package/dist/src/fiat/processing/DepositCardSheet.d.ts +3 -0
- package/dist/src/fiat/processing/DepositCardSheet.d.ts.map +1 -1
- package/dist/src/fiat/processing/FailoverPrompt.d.ts +1 -1
- package/dist/src/fiat/processing/FailoverPrompt.d.ts.map +1 -1
- package/dist/src/fiat/processing/ProcessingAurora.d.ts +1 -1
- package/dist/src/fiat/processing/ProcessingAurora.d.ts.map +1 -1
- package/dist/src/fiat/processing/failoverArtwork.d.ts +5 -0
- package/dist/src/fiat/processing/failoverArtwork.d.ts.map +1 -1
- package/dist/src/fiat/providerFlow.d.ts +16 -2
- package/dist/src/fiat/providerFlow.d.ts.map +1 -1
- package/dist/src/fiat/providerFlows.d.ts +8 -0
- package/dist/src/fiat/providerFlows.d.ts.map +1 -1
- package/dist/src/fiat/providerHandoff.d.ts +4 -1
- package/dist/src/fiat/providerHandoff.d.ts.map +1 -1
- package/dist/src/fiat/providers/adapter.d.ts +3 -3
- package/dist/src/fiat/providers/adapter.d.ts.map +1 -1
- package/dist/src/fiat/providers/alchemypay/AlchemyPayButtonSurface.d.ts +36 -0
- package/dist/src/fiat/providers/alchemypay/AlchemyPayButtonSurface.d.ts.map +1 -0
- package/dist/src/fiat/providers/alchemypay/Checkout.d.ts +27 -0
- package/dist/src/fiat/providers/alchemypay/Checkout.d.ts.map +1 -0
- package/dist/src/fiat/providers/alchemypay/alchemyPayButtonEvents.d.ts +87 -0
- package/dist/src/fiat/providers/alchemypay/alchemyPayButtonEvents.d.ts.map +1 -0
- package/dist/src/fiat/providers/alchemypay/alchemyPayPage.d.ts +19 -0
- package/dist/src/fiat/providers/alchemypay/alchemyPayPage.d.ts.map +1 -0
- package/dist/src/fiat/providers/alchemypay/checkoutRules.d.ts +29 -0
- package/dist/src/fiat/providers/alchemypay/checkoutRules.d.ts.map +1 -0
- package/dist/src/fiat/providers/alchemypay/googlePayBuyLabel.d.ts +7 -0
- package/dist/src/fiat/providers/alchemypay/googlePayBuyLabel.d.ts.map +1 -0
- package/dist/src/fiat/providers/alchemypay/index.d.ts +4 -0
- package/dist/src/fiat/providers/alchemypay/index.d.ts.map +1 -0
- package/dist/src/fiat/providers/alchemypay/prefetch.d.ts +35 -0
- package/dist/src/fiat/providers/alchemypay/prefetch.d.ts.map +1 -0
- package/dist/src/fiat/providers/alchemypay/useAlchemyPayCheckout.d.ts +47 -0
- package/dist/src/fiat/providers/alchemypay/useAlchemyPayCheckout.d.ts.map +1 -0
- package/dist/src/fiat/providers/banxa/BanxaCheckoutSurface.d.ts +2 -2
- package/dist/src/fiat/providers/banxa/BanxaCheckoutSurface.d.ts.map +1 -1
- package/dist/src/fiat/providers/checkout/retryProviderRequest.d.ts +16 -0
- package/dist/src/fiat/providers/checkout/retryProviderRequest.d.ts.map +1 -0
- package/dist/src/fiat/providers/checkout/slotOutlets.d.ts +5 -0
- package/dist/src/fiat/providers/checkout/slotOutlets.d.ts.map +1 -1
- package/dist/src/fiat/providers/checkout/useFiatNextApi.d.ts +10 -2
- package/dist/src/fiat/providers/checkout/useFiatNextApi.d.ts.map +1 -1
- package/dist/src/fiat/providers/coinbase/CoinbaseCheckoutSurface.d.ts +1 -1
- package/dist/src/fiat/providers/coinbase/CoinbaseCheckoutSurface.d.ts.map +1 -1
- package/dist/src/fiat/providers/coinbase/coinbaseApplePay.d.ts +2 -2
- package/dist/src/fiat/providers/coinbase/coinbaseApplePay.d.ts.map +1 -1
- package/dist/src/fiat/providers/coinbase/coinbaseCardRefusal.d.ts +5 -0
- package/dist/src/fiat/providers/coinbase/coinbaseCardRefusal.d.ts.map +1 -1
- package/dist/src/fiat/providers/coinbase/coinbasePlatformPayStyle.d.ts +22 -0
- package/dist/src/fiat/providers/coinbase/coinbasePlatformPayStyle.d.ts.map +1 -0
- package/dist/src/fiat/providers/coinbase/coinbasePreparedPayment.d.ts +2 -2
- package/dist/src/fiat/providers/coinbase/coinbasePreparedPayment.d.ts.map +1 -1
- package/dist/src/fiat/providers/coinbase/coinbaseWallet.d.ts +15 -0
- package/dist/src/fiat/providers/coinbase/coinbaseWallet.d.ts.map +1 -0
- package/dist/src/fiat/providers/coinbase/next/Checkout.d.ts.map +1 -1
- package/dist/src/fiat/providers/coinbase/next/coinbaseCheckoutTerms.d.ts.map +1 -1
- package/dist/src/fiat/providers/coinbase/next/useCoinbaseCheckout.d.ts +4 -1
- package/dist/src/fiat/providers/coinbase/next/useCoinbaseCheckout.d.ts.map +1 -1
- package/dist/src/fiat/providers/moonpay/Capture.d.ts +1 -1
- package/dist/src/fiat/providers/moonpay/Capture.d.ts.map +1 -1
- package/dist/src/fiat/providers/moonpay/KycForm.d.ts +0 -2
- package/dist/src/fiat/providers/moonpay/KycForm.d.ts.map +1 -1
- package/dist/src/fiat/providers/moonpay/errors.d.ts +1 -1
- package/dist/src/fiat/providers/moonpay/errors.d.ts.map +1 -1
- package/dist/src/fiat/providers/moonpay/fullCheckout/checkoutScreens.d.ts.map +1 -1
- package/dist/src/fiat/providers/moonpay/fullCheckout/moonPayCheckoutTerms.d.ts.map +1 -1
- package/dist/src/fiat/providers/moonpay/fullCheckout/useCheckoutCalls.d.ts +3 -5
- package/dist/src/fiat/providers/moonpay/fullCheckout/useCheckoutCalls.d.ts.map +1 -1
- package/dist/src/fiat/providers/moonpay/fullCheckout/useCheckoutModel.d.ts +4 -3
- package/dist/src/fiat/providers/moonpay/fullCheckout/useCheckoutModel.d.ts.map +1 -1
- package/dist/src/fiat/providers/moonpay/guestCheckout/checkoutScreens.d.ts +0 -2
- package/dist/src/fiat/providers/moonpay/guestCheckout/checkoutScreens.d.ts.map +1 -1
- package/dist/src/fiat/providers/moonpay/guestCheckout/connection.d.ts.map +1 -1
- package/dist/src/fiat/providers/moonpay/guestCheckout/useGuestCheck.d.ts +2 -2
- package/dist/src/fiat/providers/moonpay/guestCheckout/useGuestCheck.d.ts.map +1 -1
- package/dist/src/fiat/providers/moonpay/guestCheckout/useGuestCheckoutModel.d.ts +5 -4
- package/dist/src/fiat/providers/moonpay/guestCheckout/useGuestCheckoutModel.d.ts.map +1 -1
- package/dist/src/fiat/providers/moonpay/index.d.ts.map +1 -1
- package/dist/src/fiat/providers/moonpay/moonpay.d.ts +2 -2
- package/dist/src/fiat/providers/moonpay/moonpay.d.ts.map +1 -1
- package/dist/src/fiat/providers/moonpay/moonpayAuthStyle.d.ts +7 -7
- package/dist/src/fiat/providers/moonpay/moonpayAuthStyle.d.ts.map +1 -1
- package/dist/src/fiat/providers/moonpay/{moonpayApplePayPainted.d.ts → moonpayPlatformPayPainted.d.ts} +3 -3
- package/dist/src/fiat/providers/moonpay/moonpayPlatformPayPainted.d.ts.map +1 -0
- package/dist/src/fiat/providers/moonpay/moonpayPlatformPayStyle.d.ts +13 -0
- package/dist/src/fiat/providers/moonpay/moonpayPlatformPayStyle.d.ts.map +1 -0
- package/dist/src/fiat/providers/moonpay/sdk/{ApplePayButton.d.ts → PlatformPayButton.d.ts} +14 -8
- package/dist/src/fiat/providers/moonpay/sdk/PlatformPayButton.d.ts.map +1 -0
- package/dist/src/fiat/providers/moonpay/sdk/{ApplePaySlot.d.ts → PlatformPaySlot.d.ts} +4 -4
- package/dist/src/fiat/providers/moonpay/sdk/PlatformPaySlot.d.ts.map +1 -0
- package/dist/src/fiat/providers/moonpay/useReadiness.d.ts +4 -4
- package/dist/src/fiat/providers/moonpay/useReadiness.d.ts.map +1 -1
- package/dist/src/fiat/providers/{applePayButtonMetrics.d.ts → platformPayButtonMetrics.d.ts} +6 -6
- package/dist/src/fiat/providers/platformPayButtonMetrics.d.ts.map +1 -0
- package/dist/src/fiat/providers/{applePayPaintGate.d.ts → platformPayPaintGate.d.ts} +8 -8
- package/dist/src/fiat/providers/platformPayPaintGate.d.ts.map +1 -0
- package/dist/src/fiat/providers/stripe/next/Checkout.d.ts +2 -2
- package/dist/src/fiat/providers/stripe/next/Checkout.d.ts.map +1 -1
- package/dist/src/fiat/providers/stripe/next/index.d.ts.map +1 -1
- package/dist/src/fiat/providers/stripe/next/stripeCheckoutTerms.d.ts.map +1 -1
- package/dist/src/fiat/providers/stripe/next/useStripeAccountEmail.d.ts +17 -0
- package/dist/src/fiat/providers/stripe/next/useStripeAccountEmail.d.ts.map +1 -0
- package/dist/src/fiat/providers/stripe/next/useStripeAttestation.d.ts +3 -1
- package/dist/src/fiat/providers/stripe/next/useStripeAttestation.d.ts.map +1 -1
- package/dist/src/fiat/providers/stripe/next/useStripeCheckout.d.ts +13 -4
- package/dist/src/fiat/providers/stripe/next/useStripeCheckout.d.ts.map +1 -1
- package/dist/src/fiat/providers/stripe/next/useStripeCheckoutCalls.d.ts +4 -2
- package/dist/src/fiat/providers/stripe/next/useStripeCheckoutCalls.d.ts.map +1 -1
- package/dist/src/fiat/providers/stripe/next/useStripeExit.d.ts.map +1 -1
- package/dist/src/fiat/providers/stripe/next/useStripeFunnel.d.ts +2 -2
- package/dist/src/fiat/providers/stripe/next/useStripeFunnel.d.ts.map +1 -1
- package/dist/src/fiat/providers/stripe/next/useStripeIdentifiers.d.ts +4 -1
- package/dist/src/fiat/providers/stripe/next/useStripeIdentifiers.d.ts.map +1 -1
- package/dist/src/fiat/providers/stripe/next/useStripeOrderSlot.d.ts +2 -1
- package/dist/src/fiat/providers/stripe/next/useStripeOrderSlot.d.ts.map +1 -1
- package/dist/src/fiat/providers/stripe/next/useStripePayment.d.ts +4 -2
- package/dist/src/fiat/providers/stripe/next/useStripePayment.d.ts.map +1 -1
- package/dist/src/fiat/providers/stripe/stripeApplePaySelection.d.ts +9 -2
- package/dist/src/fiat/providers/stripe/stripeApplePaySelection.d.ts.map +1 -1
- package/dist/src/fiat/providers/stripe/stripeCheckout.d.ts +1 -1
- package/dist/src/fiat/providers/stripe/stripeIdentifierField.d.ts +2 -0
- package/dist/src/fiat/providers/stripe/stripeIdentifierField.d.ts.map +1 -1
- package/dist/src/fiat/providers/stripe/stripeKycInfo.d.ts +1 -1
- package/dist/src/fiat/providers/stripe/stripeOnramp.d.ts +15 -4
- package/dist/src/fiat/providers/stripe/stripeOnramp.d.ts.map +1 -1
- package/dist/src/fiat/providers/stripe/stripePayment.d.ts +2 -0
- package/dist/src/fiat/providers/stripe/stripePayment.d.ts.map +1 -1
- package/dist/src/fiat/providers/stripe/{stripeApplePayButton.d.ts → stripePlatformPayButton.d.ts} +4 -4
- package/dist/src/fiat/providers/stripe/stripePlatformPayButton.d.ts.map +1 -0
- package/dist/src/fiat/providers/stripe/stripePlatformPayReady.d.ts +18 -0
- package/dist/src/fiat/providers/stripe/stripePlatformPayReady.d.ts.map +1 -0
- package/dist/src/fiat/providers/stripe/stripeSeamlessSignIn.d.ts +1 -1
- package/dist/src/fiat/providers/stripe/useCreateStripeAccountWithExistingUserData.d.ts +5 -4
- package/dist/src/fiat/providers/stripe/useCreateStripeAccountWithExistingUserData.d.ts.map +1 -1
- package/dist/src/fiat/providers/stripe/useStripeKycFailover.d.ts +1 -1
- package/dist/src/fiat/providers/stripe/useStripeKycFailover.d.ts.map +1 -1
- package/dist/src/fiat/providers/stripe/useStripeOnrampClient.d.ts.map +1 -1
- package/dist/src/fiat/providers/stripe/useStripePayButton.d.ts +5 -5
- package/dist/src/fiat/providers/stripe/useStripePayButton.d.ts.map +1 -1
- package/dist/src/fiat/providers/transak/TransakApplePayFrame.d.ts +17 -0
- package/dist/src/fiat/providers/transak/TransakApplePayFrame.d.ts.map +1 -0
- package/dist/src/fiat/providers/transak/TransakApplePaySurface.d.ts +6 -0
- package/dist/src/fiat/providers/transak/TransakApplePaySurface.d.ts.map +1 -1
- package/dist/src/fiat/providers/transak/next/Capture.d.ts +15 -0
- package/dist/src/fiat/providers/transak/next/Capture.d.ts.map +1 -0
- package/dist/src/fiat/providers/transak/next/Checkout.d.ts +25 -0
- package/dist/src/fiat/providers/transak/next/Checkout.d.ts.map +1 -0
- package/dist/src/fiat/providers/transak/next/KycForm.d.ts +22 -0
- package/dist/src/fiat/providers/transak/next/KycForm.d.ts.map +1 -0
- package/dist/src/fiat/providers/transak/next/checkoutRules.d.ts +32 -0
- package/dist/src/fiat/providers/transak/next/checkoutRules.d.ts.map +1 -0
- package/dist/src/fiat/providers/transak/next/index.d.ts +4 -0
- package/dist/src/fiat/providers/transak/next/index.d.ts.map +1 -0
- package/dist/src/fiat/providers/transak/next/prefetch.d.ts +25 -0
- package/dist/src/fiat/providers/transak/next/prefetch.d.ts.map +1 -0
- package/dist/src/fiat/providers/transak/next/useTransakCheckout.d.ts +49 -0
- package/dist/src/fiat/providers/transak/next/useTransakCheckout.d.ts.map +1 -0
- package/dist/src/fiat/quote/providerSelection.d.ts.map +1 -1
- package/dist/src/fiat/settlement/depositSettlement.d.ts.map +1 -1
- package/dist/src/fiat/surface/SurfaceSlot.d.ts +1 -1
- package/dist/src/fiat/surface/SurfaceSlot.d.ts.map +1 -1
- package/dist/src/fiat/surface/actionSlot.d.ts +2 -2
- package/dist/src/fiat/surface/actionSlot.d.ts.map +1 -1
- package/dist/src/fiat/surface/stepSurface.d.ts +4 -1
- package/dist/src/fiat/surface/stepSurface.d.ts.map +1 -1
- package/dist/src/fiat/surface/useFailureAnnouncements.d.ts +3 -2
- package/dist/src/fiat/surface/useFailureAnnouncements.d.ts.map +1 -1
- package/dist/src/fiat/surface/useSurfaceAttempt.d.ts +5 -3
- package/dist/src/fiat/surface/useSurfaceAttempt.d.ts.map +1 -1
- package/dist/src/fiat/useProviderCheckout.d.ts +21 -3
- package/dist/src/fiat/useProviderCheckout.d.ts.map +1 -1
- package/dist/src/flow/CryptoAddressPage.d.ts.map +1 -1
- package/dist/src/flow/CryptoDepositStep.d.ts +5 -3
- package/dist/src/flow/CryptoDepositStep.d.ts.map +1 -1
- package/dist/src/flow/CryptoTokenPage.d.ts +1 -1
- package/dist/src/flow/CryptoTokenPage.d.ts.map +1 -1
- package/dist/src/flow/DepositAmountStep.d.ts.map +1 -1
- package/dist/src/flow/DepositFlowContent.d.ts +11 -8
- package/dist/src/flow/DepositFlowContent.d.ts.map +1 -1
- package/dist/src/flow/DimLayer.d.ts +1 -1
- package/dist/src/flow/DimLayer.d.ts.map +1 -1
- package/dist/src/flow/Drawer.d.ts +3 -2
- package/dist/src/flow/Drawer.d.ts.map +1 -1
- package/dist/src/flow/FiatDepositAmountStep.d.ts.map +1 -1
- package/dist/src/flow/FiatRegionBlockedStep.d.ts +2 -1
- package/dist/src/flow/FiatRegionBlockedStep.d.ts.map +1 -1
- package/dist/src/flow/FiatRegionPendingStep.d.ts +3 -1
- package/dist/src/flow/FiatRegionPendingStep.d.ts.map +1 -1
- package/dist/src/flow/FlowSheet.d.ts.map +1 -1
- package/dist/src/flow/FunkitFlowProvider.d.ts +2 -0
- package/dist/src/flow/FunkitFlowProvider.d.ts.map +1 -1
- package/dist/src/flow/MoonPayHostedAmountStep.d.ts.map +1 -1
- package/dist/src/flow/PaymentMethodPickerSheet.d.ts +4 -1
- package/dist/src/flow/PaymentMethodPickerSheet.d.ts.map +1 -1
- package/dist/src/flow/PaymentMethodRows.d.ts +2 -1
- package/dist/src/flow/PaymentMethodRows.d.ts.map +1 -1
- package/dist/src/flow/SwappedAmountStep.d.ts +2 -2
- package/dist/src/flow/SwappedAmountStep.d.ts.map +1 -1
- package/dist/src/flow/WalletDepositStep.d.ts +6 -1
- package/dist/src/flow/WalletDepositStep.d.ts.map +1 -1
- package/dist/src/flow/cryptoDepositFlow.d.ts +1 -1
- package/dist/src/flow/cryptoDepositFlow.d.ts.map +1 -1
- package/dist/src/flow/cryptoTokenPick.d.ts +4 -3
- package/dist/src/flow/cryptoTokenPick.d.ts.map +1 -1
- package/dist/src/flow/depositFlowConfig.d.ts +5 -0
- package/dist/src/flow/depositFlowConfig.d.ts.map +1 -1
- package/dist/src/flow/depositMethods.d.ts.map +1 -1
- package/dist/src/flow/depositRailCopy.d.ts.map +1 -1
- package/dist/src/flow/fiatStepScreens.d.ts +10 -9
- package/dist/src/flow/fiatStepScreens.d.ts.map +1 -1
- package/dist/src/flow/fiatSubmitRenderer.d.ts +9 -7
- package/dist/src/flow/fiatSubmitRenderer.d.ts.map +1 -1
- package/dist/src/flow/moonPayHostedMethodRows.d.ts +3 -1
- package/dist/src/flow/moonPayHostedMethodRows.d.ts.map +1 -1
- package/dist/src/flow/quickAmounts.d.ts.map +1 -1
- package/dist/src/flow/renderFiatFlowScreen.d.ts +15 -9
- package/dist/src/flow/renderFiatFlowScreen.d.ts.map +1 -1
- package/dist/src/flow/screenBundles.d.ts +16 -5
- package/dist/src/flow/screenBundles.d.ts.map +1 -1
- package/dist/src/flow/sheetSizing.d.ts +15 -0
- package/dist/src/flow/sheetSizing.d.ts.map +1 -1
- package/dist/src/flow/swappedLongtail.d.ts +7 -4
- package/dist/src/flow/swappedLongtail.d.ts.map +1 -1
- package/dist/src/flow/swappedMethodRows.d.ts +4 -3
- package/dist/src/flow/swappedMethodRows.d.ts.map +1 -1
- package/dist/src/flow/useFeeDetails.d.ts +5 -2
- package/dist/src/flow/useFeeDetails.d.ts.map +1 -1
- package/dist/src/flow/useFunkitDepositWallet.d.ts +8 -0
- package/dist/src/flow/useFunkitDepositWallet.d.ts.map +1 -0
- package/dist/src/flow/useMoonPayHostedMethods.d.ts.map +1 -1
- package/dist/src/flow/useWalletDeposit.d.ts +3 -0
- package/dist/src/flow/useWalletDeposit.d.ts.map +1 -1
- package/dist/src/flow/useWalletReceiveQuote.d.ts +21 -0
- package/dist/src/flow/useWalletReceiveQuote.d.ts.map +1 -0
- package/dist/src/flow/walletMethods.d.ts +32 -0
- package/dist/src/flow/walletMethods.d.ts.map +1 -0
- package/dist/src/flow/withdrawalFlowConfig.d.ts +1 -1
- package/dist/src/hooks/track/StepViewContext.d.ts +33 -0
- package/dist/src/hooks/track/StepViewContext.d.ts.map +1 -0
- package/dist/src/hooks/track/StepViewProvider.d.ts +8 -0
- package/dist/src/hooks/track/StepViewProvider.d.ts.map +1 -0
- package/dist/src/hooks/track/cryptoDepositContext.d.ts +19 -0
- package/dist/src/hooks/track/cryptoDepositContext.d.ts.map +1 -0
- package/dist/src/hooks/track/events.d.ts +158 -15
- package/dist/src/hooks/track/events.d.ts.map +1 -1
- package/dist/src/hooks/track/paymentQuoteConfirmer.d.ts +1 -1
- package/dist/src/hooks/track/paymentQuoteConfirmer.d.ts.map +1 -1
- package/dist/src/hooks/track/paymentRecovery.d.ts +15 -0
- package/dist/src/hooks/track/paymentRecovery.d.ts.map +1 -0
- package/dist/src/hooks/track/providerQuoteForAnalytics.d.ts +11 -0
- package/dist/src/hooks/track/providerQuoteForAnalytics.d.ts.map +1 -0
- package/dist/src/hooks/track/stepViewHistory.d.ts +29 -0
- package/dist/src/hooks/track/stepViewHistory.d.ts.map +1 -0
- package/dist/src/hooks/track/useCryptoDepositSelectionEvents.d.ts +4 -0
- package/dist/src/hooks/track/useCryptoDepositSelectionEvents.d.ts.map +1 -0
- package/dist/src/hooks/track/useCryptoDepositTransferEvents.d.ts +23 -0
- package/dist/src/hooks/track/useCryptoDepositTransferEvents.d.ts.map +1 -0
- package/dist/src/hooks/track/useDepositFlowEvents.d.ts +8 -2
- package/dist/src/hooks/track/useDepositFlowEvents.d.ts.map +1 -1
- package/dist/src/hooks/track/usePaymentButtonEvents.d.ts +1 -0
- package/dist/src/hooks/track/usePaymentButtonEvents.d.ts.map +1 -1
- package/dist/src/hooks/track/usePaymentRecoveryEvents.d.ts +15 -0
- package/dist/src/hooks/track/usePaymentRecoveryEvents.d.ts.map +1 -0
- package/dist/src/hooks/track/useProviderCheckoutEvents.d.ts +26 -10
- package/dist/src/hooks/track/useProviderCheckoutEvents.d.ts.map +1 -1
- package/dist/src/hooks/track/useTrackFiatDepositQuoteEvents.d.ts +7 -5
- package/dist/src/hooks/track/useTrackFiatDepositQuoteEvents.d.ts.map +1 -1
- package/dist/src/hooks/track/useTrackFiatPaymentEvents.d.ts +18 -6
- package/dist/src/hooks/track/useTrackFiatPaymentEvents.d.ts.map +1 -1
- package/dist/src/hooks/track/useTrackSessionAuthEvents.d.ts +4 -3
- package/dist/src/hooks/track/useTrackSessionAuthEvents.d.ts.map +1 -1
- package/dist/src/hooks/track/useTrackedNav.d.ts +4 -0
- package/dist/src/hooks/track/useTrackedNav.d.ts.map +1 -0
- package/dist/src/hooks/useNestedSheet.d.ts.map +1 -1
- package/dist/src/icons/KycIdentityIcon.d.ts +1 -1
- package/dist/src/icons/PaymentBrandIcons.d.ts +4 -0
- package/dist/src/icons/PaymentBrandIcons.d.ts.map +1 -1
- package/dist/src/icons/TokenChainIcon.d.ts +1 -1
- package/dist/src/icons/iconSvg.d.ts.map +1 -1
- package/dist/src/icons/kycArtwork.d.ts +3 -3
- package/dist/src/icons/kycArtwork.d.ts.map +1 -1
- package/dist/src/moonpayHosted/MoonPayHostedCheckout.d.ts +2 -1
- package/dist/src/moonpayHosted/MoonPayHostedCheckout.d.ts.map +1 -1
- package/dist/src/moonpayHosted/checkout.d.ts +1 -2
- package/dist/src/moonpayHosted/checkout.d.ts.map +1 -1
- package/dist/src/preview/fixtures/alchemyPayCheckout.d.ts +13 -0
- package/dist/src/preview/fixtures/alchemyPayCheckout.d.ts.map +1 -0
- package/dist/src/preview/fixtures/stripeCheckout.d.ts +8 -0
- package/dist/src/preview/fixtures/stripeCheckout.d.ts.map +1 -0
- package/dist/src/preview/fixtures/transakCheckout.d.ts +17 -0
- package/dist/src/preview/fixtures/transakCheckout.d.ts.map +1 -0
- package/dist/src/preview/flowPreview.d.ts +35 -5
- package/dist/src/preview/flowPreview.d.ts.map +1 -1
- package/dist/src/preview/replay/ReplayMoonPay.d.ts +11 -2
- package/dist/src/preview/replay/ReplayMoonPay.d.ts.map +1 -1
- package/dist/src/preview/replay/replayFetch.d.ts.map +1 -1
- package/dist/src/preview/scenarioCatalog.d.ts +92 -2
- package/dist/src/preview/scenarioCatalog.d.ts.map +1 -1
- package/dist/src/preview/scenarios.d.ts +1 -1
- package/dist/src/preview/scenarios.d.ts.map +1 -1
- package/dist/src/providers/useFrozenIdentity.d.ts +1 -1
- package/dist/src/screens/DepositAmountScreen.d.ts.map +1 -1
- package/dist/src/screens/FeeDetailsScreen.d.ts +1 -1
- package/dist/src/screens/PaymentConfirmScreen.d.ts +2 -1
- package/dist/src/screens/PaymentConfirmScreen.d.ts.map +1 -1
- package/dist/src/screens/TokenAndChainPickerScreen.d.ts.map +1 -1
- package/dist/src/screens/WithdrawCryptoSteps.d.ts.map +1 -1
- package/dist/src/statsig/useStatsigReady.d.ts +1 -1
- package/dist/src/swapped/useSwappedBuyingCrypto.d.ts +1 -1
- package/dist/src/theme/inputTextStyle.d.ts +1 -1
- package/dist/src/theme/legibleBrandColor.d.ts +2 -2
- package/dist/src/transfer/fops.d.ts +5 -1
- package/dist/src/transfer/fops.d.ts.map +1 -1
- package/dist/src/transfer/hooks/useFops.d.ts.map +1 -1
- package/dist/src/transfer/hooks/useWithdrawalFops.d.ts +3 -1
- package/dist/src/transfer/hooks/useWithdrawalFops.d.ts.map +1 -1
- package/dist/src/transfer/lockedQuoteSource.d.ts +5 -0
- package/dist/src/transfer/lockedQuoteSource.d.ts.map +1 -1
- package/dist/src/utils/assetGrid.d.ts +1 -1
- package/dist/src/utils/colorMotion.d.ts +5 -5
- package/dist/src/utils/customers.d.ts +1 -0
- package/dist/src/utils/customers.d.ts.map +1 -1
- package/dist/src/utils/motion.d.ts +1 -1
- package/package.json +5 -5
- package/dist/chunk-AICRSY7K.js.map +0 -7
- package/dist/chunk-GOFKXSDM.js.map +0 -7
- package/dist/src/fiat/payment/applePayAttempt.d.ts +0 -31
- package/dist/src/fiat/payment/applePayAttempt.d.ts.map +0 -1
- package/dist/src/fiat/providers/applePayButtonMetrics.d.ts.map +0 -1
- package/dist/src/fiat/providers/applePayPaintGate.d.ts.map +0 -1
- package/dist/src/fiat/providers/moonpay/moonpayApplePayPainted.d.ts.map +0 -1
- package/dist/src/fiat/providers/moonpay/moonpayApplePayStyle.d.ts +0 -7
- package/dist/src/fiat/providers/moonpay/moonpayApplePayStyle.d.ts.map +0 -1
- package/dist/src/fiat/providers/moonpay/reask.d.ts +0 -5
- package/dist/src/fiat/providers/moonpay/reask.d.ts.map +0 -1
- package/dist/src/fiat/providers/moonpay/sdk/ApplePayButton.d.ts.map +0 -1
- package/dist/src/fiat/providers/moonpay/sdk/ApplePaySlot.d.ts.map +0 -1
- package/dist/src/fiat/providers/stripe/stripeApplePayButton.d.ts.map +0 -1
- package/dist/src/fiat/providers/stripe/stripeApplePayReady.d.ts +0 -18
- package/dist/src/fiat/providers/stripe/stripeApplePayReady.d.ts.map +0 -1
- /package/dist/{chunk-Q74I4SOP.js.map → chunk-5QHEW234.js.map} +0 -0
package/dist/preview.js
CHANGED
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
PERSONA_PRIVACY_POLICY_URL,
|
|
8
8
|
TRANSACTIONS_PER_MONTH,
|
|
9
9
|
openingStep
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-NW2EYUCE.js";
|
|
11
11
|
import {
|
|
12
12
|
logger
|
|
13
13
|
} from "./chunk-2HFFVYAZ.js";
|
|
@@ -131,6 +131,16 @@ var PREVIEW_SCENARIO_CATALOG = {
|
|
|
131
131
|
"screens/FeeDetailsScreen.tsx"
|
|
132
132
|
]
|
|
133
133
|
},
|
|
134
|
+
"fiat.amount.subsidized.requote": {
|
|
135
|
+
title: "Amount entry, fee subsidy priced again on each amount",
|
|
136
|
+
flow: "deposit",
|
|
137
|
+
requires: "fiatRail",
|
|
138
|
+
touches: [
|
|
139
|
+
...AMOUNT,
|
|
140
|
+
"fiat/common/stepDetails.ts",
|
|
141
|
+
"flow/useFeeDetails.tsx"
|
|
142
|
+
]
|
|
143
|
+
},
|
|
134
144
|
"fiat.amount.depositMatch.unsubsidized": {
|
|
135
145
|
title: "Amount entry, deposit match without a fee subsidy (internal flag)",
|
|
136
146
|
flow: "deposit",
|
|
@@ -574,6 +584,106 @@ var PREVIEW_SCENARIO_CATALOG = {
|
|
|
574
584
|
"fiat/kyc/FiatKycIntroScreen.tsx"
|
|
575
585
|
]
|
|
576
586
|
},
|
|
587
|
+
"fiat.alchemypay.estimate": {
|
|
588
|
+
title: "AlchemyPay: the estimate, with Continue to place the order",
|
|
589
|
+
flow: "deposit",
|
|
590
|
+
requires: "fiatRail",
|
|
591
|
+
touches: [
|
|
592
|
+
"fiat/providers/alchemypay/Checkout.tsx",
|
|
593
|
+
"fiat/providers/alchemypay/useAlchemyPayCheckout.ts"
|
|
594
|
+
]
|
|
595
|
+
},
|
|
596
|
+
"fiat.alchemypay.button": {
|
|
597
|
+
title: "AlchemyPay: its Apple Pay button in the amount screen's action slot",
|
|
598
|
+
flow: "deposit",
|
|
599
|
+
requires: "fiatRail",
|
|
600
|
+
touches: [
|
|
601
|
+
"fiat/providers/alchemypay/AlchemyPayButtonSurface.tsx",
|
|
602
|
+
"fiat/providers/alchemypay/Checkout.tsx"
|
|
603
|
+
]
|
|
604
|
+
},
|
|
605
|
+
"fiat.alchemypay.unpaid": {
|
|
606
|
+
title: "AlchemyPay: Apple's sheet closed unpaid, payment-failed sheet",
|
|
607
|
+
flow: "deposit",
|
|
608
|
+
requires: "fiatRail",
|
|
609
|
+
touches: [
|
|
610
|
+
"fiat/providers/alchemypay/useAlchemyPayCheckout.ts",
|
|
611
|
+
"fiat/providers/alchemypay/Checkout.tsx"
|
|
612
|
+
]
|
|
613
|
+
},
|
|
614
|
+
"fiat.transak.kycConsent": {
|
|
615
|
+
title: "Transak: Fun's KYC consent before Transak's form",
|
|
616
|
+
flow: "deposit",
|
|
617
|
+
requires: "fiatRail",
|
|
618
|
+
touches: [
|
|
619
|
+
"fiat/providers/transak/next/Checkout.tsx",
|
|
620
|
+
"fiat/providers/transak/next/useTransakCheckout.ts"
|
|
621
|
+
]
|
|
622
|
+
},
|
|
623
|
+
"fiat.transak.kyc": {
|
|
624
|
+
title: "Transak: the KYC form, with the purpose of usage",
|
|
625
|
+
flow: "deposit",
|
|
626
|
+
requires: "fiatRail",
|
|
627
|
+
touches: [
|
|
628
|
+
"fiat/providers/transak/next/Checkout.tsx",
|
|
629
|
+
"fiat/providers/transak/next/useTransakCheckout.ts",
|
|
630
|
+
"fiat/providers/transak/next/KycForm.tsx"
|
|
631
|
+
]
|
|
632
|
+
},
|
|
633
|
+
"fiat.transak.review": {
|
|
634
|
+
title: "Transak: Transak's KYC review, read as on hold once its poll ends",
|
|
635
|
+
flow: "deposit",
|
|
636
|
+
requires: "fiatRail",
|
|
637
|
+
touches: [
|
|
638
|
+
"fiat/providers/transak/next/Checkout.tsx",
|
|
639
|
+
"fiat/providers/transak/next/useTransakCheckout.ts"
|
|
640
|
+
]
|
|
641
|
+
},
|
|
642
|
+
"fiat.transak.priced": {
|
|
643
|
+
title: "Transak: Transak's price, with Continue to pay",
|
|
644
|
+
flow: "deposit",
|
|
645
|
+
requires: "fiatRail",
|
|
646
|
+
touches: [
|
|
647
|
+
"fiat/providers/transak/next/Checkout.tsx",
|
|
648
|
+
"fiat/providers/transak/next/useTransakCheckout.ts"
|
|
649
|
+
]
|
|
650
|
+
},
|
|
651
|
+
"fiat.transak.pay": {
|
|
652
|
+
title: "Transak: its Apple Pay button in the amount screen's action slot",
|
|
653
|
+
flow: "deposit",
|
|
654
|
+
requires: "fiatRail",
|
|
655
|
+
touches: [
|
|
656
|
+
"fiat/providers/transak/TransakApplePaySurface.tsx",
|
|
657
|
+
"fiat/providers/transak/next/Checkout.tsx"
|
|
658
|
+
]
|
|
659
|
+
},
|
|
660
|
+
"fiat.transak.unpaid": {
|
|
661
|
+
title: "Transak: the payment failed before Apple Pay, payment-failed sheet",
|
|
662
|
+
flow: "deposit",
|
|
663
|
+
requires: "fiatRail",
|
|
664
|
+
touches: [
|
|
665
|
+
"fiat/providers/transak/next/useTransakCheckout.ts",
|
|
666
|
+
"fiat/providers/transak/next/Checkout.tsx"
|
|
667
|
+
]
|
|
668
|
+
},
|
|
669
|
+
"fiat.stripe.accountEmail": {
|
|
670
|
+
title: "Stripe: asks for the Link account email of an Apple relay login",
|
|
671
|
+
flow: "deposit",
|
|
672
|
+
requires: "stripeRail",
|
|
673
|
+
touches: [
|
|
674
|
+
"fiat/providers/stripe/next/Checkout.tsx",
|
|
675
|
+
"fiat/providers/stripe/next/useStripeAccountEmail.ts"
|
|
676
|
+
]
|
|
677
|
+
},
|
|
678
|
+
"fiat.stripe.accountEmailRefused": {
|
|
679
|
+
title: "Stripe: the Link account email refused, with the reason",
|
|
680
|
+
flow: "deposit",
|
|
681
|
+
requires: "stripeRail",
|
|
682
|
+
touches: [
|
|
683
|
+
"fiat/providers/stripe/next/Checkout.tsx",
|
|
684
|
+
"fiat/providers/stripe/next/useStripeAccountEmail.ts"
|
|
685
|
+
]
|
|
686
|
+
},
|
|
577
687
|
"kyc.moonpay-check.again": {
|
|
578
688
|
title: "KYC: MoonPay checkout asks for additional verification",
|
|
579
689
|
flow: "deposit",
|
|
@@ -847,11 +957,12 @@ var PREVIEW_SCENARIO_CATALOG = {
|
|
|
847
957
|
]
|
|
848
958
|
},
|
|
849
959
|
"fiat.softDeclined": {
|
|
850
|
-
title: "Card
|
|
960
|
+
title: "Card soft-declined at Coinbase, another partner offered",
|
|
851
961
|
flow: "deposit",
|
|
852
962
|
requires: "fiatRail",
|
|
853
963
|
touches: [
|
|
854
964
|
"fiat/processing/FailoverPrompt.tsx",
|
|
965
|
+
"fiat/payment/usePaymentFailureAnswer.ts",
|
|
855
966
|
"fiat/payment/failoverKind.ts",
|
|
856
967
|
"fiat/payment/failoverPrompt.ts"
|
|
857
968
|
]
|
|
@@ -886,6 +997,16 @@ var PREVIEW_SCENARIO_CATALOG = {
|
|
|
886
997
|
"fiat/processing/FailoverPrompt.tsx"
|
|
887
998
|
]
|
|
888
999
|
},
|
|
1000
|
+
"fiat.googlePayNotSetUp": {
|
|
1001
|
+
title: "Google Pay isn't set up: Coinbase refused it on Android",
|
|
1002
|
+
flow: "deposit",
|
|
1003
|
+
requires: "fiatRail",
|
|
1004
|
+
touches: [
|
|
1005
|
+
"fiat/payment/failoverKind.ts",
|
|
1006
|
+
"fiat/payment/failoverPrompt.ts",
|
|
1007
|
+
"fiat/providers/coinbase/coinbaseCardRefusal.ts"
|
|
1008
|
+
]
|
|
1009
|
+
},
|
|
889
1010
|
"fiat.cardDeclinedSwitch": {
|
|
890
1011
|
title: "Card declined at MoonPay, another partner offered",
|
|
891
1012
|
flow: "deposit",
|
|
@@ -906,6 +1027,16 @@ var PREVIEW_SCENARIO_CATALOG = {
|
|
|
906
1027
|
"fiat/processing/FailoverPrompt.tsx"
|
|
907
1028
|
]
|
|
908
1029
|
},
|
|
1030
|
+
"fiat.regionCurrency": {
|
|
1031
|
+
title: "Card from another region: Stripe sells only USD",
|
|
1032
|
+
flow: "deposit",
|
|
1033
|
+
requires: "fiatRail",
|
|
1034
|
+
touches: [
|
|
1035
|
+
"fiat/payment/useRegionCurrencySheet.ts",
|
|
1036
|
+
"fiat/processing/FailoverPrompt.tsx",
|
|
1037
|
+
"fiat/useProviderCheckout.tsx"
|
|
1038
|
+
]
|
|
1039
|
+
},
|
|
909
1040
|
"fiat.prepaidDeclined": {
|
|
910
1041
|
title: "Prepaid card declined at Coinbase",
|
|
911
1042
|
flow: "deposit",
|
|
@@ -956,6 +1087,12 @@ var PREVIEW_SCENARIO_CATALOG = {
|
|
|
956
1087
|
"flow/useWalletDeposit.ts"
|
|
957
1088
|
]
|
|
958
1089
|
},
|
|
1090
|
+
"deposit.wallet.loading": {
|
|
1091
|
+
title: "Wallet deposit: loading balances after Phantom connects",
|
|
1092
|
+
flow: "deposit",
|
|
1093
|
+
requires: "fiatRail",
|
|
1094
|
+
touches: ["flow/WalletDepositStep.tsx", "flow/useWalletDeposit.ts"]
|
|
1095
|
+
},
|
|
959
1096
|
"deposit.wallet.connectFailed": {
|
|
960
1097
|
title: "Wallet deposit: connection failed",
|
|
961
1098
|
flow: "deposit",
|
|
@@ -1459,6 +1596,186 @@ var US_QUOTE = {
|
|
|
1459
1596
|
expiresAt: "2027-01-01T00:00:00Z"
|
|
1460
1597
|
};
|
|
1461
1598
|
|
|
1599
|
+
// src/preview/fixtures/alchemyPayCheckout.ts
|
|
1600
|
+
import {
|
|
1601
|
+
ALCHEMYPAY_UNPAID_AFTER_MS,
|
|
1602
|
+
alchemyPayCheckoutReducer
|
|
1603
|
+
} from "@funkit/connect-core";
|
|
1604
|
+
var ORDER_ID = "apo_preview";
|
|
1605
|
+
function alchemyPayPreviewState(start, step) {
|
|
1606
|
+
const price = {
|
|
1607
|
+
total: start.checkout.amount,
|
|
1608
|
+
fees: [{ id: "provider_fee", labelFallback: "Fee", amount: "1.90" }],
|
|
1609
|
+
cryptoAmount: (Number(start.checkout.amount.amount) - 1.9).toFixed(2)
|
|
1610
|
+
};
|
|
1611
|
+
const answer = (response) => (state) => {
|
|
1612
|
+
const { call } = state;
|
|
1613
|
+
if (call === void 0) {
|
|
1614
|
+
throw new Error("preview: no request to answer");
|
|
1615
|
+
}
|
|
1616
|
+
return call.action === "order" ? { type: "ORDER", call, response } : { type: "STEP", call, response };
|
|
1617
|
+
};
|
|
1618
|
+
const unpaidRead = answer({
|
|
1619
|
+
next: "orderPending",
|
|
1620
|
+
orderId: ORDER_ID,
|
|
1621
|
+
retryAfterMs: 2e3,
|
|
1622
|
+
order: {
|
|
1623
|
+
state: { kind: "ORDER", phase: "CREATED", status: "AWAITING_PAYMENT" },
|
|
1624
|
+
transitions: []
|
|
1625
|
+
}
|
|
1626
|
+
});
|
|
1627
|
+
const toEstimate = [answer({ next: "placeOrder", price, orderId: ORDER_ID })];
|
|
1628
|
+
const toButton = [
|
|
1629
|
+
...toEstimate,
|
|
1630
|
+
() => ({ type: "PLACE_ORDER" }),
|
|
1631
|
+
answer({
|
|
1632
|
+
next: "pay",
|
|
1633
|
+
orderId: ORDER_ID,
|
|
1634
|
+
price,
|
|
1635
|
+
paymentLink: { url: "https://ramptest.alchemypay.org/" },
|
|
1636
|
+
environment: "sandbox"
|
|
1637
|
+
})
|
|
1638
|
+
];
|
|
1639
|
+
const toUnpaid = [
|
|
1640
|
+
...toButton,
|
|
1641
|
+
() => ({ type: "PAGE_OPENED", orderId: ORDER_ID }),
|
|
1642
|
+
() => ({
|
|
1643
|
+
type: "PAGE_LEFT",
|
|
1644
|
+
orderId: ORDER_ID,
|
|
1645
|
+
at: 0
|
|
1646
|
+
}),
|
|
1647
|
+
unpaidRead,
|
|
1648
|
+
() => ({
|
|
1649
|
+
type: "PENDING_ELAPSED",
|
|
1650
|
+
at: ALCHEMYPAY_UNPAID_AFTER_MS
|
|
1651
|
+
}),
|
|
1652
|
+
unpaidRead
|
|
1653
|
+
];
|
|
1654
|
+
const steps = { estimate: toEstimate, button: toButton, unpaid: toUnpaid }[step];
|
|
1655
|
+
return steps.reduce(
|
|
1656
|
+
(state, event) => alchemyPayCheckoutReducer(state, event(state)),
|
|
1657
|
+
start
|
|
1658
|
+
);
|
|
1659
|
+
}
|
|
1660
|
+
|
|
1661
|
+
// src/preview/fixtures/transakCheckout.ts
|
|
1662
|
+
import {
|
|
1663
|
+
transakCheckoutReducer
|
|
1664
|
+
} from "@funkit/connect-core";
|
|
1665
|
+
var ORDER_ID2 = "tko_preview";
|
|
1666
|
+
function transakPreviewState(start, step) {
|
|
1667
|
+
const price = {
|
|
1668
|
+
total: start.checkout.amount,
|
|
1669
|
+
fees: [
|
|
1670
|
+
{ id: "provider_fee", labelFallback: "Transak fee", amount: "2.99" }
|
|
1671
|
+
],
|
|
1672
|
+
cryptoAmount: (Number(start.checkout.amount.amount) - 2.99).toFixed(2)
|
|
1673
|
+
};
|
|
1674
|
+
const responses = {
|
|
1675
|
+
kycConsent: {
|
|
1676
|
+
next: "consent",
|
|
1677
|
+
documents: [
|
|
1678
|
+
{
|
|
1679
|
+
id: "FUN_KYC_CONSENT",
|
|
1680
|
+
kind: "FUN_KYC_COLLECTION",
|
|
1681
|
+
stage: "KYC",
|
|
1682
|
+
version: "fun-kyc-consent-2026-09-11",
|
|
1683
|
+
contentDigest: "da31f2467deb996476b131116508ea2a00220765e658a79abc6d2bd44337504a",
|
|
1684
|
+
links: [
|
|
1685
|
+
{ label: "Fun.xyz Privacy Policy", url: "https://fun.xyz/privacy" }
|
|
1686
|
+
]
|
|
1687
|
+
}
|
|
1688
|
+
]
|
|
1689
|
+
},
|
|
1690
|
+
kyc: {
|
|
1691
|
+
next: "kyc",
|
|
1692
|
+
fields: [
|
|
1693
|
+
{
|
|
1694
|
+
id: "PHONE_NUMBER",
|
|
1695
|
+
type: "TEXT",
|
|
1696
|
+
labelFallback: "Phone number",
|
|
1697
|
+
required: true
|
|
1698
|
+
},
|
|
1699
|
+
{
|
|
1700
|
+
id: "QUESTIONNAIRE_RESPONSE:transak:purpose_of_usage",
|
|
1701
|
+
type: "SELECT",
|
|
1702
|
+
labelFallback: "What will you use crypto for?",
|
|
1703
|
+
required: true,
|
|
1704
|
+
options: [
|
|
1705
|
+
{ id: "BUYING_NFTS", labelFallback: "Buying NFTs" },
|
|
1706
|
+
{ id: "INVESTING", labelFallback: "Investing" }
|
|
1707
|
+
]
|
|
1708
|
+
}
|
|
1709
|
+
]
|
|
1710
|
+
},
|
|
1711
|
+
review: { next: "wait", retryAfterMs: 36e5 },
|
|
1712
|
+
priced: {
|
|
1713
|
+
next: "paymentSession",
|
|
1714
|
+
orderId: ORDER_ID2,
|
|
1715
|
+
price
|
|
1716
|
+
}
|
|
1717
|
+
};
|
|
1718
|
+
const answer = (response) => (state) => {
|
|
1719
|
+
const { call } = state;
|
|
1720
|
+
if (call === void 0) {
|
|
1721
|
+
throw new Error("preview: no request to answer");
|
|
1722
|
+
}
|
|
1723
|
+
return { type: "STEP", call, response };
|
|
1724
|
+
};
|
|
1725
|
+
const toPay = [
|
|
1726
|
+
answer(responses.priced),
|
|
1727
|
+
answer({
|
|
1728
|
+
next: "pay",
|
|
1729
|
+
orderId: ORDER_ID2,
|
|
1730
|
+
price,
|
|
1731
|
+
session: { sessionId: "sess_preview", environment: "STAGING" },
|
|
1732
|
+
expiresAt: "2099-01-01T00:00:00.000Z"
|
|
1733
|
+
})
|
|
1734
|
+
];
|
|
1735
|
+
const steps = {
|
|
1736
|
+
kycConsent: [answer(responses.kycConsent)],
|
|
1737
|
+
kyc: [answer(responses.kyc)],
|
|
1738
|
+
review: [answer(responses.review)],
|
|
1739
|
+
priced: [answer(responses.priced)],
|
|
1740
|
+
pay: toPay,
|
|
1741
|
+
unpaid: [
|
|
1742
|
+
...toPay,
|
|
1743
|
+
() => ({ type: "PAY_FAILED", orderId: ORDER_ID2, code: "PREVIEW" })
|
|
1744
|
+
]
|
|
1745
|
+
};
|
|
1746
|
+
return steps[step].reduce(
|
|
1747
|
+
(state, event) => transakCheckoutReducer(state, event(state)),
|
|
1748
|
+
step === "priced" ? { ...start, continued: false } : start
|
|
1749
|
+
);
|
|
1750
|
+
}
|
|
1751
|
+
|
|
1752
|
+
// src/preview/fixtures/stripeCheckout.ts
|
|
1753
|
+
import { stripeCheckoutReducer } from "@funkit/connect-core";
|
|
1754
|
+
function stripeAccountEmailPreviewState(start, error) {
|
|
1755
|
+
const { call } = start;
|
|
1756
|
+
if (call === void 0 || call.action === "order") {
|
|
1757
|
+
throw new Error("preview: no step request to answer");
|
|
1758
|
+
}
|
|
1759
|
+
const events = [
|
|
1760
|
+
{ type: "TAPPED" },
|
|
1761
|
+
{
|
|
1762
|
+
type: "STEP",
|
|
1763
|
+
call,
|
|
1764
|
+
response: {
|
|
1765
|
+
next: "accountEmail",
|
|
1766
|
+
field: {
|
|
1767
|
+
type: "TEXT",
|
|
1768
|
+
regex: "^[^@\\s]+@[^@\\s]+\\.[^@\\s]+$",
|
|
1769
|
+
maxLength: 254,
|
|
1770
|
+
labelFallback: "Email address"
|
|
1771
|
+
},
|
|
1772
|
+
error
|
|
1773
|
+
}
|
|
1774
|
+
}
|
|
1775
|
+
];
|
|
1776
|
+
return events.reduce(stripeCheckoutReducer, start);
|
|
1777
|
+
}
|
|
1778
|
+
|
|
1462
1779
|
// src/preview/fixtures/moonPayChallenge.ts
|
|
1463
1780
|
import {
|
|
1464
1781
|
moonPayCheckoutReducer
|
|
@@ -1722,6 +2039,17 @@ var pricedAt = (provider, max, min = "5") => (amount) => {
|
|
|
1722
2039
|
]
|
|
1723
2040
|
};
|
|
1724
2041
|
};
|
|
2042
|
+
var subsidizedAt = (provider, max) => (amount) => {
|
|
2043
|
+
const step = pricedAt(provider, max)(amount);
|
|
2044
|
+
if (step.state.kind === "QUOTE") {
|
|
2045
|
+
const { quote } = step.state;
|
|
2046
|
+
step.state.quote = {
|
|
2047
|
+
...quote,
|
|
2048
|
+
feeSubsidy: { currency: quote.fiat.currency, amount: quote.totalFee }
|
|
2049
|
+
};
|
|
2050
|
+
}
|
|
2051
|
+
return step;
|
|
2052
|
+
};
|
|
1725
2053
|
var payableOnTap = (step) => ({
|
|
1726
2054
|
...step,
|
|
1727
2055
|
transitions: [
|
|
@@ -1872,6 +2200,51 @@ var MOONPAY_HANDOFF = {
|
|
|
1872
2200
|
transitions: [],
|
|
1873
2201
|
handoff: { provider: "MOONPAY" }
|
|
1874
2202
|
};
|
|
2203
|
+
var ALCHEMYPAY_HANDOFF = {
|
|
2204
|
+
...pricedAt("ALCHEMYPAY", "5000")(AMOUNT2),
|
|
2205
|
+
transitions: [],
|
|
2206
|
+
handoff: { provider: "ALCHEMYPAY" }
|
|
2207
|
+
};
|
|
2208
|
+
var TRANSAK_HANDOFF = {
|
|
2209
|
+
...pricedAt("TRANSAK", "5000")(AMOUNT2),
|
|
2210
|
+
transitions: [],
|
|
2211
|
+
handoff: { provider: "TRANSAK" }
|
|
2212
|
+
};
|
|
2213
|
+
var COINBASE_HANDOFF = {
|
|
2214
|
+
...pricedAt("COINBASE", "5000")(AMOUNT2),
|
|
2215
|
+
transitions: [],
|
|
2216
|
+
handoff: { provider: "COINBASE" }
|
|
2217
|
+
};
|
|
2218
|
+
var STRIPE_HANDOFF = {
|
|
2219
|
+
...pricedAt("STRIPE", "5000")(AMOUNT2),
|
|
2220
|
+
transitions: [],
|
|
2221
|
+
handoff: { provider: "STRIPE" }
|
|
2222
|
+
};
|
|
2223
|
+
var stripeAccountEmail = (refused) => fiat(
|
|
2224
|
+
{
|
|
2225
|
+
handoffProviders: ["STRIPE"],
|
|
2226
|
+
stripeCheckout: (start) => stripeAccountEmailPreviewState(
|
|
2227
|
+
start,
|
|
2228
|
+
refused ? "No Link account uses this email." : null
|
|
2229
|
+
),
|
|
2230
|
+
...refused ? { stripeAccountEmail: "ada@privaterelay.appleid.com" } : {}
|
|
2231
|
+
},
|
|
2232
|
+
{ quote: STRIPE_HANDOFF }
|
|
2233
|
+
);
|
|
2234
|
+
var alchemyPay = (step) => fiat(
|
|
2235
|
+
{
|
|
2236
|
+
handoffProviders: ["ALCHEMYPAY"],
|
|
2237
|
+
alchemyPayCheckout: (start) => alchemyPayPreviewState(start, step)
|
|
2238
|
+
},
|
|
2239
|
+
{ quote: ALCHEMYPAY_HANDOFF }
|
|
2240
|
+
);
|
|
2241
|
+
var transak = (step) => fiat(
|
|
2242
|
+
{
|
|
2243
|
+
handoffProviders: ["TRANSAK"],
|
|
2244
|
+
transakCheckout: (start) => transakPreviewState(start, step)
|
|
2245
|
+
},
|
|
2246
|
+
{ quote: TRANSAK_HANDOFF }
|
|
2247
|
+
);
|
|
1875
2248
|
var MOONPAY_HOSTED_CHECK = {
|
|
1876
2249
|
state: {
|
|
1877
2250
|
kind: "KYC",
|
|
@@ -2125,6 +2498,22 @@ var DEFINITIONS = {
|
|
|
2125
2498
|
}
|
|
2126
2499
|
}
|
|
2127
2500
|
),
|
|
2501
|
+
// QA-11: each amount gets its own subsidized price, so an edit shows the last line held while it loads.
|
|
2502
|
+
"fiat.amount.subsidized.requote": fiat(
|
|
2503
|
+
{},
|
|
2504
|
+
{
|
|
2505
|
+
feeSubsidized: true,
|
|
2506
|
+
providers: [
|
|
2507
|
+
{
|
|
2508
|
+
provider: "TRANSAK",
|
|
2509
|
+
min: "5",
|
|
2510
|
+
max: "5000",
|
|
2511
|
+
visibility: "AUTH_GATED",
|
|
2512
|
+
answer: subsidizedAt("TRANSAK", "5000")
|
|
2513
|
+
}
|
|
2514
|
+
]
|
|
2515
|
+
}
|
|
2516
|
+
),
|
|
2128
2517
|
"fiat.amount.depositMatch.unsubsidized": fiat(
|
|
2129
2518
|
{ depositMatch: PREVIEW_MATCH },
|
|
2130
2519
|
{ quote: { ...PRICED, provider: "TRANSAK" } }
|
|
@@ -2342,6 +2731,17 @@ var DEFINITIONS = {
|
|
|
2342
2731
|
{ moonPayChallenge: (start) => moonPayChallengeState(start, "intro") },
|
|
2343
2732
|
{ quote: MOONPAY_HANDOFF }
|
|
2344
2733
|
),
|
|
2734
|
+
"fiat.alchemypay.estimate": alchemyPay("estimate"),
|
|
2735
|
+
"fiat.alchemypay.button": alchemyPay("button"),
|
|
2736
|
+
"fiat.alchemypay.unpaid": alchemyPay("unpaid"),
|
|
2737
|
+
"fiat.transak.kycConsent": transak("kycConsent"),
|
|
2738
|
+
"fiat.transak.kyc": transak("kyc"),
|
|
2739
|
+
"fiat.transak.review": transak("review"),
|
|
2740
|
+
"fiat.transak.priced": transak("priced"),
|
|
2741
|
+
"fiat.transak.pay": transak("pay"),
|
|
2742
|
+
"fiat.transak.unpaid": transak("unpaid"),
|
|
2743
|
+
"fiat.stripe.accountEmail": stripeAccountEmail(false),
|
|
2744
|
+
"fiat.stripe.accountEmailRefused": stripeAccountEmail(true),
|
|
2345
2745
|
"kyc.moonpay-check.again": fiat(
|
|
2346
2746
|
{ moonPayChallenge: (start) => moonPayChallengeState(start, "again") },
|
|
2347
2747
|
{ quote: MOONPAY_HANDOFF }
|
|
@@ -2569,11 +2969,14 @@ var DEFINITIONS = {
|
|
|
2569
2969
|
]
|
|
2570
2970
|
}
|
|
2571
2971
|
),
|
|
2572
|
-
// The card's bank
|
|
2972
|
+
// The card's bank declined it at Coinbase: Continue switches to Transak.
|
|
2573
2973
|
"fiat.softDeclined": fiat(
|
|
2574
2974
|
{
|
|
2575
2975
|
amount: AMOUNT2,
|
|
2576
|
-
quoteSurfaceFailure: { code: "ERROR_CODE_GUEST_CARD_SOFT_DECLINED" }
|
|
2976
|
+
quoteSurfaceFailure: { code: "ERROR_CODE_GUEST_CARD_SOFT_DECLINED" },
|
|
2977
|
+
// The seeded decline is legacy Coinbase's. With its `/fiat/next` gate on, the preview backend
|
|
2978
|
+
// can't answer that checkout, so it exits and the quote moves to Transak before the decline.
|
|
2979
|
+
handoffProviders: []
|
|
2577
2980
|
},
|
|
2578
2981
|
{
|
|
2579
2982
|
responses: { "/fiat/orders": processingOrderFor },
|
|
@@ -2585,6 +2988,13 @@ var DEFINITIONS = {
|
|
|
2585
2988
|
visibility: "AUTH_GATED",
|
|
2586
2989
|
// Payable on tap, as the declined sheet was the quote's own.
|
|
2587
2990
|
answer: (amount) => payableOnTap(pricedAt("COINBASE", "2000")(amount))
|
|
2991
|
+
},
|
|
2992
|
+
{
|
|
2993
|
+
provider: "TRANSAK",
|
|
2994
|
+
min: "5",
|
|
2995
|
+
max: "2000",
|
|
2996
|
+
visibility: "AUTH_GATED",
|
|
2997
|
+
answer: pricedAt("TRANSAK", "2000")
|
|
2588
2998
|
}
|
|
2589
2999
|
]
|
|
2590
3000
|
}
|
|
@@ -2613,6 +3023,19 @@ var DEFINITIONS = {
|
|
|
2613
3023
|
},
|
|
2614
3024
|
{ quote: MOONPAY_HANDOFF }
|
|
2615
3025
|
),
|
|
3026
|
+
// Coinbase's Google Pay page refusing at once: Google Wallet holds no verified card, or the phone's
|
|
3027
|
+
// WebView can't run Google Pay. The seeded failure stands in for Coinbase's own checkout.
|
|
3028
|
+
"fiat.googlePayNotSetUp": fiat(
|
|
3029
|
+
{
|
|
3030
|
+
amount: AMOUNT2,
|
|
3031
|
+
handoffPaymentFailure: {
|
|
3032
|
+
provider: "COINBASE",
|
|
3033
|
+
code: "ERROR_CODE_GUEST_GOOGLE_PAY_NOT_SUPPORTED"
|
|
3034
|
+
},
|
|
3035
|
+
handoffProviders: []
|
|
3036
|
+
},
|
|
3037
|
+
{ quote: COINBASE_HANDOFF }
|
|
3038
|
+
),
|
|
2616
3039
|
// Coinbase's own checkout runs here too, so the sheet offers it as the next partner. The failure is
|
|
2617
3040
|
// seeded before the routing table loads, so open it with `fiatProviders=MOONPAY,COINBASE` for the
|
|
2618
3041
|
// host's order; the preview backend can't answer Coinbase's checkout past Continue.
|
|
@@ -2651,6 +3074,11 @@ var DEFINITIONS = {
|
|
|
2651
3074
|
{ amount: AMOUNT2, failoverKept: "cardNotFound" },
|
|
2652
3075
|
{ quote: MOONPAY_HANDOFF }
|
|
2653
3076
|
),
|
|
3077
|
+
// Stripe sells a US resident on a Spanish IP only USD: the sheet asks to quote again in it.
|
|
3078
|
+
"fiat.regionCurrency": fiat(
|
|
3079
|
+
{ amount: AMOUNT2, regionCurrency: { provider: "STRIPE", currency: "USD" } },
|
|
3080
|
+
{ quote: { ...PRICED, provider: "TRANSAK" } }
|
|
3081
|
+
),
|
|
2654
3082
|
"fiat.prepaidDeclined": fiat(
|
|
2655
3083
|
{
|
|
2656
3084
|
amount: AMOUNT2,
|
|
@@ -2731,6 +3159,15 @@ var DEFINITIONS = {
|
|
|
2731
3159
|
},
|
|
2732
3160
|
backend: {}
|
|
2733
3161
|
},
|
|
3162
|
+
"deposit.wallet.loading": {
|
|
3163
|
+
seed: {
|
|
3164
|
+
deposit: {
|
|
3165
|
+
screen: "depositAmount",
|
|
3166
|
+
wallet: { ...WALLET, amount: "", connection: "loading" }
|
|
3167
|
+
}
|
|
3168
|
+
},
|
|
3169
|
+
backend: {}
|
|
3170
|
+
},
|
|
2734
3171
|
"deposit.wallet.connectFailed": {
|
|
2735
3172
|
seed: {
|
|
2736
3173
|
deposit: {
|
|
@@ -3301,6 +3738,7 @@ function unexpired(value) {
|
|
|
3301
3738
|
);
|
|
3302
3739
|
}
|
|
3303
3740
|
var QUOTE = /\/fiat\/(routing\/)?quote$/;
|
|
3741
|
+
var NEXT_STEP = /\/fiat\/next$/;
|
|
3304
3742
|
var NO_BODY = /* @__PURE__ */ new Set([101, 103, 204, 205, 304]);
|
|
3305
3743
|
var json2 = (body, status = 200) => new Response(NO_BODY.has(status) ? null : JSON.stringify(body), {
|
|
3306
3744
|
status,
|
|
@@ -3372,7 +3810,17 @@ function createReplayFetch(tape, passThrough, { wait = sleep, from = 0, onOffTap
|
|
|
3372
3810
|
};
|
|
3373
3811
|
};
|
|
3374
3812
|
let cursor = from - 1;
|
|
3375
|
-
const
|
|
3813
|
+
const stepFor = (index) => {
|
|
3814
|
+
const response = tape.responses[index];
|
|
3815
|
+
return NEXT_STEP.test(response?.endpoint ?? "") ? response?.provider : String(quotedFor[index]);
|
|
3816
|
+
};
|
|
3817
|
+
const answers = (index, endpoint, asked) => {
|
|
3818
|
+
if (tape.responses[index]?.endpoint !== endpoint || asked === void 0) {
|
|
3819
|
+
return tape.responses[index]?.endpoint === endpoint;
|
|
3820
|
+
}
|
|
3821
|
+
const provider = stepFor(index);
|
|
3822
|
+
return provider === void 0 || asked.includes(provider);
|
|
3823
|
+
};
|
|
3376
3824
|
const lastServed = (endpoint, asked) => Math.max(-1, ...[...served].filter((i) => answers(i, endpoint, asked)));
|
|
3377
3825
|
const next = (endpoint, asked, isRead) => {
|
|
3378
3826
|
const unserved = (_, index) => answers(index, endpoint, asked) && !served.has(index);
|
|
@@ -3401,7 +3849,7 @@ function createReplayFetch(tape, passThrough, { wait = sleep, from = 0, onOffTap
|
|
|
3401
3849
|
const endpoint = `${method} ${url.slice(apiBaseUrl.length).split("?")[0]}`;
|
|
3402
3850
|
const sent = init?.body === void 0 && input instanceof Request ? { ...init, body: await input.clone().text() } : init;
|
|
3403
3851
|
const isQuote = QUOTE.test(pathname);
|
|
3404
|
-
const asked = isQuote ? requestedProviders(sent) : void 0;
|
|
3852
|
+
const asked = isQuote || NEXT_STEP.test(pathname) ? requestedProviders(sent) : void 0;
|
|
3405
3853
|
const index = next(endpoint, asked, method === "GET" || isQuote);
|
|
3406
3854
|
const isTable = pathname.endsWith("/fiat/routing/table");
|
|
3407
3855
|
const recorded = tape.responses[index];
|