@funkit/connect-rn 12.0.0 → 12.1.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 +101 -0
- package/README.md +6 -0
- package/dist/{chunk-UDEGXDMU.js → chunk-AICRSY7K.js} +86 -68
- package/dist/chunk-AICRSY7K.js.map +7 -0
- package/dist/{chunk-BC6N7CI3.js → chunk-GOFKXSDM.js} +249 -153
- package/dist/chunk-GOFKXSDM.js.map +7 -0
- package/dist/{chunk-UR3BDCRK.js → chunk-Q74I4SOP.js} +2 -2
- package/dist/clients/lighter.js +1 -1
- package/dist/clients/nado.js +2 -2
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +44665 -41344
- package/dist/index.js.map +4 -4
- package/dist/preview.js +187 -13
- package/dist/preview.js.map +2 -2
- package/dist/src/fiat/common/FiatStepFailedScreen.d.ts +3 -1
- package/dist/src/fiat/common/FiatStepFailedScreen.d.ts.map +1 -1
- package/dist/src/fiat/common/stepDetails.d.ts +2 -0
- package/dist/src/fiat/common/stepDetails.d.ts.map +1 -1
- package/dist/src/fiat/contact/FiatContactScreen.d.ts +4 -1
- package/dist/src/fiat/contact/FiatContactScreen.d.ts.map +1 -1
- package/dist/src/fiat/form/FiatFormScreen.d.ts +4 -1
- package/dist/src/fiat/form/FiatFormScreen.d.ts.map +1 -1
- package/dist/src/fiat/kyc/analyticsKycSection.d.ts +21 -0
- package/dist/src/fiat/kyc/analyticsKycSection.d.ts.map +1 -0
- package/dist/src/fiat/kyc/formScreenProps.d.ts.map +1 -1
- package/dist/src/fiat/kyc/kycFieldValidators.d.ts.map +1 -1
- package/dist/src/fiat/kyc/kycForm.d.ts.map +1 -1
- package/dist/src/fiat/kyc/kycFormState.d.ts +8 -0
- package/dist/src/fiat/kyc/kycFormState.d.ts.map +1 -1
- package/dist/src/fiat/kyc/useKycFormFailure.d.ts.map +1 -1
- package/dist/src/fiat/kyc/useKycScreens.d.ts +4 -1
- package/dist/src/fiat/kyc/useKycScreens.d.ts.map +1 -1
- package/dist/src/fiat/otp/FiatOtpScreen.d.ts +4 -1
- package/dist/src/fiat/otp/FiatOtpScreen.d.ts.map +1 -1
- package/dist/src/fiat/otp/otpScreenProps.d.ts.map +1 -1
- package/dist/src/fiat/payment/failoverKind.d.ts +19 -1
- package/dist/src/fiat/payment/failoverKind.d.ts.map +1 -1
- package/dist/src/fiat/payment/failoverPrompt.d.ts +13 -3
- package/dist/src/fiat/payment/failoverPrompt.d.ts.map +1 -1
- package/dist/src/fiat/payment/nextSwitchProvider.d.ts +21 -0
- package/dist/src/fiat/payment/nextSwitchProvider.d.ts.map +1 -0
- package/dist/src/fiat/payment/paymentSurfaceFailure.d.ts +5 -0
- package/dist/src/fiat/payment/paymentSurfaceFailure.d.ts.map +1 -1
- package/dist/src/fiat/payment/prefetchSwitch.d.ts +30 -0
- package/dist/src/fiat/payment/prefetchSwitch.d.ts.map +1 -0
- package/dist/src/fiat/payment/useFailoverLanding.d.ts +41 -0
- package/dist/src/fiat/payment/useFailoverLanding.d.ts.map +1 -0
- package/dist/src/fiat/payment/usePaymentFailureAnswer.d.ts +38 -3
- package/dist/src/fiat/payment/usePaymentFailureAnswer.d.ts.map +1 -1
- package/dist/src/fiat/payment/useStepShown.d.ts +8 -0
- package/dist/src/fiat/payment/useStepShown.d.ts.map +1 -0
- package/dist/src/fiat/processing/FailoverPrompt.d.ts +10 -0
- package/dist/src/fiat/processing/FailoverPrompt.d.ts.map +1 -1
- package/dist/src/fiat/processing/ProcessingFailure.d.ts +5 -0
- package/dist/src/fiat/processing/ProcessingFailure.d.ts.map +1 -1
- package/dist/src/fiat/providerFlow.d.ts +45 -3
- package/dist/src/fiat/providerFlow.d.ts.map +1 -1
- package/dist/src/fiat/providerHandoff.d.ts +4 -0
- package/dist/src/fiat/providerHandoff.d.ts.map +1 -1
- package/dist/src/fiat/providers/checkout/observePrefetch.d.ts +27 -0
- package/dist/src/fiat/providers/checkout/observePrefetch.d.ts.map +1 -0
- package/dist/src/fiat/providers/checkout/slotOutlets.d.ts +2 -0
- package/dist/src/fiat/providers/checkout/slotOutlets.d.ts.map +1 -1
- package/dist/src/fiat/providers/coinbase/coinbaseCardRefusal.d.ts +6 -0
- package/dist/src/fiat/providers/coinbase/coinbaseCardRefusal.d.ts.map +1 -1
- package/dist/src/fiat/providers/coinbase/next/coinbaseCheckoutTerms.d.ts +5 -0
- package/dist/src/fiat/providers/coinbase/next/coinbaseCheckoutTerms.d.ts.map +1 -0
- package/dist/src/fiat/providers/coinbase/next/index.d.ts.map +1 -1
- package/dist/src/fiat/providers/coinbase/next/prefetch.d.ts +28 -0
- package/dist/src/fiat/providers/coinbase/next/prefetch.d.ts.map +1 -0
- package/dist/src/fiat/providers/coinbase/next/useCoinbaseCheckout.d.ts +1 -1
- package/dist/src/fiat/providers/coinbase/next/useCoinbaseCheckout.d.ts.map +1 -1
- package/dist/src/fiat/providers/moonpay/fullCheckout/Checkout.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 +6 -0
- package/dist/src/fiat/providers/moonpay/fullCheckout/moonPayCheckoutTerms.d.ts.map +1 -0
- package/dist/src/fiat/providers/moonpay/fullCheckout/prefetch.d.ts +28 -0
- package/dist/src/fiat/providers/moonpay/fullCheckout/prefetch.d.ts.map +1 -0
- package/dist/src/fiat/providers/moonpay/fullCheckout/useCheckoutCalls.d.ts +3 -1
- package/dist/src/fiat/providers/moonpay/fullCheckout/useCheckoutCalls.d.ts.map +1 -1
- package/dist/src/fiat/providers/moonpay/fullCheckout/useCheckoutModel.d.ts +2 -1
- package/dist/src/fiat/providers/moonpay/fullCheckout/useCheckoutModel.d.ts.map +1 -1
- package/dist/src/fiat/providers/moonpay/guestCheckout/Checkout.d.ts.map +1 -1
- package/dist/src/fiat/providers/moonpay/guestCheckout/checkoutScreens.d.ts.map +1 -1
- package/dist/src/fiat/providers/moonpay/guestCheckout/useGuestCheckoutModel.d.ts +3 -1
- package/dist/src/fiat/providers/moonpay/guestCheckout/useGuestCheckoutModel.d.ts.map +1 -1
- package/dist/src/fiat/providers/moonpay/index.d.ts +1 -1
- package/dist/src/fiat/providers/moonpay/index.d.ts.map +1 -1
- package/dist/src/fiat/providers/moonpay/sdk/Host.d.ts +7 -1
- package/dist/src/fiat/providers/moonpay/sdk/Host.d.ts.map +1 -1
- 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/prefetch.d.ts +28 -0
- package/dist/src/fiat/providers/stripe/next/prefetch.d.ts.map +1 -0
- package/dist/src/fiat/providers/stripe/next/stripeCheckoutTerms.d.ts +5 -0
- package/dist/src/fiat/providers/stripe/next/stripeCheckoutTerms.d.ts.map +1 -0
- package/dist/src/fiat/providers/stripe/next/useStripeCheckout.d.ts +2 -1
- package/dist/src/fiat/providers/stripe/next/useStripeCheckout.d.ts.map +1 -1
- package/dist/src/fiat/providers/stripe/next/useStripeCheckoutCalls.d.ts +3 -1
- package/dist/src/fiat/providers/stripe/next/useStripeCheckoutCalls.d.ts.map +1 -1
- package/dist/src/fiat/providers/stripe/next/useStripeIdentity.d.ts.map +1 -1
- package/dist/src/fiat/providers/stripe/next/useStripeKycForm.d.ts +26 -2
- package/dist/src/fiat/providers/stripe/next/useStripeKycForm.d.ts.map +1 -1
- package/dist/src/fiat/providers/stripe/next/useStripePayment.d.ts.map +1 -1
- package/dist/src/fiat/providers/stripe/stripeApplePaySelection.d.ts +8 -3
- package/dist/src/fiat/providers/stripe/stripeApplePaySelection.d.ts.map +1 -1
- package/dist/src/fiat/providers/stripe/stripeCheckout.d.ts +5 -1
- package/dist/src/fiat/providers/stripe/stripeCheckout.d.ts.map +1 -1
- package/dist/src/fiat/providers/stripe/stripeEuCountries.d.ts +0 -1
- package/dist/src/fiat/providers/stripe/stripeEuCountries.d.ts.map +1 -1
- package/dist/src/fiat/providers/stripe/stripeRoundPush.d.ts +2 -0
- package/dist/src/fiat/providers/stripe/stripeRoundPush.d.ts.map +1 -1
- package/dist/src/fiat/providers/stripe/useStripeKycPush.d.ts +5 -1
- package/dist/src/fiat/providers/stripe/useStripeKycPush.d.ts.map +1 -1
- package/dist/src/fiat/providers/stripe/useStripePayButton.d.ts +8 -4
- package/dist/src/fiat/providers/stripe/useStripePayButton.d.ts.map +1 -1
- package/dist/src/fiat/providers/stripe/useStripeState.d.ts +2 -1
- package/dist/src/fiat/providers/stripe/useStripeState.d.ts.map +1 -1
- package/dist/src/fiat/providers/useHostedPageLoad.d.ts +3 -1
- package/dist/src/fiat/providers/useHostedPageLoad.d.ts.map +1 -1
- package/dist/src/fiat/quote/depositCurrency.d.ts +17 -0
- package/dist/src/fiat/quote/depositCurrency.d.ts.map +1 -0
- package/dist/src/fiat/quote/quoteRouting.d.ts +30 -11
- package/dist/src/fiat/quote/quoteRouting.d.ts.map +1 -1
- package/dist/src/fiat/settlement/depositSettlement.d.ts +10 -2
- package/dist/src/fiat/settlement/depositSettlement.d.ts.map +1 -1
- package/dist/src/fiat/settlement/useDepositSettlement.d.ts +3 -1
- package/dist/src/fiat/settlement/useDepositSettlement.d.ts.map +1 -1
- package/dist/src/fiat/surface/useFailureAnnouncements.d.ts.map +1 -1
- package/dist/src/fiat/useProviderCheckout.d.ts +11 -1
- package/dist/src/fiat/useProviderCheckout.d.ts.map +1 -1
- package/dist/src/flow/DepositAmountStep.d.ts.map +1 -1
- package/dist/src/flow/DepositFlowContent.d.ts +9 -4
- package/dist/src/flow/DepositFlowContent.d.ts.map +1 -1
- package/dist/src/flow/Drawer.d.ts +7 -1
- package/dist/src/flow/Drawer.d.ts.map +1 -1
- package/dist/src/flow/FiatDepositAmountStep.d.ts.map +1 -1
- package/dist/src/flow/FlowSheet.d.ts.map +1 -1
- package/dist/src/flow/FunkitFlowProvider.d.ts.map +1 -1
- package/dist/src/flow/MoonPayAmountStep.d.ts +18 -0
- package/dist/src/flow/MoonPayAmountStep.d.ts.map +1 -0
- package/dist/src/flow/PaymentMethodPickerSheet.d.ts +28 -4
- package/dist/src/flow/PaymentMethodPickerSheet.d.ts.map +1 -1
- package/dist/src/flow/SwappedAmountStep.d.ts +34 -0
- package/dist/src/flow/SwappedAmountStep.d.ts.map +1 -0
- package/dist/src/flow/amountDebounce.d.ts +8 -0
- package/dist/src/flow/amountDebounce.d.ts.map +1 -0
- package/dist/src/flow/depositFlowConfig.d.ts +21 -1
- package/dist/src/flow/depositFlowConfig.d.ts.map +1 -1
- package/dist/src/flow/fiatStepScreens.d.ts.map +1 -1
- package/dist/src/flow/fiatSubmitRenderer.d.ts +15 -14
- package/dist/src/flow/fiatSubmitRenderer.d.ts.map +1 -1
- package/dist/src/flow/moonPayHostedMethodRows.d.ts +30 -0
- package/dist/src/flow/moonPayHostedMethodRows.d.ts.map +1 -0
- package/dist/src/flow/paymentPickerFoot.d.ts +7 -0
- package/dist/src/flow/paymentPickerFoot.d.ts.map +1 -0
- package/dist/src/flow/quickAmounts.d.ts.map +1 -1
- package/dist/src/flow/renderFiatFlowScreen.d.ts +14 -3
- package/dist/src/flow/renderFiatFlowScreen.d.ts.map +1 -1
- package/dist/src/flow/swappedDrawerPage.d.ts +52 -0
- package/dist/src/flow/swappedDrawerPage.d.ts.map +1 -0
- package/dist/src/flow/swappedLongtail.d.ts +11 -1
- package/dist/src/flow/swappedLongtail.d.ts.map +1 -1
- package/dist/src/flow/swappedMethodRows.d.ts +6 -2
- package/dist/src/flow/swappedMethodRows.d.ts.map +1 -1
- package/dist/src/flow/swappedPickExits.d.ts +42 -0
- package/dist/src/flow/swappedPickExits.d.ts.map +1 -0
- package/dist/src/flow/swappedPreload.d.ts +36 -0
- package/dist/src/flow/swappedPreload.d.ts.map +1 -0
- package/dist/src/flow/swappedSignedFop.d.ts +23 -0
- package/dist/src/flow/swappedSignedFop.d.ts.map +1 -0
- package/dist/src/flow/useMoonPayHostedMethods.d.ts +24 -0
- package/dist/src/flow/useMoonPayHostedMethods.d.ts.map +1 -0
- package/dist/src/flow/validateInitialAmount.d.ts.map +1 -1
- package/dist/src/hooks/track/ErrorShown.d.ts +5 -0
- package/dist/src/hooks/track/ErrorShown.d.ts.map +1 -0
- package/dist/src/hooks/track/events.d.ts +26 -2
- package/dist/src/hooks/track/events.d.ts.map +1 -1
- package/dist/src/hooks/track/quoteErrorShown.d.ts +5 -0
- package/dist/src/hooks/track/quoteErrorShown.d.ts.map +1 -0
- package/dist/src/hooks/track/useTrackErrorShown.d.ts +10 -0
- package/dist/src/hooks/track/useTrackErrorShown.d.ts.map +1 -0
- package/dist/src/hooks/useNestedSheet.d.ts +16 -1
- package/dist/src/hooks/useNestedSheet.d.ts.map +1 -1
- package/dist/src/icons/PaymentBrandIcons.d.ts +3 -0
- package/dist/src/icons/PaymentBrandIcons.d.ts.map +1 -1
- package/dist/src/moonpayHosted/MoonPayHostedCheckout.d.ts +15 -0
- package/dist/src/moonpayHosted/MoonPayHostedCheckout.d.ts.map +1 -0
- package/dist/src/moonpayHosted/checkout.d.ts +44 -0
- package/dist/src/moonpayHosted/checkout.d.ts.map +1 -0
- package/dist/src/preview/PreviewPaymentMethodPicker.d.ts +3 -1
- package/dist/src/preview/PreviewPaymentMethodPicker.d.ts.map +1 -1
- package/dist/src/preview/flowPreview.d.ts +28 -0
- package/dist/src/preview/flowPreview.d.ts.map +1 -1
- package/dist/src/preview/previewFetch.d.ts.map +1 -1
- package/dist/src/preview/scenarioCatalog.d.ts +66 -6
- package/dist/src/preview/scenarioCatalog.d.ts.map +1 -1
- package/dist/src/preview/scenarios.d.ts +0 -2
- package/dist/src/preview/scenarios.d.ts.map +1 -1
- package/dist/src/providers/FunkitProvider.d.ts.map +1 -1
- package/dist/src/providers/IdentityContext.d.ts +5 -0
- package/dist/src/providers/IdentityContext.d.ts.map +1 -1
- package/dist/src/screens/DepositAmountScreen.d.ts.map +1 -1
- package/dist/src/screens/depositMetrics.d.ts +1 -0
- package/dist/src/screens/depositMetrics.d.ts.map +1 -1
- package/dist/src/statsig/useFunWhnStatsigAnalytics.d.ts.map +1 -1
- package/dist/src/swapped/SwappedIframe.d.ts +1 -1
- package/dist/src/swapped/SwappedIframe.d.ts.map +1 -1
- package/dist/src/swapped/SwappedScreen.d.ts +15 -1
- package/dist/src/swapped/SwappedScreen.d.ts.map +1 -1
- package/dist/src/swapped/SwappedScreenShell.d.ts +23 -2
- package/dist/src/swapped/SwappedScreenShell.d.ts.map +1 -1
- package/dist/src/swapped/SwappedWebView.d.ts +14 -1
- package/dist/src/swapped/SwappedWebView.d.ts.map +1 -1
- package/dist/src/swapped/paymentNavigation.d.ts +0 -3
- package/dist/src/swapped/paymentNavigation.d.ts.map +1 -1
- package/dist/src/swapped/swappedV2Scripts.d.ts +66 -0
- package/dist/src/swapped/swappedV2Scripts.d.ts.map +1 -0
- package/dist/src/swapped/swappedV2Theme.d.ts +26 -0
- package/dist/src/swapped/swappedV2Theme.d.ts.map +1 -1
- package/dist/src/swapped/useInjectOnChange.d.ts +9 -0
- package/dist/src/swapped/useInjectOnChange.d.ts.map +1 -0
- package/dist/src/swapped/useSwappedEmbed.d.ts +7 -9
- package/dist/src/swapped/useSwappedEmbed.d.ts.map +1 -1
- package/dist/src/swapped/useSwappedPillAmounts.d.ts +11 -0
- package/dist/src/swapped/useSwappedPillAmounts.d.ts.map +1 -0
- package/dist/src/transfer/fops.d.ts +4 -2
- package/dist/src/transfer/fops.d.ts.map +1 -1
- package/dist/src/transfer/hooks/useFops.d.ts +4 -2
- package/dist/src/transfer/hooks/useFops.d.ts.map +1 -1
- package/dist/src/utils/isoCurrencyCode.d.ts +2 -0
- package/dist/src/utils/isoCurrencyCode.d.ts.map +1 -0
- package/dist/src/utils/withAlpha.d.ts +5 -0
- package/dist/src/utils/withAlpha.d.ts.map +1 -1
- package/package.json +5 -5
- package/dist/chunk-BC6N7CI3.js.map +0 -7
- package/dist/chunk-UDEGXDMU.js.map +0 -7
- package/dist/src/swapped/swappedV2Env.d.ts +0 -24
- package/dist/src/swapped/swappedV2Env.d.ts.map +0 -1
- /package/dist/{chunk-UR3BDCRK.js.map → chunk-Q74I4SOP.js.map} +0 -0
|
@@ -1,11 +1,13 @@
|
|
|
1
|
+
import type { ErrorShownCode } from '../../hooks/track/events';
|
|
1
2
|
import { type FiatErrorScreenLog } from './FiatErrorScreen';
|
|
2
3
|
/**
|
|
3
4
|
* A step that stopped before any payment, in the payment-failed screen's
|
|
4
5
|
* design: the ways on are the step again or another of the host's methods.
|
|
5
6
|
* The back disc leaves the flow, as the failure screen's close did.
|
|
6
7
|
*/
|
|
7
|
-
export declare function FiatStepFailedScreen({ log, retryDetail, isApplePay, isRetrying, onRetry, onTryOtherMethods, onClose, }: {
|
|
8
|
+
export declare function FiatStepFailedScreen({ log, errorCode, retryDetail, isApplePay, isRetrying, onRetry, onTryOtherMethods, onClose, }: {
|
|
8
9
|
log: FiatErrorScreenLog;
|
|
10
|
+
errorCode?: ErrorShownCode;
|
|
9
11
|
/** What Try again does, under its title. */
|
|
10
12
|
retryDetail: string;
|
|
11
13
|
isApplePay: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FiatStepFailedScreen.d.ts","sourceRoot":"","sources":["../../../../src/fiat/common/FiatStepFailedScreen.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FiatStepFailedScreen.d.ts","sourceRoot":"","sources":["../../../../src/fiat/common/FiatStepFailedScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AAI9D,OAAO,EAAE,KAAK,kBAAkB,EAAqB,MAAM,mBAAmB,CAAA;AAO9E;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,EACnC,GAAG,EACH,SAA2B,EAC3B,WAAW,EACX,UAAU,EACV,UAAU,EACV,OAAO,EACP,iBAAiB,EACjB,OAAO,GACR,EAAE;IACD,GAAG,EAAE,kBAAkB,CAAA;IACvB,SAAS,CAAC,EAAE,cAAc,CAAA;IAC1B,4CAA4C;IAC5C,WAAW,EAAE,MAAM,CAAA;IACnB,UAAU,EAAE,OAAO,CAAA;IACnB,UAAU,EAAE,OAAO,CAAA;IACnB,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,iBAAiB,EAAE,CAAC,MAAM,IAAI,CAAC,GAAG,SAAS,CAAA;IAC3C,OAAO,EAAE,MAAM,IAAI,CAAA;CACpB,+BA0CA"}
|
|
@@ -82,6 +82,8 @@ export declare function quoteFeeSummary(quote: FeeQuote | undefined, method: str
|
|
|
82
82
|
* no message — `code` is a copy key — so the category is what the copy keys off.
|
|
83
83
|
*/
|
|
84
84
|
export declare function roundErrorMessage(error: FailureReason | undefined, t: TFunction, provider?: string): string | undefined;
|
|
85
|
+
/** Stable analytics classification for the copy projected above. */
|
|
86
|
+
export declare function roundErrorCode(error: FailureReason | undefined): 'KYC_FORM_MISSING_FIELD' | 'KYC_FORM_REJECTED' | 'KYC_FORM_SUBMISSION_FAILED' | 'KYC_FORM_STALE' | undefined;
|
|
85
87
|
/**
|
|
86
88
|
* What a rejection leaves the user. Only the terminal variant carries a
|
|
87
89
|
* recovery, and support is the only one it names.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stepDetails.d.ts","sourceRoot":"","sources":["../../../../src/fiat/common/stepDetails.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,aAAa,EACb,QAAQ,EACR,YAAY,EACZ,KAAK,EACN,MAAM,sBAAsB,CAAA;AAC7B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAExC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAA;AAUnE,oGAAoG;AACpG,MAAM,MAAM,QAAQ,GAAG,IAAI,CAAC,KAAK,EAAE,UAAU,CAAC,GAAG;IAC/C,IAAI,EAAE;QAAE,M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B,CAAC,EAAE,SAAS,GACX,MAAM,GAAG,SAAS,CAOpB;AAED,oFAAoF;AACpF,wBAAgB,aAAa,CAAC,KAAK,EAAE,QAAQ,GAAG,SAAS,GAAG,OAAO,CAElE;AAED,iFAAiF;AACjF,wBAAgB,eAAe,CAC7B,KAAK,EAAE,QAAQ,GAAG,SAAS,EAC3B,MAAM,EAAE,MAAM,GAAG,SAAS,EAC1B,CAAC,EAAE,SAAS,EACZ,QAAQ,CAAC,EAAE,YAAY,EACvB,UAAU,CAAC,EAAE,UAAU,EACvB,QAAQ,CAAC,EAAE,WAAW,GACrB,MAAM,GAAG,SAAS,CAgCpB;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,CAC/B,KAAK,EAAE,aAAa,GAAG,SAAS,EAChC,CAAC,EAAE,SAAS,EACZ,QAAQ,CAAC,EAAE,MAAM,GAChB,MAAM,GAAG,SAAS,CA2CpB;AAED,oEAAoE;AACpE,wBAAgB,cAAc,CAC5B,KAAK,EAAE,aAAa,GAAG,SAAS,GAE9B,wBAAwB,GACxB,mBAAmB,GACnB,4BAA4B,GAC5B,gBAAgB,GAChB,SAAS,CAeZ;AAED;;;GAGG;AACH,wBAAgB,cAAc,CAC5B,IAAI,EAAE,QAAQ,EACd,CAAC,EAAE,SAAS,GACX,MAAM,GAAG,SAAS,CAQpB;AAED,oFAAoF;AACpF,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,aAAa,GAAG,OAAO,CAElE;AAED,sEAAsE;AACtE,wBAAgB,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,CAKjE"}
|
|
@@ -13,6 +13,9 @@ export interface FiatContactScreenProps {
|
|
|
13
13
|
defaultRegion?: string;
|
|
14
14
|
/** Why the last send was refused, when it was; Continue sends again. */
|
|
15
15
|
errorMessage?: string;
|
|
16
|
+
/** Stable classification for the rendered server refusal. */
|
|
17
|
+
errorCode?: 'OTP_EXPIRED' | 'OTP_RATE_LIMITED' | 'CONTACT_REJECTED' | 'CONTACT_SUBMIT_FAILED' | 'PHONE_REVERIFICATION_REQUIRED';
|
|
18
|
+
observeErrors?: boolean;
|
|
16
19
|
requiresContactChange?: boolean;
|
|
17
20
|
/**
|
|
18
21
|
* Replaces the channel heading on a round whose email names an account
|
|
@@ -40,6 +43,6 @@ interface FiatContactContentProps extends FiatContactScreenProps {
|
|
|
40
43
|
values: Record<string, string>;
|
|
41
44
|
onChangeDraft: (name: string, value: string) => void;
|
|
42
45
|
}
|
|
43
|
-
export declare function FiatContactContent({ fields, defaultRegion, errorMessage, requiresContactChange, heading: headingOverride, initialContacts, isSubmitting, defaultCountry, onChangeContact, onSubmit, onSubmitted, onClose, values, onChangeDraft, }: FiatContactContentProps): import("react").JSX.Element;
|
|
46
|
+
export declare function FiatContactContent({ fields, defaultRegion, errorMessage, errorCode, observeErrors, requiresContactChange, heading: headingOverride, initialContacts, isSubmitting, defaultCountry, onChangeContact, onSubmit, onSubmitted, onClose, values, onChangeDraft, }: FiatContactContentProps): import("react").JSX.Element;
|
|
44
47
|
export {};
|
|
45
48
|
//# sourceMappingURL=FiatContactScreen.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FiatContactScreen.d.ts","sourceRoot":"","sources":["../../../../src/fiat/contact/FiatContactScreen.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAkCpD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAA;
|
|
1
|
+
{"version":3,"file":"FiatContactScreen.d.ts","sourceRoot":"","sources":["../../../../src/fiat/contact/FiatContactScreen.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAkCpD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAA;AAS3D,MAAM,WAAW,sBAAsB;IACrC;;;OAGG;IACH,MAAM,EAAE,SAAS,mBAAmB,E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,6 @@
|
|
|
1
1
|
import type { FailureReason, FiatProvider, FormDescriptor, FormValues, JsonValue, Quote } from '@funkit/connect-core';
|
|
2
2
|
import { type KycSectionPage } from './formLayout';
|
|
3
|
+
import type { DisplayedError } from '../../hooks/track/useTrackErrorShown';
|
|
3
4
|
/** A field a provider refused by id, as MoonPay's `kyc` prompt names it. */
|
|
4
5
|
export interface FiatFieldError {
|
|
5
6
|
fieldId: string;
|
|
@@ -36,6 +37,8 @@ export interface FiatFormScreenProps {
|
|
|
36
37
|
refusal?: FailureReason;
|
|
37
38
|
/** Fields a provider refused by id; each stays marked, like `refusal`'s, until it changes. */
|
|
38
39
|
fieldErrors?: readonly FiatFieldError[];
|
|
40
|
+
errorCode?: DisplayedError['error_code'];
|
|
41
|
+
observeErrors?: boolean;
|
|
39
42
|
isSubmitting: boolean;
|
|
40
43
|
onChangeField: (fieldId: string, value: JsonValue) => void;
|
|
41
44
|
/** Several fields at once, as one write — see `formScreenProps`. */
|
|
@@ -57,6 +60,6 @@ interface FiatFormContentProps extends FiatFormScreenProps {
|
|
|
57
60
|
onStep: (step: number) => void;
|
|
58
61
|
}
|
|
59
62
|
/** One round of the form: what is typed, what is refused, and which page is up. */
|
|
60
|
-
export declare function FiatFormContent({ form, values, defaultCountry, carriedValues, answeredValues, errorMessage, refusal, fieldErrors, isSubmitting, onChangeField, onPrefill, onSubmit, onClose, pages, step, onStep, }: FiatFormContentProps): import("react").JSX.Element | null;
|
|
63
|
+
export declare function FiatFormContent({ form, values, defaultCountry, carriedValues, answeredValues, errorMessage, refusal, fieldErrors, errorCode, observeErrors, isSubmitting, onChangeField, onPrefill, onSubmit, onClose, pages, step, onStep, }: FiatFormContentProps): import("react").JSX.Element | null;
|
|
61
64
|
export {};
|
|
62
65
|
//# sourceMappingURL=FiatFormScreen.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FiatFormScreen.d.ts","sourceRoot":"","sources":["../../../../src/fiat/form/FiatFormScreen.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,aAAa,EACb,YAAY,EACZ,cAAc,EAEd,UAAU,EACV,SAAS,EACT,KAAK,EACN,MAAM,sBAAsB,CAAA;AA0B7B,OAAO,EAGL,KAAK,cAAc,EAapB,MAAM,cAAc,CAAA;
|
|
1
|
+
{"version":3,"file":"FiatFormScreen.d.ts","sourceRoot":"","sources":["../../../../src/fiat/form/FiatFormScreen.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,aAAa,EACb,YAAY,EACZ,cAAc,EAEd,UAAU,EACV,SAAS,EACT,KAAK,EACN,MAAM,sBAAsB,CAAA;AA0B7B,OAAO,EAGL,KAAK,cAAc,EAapB,MAAM,cAAc,CAAA;AA8BrB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sCAAsC,CAAA;AAU1E,4EAA4E;AAC5E,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,cAAc,CAAA;IACpB,gFAAgF;IAChF,KAAK,CAAC,EAAE,KAAK,CAAA;IACb,qEAAqE;IACrE,QAAQ,CAAC,EAAE,YAAY,CAAA;IACvB,MAAM,EAAE,UAAU,CAAA;IAClB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB;;;;;OAKG;IACH,aAAa,CAAC,EAAE,UAAU,CAAA;IAC1B;;;;OAIG;IACH,cAAc,CAAC,EAAE,UAAU,CAAA;IAC3B,wEAAwE;IACxE,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,mFAAmF;IACnF,OAAO,CAAC,EAAE,aAAa,CAAA;IACvB,8FAA8F;IAC9F,WAAW,CAAC,EAAE,SAAS,cAAc,EAAE,CAAA;IACvC,SAAS,CAAC,EAAE,cAAc,CAAC,YAAY,CAAC,CAAA;IACxC,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,YAAY,EAAE,OAAO,CAAA;IACrB,aAAa,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,KAAK,IAAI,CAAA;IAC1D,oEAAoE;IACpE,SAAS,CAAC,EAAE,CAAC,MAAM,EAAE,UAAU,KAAK,IAAI,CAAA;IACxC,QAAQ,EAAE,MAAM,IAAI,CAAA;IACpB,OAAO,EAAE,MAAM,IAAI,CAAA;CACpB;AAED;;;;;;GAMG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,mBAAmB,+BA+FxD;AAED,UAAU,oBAAqB,SAAQ,mBAAmB;IACxD,KAAK,EAAE,cAAc,EAAE,CAAA;IACvB,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;CAC/B;AAED,mFAAmF;AACnF,wBAAgB,eAAe,CAAC,EAC9B,IAAI,EACJ,MAAM,EACN,cAAc,EACd,aAAa,EACb,cAAc,EACd,YAAY,EACZ,OAAO,EACP,WAAW,EACX,SAAS,EACT,aAAqB,EACrB,YAAY,EACZ,aAAa,EACb,SAAS,EACT,QAAQ,EACR,OAAO,EACP,KAAK,EACL,IAAI,EACJ,MAAM,GACP,EAAE,oBAAoB,sCAymBtB"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { KycSection } from '../form/formLayout';
|
|
2
|
+
export declare const analyticsKycSection: {
|
|
3
|
+
readonly NAME: 'name';
|
|
4
|
+
readonly DOB: 'dob';
|
|
5
|
+
readonly NATIONALITY: 'nationality';
|
|
6
|
+
readonly BIRTHPLACE: 'birthplace';
|
|
7
|
+
readonly COUNTRY: 'country';
|
|
8
|
+
readonly ADDRESS: 'address';
|
|
9
|
+
readonly SSN: 'ssn';
|
|
10
|
+
readonly PHONE: 'phone';
|
|
11
|
+
readonly OCCUPATION: 'occupation';
|
|
12
|
+
readonly EMPLOYMENT: 'employment';
|
|
13
|
+
readonly PURPOSE: 'purpose';
|
|
14
|
+
readonly SOURCE_OF_WEALTH: 'source_of_wealth';
|
|
15
|
+
readonly INCOME: 'income';
|
|
16
|
+
readonly NET_WORTH: 'net_worth';
|
|
17
|
+
readonly ACTIVITY: 'activity';
|
|
18
|
+
readonly DETAILS: 'details';
|
|
19
|
+
};
|
|
20
|
+
export type AnalyticsKycSection = (typeof analyticsKycSection)[KycSection];
|
|
21
|
+
//# sourceMappingURL=analyticsKycSection.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"analyticsKycSection.d.ts","sourceRoot":"","sources":["../../../../src/fiat/kyc/analyticsKycSection.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAEpD,eAAO,MAAM,mBAAmB;mBACxB,MAAM;kBACP,KAAK;0BACG,aAAa;yBACd,YAAY;sBACf,SAAS;sBACT,SAAS;kBACb,KAAK;oBACH,OAAO;yBACF,YAAY;yBACZ,YAAY;sBACf,SAAS;+BACA,kBAAkB;qBAC5B,QAAQ;wBACL,WAAW;uBACZ,UAAU;sBACX,SAAS;CAC2B,CAAA;AAE/C,MAAM,MAAM,mBAAmB,GAAG,CAAC,OAAO,mBAAmB,CAAC,CAAC,UAAU,CAAC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"formScreenProps.d.ts","sourceRoot":"","sources":["../../../../src/fiat/kyc/formScreenProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAa,MAAM,sBAAsB,CAAA;AAE3E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAExC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAA;AAGjE;;;;;;;;;GASG;AACH,wBAAgB,eAAe,CAC7B,IAAI,EAAE,QAAQ,EACd,CAAC,EAAE,SAAS;AACZ,4EAA4E;AAC5E,cAAc,CAAC,EAAE,MAAM;AACvB,kFAAkF;AAClF,aAAa,CAAC,EAAE,UAAU,GACzB,IAAI,CAAC,mBAAmB,EAAE,SAAS,CAAC,GAAG,SAAS,
|
|
1
|
+
{"version":3,"file":"formScreenProps.d.ts","sourceRoot":"","sources":["../../../../src/fiat/kyc/formScreenProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAa,MAAM,sBAAsB,CAAA;AAE3E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAExC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAA;AAGjE;;;;;;;;;GASG;AACH,wBAAgB,eAAe,CAC7B,IAAI,EAAE,QAAQ,EACd,CAAC,EAAE,SAAS;AACZ,4EAA4E;AAC5E,cAAc,CAAC,EAAE,MAAM;AACvB,kFAAkF;AAClF,aAAa,CAAC,EAAE,UAAU,GACzB,IAAI,CAAC,mBAAmB,EAAE,SAAS,CAAC,GAAG,SAAS,CA0ClD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kycFieldValidators.d.ts","sourceRoot":"","sources":["../../../../src/fiat/kyc/kycFieldValidators.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;AACrD,OAAO,
|
|
1
|
+
{"version":3,"file":"kycFieldValidators.d.ts","sourceRoot":"","sources":["../../../../src/fiat/kyc/kycFieldValidators.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;AACrD,OAAO,EACL,KAAK,aAAa,EAInB,MAAM,gBAAgB,CAAA;AAEvB,wBAAgB,kBAAkB,CAChC,KAAK,EAAE,SAAS,EAChB,SAAS,CAAC,EAAE,CAAC,GAAG,CAAC;AACjB,6DAA6D;AAC7D,OAAO,CAAC,EAAE,SAAS;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,EAAE;qBAEb;QACpB,KAAK,EAAE,MAAM,GAAG,SAAS,CAAA;KAC1B,KAAK,aA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UAAU,CAC1B,OAAO,oBAAoB,CAC5B,CAAC,kBAAkB,CAAC,CAAA;IACrB,SAAS,EAAE,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC,WAAW,CAAC,CAAA;IAC1D,YAAY,EAAE,MAAM,IAAI,CAAA;IACxB,kBAAkB,EAAE,MAAM,IAAI,CAAA;IAC9B,YAAY,EAAE,OAAO,CAAA;CACtB,GACA,YAAY,CAsGd"}
|
|
@@ -60,6 +60,14 @@ export declare const MINIMUM_AGE_YEARS = 18;
|
|
|
60
60
|
* cannot fail someone on their birthday.
|
|
61
61
|
*/
|
|
62
62
|
export declare function underageIssue(value: string, today?: Date): 'DATE_UNDERAGE' | undefined;
|
|
63
|
+
/**
|
|
64
|
+
* Whether a phone number is one its country actually hands out: the right
|
|
65
|
+
* length and leading digits for its calling code.
|
|
66
|
+
*
|
|
67
|
+
* The server's pattern takes a `+` and two to fifteen digits, so `+436` passed
|
|
68
|
+
* and Continue sent it. A blank answer is left to the required rule.
|
|
69
|
+
*/
|
|
70
|
+
export declare function phoneNumberIssue(value: string): 'PATTERN' | undefined;
|
|
63
71
|
/** Keep every rule alive when its field's page is unmounted. */
|
|
64
72
|
export declare function validateKycForm(form: FormDescriptor, values: FormValues): Record<string, KycFieldIssue>;
|
|
65
73
|
//# sourceMappingURL=kycFormState.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kycFormState.d.ts","sourceRoot":"","sources":["../../../../src/fiat/kyc/kycFormState.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,cAAc,EACd,SAAS,EACT,cAAc,EACd,UAAU,EACV,SAAS,EACV,MAAM,sBAAsB,CAAA;
|
|
1
|
+
{"version":3,"file":"kycFormState.d.ts","sourceRoot":"","sources":["../../../../src/fiat/kyc/kycFormState.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,cAAc,EACd,SAAS,EACT,cAAc,EACd,UAAU,EACV,SAAS,EACV,MAAM,sBAAsB,CAAA;A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M,EAAE,UAAU,GACjB,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,CAY/B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useKycFormFailure.d.ts","sourceRoot":"","sources":["../../../../src/fiat/kyc/useKycFormFailure.ts"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,aAAa,EAClB,KAAK,QAAQ,EACb,KAAK,YAAY,EAElB,MAAM,sBAAsB,CAAA;
|
|
1
|
+
{"version":3,"file":"useKycFormFailure.d.ts","sourceRoot":"","sources":["../../../../src/fiat/kyc/useKycFormFailure.ts"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,aAAa,EAClB,KAAK,QAAQ,EACb,KAAK,YAAY,EAElB,MAAM,sBAAsB,CAAA;AAK7B,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,6BAA6B,CAAA;AAI5D,wBAAgB,iBAAiB,CAAC,EAChC,IAAI,EACJ,qBAAqB,EACrB,YAAY,EACZ,aAAa,EACb,YAAY,GACb,EAAE;IACD,IAAI,EAAE,QAAQ,CAAA;IACd,qBAAqB,EAAE,OAAO,CAAA;IAC9B,YAAY,EAAE,CACZ,QAAQ,EAAE,YAAY,EACtB,IAAI,EAAE,SAAS,EACf,IAAI,CAAC,EAAE,MAAM,KACV,OAAO,CAAA;IACZ,aAAa,EAAE,CAAC,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,GAAG,SAAS,KAAK,IAAI,CAAA;IAClE,YAAY,EAAE,MAAM,IAAI,CAAA;CACzB;;;;;;EA2EA"}
|
|
@@ -25,7 +25,10 @@ export declare function useKycScreens({ countRefusal, failOverInput, flow, retry
|
|
|
25
25
|
submit: (values: import("@funkit/connect-core").FormValues, deliver: () => void) => void;
|
|
26
26
|
attemptKey: string | undefined;
|
|
27
27
|
isPushing: boolean;
|
|
28
|
-
error:
|
|
28
|
+
error: {
|
|
29
|
+
message: string;
|
|
30
|
+
code: ReturnType<typeof import("../providers/stripe/stripeRoundPush").stripePushFailureCode>;
|
|
31
|
+
} | undefined;
|
|
29
32
|
};
|
|
30
33
|
carryKycValues: (values: import("@funkit/connect-core").FormValues) => void;
|
|
31
34
|
kycProviderFailure: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useKycScreens.d.ts","sourceRoot":"","sources":["../../../../src/fiat/kyc/useKycScreens.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,QAAQ,EACb,KAAK,YAAY,EAGlB,MAAM,sBAAsB,CAAA;AAG7B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAA;AAC5D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAA;AAO1E,8EAA8E;AAC9E,wBAAgB,aAAa,CAAC,EAC5B,YAAY,EACZ,aAAa,EACb,IAAI,EACJ,YAAY,EACZ,qBAAqB,EACrB,YAAY,GACb,EAAE;IACD,YAAY,EAAE,CACZ,QAAQ,EAAE,YAAY,EACtB,IAAI,EAAE,SAAS,EACf,IAAI,CAAC,EAAE,MAAM,KACV,OAAO,CAAA;IACZ,aAAa,EAAE,CAAC,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,GAAG,SAAS,KAAK,IAAI,CAAA;IAClE,IAAI,EAAE,QAAQ,CAAA;IACd,YAAY,EAAE,MAAM,IAAI,CAAA;IACxB,qBAAqB,EAAE,OAAO,CAAA;IAC9B,YAAY,EAAE,kBAAkB,GAAG,SAAS,CAAA;CAC7C
|
|
1
|
+
{"version":3,"file":"useKycScreens.d.ts","sourceRoot":"","sources":["../../../../src/fiat/kyc/useKycScreens.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,QAAQ,EACb,KAAK,YAAY,EAGlB,MAAM,sBAAsB,CAAA;AAG7B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAA;AAC5D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAA;AAO1E,8EAA8E;AAC9E,wBAAgB,aAAa,CAAC,EAC5B,YAAY,EACZ,aAAa,EACb,IAAI,EACJ,YAAY,EACZ,qBAAqB,EACrB,YAAY,GACb,EAAE;IACD,YAAY,EAAE,CACZ,QAAQ,EAAE,YAAY,EACtB,IAAI,EAAE,SAAS,EACf,IAAI,CAAC,EAAE,MAAM,KACV,OAAO,CAAA;IACZ,aAAa,EAAE,CAAC,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,GAAG,SAAS,KAAK,IAAI,CAAA;IAClE,IAAI,EAAE,QAAQ,CAAA;IACd,YAAY,EAAE,MAAM,IAAI,CAAA;IACxB,qBAAqB,EAAE,OAAO,CAAA;IAC9B,YAAY,EAAE,kBAAkB,GAAG,SAAS,CAAA;CAC7C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmEA;AAED,kEAAkE;AAClE,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,QAAQ,GAAG,MAAM,GAAG,SAAS,CAGpE"}
|
|
@@ -13,6 +13,9 @@ export interface FiatOtpScreenProps {
|
|
|
13
13
|
isSms: boolean;
|
|
14
14
|
/** The step's own error — a bad code re-enters this same state. */
|
|
15
15
|
errorMessage?: string;
|
|
16
|
+
/** Stable client/backend classification for the rendered notice. */
|
|
17
|
+
errorCode?: 'OTP_EXPIRED' | 'OTP_INCORRECT' | 'OTP_RATE_LIMITED' | 'OTP_UNAVAILABLE';
|
|
18
|
+
observeErrors?: boolean;
|
|
16
19
|
/**
|
|
17
20
|
* Sends a fresh code. The row is always drawn — every frame has it — but it
|
|
18
21
|
* is live only when the round carries a transition for it; absent, the link
|
|
@@ -45,6 +48,6 @@ export declare function FiatOtpScreen(props: FiatOtpScreenProps): import("react"
|
|
|
45
48
|
interface FiatOtpContentProps extends FiatOtpScreenProps {
|
|
46
49
|
code: string;
|
|
47
50
|
}
|
|
48
|
-
export declare function FiatOtpContent({ verified, length, destination, isSms, errorMessage, onResend, resendAvailableAtMs, resendServerTimed, attemptsRemaining, acceptsCode, isSubmitting, onChangeCode, onSubmit, onClose, code, }: FiatOtpContentProps): import("react").JSX.Element;
|
|
51
|
+
export declare function FiatOtpContent({ verified, length, destination, isSms, errorMessage, errorCode, observeErrors, onResend, resendAvailableAtMs, resendServerTimed, attemptsRemaining, acceptsCode, isSubmitting, onChangeCode, onSubmit, onClose, code, }: FiatOtpContentProps): import("react").JSX.Element;
|
|
49
52
|
export {};
|
|
50
53
|
//# sourceMappingURL=FiatOtpScreen.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FiatOtpScreen.d.ts","sourceRoot":"","sources":["../../../../src/fiat/otp/FiatOtpScreen.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FiatOtpScreen.d.ts","sourceRoot":"","sources":["../../../../src/fiat/otp/FiatOtpScreen.tsx"],"names":[],"mappings":"AAiCA,8EAA8E;AAC9E,eAAO,MAAM,eAAe,IAAI,CAAA;AAEhC,MAAM,WAAW,kBAAkB;IACjC,gEAAgE;IAChE,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,wDAAwD;IACxD,KAAK,EAAE,OAAO,CAAA;IACd,mEAAmE;IACnE,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,oEAAoE;IACpE,SAAS,CAAC,EACN,aAAa,GACb,eAAe,GACf,kBAAkB,GAClB,iBAAiB,CAAA;IACrB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAA;IACrC,uGAAuG;IACvG,mBAAmB,CAAC,EAAE,MAAM,CAAA;IAC5B,oFAAoF;IACpF,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,wEAAwE;IACxE,iBAAiB,CAAC,EAAE,MAAM,CAAA;IA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file":"otpScreenProps.d.ts","sourceRoot":"","sources":["../../../../src/fiat/otp/otpScreenProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,QAAQ,EAGT,MAAM,sBAAsB,CAAA;AAE7B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAExC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AACzD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAA;AAG7D,KAAK,QAAQ,GAAG,IAAI,CAAC,kBAAkB,EAAE,SAAS,CAAC,CAAA;AAEnD;;;;;;;;;;GAUG;AACH,wBAAgB,cAAc,CAC5B,IAAI,EAAE,QAAQ,EACd,CAAC,EAAE,SAAS;AACZ,yEAAyE;AACzE,QAAQ,EAAE,aAAa,GACtB,QAAQ,GAAG,SAAS,CActB;AAkGD;;;GAGG;AACH,eAAO,MAAM,SAAS,WAAW,CAAA"}
|
|
@@ -1,10 +1,15 @@
|
|
|
1
|
+
import type { FiatProvider } from '@funkit/connect-core';
|
|
1
2
|
import type { PaymentFailoverKind } from './providerFailover';
|
|
2
3
|
import { type PaymentFailureKind } from './paymentSurfaceFailure';
|
|
3
4
|
/**
|
|
4
5
|
* The fail state the failover sheet shows (Figma 5813-5533); `undefined`
|
|
5
6
|
* while the two-way payment-failed sheet answers instead.
|
|
6
7
|
*/
|
|
7
|
-
export type FailoverPromptKind = 'cardNotFound' | 'prepaidDeclined' | 'cardDeclined' | 'bankApproval' | 'insufficientFunds' | 'insufficientFundsAtMinimum'
|
|
8
|
+
export type FailoverPromptKind = 'cardNotFound' | 'prepaidDeclined' | 'cardDeclined' | 'bankApproval' | 'insufficientFunds' | 'insufficientFundsAtMinimum'
|
|
9
|
+
/** A card Coinbase or MoonPay declined, switched to another partner (product, 2026-11-04). */
|
|
10
|
+
| 'cardDeclinedSwitch'
|
|
11
|
+
/** A provider checkout's failure no other state names: try again, or another method (product, 2026-11-04). */
|
|
12
|
+
| 'fallback';
|
|
8
13
|
/**
|
|
9
14
|
* How long a closed Apple Pay sheet's card waits before it rises, so it
|
|
10
15
|
* follows the sheet out instead of racing it (product, 2026-11-02).
|
|
@@ -22,6 +27,19 @@ export declare function hostsPayButton(kind: FailoverPromptKind): boolean;
|
|
|
22
27
|
* buyer presses it (product, 2026-11-02).
|
|
23
28
|
*/
|
|
24
29
|
export declare function switchesProvider(kind: FailoverPromptKind): boolean;
|
|
30
|
+
/**
|
|
31
|
+
* `/fiat/next` only: the fail state a provider checkout's failure gets when `failoverKindFor`
|
|
32
|
+
* names none (product, 2026-11-04).
|
|
33
|
+
* - Stripe's declined order is its card declined: another card, a debit one (plan state 5a).
|
|
34
|
+
* - A card Coinbase or MoonPay declined switches partner (plan state 1). With no partner left,
|
|
35
|
+
* Coinbase pays again from the declined sheet (plan 1d). MoonPay's decline spent its quote, so
|
|
36
|
+
* its next checkout waits for a tap the sheet can't host: the fallback's Try again starts it.
|
|
37
|
+
*/
|
|
38
|
+
export declare function nextFailoverKindFor({ code, provider, hasNextPartner, }: {
|
|
39
|
+
code: string;
|
|
40
|
+
provider: FiatProvider | undefined;
|
|
41
|
+
hasNextPartner: boolean;
|
|
42
|
+
}): FailoverPromptKind | undefined;
|
|
25
43
|
/**
|
|
26
44
|
* Which fail state answers a failure, if the design gives it one (ENG-7225).
|
|
27
45
|
* - A closed sheet and a prepaid decline offer a switch on Continue
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"failoverKind.d.ts","sourceRoot":"","sources":["../../../../src/fiat/payment/failoverKind.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"failoverKind.d.ts","sourceRoot":"","sources":["../../../../src/fiat/payment/failoverKind.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAIxD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAA;AAC7D,OAAO,EAEL,KAAK,kBAAkB,EAExB,MAAM,yBAAyB,CAAA;AAEhC;;;GAGG;AACH,MAAM,MAAM,kBAAkB,GAC1B,cAAc,GACd,iBAAiB,GACjB,cAAc,GACd,cAAc,GACd,mBAAmB,GACnB,4BAA4B;AAC9B,8FAA8F;GAC5F,oBAAoB;AACtB,8GAA8G;GAC5G,UAAU,CAAA;AAEd;;;GAGG;AACH,eAAO,MAAM,0BAA0B,MAAM,CAAA;AAQ7C;;;;GAIG;AACH,wBAAgB,sBAAsB,CACpC,MAAM,EAAE,kBAAkB,GAAG,SAAS,GACrC,mBAAmB,CAKrB;AAgBD,wBAAgB,cAAc,CAAC,IAAI,EAAE,kBAAkB,GAAG,OAAO,CAEhE;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,kBAAkB,GAAG,OAAO,CAMlE;AAuBD;;;;;;;GAOG;AACH,wBAAgB,mBAAmB,CAAC,EAClC,IAAI,EACJ,QAAQ,EACR,cAAc,GACf,EAAE;IACD,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,YAAY,GAAG,SAAS,CAAA;IAClC,cAAc,EAAE,OAAO,CAAA;CACxB,GAAG,kBAAkB,GAAG,SAAS,CAWjC;AAED;;;;;;;;GAQG;AACH,wBAAgB,eAAe,CAC7B,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,kBAAkB,EACxB,cAAc,UAAQ,GACrB,kBAAkB,GAAG,SAAS,CAiBhC;AAED,mFAAmF;AACnF,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAEvD"}
|
|
@@ -7,14 +7,24 @@ import type { PaymentFailureAnswer } from './usePaymentFailureAnswer';
|
|
|
7
7
|
* with none, the verified hand-back while a failover's payment waits, or
|
|
8
8
|
* the daily limit's sheet.
|
|
9
9
|
*/
|
|
10
|
-
export declare function failoverPrompt(answer: Pick<PaymentFailureAnswer, 'failover' | 'dismiss' | 'requote' | 'recoverOnClose' | 'dismissOnClose'>, t: TFunction, verified?: {
|
|
10
|
+
export declare function failoverPrompt(answer: Pick<PaymentFailureAnswer, 'failover' | 'dismiss' | 'requote' | 'recoverOnClose' | 'dismissOnClose' | 'retry' | 'changeMethod' | 'canChangeMethod' | 'close'>, t: TFunction, verified?: {
|
|
11
11
|
onPay: () => void;
|
|
12
12
|
onClose: () => void;
|
|
13
|
-
}, limit?: FailoverPromptProps
|
|
13
|
+
}, limit?: FailoverPromptProps, landed?: {
|
|
14
|
+
onClose: () => void;
|
|
15
|
+
}, switching?: {
|
|
16
|
+
from: SwitchPromptKind;
|
|
17
|
+
onClose: () => void;
|
|
18
|
+
}): FailoverPromptProps | undefined;
|
|
19
|
+
/** The fail states whose Continue switches partners. */
|
|
20
|
+
export type SwitchPromptKind = Extract<FailoverPromptKind, 'cardNotFound' | 'prepaidDeclined' | 'cardDeclinedSwitch'>;
|
|
21
|
+
export declare function isSwitchPrompt(kind: FailoverPromptKind | undefined): kind is SwitchPromptKind;
|
|
14
22
|
/**
|
|
15
23
|
* What the verified hand-back does to the card sheet as the hold comes and
|
|
16
24
|
* goes. A hold that lifts under it (a poll moved the round on) leaves it
|
|
17
25
|
* nothing to show, and an empty card can't be closed.
|
|
18
26
|
*/
|
|
19
|
-
export declare function verifiedSheetMove(held: boolean, showing: string | null, failover: FailoverPromptKind | undefined
|
|
27
|
+
export declare function verifiedSheetMove(held: boolean, showing: string | null, failover: FailoverPromptKind | undefined,
|
|
28
|
+
/** The sheet a failover's Continue kept up has its own copy: no hold lifting empties it. */
|
|
29
|
+
switching?: boolean): 'open' | 'close' | undefined;
|
|
20
30
|
//# sourceMappingURL=failoverPrompt.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"failoverPrompt.d.ts","sourceRoot":"","sources":["../../../../src/fiat/payment/failoverPrompt.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAExC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,8B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AI,EAAE,kBAAkB,GAAG,SAAS,GACnC,IAAI,IAAI,gBAAgB,CAM1B;AAkDD;;;;GAIG;AACH,wBAAgB,iBAAiB,CAC/B,IAAI,EAAE,OAAO,EACb,OAAO,EAAE,MAAM,GAAG,IAAI,EACtB,QAAQ,EAAE,kBAAkB,GAAG,SAAS;AACxC,4FAA4F;AAC5F,SAAS,UAAQ,GAChB,MAAM,GAAG,OAAO,GAAG,SAAS,CAO9B"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { FiatProvider, ProviderSelection } from '@funkit/connect-core';
|
|
2
|
+
/**
|
|
3
|
+
* The partner a failover's switch would move the deposit to: the first other provider in the
|
|
4
|
+
* route whose own checkout this client runs, and that nothing shut out. `undefined` when none is
|
|
5
|
+
* left, so a sheet can offer no switch it cannot make.
|
|
6
|
+
*/
|
|
7
|
+
export declare function nextSwitchProvider({ failedProvider, order, selection, handoffs, }: {
|
|
8
|
+
failedProvider: FiatProvider;
|
|
9
|
+
/** The route's providers in order: the host's allow-list, else the routing table's. */
|
|
10
|
+
order: readonly FiatProvider[];
|
|
11
|
+
selection: ProviderSelection;
|
|
12
|
+
/** The providers whose own checkout this client runs. */
|
|
13
|
+
handoffs: readonly FiatProvider[];
|
|
14
|
+
}): FiatProvider | undefined;
|
|
15
|
+
/**
|
|
16
|
+
* The route a switch picks from: the host's allow-list, else the routing table's order for the
|
|
17
|
+
* amount. Greptile on #8803: an allowed provider the table does not serve at this amount cannot
|
|
18
|
+
* take the deposit, so the allow-list keeps only those the table lists, once the table is known.
|
|
19
|
+
*/
|
|
20
|
+
export declare function switchRoute(hostProviders: readonly FiatProvider[] | undefined, tableProviders: readonly FiatProvider[] | undefined): readonly FiatProvider[];
|
|
21
|
+
//# sourceMappingURL=nextSwitchProvider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nextSwitchProvider.d.ts","sourceRoot":"","sources":["../../../../src/fiat/payment/nextSwitchProvider.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAA;AAE3E;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,EACjC,cAAc,EACd,KAAK,EACL,SAAS,EACT,QAAQ,GACT,EAAE;IACD,cAAc,EAAE,YAAY,CAAA;IAC5B,uFAAuF;IACvF,KAAK,EAAE,SAAS,YAAY,EAAE,CAAA;IAC9B,SAAS,EAAE,iBAAiB,CAAA;IAC5B,yDAAyD;IACzD,QAAQ,EAAE,SAAS,YAAY,EAAE,CAAA;CAClC,GAAG,YAAY,GAAG,SAAS,CAO3B;AAED;;;;GAIG;AACH,wBAAgB,WAAW,CACzB,aAAa,EAAE,SAAS,YAAY,EAAE,GAAG,SAAS,EAClD,cAAc,EAAE,SAAS,YAAY,EAAE,GAAG,SAAS,GAClD,SAAS,YAAY,EAAE,CAQzB"}
|
|
@@ -36,6 +36,11 @@ export declare function endedOrderCode(order: Pick<FiatStepResponse, 'state'>):
|
|
|
36
36
|
export declare function paymentFailureKind(code: string): PaymentFailureKind;
|
|
37
37
|
/** A cancel the failover still answers: the host hears a cancel, the buyer sees the drawer. */
|
|
38
38
|
export declare function failsOverOnCancel(code: string): boolean;
|
|
39
|
+
/**
|
|
40
|
+
* A refusal made before the buyer was asked for anything: retrying that
|
|
41
|
+
* provider only reloads the same refusal, so a closed drawer moves on from it.
|
|
42
|
+
*/
|
|
43
|
+
export declare function failsOverUnasked(code: string): boolean;
|
|
39
44
|
/**
|
|
40
45
|
* What the amount screen does once a payment surface gave up.
|
|
41
46
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"paymentSurfaceFailure.d.ts","sourceRoot":"","sources":["../../../../src/fiat/payment/paymentSurfaceFailure.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,QAAQ,EACR,gBAAgB,EAChB,KAAK,EACL,OAAO,EACR,MAAM,sBAAsB,CAAA;
|
|
1
|
+
{"version":3,"file":"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S,CAQrB;AAED;;;GAGG;AACH,wBAAgB,cAAc,CAC5B,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,WAAW,CAAC,GAAG,SAAS,EAC/C,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,WAAW,CAAC,GAAG,SAAS,EAC3C,GAAG,GAAE,MAAmB,GACvB,OAAO,CAQT"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { FiatDestinationAsset, FiatProvider, FiatRouteContext, ProviderSelection } from '@funkit/connect-core';
|
|
2
|
+
import type { HandoffQuote } from '../providerFlow';
|
|
3
|
+
/**
|
|
4
|
+
* Asks ahead what a failover's switch sheet would start, as the sheet is announced: the next
|
|
5
|
+
* provider's own `prefetch` sends its checkout's first step, for that checkout to take on Continue
|
|
6
|
+
* (product, 2026-11-09). Nothing switches until the buyer taps Continue.
|
|
7
|
+
* - The next provider is the first other one this client runs in the route: the host's
|
|
8
|
+
* allow-list, or the routing table's order for the amount. No quote is fetched for it.
|
|
9
|
+
* - What is asked, and what it costs, is each provider's own (its `prefetch.ts`).
|
|
10
|
+
*/
|
|
11
|
+
export declare function prefetchSwitch({ failedProvider, order, selection, handoffs, failedQuote, geo, depositAddress, destinationAsset, context, buyer, }: {
|
|
12
|
+
failedProvider: FiatProvider;
|
|
13
|
+
/** The route's providers in order: the host's allow-list, else the routing table's. */
|
|
14
|
+
order: readonly FiatProvider[];
|
|
15
|
+
selection: ProviderSelection;
|
|
16
|
+
/** The providers whose own checkout this client runs. */
|
|
17
|
+
handoffs: readonly FiatProvider[];
|
|
18
|
+
/** The failed checkout's quote: the next checkout is priced on the same terms. */
|
|
19
|
+
failedQuote: HandoffQuote | undefined;
|
|
20
|
+
geo: {
|
|
21
|
+
alpha2: string;
|
|
22
|
+
region?: string;
|
|
23
|
+
} | undefined;
|
|
24
|
+
depositAddress: string | undefined;
|
|
25
|
+
destinationAsset: FiatDestinationAsset | undefined;
|
|
26
|
+
context: FiatRouteContext;
|
|
27
|
+
/** `prefetchBuyerKey`: the answer is handed only to this buyer. */
|
|
28
|
+
buyer: string | undefined;
|
|
29
|
+
}): void;
|
|
30
|
+
//# sourceMappingURL=prefetchSwitch.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prefetchSwitch.d.ts","sourceRoot":"","sources":["../../../../src/fiat/payment/prefetchSwitch.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,oBAAoB,EACpB,YAAY,EACZ,gBAAgB,EAChB,iBAAiB,EAClB,MAAM,sBAAsB,CAAA;AAG7B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAInD;;;;;;;GAOG;AACH,wBAAgB,cAAc,CAAC,EAC7B,cAAc,EACd,KAAK,EACL,SAAS,EACT,QAAQ,EACR,WAAW,EACX,GAAG,EACH,cAAc,EACd,gBAAgB,EAChB,OAAO,EACP,KAAK,GACN,EAAE;IACD,cAAc,EAAE,YAAY,CAAA;IAC5B,uFAAuF;IACvF,KAAK,EAAE,SAAS,YAAY,EAAE,CAAA;IAC9B,SAAS,EAAE,iBAAiB,CAAA;IAC5B,yDAAyD;IACzD,QAAQ,EAAE,SAAS,YAAY,EAAE,CAAA;IACjC,kFAAkF;IAClF,WAAW,EAAE,YAAY,GAAG,SAAS,CAAA;IACrC,GAAG,EAAE;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,SAAS,CAAA;IACpD,cAAc,EAAE,MAAM,GAAG,SAAS,CAAA;IAClC,gBAAgB,EAAE,oBAAoB,GAAG,SAAS,CAAA;IAClD,OAAO,EAAE,gBAAgB,CAAA;IACzB,mEAAmE;IACnE,KAAK,EAAE,MAAM,GAAG,SAAS,CAAA;CAC1B,GAAG,IAAI,CAiCP"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import type { FiatProvider, UseFiatQuoteResult } from '@funkit/connect-core';
|
|
2
|
+
/**
|
|
3
|
+
* After Continue switches providers, the sheet hosts the next provider's pay button once its
|
|
4
|
+
* checkout reaches the payment step. The buyer never returns to the bare amount screen
|
|
5
|
+
* (product, 2026-11-06).
|
|
6
|
+
* - Once per run, and never for the provider the buyer left.
|
|
7
|
+
* - `land` answers whether the sheet should open now; the caller opens it.
|
|
8
|
+
* - `verified`: the sheet says "Verified" only after the buyer saw a sign-in, code or KYC step
|
|
9
|
+
* (product, 2026-11-09). With none, the sheet they tapped Continue on closes, and the amount
|
|
10
|
+
* screen offers the provider's Apple Pay.
|
|
11
|
+
* - `pageShown`: the next provider drew a page of its own (consent, KYC). The sheet the buyer
|
|
12
|
+
* tapped Continue on would sit over it, so it goes; "Verified" follows that page.
|
|
13
|
+
* - `refused`: the next provider's checkout refused the buyer or the amount and stopped. The
|
|
14
|
+
* sheet kept up for it goes, so the buyer sees the refusal on the amount screen.
|
|
15
|
+
* - `actionInPlace`: the checkout's action must stay on the amount screen (MoonPay's Apple Pay),
|
|
16
|
+
* so no sheet opens over it to host it, and the one kept up for it goes.
|
|
17
|
+
*/
|
|
18
|
+
export declare function useFailoverLanding(continuedFrom: FiatProvider | undefined): {
|
|
19
|
+
landed: boolean;
|
|
20
|
+
verified: boolean;
|
|
21
|
+
land: (provider: FiatProvider, sheetFree: boolean, stepsShown: boolean) => boolean;
|
|
22
|
+
pageShown: boolean;
|
|
23
|
+
showPage: () => void;
|
|
24
|
+
refused: boolean;
|
|
25
|
+
refuse: (provider: FiatProvider | undefined) => void;
|
|
26
|
+
actionInPlace: boolean;
|
|
27
|
+
placeAction: (inPlace: boolean) => void;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* The run's route came back to the provider the buyer's Continue left: the fetched routing table
|
|
31
|
+
* routes there, once no other provider took the deposit, at once or after the next one refused.
|
|
32
|
+
* A sheet that promised a switch has nothing to wait on. While the table refetches, or with only a
|
|
33
|
+
* quote's held handoff, the left one's handoff is the old one.
|
|
34
|
+
*/
|
|
35
|
+
export declare function routedBackToLeft(quote: Pick<UseFiatQuoteResult, 'handoff' | 'isRouting' | 'tableProvider'>, continuedFrom: FiatProvider | undefined): boolean;
|
|
36
|
+
/**
|
|
37
|
+
* The run's quote settled somewhere no provider checkout runs: a legacy route, or no route.
|
|
38
|
+
* A sheet a failover's Continue kept up has nothing there to wait on.
|
|
39
|
+
*/
|
|
40
|
+
export declare function quoteSettledWithoutHandoff(quote: Pick<UseFiatQuoteResult, 'handoff' | 'isQuoting' | 'isQuoteFresh' | 'quoteError' | 'noRoute'>): boolean;
|
|
41
|
+
//# sourceMappingURL=useFailoverLanding.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useFailoverLanding.d.ts","sourceRoot":"","sources":["../../../../src/fiat/payment/useFailoverLanding.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AAM5E;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,kBAAkB,CAAC,aAAa,EAAE,YAAY,GAAG,SAAS;;;qBAO5D,YAAY,aACX,OAAO,cACN,OAAO,KAClB,OAAO;;;;uBA8BgB,YAAY,GAAG,SAAS;;2BAUpB,OAAO;EAgBtC;AAED;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAC9B,KAAK,EAAE,IAAI,CAAC,kBAAkB,EAAE,SAAS,GAAG,WAAW,GAAG,eAAe,CAAC,EAC1E,aAAa,EAAE,YAAY,GAAG,SAAS,GACtC,OAAO,CAOT;AAED;;;GAGG;AACH,wBAAgB,0BAA0B,CACxC,KAAK,EAAE,IAAI,CACT,kBAAkB,EAClB,SAAS,GAAG,WAAW,GAAG,cAAc,GAAG,YAAY,GAAG,SAAS,CACpE,GACA,OAAO,CAST"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { type FiatProvider, type FiatQuoteMinimum } from '@funkit/connect-core';
|
|
2
2
|
import type { DepositCardScreen } from '../processing/DepositCardSheet';
|
|
3
3
|
import type { NestedSheet } from '../../hooks/useNestedSheet';
|
|
4
|
+
import { type SwitchPromptKind } from './failoverPrompt';
|
|
4
5
|
import { type FailoverPromptKind } from './failoverKind';
|
|
5
6
|
import type { PaymentFailoverKind } from './providerFailover';
|
|
6
7
|
import type { PaymentReroute } from './paymentReroute';
|
|
@@ -35,8 +36,36 @@ export interface PaymentFailureAnswerOptions {
|
|
|
35
36
|
onRetry: (from: PaymentFailureSource) => void;
|
|
36
37
|
/** The payment-failed sheet swiped away with no row picked; `onRetry` when absent. */
|
|
37
38
|
onClosed?: (from: PaymentFailureSource) => void;
|
|
38
|
-
/**
|
|
39
|
-
|
|
39
|
+
/**
|
|
40
|
+
* "Try with a different provider": a new quote that puts the provider that failed last, or shuts it out.
|
|
41
|
+
* `tapped`: the buyer picked it on the sheet, so the next provider starts with no second tap.
|
|
42
|
+
* `kept`: the sheet stays up over the switch, showing this prompt's copy.
|
|
43
|
+
*/
|
|
44
|
+
onReroute: (failedProvider: FiatProvider, payment: PaymentFailoverKind, options?: {
|
|
45
|
+
tapped: boolean;
|
|
46
|
+
kept?: SwitchPromptKind;
|
|
47
|
+
}) => void;
|
|
48
|
+
/**
|
|
49
|
+
* A Continue that switches partners keeps the sheet up while the next provider starts.
|
|
50
|
+
* Absent or false: the sheet closes first, as on legacy.
|
|
51
|
+
*/
|
|
52
|
+
keepsSheetOnSwitch?: boolean;
|
|
53
|
+
/**
|
|
54
|
+
* A failure no fail state names opens the fallback sheet (try again, or another method) instead of
|
|
55
|
+
* the payment-failed sheet, which asked the buyer to pick a provider (product, 2026-11-04).
|
|
56
|
+
*/
|
|
57
|
+
fallsBack?: boolean;
|
|
58
|
+
/**
|
|
59
|
+
* A payment failure already moved this checkout to another partner. With `fallsBack`, a second
|
|
60
|
+
* switch is not offered: the fallback sheet answers instead (product, 2026-11-04). With MoonPay out
|
|
61
|
+
* there are two partners, so a second switch only returns to the one that failed, and repeated
|
|
62
|
+
* declines on one card make its bank likelier to block it.
|
|
63
|
+
*/
|
|
64
|
+
switchSpent?: boolean;
|
|
65
|
+
/** With `fallsBack`: whether a partner other than `failed` could take the deposit. */
|
|
66
|
+
hasNextPartner?: (failed: FiatProvider) => boolean;
|
|
67
|
+
/** A fail state whose Continue switches partners is up: what it would start can be asked ahead. */
|
|
68
|
+
onSwitchPrompted?: (failedProvider: FiatProvider) => void;
|
|
40
69
|
/** A fresh quote on the same terms: no provider known to leave out. */
|
|
41
70
|
onRequote: () => void;
|
|
42
71
|
/**
|
|
@@ -109,6 +138,10 @@ export interface PaymentFailureAnswer {
|
|
|
109
138
|
dismissOnClose: () => void;
|
|
110
139
|
/** Closes the sheet onto the amount, then opens the host's method picker. */
|
|
111
140
|
changeMethod: () => void;
|
|
141
|
+
/** The host gave the amount screen a method picker for `changeMethod` to open. */
|
|
142
|
+
canChangeMethod: boolean;
|
|
143
|
+
/** Closes the sheet with no row picked, as a swipe does. */
|
|
144
|
+
close: () => void;
|
|
112
145
|
/**
|
|
113
146
|
* The card holds the amount screen's action: from a fail state until the
|
|
114
147
|
* card closes, so a page paid from it lives on under the wait.
|
|
@@ -121,6 +154,8 @@ export interface PaymentFailureAnswer {
|
|
|
121
154
|
* - A fail state the design draws (`failoverKindFor`) opens the failover
|
|
122
155
|
* sheet instead, with its one way on.
|
|
123
156
|
* - A closed sheet the failover answers (`failsOverOnCancel`) is one of them.
|
|
157
|
+
* - A refusal made before the buyer was asked (`failsOverUnasked`) is not
|
|
158
|
+
* retried by a closed sheet: closing it drops that provider instead.
|
|
124
159
|
* - A fail state waits on no reroute probe: it switches or pays again at
|
|
125
160
|
* once, and stays up over the new run (ENG-7225). A closed sheet's card
|
|
126
161
|
* switches only on Continue; closed, it recovers as a plain cancel.
|
|
@@ -130,5 +165,5 @@ export interface PaymentFailureAnswer {
|
|
|
130
165
|
* reroute probe is keyed on the failure, and the failure is cleared by the
|
|
131
166
|
* recovery the buyer picks.
|
|
132
167
|
*/
|
|
133
|
-
export declare function usePaymentFailureAnswer({ sheet, attempts, provider, reroute, isRerouteSettled, skipped, onCancelled, onRetry, onClosed, onReroute, onRequote, onChangeMethod, loweredAmount, onLowerAmount, onRecover, held, onHold, }: PaymentFailureAnswerOptions): PaymentFailureAnswer;
|
|
168
|
+
export declare function usePaymentFailureAnswer({ sheet, attempts, provider, reroute, isRerouteSettled, skipped, onCancelled, onRetry, onClosed, onReroute, onRequote, onChangeMethod, loweredAmount, onLowerAmount, onRecover, held, onHold, keepsSheetOnSwitch, fallsBack, switchSpent, hasNextPartner, onSwitchPrompted, }: PaymentFailureAnswerOptions): PaymentFailureAnswer;
|
|
134
169
|
//# sourceMappingURL=usePaymentFailureAnswer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"usePaymentFailureAnswer.d.ts","sourceRoot":"","sources":["../../../../src/fiat/payment/usePaymentFailureAnswer.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,YAAY,EACjB,KAAK,gBAAgB,EAGtB,MAAM,sBAAsB,CAAA;AAG7B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAA;AACvE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AAE7D,OAAO,EAEL,KAAK,kBAAkB,
|
|
1
|
+
{"version":3,"file":"usePaymentFailureAnswer.d.ts","sourceRoot":"","sources":["../../../../src/fiat/payment/usePaymentFailureAnswer.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,YAAY,EACjB,KAAK,gBAAgB,EAGtB,MAAM,sBAAsB,CAAA;AAG7B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAA;AACvE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AAE7D,OAAO,EAAE,KAAK,gBAAgB,EAAkB,MAAM,kBAAkB,CAAA;AACxE,OAAO,EAEL,KAAK,kBAAkB,EAMxB,MAAM,gBAAgB,CAAA;AACvB,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAA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,CAAA;IACjB,4EAA4E;IAC5E,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,yCAAyC;IACzC,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,mFAAmF;IACnF,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,0FAA0F;IAC1F,cAAc,EAAE,MAAM,IAAI,CAAA;IAC1B,cAAc,EAAE,MAAM,IAAI,CAAA;IAC1B,6EAA6E;IAC7E,YAAY,EAAE,MAAM,IAAI,CAAA;IACxB,kFAAkF;IAClF,eAAe,EAAE,OAAO,CAAA;IACxB,4DAA4D;IAC5D,KAAK,EAAE,MAAM,IAAI,CAAA;IACjB;;;OAGG;IACH,WAAW,EAAE,OAAO,CAAA;CACrB;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,uBAAuB,CAAC,EACtC,KAAK,EACL,QAAQ,EACR,QAAQ,EACR,OAAO,EACP,gBAAgB,EAChB,OAAO,EACP,WAAW,EACX,OAAO,EACP,QAAkB,EAClB,SAAS,EACT,SAAS,EACT,cAAc,EACd,aAAa,EACb,aAAa,EACb,SAAS,EACT,IAAI,EACJ,MAAM,EACN,kBAAkB,EAClB,SAAS,EACT,WAAW,EACX,cAAc,EACd,gBAAgB,GACjB,EAAE,2BAA2B,GAAG,oBAAoB,CA2YpD"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Whether a provider checkout has shown the buyer one of its steps (a sign-in, a code or KYC),
|
|
3
|
+
* from `showing`, the step on screen now. Once true, it stays true for the checkout's life.
|
|
4
|
+
* - Answers what `slot.payable()` reports, so a failover never says "Verified" to a buyer who
|
|
5
|
+
* verified nothing.
|
|
6
|
+
*/
|
|
7
|
+
export declare function useStepShown(showing: boolean): boolean;
|
|
8
|
+
//# sourceMappingURL=useStepShown.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useStepShown.d.ts","sourceRoot":"","sources":["../../../../src/fiat/payment/useStepShown.ts"],"names":[],"mappings":"AAEA;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,OAAO,EAAE,OAAO,GAAG,OAAO,CAMtD"}
|