@funkit/connect-rn 9.7.0 → 10.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +39 -0
- package/dist/{chunk-4P4VMXII.js → chunk-264ZLQVH.js} +2 -2
- package/dist/{chunk-B7O3LJWY.js → chunk-K2VB5PT5.js} +81 -17
- package/dist/chunk-K2VB5PT5.js.map +7 -0
- package/dist/{chunk-M53J24WI.js → chunk-R3RNNOBY.js} +6 -6
- package/dist/chunk-R3RNNOBY.js.map +7 -0
- package/dist/clients/lighter.js +1 -1
- package/dist/clients/nado.js +2 -2
- package/dist/index.d.ts +3 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2093 -1317
- package/dist/index.js.map +4 -4
- package/dist/preview.js +105 -50
- package/dist/preview.js.map +2 -2
- package/dist/src/components/v2/FeeLine.d.ts +2 -2
- package/dist/src/components/v2/FeeLine.d.ts.map +1 -1
- package/dist/src/fiat/common/FiatActionButton.d.ts +3 -0
- package/dist/src/fiat/common/FiatActionButton.d.ts.map +1 -0
- package/dist/src/fiat/common/FiatBackButton.d.ts.map +1 -0
- package/dist/src/fiat/common/FiatErrorNotice.d.ts.map +1 -0
- package/dist/src/fiat/common/FiatErrorScreen.d.ts.map +1 -0
- package/dist/src/fiat/{FiatFailureBanner.d.ts → common/FiatFailureBanner.d.ts} +1 -1
- package/dist/src/fiat/common/FiatFailureBanner.d.ts.map +1 -0
- package/dist/src/fiat/{FiatOptionsScreen.d.ts → common/FiatOptionsScreen.d.ts} +1 -1
- package/dist/src/fiat/common/FiatOptionsScreen.d.ts.map +1 -0
- package/dist/src/fiat/common/FiatProviderTerms.d.ts.map +1 -0
- package/dist/src/fiat/common/FiatRegionUnsupportedScreen.d.ts.map +1 -0
- package/dist/src/fiat/common/FiatStatusScreen.d.ts.map +1 -0
- package/dist/src/fiat/common/FiatStepFailedScreen.d.ts.map +1 -0
- package/dist/src/fiat/common/FiatSubmissionIndicator.d.ts.map +1 -0
- package/dist/src/fiat/common/FiatTermsNotice.d.ts.map +1 -0
- package/dist/src/fiat/common/FiatUnavailableScreen.d.ts.map +1 -0
- package/dist/src/fiat/common/FiatUnsupportedStep.d.ts.map +1 -0
- package/dist/src/fiat/common/ctaLabel.d.ts.map +1 -0
- package/dist/src/fiat/{stepDetails.d.ts → common/stepDetails.d.ts} +15 -3
- package/dist/src/fiat/common/stepDetails.d.ts.map +1 -0
- package/dist/src/fiat/contact/FiatContactScreen.d.ts.map +1 -0
- package/dist/src/fiat/contact/FiatPhoneField.d.ts.map +1 -0
- package/dist/src/fiat/{contactRound.d.ts → contact/contactRound.d.ts} +1 -1
- package/dist/src/fiat/contact/contactRound.d.ts.map +1 -0
- package/dist/src/fiat/contact/knownContacts.d.ts.map +1 -0
- package/dist/src/fiat/contact/phoneCountries.d.ts.map +1 -0
- package/dist/src/fiat/contact/phoneDraft.d.ts.map +1 -0
- package/dist/src/fiat/contact/sessionContact.d.ts.map +1 -0
- package/dist/src/fiat/contact/useContactAutoSubmit.d.ts.map +1 -0
- package/dist/src/fiat/contact/useContactEligibility.d.ts.map +1 -0
- package/dist/src/fiat/{useFlowContact.d.ts → contact/useFlowContact.d.ts} +1 -1
- package/dist/src/fiat/contact/useFlowContact.d.ts.map +1 -0
- package/dist/src/fiat/country/FiatCountryIndexRail.d.ts.map +1 -0
- package/dist/src/fiat/{FiatCountrySheet.d.ts → country/FiatCountrySheet.d.ts} +5 -3
- package/dist/src/fiat/country/FiatCountrySheet.d.ts.map +1 -0
- package/dist/src/fiat/country/countryListEntries.d.ts.map +1 -0
- package/dist/src/fiat/{countrySections.d.ts → country/countrySections.d.ts} +1 -1
- package/dist/src/fiat/country/countrySections.d.ts.map +1 -0
- package/dist/src/fiat/country/postalCodeCountries.d.ts.map +1 -0
- package/dist/src/fiat/country/subdivisions.d.ts.map +1 -0
- package/dist/src/fiat/{useCountrySheet.d.ts → country/useCountrySheet.d.ts} +1 -1
- package/dist/src/fiat/country/useCountrySheet.d.ts.map +1 -0
- package/dist/src/fiat/{PaymentDisclosureNotice.d.ts → entry/PaymentDisclosureNotice.d.ts} +1 -1
- package/dist/src/fiat/entry/PaymentDisclosureNotice.d.ts.map +1 -0
- package/dist/src/fiat/{depositMatch.d.ts → entry/depositMatch.d.ts} +3 -3
- package/dist/src/fiat/entry/depositMatch.d.ts.map +1 -0
- package/dist/src/fiat/entry/disclosureFooter.d.ts.map +1 -0
- package/dist/src/fiat/{disclosureFooterContent.d.ts → entry/disclosureFooterContent.d.ts} +2 -2
- package/dist/src/fiat/entry/disclosureFooterContent.d.ts.map +1 -0
- package/dist/src/fiat/{useCaptureHold.d.ts → entry/useCaptureHold.d.ts} +3 -3
- package/dist/src/fiat/entry/useCaptureHold.d.ts.map +1 -0
- package/dist/src/fiat/{useEntryQuote.d.ts → entry/useEntryQuote.d.ts} +4 -3
- package/dist/src/fiat/entry/useEntryQuote.d.ts.map +1 -0
- package/dist/src/fiat/{useEntrySubmit.d.ts → entry/useEntrySubmit.d.ts} +6 -6
- package/dist/src/fiat/entry/useEntrySubmit.d.ts.map +1 -0
- package/dist/src/fiat/entry/useFiatCheckoutPreparation.d.ts.map +1 -0
- package/dist/src/fiat/{useFiatDirectDelivery.d.ts → entry/useFiatDirectDelivery.d.ts} +7 -1
- package/dist/src/fiat/entry/useFiatDirectDelivery.d.ts.map +1 -0
- package/dist/src/fiat/form/FiatBirthDateField.d.ts.map +1 -0
- package/dist/src/fiat/form/FiatChoiceField.d.ts.map +1 -0
- package/dist/src/fiat/form/FiatChoiceList.d.ts.map +1 -0
- package/dist/src/fiat/form/FiatDatePickerDock.d.ts.map +1 -0
- package/dist/src/fiat/form/FiatFormAdvance.d.ts.map +1 -0
- package/dist/src/fiat/{FiatFormFieldRow.d.ts → form/FiatFormFieldRow.d.ts} +2 -2
- package/dist/src/fiat/form/FiatFormFieldRow.d.ts.map +1 -0
- package/dist/src/fiat/form/FiatFormHeading.d.ts.map +1 -0
- package/dist/src/fiat/form/FiatFormScreen.d.ts.map +1 -0
- package/dist/src/fiat/form/FiatSsnField.d.ts.map +1 -0
- package/dist/src/fiat/form/calendarDate.d.ts.map +1 -0
- package/dist/src/fiat/form/fieldAutofill.d.ts.map +1 -0
- package/dist/src/fiat/{fieldLimits.d.ts → form/fieldLimits.d.ts} +1 -1
- package/dist/src/fiat/form/fieldLimits.d.ts.map +1 -0
- package/dist/src/fiat/form/formLayout.d.ts.map +1 -0
- package/dist/src/fiat/form/keyboardReturnKey.d.ts.map +1 -0
- package/dist/src/fiat/form/nativeDatePicker.d.ts.map +1 -0
- package/dist/src/fiat/form/refusedFields.d.ts.map +1 -0
- package/dist/src/fiat/{shownFieldIssues.d.ts → form/shownFieldIssues.d.ts} +1 -1
- package/dist/src/fiat/form/shownFieldIssues.d.ts.map +1 -0
- package/dist/src/fiat/form/ssnLength.d.ts.map +1 -0
- package/dist/src/fiat/form/useDatePickerDock.d.ts.map +1 -0
- package/dist/src/fiat/{useStandingRefusals.d.ts → form/useStandingRefusals.d.ts} +1 -1
- package/dist/src/fiat/form/useStandingRefusals.d.ts.map +1 -0
- package/dist/src/fiat/kyc/FiatDocumentCaptureStep.d.ts.map +1 -0
- package/dist/src/fiat/{FiatIdentityStep.d.ts → kyc/FiatIdentityStep.d.ts} +2 -2
- package/dist/src/fiat/kyc/FiatIdentityStep.d.ts.map +1 -0
- package/dist/src/fiat/{FiatKycFieldControl.d.ts → kyc/FiatKycFieldControl.d.ts} +2 -2
- package/dist/src/fiat/kyc/FiatKycFieldControl.d.ts.map +1 -0
- package/dist/src/fiat/kyc/FiatKycIntroLayout.d.ts.map +1 -0
- package/dist/src/fiat/kyc/FiatKycIntroScreen.d.ts.map +1 -0
- package/dist/src/fiat/{FiatKycNotice.d.ts → kyc/FiatKycNotice.d.ts} +1 -1
- package/dist/src/fiat/kyc/FiatKycNotice.d.ts.map +1 -0
- package/dist/src/fiat/kyc/FiatKycOptionRow.d.ts.map +1 -0
- package/dist/src/fiat/{FiatKycOptionsScreen.d.ts → kyc/FiatKycOptionsScreen.d.ts} +2 -2
- package/dist/src/fiat/kyc/FiatKycOptionsScreen.d.ts.map +1 -0
- package/dist/src/fiat/kyc/FiatKycOutcomeScreen.d.ts.map +1 -0
- package/dist/src/fiat/{FiatKycPhoneField.d.ts → kyc/FiatKycPhoneField.d.ts} +1 -1
- package/dist/src/fiat/kyc/FiatKycPhoneField.d.ts.map +1 -0
- package/dist/src/fiat/kyc/FiatSharingConsentNotice.d.ts.map +1 -0
- package/dist/src/fiat/kyc/KycGlassBackdrop.d.ts.map +1 -0
- package/dist/src/fiat/kyc/formScreenProps.d.ts +1 -1
- package/dist/src/fiat/kyc/formScreenProps.d.ts.map +1 -1
- package/dist/src/fiat/kyc/formValidationError.d.ts +1 -1
- package/dist/src/fiat/kyc/formValidationError.d.ts.map +1 -1
- package/dist/src/fiat/kyc/kycFailover.d.ts +1 -1
- package/dist/src/fiat/kyc/kycFailover.d.ts.map +1 -1
- package/dist/src/fiat/kyc/kycFormAttempt.d.ts +1 -1
- package/dist/src/fiat/kyc/kycFormAttempt.d.ts.map +1 -1
- package/dist/src/fiat/kyc/kycFormTheme.d.ts.map +1 -0
- package/dist/src/fiat/kyc/kycOptionRows.d.ts +1 -1
- package/dist/src/fiat/kyc/kycOptionRows.d.ts.map +1 -1
- package/dist/src/fiat/kyc/kycRoutes.d.ts +1 -1
- package/dist/src/fiat/kyc/kycRoutes.d.ts.map +1 -1
- package/dist/src/fiat/kyc/kycSupport.d.ts.map +1 -0
- package/dist/src/fiat/kyc/kycUnavailableAlert.d.ts.map +1 -0
- package/dist/src/fiat/kyc/kycVerdict.d.ts +3 -3
- package/dist/src/fiat/kyc/kycVerdict.d.ts.map +1 -1
- package/dist/src/fiat/kyc/legalLinks.d.ts.map +1 -0
- package/dist/src/fiat/kyc/sectionDetail.d.ts +1 -1
- package/dist/src/fiat/kyc/sectionDetail.d.ts.map +1 -1
- package/dist/src/fiat/{useIdentityAssertion.d.ts → kyc/useIdentityAssertion.d.ts} +2 -2
- package/dist/src/fiat/kyc/useIdentityAssertion.d.ts.map +1 -0
- package/dist/src/fiat/kyc/useKycCompletion.d.ts +1 -1
- package/dist/src/fiat/kyc/useKycCompletion.d.ts.map +1 -1
- package/dist/src/fiat/kyc/useKycFormFailure.d.ts +1 -1
- package/dist/src/fiat/kyc/useKycFormFailure.d.ts.map +1 -1
- package/dist/src/fiat/kyc/useKycScreens.d.ts +1 -1
- package/dist/src/fiat/kyc/useKycScreens.d.ts.map +1 -1
- package/dist/src/fiat/kyc/useSharingConsent.d.ts.map +1 -0
- package/dist/src/fiat/otp/FiatOtpScreen.d.ts.map +1 -0
- package/dist/src/fiat/{otpScreenProps.d.ts → otp/otpScreenProps.d.ts} +1 -1
- package/dist/src/fiat/otp/otpScreenProps.d.ts.map +1 -0
- package/dist/src/fiat/{sessionAuth.d.ts → otp/sessionAuth.d.ts} +1 -1
- package/dist/src/fiat/otp/sessionAuth.d.ts.map +1 -0
- package/dist/src/fiat/{useAuthHandoff.d.ts → otp/useAuthHandoff.d.ts} +1 -1
- package/dist/src/fiat/otp/useAuthHandoff.d.ts.map +1 -0
- package/dist/src/fiat/otp/useOtpAutoSubmit.d.ts.map +1 -0
- package/dist/src/fiat/otp/useOtpReceipt.d.ts.map +1 -0
- package/dist/src/fiat/otp/useResendCooldown.d.ts.map +1 -0
- package/dist/src/fiat/{applePayAttempt.d.ts → payment/applePayAttempt.d.ts} +2 -2
- package/dist/src/fiat/payment/applePayAttempt.d.ts.map +1 -0
- package/dist/src/fiat/payment/methodName.d.ts.map +1 -0
- package/dist/src/fiat/payment/paymentAttempts.d.ts.map +1 -0
- package/dist/src/fiat/{paymentReroute.d.ts → payment/paymentReroute.d.ts} +14 -14
- package/dist/src/fiat/payment/paymentReroute.d.ts.map +1 -0
- package/dist/src/fiat/payment/paymentSurfaceFailure.d.ts.map +1 -0
- package/dist/src/fiat/payment/providerFailover.d.ts.map +1 -0
- package/dist/src/fiat/{usePaymentAttempts.d.ts → payment/usePaymentAttempts.d.ts} +1 -1
- package/dist/src/fiat/payment/usePaymentAttempts.d.ts.map +1 -0
- package/dist/src/fiat/{usePaymentFailureAnswer.d.ts → payment/usePaymentFailureAnswer.d.ts} +2 -2
- package/dist/src/fiat/payment/usePaymentFailureAnswer.d.ts.map +1 -0
- package/dist/src/fiat/{useRerouteProbe.d.ts → payment/useRerouteProbe.d.ts} +6 -7
- package/dist/src/fiat/payment/useRerouteProbe.d.ts.map +1 -0
- package/dist/src/fiat/processing/ProcessingFailure.d.ts +1 -1
- package/dist/src/fiat/processing/ProcessingFailure.d.ts.map +1 -1
- package/dist/src/fiat/processing/depositProcessing.d.ts.map +1 -0
- package/dist/src/fiat/processing/useProcessingPhase.d.ts.map +1 -0
- package/dist/src/fiat/providers/adapter.d.ts +1 -1
- package/dist/src/fiat/providers/adapter.d.ts.map +1 -1
- package/dist/src/fiat/providers/kycIntro.d.ts +1 -1
- package/dist/src/fiat/providers/kycIntro.d.ts.map +1 -1
- package/dist/src/fiat/providers/moonpay/moonpayFeeQuote.d.ts +1 -1
- package/dist/src/fiat/providers/moonpay/moonpayFeeQuote.d.ts.map +1 -1
- package/dist/src/fiat/providers/stripe/stripeApplePayReady.d.ts +1 -1
- package/dist/src/fiat/providers/stripe/stripeApplePayReady.d.ts.map +1 -1
- package/dist/src/fiat/providers/stripe/stripeContactHeading.d.ts +1 -1
- package/dist/src/fiat/providers/stripe/stripeContactHeading.d.ts.map +1 -1
- package/dist/src/fiat/providers/stripe/useStripePayButton.d.ts +27 -0
- package/dist/src/fiat/providers/stripe/useStripePayButton.d.ts.map +1 -0
- package/dist/src/fiat/quote/providerSelection.d.ts +14 -0
- package/dist/src/fiat/quote/providerSelection.d.ts.map +1 -0
- package/dist/src/fiat/quote/purchaseEstimate.d.ts +42 -0
- package/dist/src/fiat/quote/purchaseEstimate.d.ts.map +1 -0
- package/dist/src/fiat/quote/quoteNoRoute.d.ts.map +1 -0
- package/dist/src/fiat/quote/quoteRefusal.d.ts.map +1 -0
- package/dist/src/fiat/{quoteRouting.d.ts → quote/quoteRouting.d.ts} +5 -5
- package/dist/src/fiat/quote/quoteRouting.d.ts.map +1 -0
- package/dist/src/fiat/quote/useReplayableFailure.d.ts.map +1 -0
- package/dist/src/fiat/{useStaleQuoteRecovery.d.ts → quote/useStaleQuoteRecovery.d.ts} +1 -1
- package/dist/src/fiat/quote/useStaleQuoteRecovery.d.ts.map +1 -0
- package/dist/src/fiat/settlement/FiatPendingOrderScreen.d.ts.map +1 -0
- package/dist/src/fiat/settlement/FiatReceipt.d.ts.map +1 -0
- package/dist/src/fiat/{depositOutcome.d.ts → settlement/depositOutcome.d.ts} +2 -2
- package/dist/src/fiat/settlement/depositOutcome.d.ts.map +1 -0
- package/dist/src/fiat/{depositSettlement.d.ts → settlement/depositSettlement.d.ts} +1 -1
- package/dist/src/fiat/settlement/depositSettlement.d.ts.map +1 -0
- package/dist/src/fiat/{useDepositSettlement.d.ts → settlement/useDepositSettlement.d.ts} +10 -8
- package/dist/src/fiat/settlement/useDepositSettlement.d.ts.map +1 -0
- package/dist/src/fiat/settlement/useReceiptTitles.d.ts.map +1 -0
- package/dist/src/fiat/surface/ScreenSurfaceCover.d.ts.map +1 -0
- package/dist/src/fiat/{SurfaceSlot.d.ts → surface/SurfaceSlot.d.ts} +1 -1
- package/dist/src/fiat/surface/SurfaceSlot.d.ts.map +1 -0
- package/dist/src/fiat/{actionSlot.d.ts → surface/actionSlot.d.ts} +1 -1
- package/dist/src/fiat/surface/actionSlot.d.ts.map +1 -0
- package/dist/src/fiat/{closeFailure.d.ts → surface/closeFailure.d.ts} +1 -1
- package/dist/src/fiat/surface/closeFailure.d.ts.map +1 -0
- package/dist/src/fiat/{stepSurface.d.ts → surface/stepSurface.d.ts} +6 -6
- package/dist/src/fiat/surface/stepSurface.d.ts.map +1 -0
- package/dist/src/fiat/{surfaceRegistry.d.ts → surface/surfaceRegistry.d.ts} +1 -1
- package/dist/src/fiat/surface/surfaceRegistry.d.ts.map +1 -0
- package/dist/src/fiat/{useFailureAnnouncements.d.ts → surface/useFailureAnnouncements.d.ts} +3 -3
- package/dist/src/fiat/surface/useFailureAnnouncements.d.ts.map +1 -0
- package/dist/src/fiat/{useSurfaceAttempt.d.ts → surface/useSurfaceAttempt.d.ts} +2 -2
- package/dist/src/fiat/surface/useSurfaceAttempt.d.ts.map +1 -0
- package/dist/src/flow/DepositAmountStep.d.ts.map +1 -1
- package/dist/src/flow/DepositFlowContent.d.ts.map +1 -1
- package/dist/src/flow/Drawer.d.ts +9 -0
- package/dist/src/flow/Drawer.d.ts.map +1 -1
- package/dist/src/flow/FiatDepositAmountStep.d.ts +2 -2
- package/dist/src/flow/FiatDepositAmountStep.d.ts.map +1 -1
- package/dist/src/flow/FunkitFlowProvider.d.ts.map +1 -1
- package/dist/src/flow/MethodPickerStep.d.ts.map +1 -1
- package/dist/src/flow/PaymentMethodPickerSheet.d.ts +3 -5
- package/dist/src/flow/PaymentMethodPickerSheet.d.ts.map +1 -1
- package/dist/src/flow/PaymentMethodRows.d.ts +1 -0
- package/dist/src/flow/PaymentMethodRows.d.ts.map +1 -1
- package/dist/src/flow/depositFlowConfig.d.ts +61 -42
- package/dist/src/flow/depositFlowConfig.d.ts.map +1 -1
- package/dist/src/flow/entryBanners.d.ts +32 -2
- package/dist/src/flow/entryBanners.d.ts.map +1 -1
- package/dist/src/flow/fiatStepScreens.d.ts +3 -3
- package/dist/src/flow/fiatStepScreens.d.ts.map +1 -1
- package/dist/src/flow/fiatSubmitRenderer.d.ts +13 -13
- package/dist/src/flow/fiatSubmitRenderer.d.ts.map +1 -1
- package/dist/src/flow/flowError.d.ts +12 -0
- package/dist/src/flow/flowError.d.ts.map +1 -1
- package/dist/src/flow/paymentMethodPress.d.ts +12 -0
- package/dist/src/flow/paymentMethodPress.d.ts.map +1 -0
- package/dist/src/flow/purchaseSheetCustomers.d.ts +2 -0
- package/dist/src/flow/purchaseSheetCustomers.d.ts.map +1 -0
- package/dist/src/flow/renderFiatFlowScreen.d.ts +14 -14
- package/dist/src/flow/renderFiatFlowScreen.d.ts.map +1 -1
- package/dist/src/flow/screenBundles.d.ts +2 -2
- package/dist/src/flow/screenBundles.d.ts.map +1 -1
- package/dist/src/flow/useFeeDetails.d.ts +5 -5
- package/dist/src/flow/useFeeDetails.d.ts.map +1 -1
- package/dist/src/flow/useFunkitPurchaseSheetEnabled.d.ts +19 -0
- package/dist/src/flow/useFunkitPurchaseSheetEnabled.d.ts.map +1 -0
- package/dist/src/flow/useV2DepositEnabled.d.ts +3 -0
- package/dist/src/flow/useV2DepositEnabled.d.ts.map +1 -0
- package/dist/src/flow/validateInitialAmount.d.ts +2 -1
- package/dist/src/flow/validateInitialAmount.d.ts.map +1 -1
- package/dist/src/hooks/track/events.d.ts +1 -1
- package/dist/src/hooks/track/events.d.ts.map +1 -1
- package/dist/src/hooks/track/paymentQuoteConfirmer.d.ts +12 -0
- package/dist/src/hooks/track/paymentQuoteConfirmer.d.ts.map +1 -0
- package/dist/src/hooks/track/useDepositFlowEvents.d.ts +1 -1
- package/dist/src/hooks/track/useDepositOutcomeEvents.d.ts +1 -1
- package/dist/src/hooks/track/useDepositOutcomeEvents.d.ts.map +1 -1
- package/dist/src/hooks/track/usePaymentButtonEvents.d.ts +1 -1
- package/dist/src/hooks/track/usePaymentButtonEvents.d.ts.map +1 -1
- package/dist/src/hooks/track/useStepResponseObservers.d.ts +6 -0
- package/dist/src/hooks/track/useStepResponseObservers.d.ts.map +1 -0
- package/dist/src/hooks/track/useTrackFiatDepositQuoteEvents.d.ts +1 -1
- package/dist/src/hooks/track/useTrackFiatDepositQuoteEvents.d.ts.map +1 -1
- package/dist/src/hooks/track/useTrackFiatPaymentEvents.d.ts +1 -1
- package/dist/src/hooks/track/useTrackFiatPaymentEvents.d.ts.map +1 -1
- package/dist/src/native/applePayWallet.d.ts +24 -0
- package/dist/src/native/applePayWallet.d.ts.map +1 -0
- package/dist/src/preview/flowPreview.d.ts +1 -1
- package/dist/src/preview/flowPreview.d.ts.map +1 -1
- package/dist/src/preview/scenarioCatalog.d.ts +43 -37
- package/dist/src/preview/scenarioCatalog.d.ts.map +1 -1
- package/dist/src/preview/scenarios.d.ts.map +1 -1
- package/dist/src/providers/FunkitProvider.d.ts.map +1 -1
- package/dist/src/providers/FunkitStatsigProvider.d.ts +5 -0
- package/dist/src/providers/FunkitStatsigProvider.d.ts.map +1 -1
- package/dist/src/providers/useFunkitCheckout.d.ts +3 -2
- package/dist/src/providers/useFunkitCheckout.d.ts.map +1 -1
- package/dist/src/screens/DepositAmountScreen.d.ts +4 -1
- package/dist/src/screens/DepositAmountScreen.d.ts.map +1 -1
- package/dist/src/utils/formatAmount.d.ts +22 -0
- package/dist/src/utils/formatAmount.d.ts.map +1 -1
- package/expo-module.config.json +1 -1
- package/ios/FunkitApplePayWalletModule.swift +29 -0
- package/package.json +3 -3
- package/dist/chunk-B7O3LJWY.js.map +0 -7
- package/dist/chunk-M53J24WI.js.map +0 -7
- package/dist/src/fiat/FiatActionButton.d.ts +0 -3
- package/dist/src/fiat/FiatActionButton.d.ts.map +0 -1
- package/dist/src/fiat/FiatBackButton.d.ts.map +0 -1
- package/dist/src/fiat/FiatBirthDateField.d.ts.map +0 -1
- package/dist/src/fiat/FiatChoiceField.d.ts.map +0 -1
- package/dist/src/fiat/FiatChoiceList.d.ts.map +0 -1
- package/dist/src/fiat/FiatContactScreen.d.ts.map +0 -1
- package/dist/src/fiat/FiatCountryIndexRail.d.ts.map +0 -1
- package/dist/src/fiat/FiatCountrySheet.d.ts.map +0 -1
- package/dist/src/fiat/FiatDatePickerDock.d.ts.map +0 -1
- package/dist/src/fiat/FiatDocumentCaptureStep.d.ts.map +0 -1
- package/dist/src/fiat/FiatErrorNotice.d.ts.map +0 -1
- package/dist/src/fiat/FiatErrorScreen.d.ts.map +0 -1
- package/dist/src/fiat/FiatFailureBanner.d.ts.map +0 -1
- package/dist/src/fiat/FiatFormAdvance.d.ts.map +0 -1
- package/dist/src/fiat/FiatFormFieldRow.d.ts.map +0 -1
- package/dist/src/fiat/FiatFormHeading.d.ts.map +0 -1
- package/dist/src/fiat/FiatFormScreen.d.ts.map +0 -1
- package/dist/src/fiat/FiatIdentityStep.d.ts.map +0 -1
- package/dist/src/fiat/FiatKycFieldControl.d.ts.map +0 -1
- package/dist/src/fiat/FiatKycIntroLayout.d.ts.map +0 -1
- package/dist/src/fiat/FiatKycIntroScreen.d.ts.map +0 -1
- package/dist/src/fiat/FiatKycNotice.d.ts.map +0 -1
- package/dist/src/fiat/FiatKycOptionRow.d.ts.map +0 -1
- package/dist/src/fiat/FiatKycOptionsScreen.d.ts.map +0 -1
- package/dist/src/fiat/FiatKycOutcomeScreen.d.ts.map +0 -1
- package/dist/src/fiat/FiatKycPhoneField.d.ts.map +0 -1
- package/dist/src/fiat/FiatOptionsScreen.d.ts.map +0 -1
- package/dist/src/fiat/FiatOtpScreen.d.ts.map +0 -1
- package/dist/src/fiat/FiatPendingOrderScreen.d.ts.map +0 -1
- package/dist/src/fiat/FiatPhoneField.d.ts.map +0 -1
- package/dist/src/fiat/FiatProviderTerms.d.ts.map +0 -1
- package/dist/src/fiat/FiatReceipt.d.ts.map +0 -1
- package/dist/src/fiat/FiatRegionUnsupportedScreen.d.ts.map +0 -1
- package/dist/src/fiat/FiatSharingConsentNotice.d.ts.map +0 -1
- package/dist/src/fiat/FiatSsnField.d.ts.map +0 -1
- package/dist/src/fiat/FiatStatusScreen.d.ts.map +0 -1
- package/dist/src/fiat/FiatStepFailedScreen.d.ts.map +0 -1
- package/dist/src/fiat/FiatSubmissionIndicator.d.ts.map +0 -1
- package/dist/src/fiat/FiatTermsNotice.d.ts.map +0 -1
- package/dist/src/fiat/FiatUnavailableScreen.d.ts.map +0 -1
- package/dist/src/fiat/FiatUnsupportedStep.d.ts.map +0 -1
- package/dist/src/fiat/KycGlassBackdrop.d.ts.map +0 -1
- package/dist/src/fiat/PaymentDisclosureNotice.d.ts.map +0 -1
- package/dist/src/fiat/ScreenSurfaceCover.d.ts.map +0 -1
- package/dist/src/fiat/SurfaceSlot.d.ts.map +0 -1
- package/dist/src/fiat/actionSlot.d.ts.map +0 -1
- package/dist/src/fiat/applePayAttempt.d.ts.map +0 -1
- package/dist/src/fiat/calendarDate.d.ts.map +0 -1
- package/dist/src/fiat/closeFailure.d.ts.map +0 -1
- package/dist/src/fiat/contactRound.d.ts.map +0 -1
- package/dist/src/fiat/countryListEntries.d.ts.map +0 -1
- package/dist/src/fiat/countrySections.d.ts.map +0 -1
- package/dist/src/fiat/ctaLabel.d.ts.map +0 -1
- package/dist/src/fiat/depositMatch.d.ts.map +0 -1
- package/dist/src/fiat/depositOutcome.d.ts.map +0 -1
- package/dist/src/fiat/depositProcessing.d.ts.map +0 -1
- package/dist/src/fiat/depositSettlement.d.ts.map +0 -1
- package/dist/src/fiat/disclosureFooter.d.ts.map +0 -1
- package/dist/src/fiat/disclosureFooterContent.d.ts.map +0 -1
- package/dist/src/fiat/fieldAutofill.d.ts.map +0 -1
- package/dist/src/fiat/fieldLimits.d.ts.map +0 -1
- package/dist/src/fiat/formLayout.d.ts.map +0 -1
- package/dist/src/fiat/keyboardReturnKey.d.ts.map +0 -1
- package/dist/src/fiat/knownContacts.d.ts.map +0 -1
- package/dist/src/fiat/kycFormTheme.d.ts.map +0 -1
- package/dist/src/fiat/kycSupport.d.ts.map +0 -1
- package/dist/src/fiat/kycUnavailableAlert.d.ts.map +0 -1
- package/dist/src/fiat/legalLinks.d.ts.map +0 -1
- package/dist/src/fiat/methodName.d.ts.map +0 -1
- package/dist/src/fiat/nativeDatePicker.d.ts.map +0 -1
- package/dist/src/fiat/otpScreenProps.d.ts.map +0 -1
- package/dist/src/fiat/paymentAttempts.d.ts.map +0 -1
- package/dist/src/fiat/paymentReroute.d.ts.map +0 -1
- package/dist/src/fiat/paymentSurfaceFailure.d.ts.map +0 -1
- package/dist/src/fiat/phoneCountries.d.ts.map +0 -1
- package/dist/src/fiat/phoneDraft.d.ts.map +0 -1
- package/dist/src/fiat/postalCodeCountries.d.ts.map +0 -1
- package/dist/src/fiat/providerFailover.d.ts.map +0 -1
- package/dist/src/fiat/quoteNoRoute.d.ts.map +0 -1
- package/dist/src/fiat/quoteRefusal.d.ts.map +0 -1
- package/dist/src/fiat/quoteRouting.d.ts.map +0 -1
- package/dist/src/fiat/refusedFields.d.ts.map +0 -1
- package/dist/src/fiat/sessionAuth.d.ts.map +0 -1
- package/dist/src/fiat/sessionContact.d.ts.map +0 -1
- package/dist/src/fiat/shownFieldIssues.d.ts.map +0 -1
- package/dist/src/fiat/ssnLength.d.ts.map +0 -1
- package/dist/src/fiat/stepDetails.d.ts.map +0 -1
- package/dist/src/fiat/stepSurface.d.ts.map +0 -1
- package/dist/src/fiat/subdivisions.d.ts.map +0 -1
- package/dist/src/fiat/surfaceRegistry.d.ts.map +0 -1
- package/dist/src/fiat/useAuthHandoff.d.ts.map +0 -1
- package/dist/src/fiat/useCaptureHold.d.ts.map +0 -1
- package/dist/src/fiat/useContactAutoSubmit.d.ts.map +0 -1
- package/dist/src/fiat/useContactEligibility.d.ts.map +0 -1
- package/dist/src/fiat/useCountrySheet.d.ts.map +0 -1
- package/dist/src/fiat/useDatePickerDock.d.ts.map +0 -1
- package/dist/src/fiat/useDepositSettlement.d.ts.map +0 -1
- package/dist/src/fiat/useEntryQuote.d.ts.map +0 -1
- package/dist/src/fiat/useEntrySubmit.d.ts.map +0 -1
- package/dist/src/fiat/useFailureAnnouncements.d.ts.map +0 -1
- package/dist/src/fiat/useFiatCheckoutPreparation.d.ts.map +0 -1
- package/dist/src/fiat/useFiatDirectDelivery.d.ts.map +0 -1
- package/dist/src/fiat/useFlowContact.d.ts.map +0 -1
- package/dist/src/fiat/useIdentityAssertion.d.ts.map +0 -1
- package/dist/src/fiat/useOtpAutoSubmit.d.ts.map +0 -1
- package/dist/src/fiat/useOtpReceipt.d.ts.map +0 -1
- package/dist/src/fiat/usePaymentAttempts.d.ts.map +0 -1
- package/dist/src/fiat/usePaymentFailureAnswer.d.ts.map +0 -1
- package/dist/src/fiat/useProcessingPhase.d.ts.map +0 -1
- package/dist/src/fiat/useReceiptTitles.d.ts.map +0 -1
- package/dist/src/fiat/useReplayableFailure.d.ts.map +0 -1
- package/dist/src/fiat/useRerouteProbe.d.ts.map +0 -1
- package/dist/src/fiat/useResendCooldown.d.ts.map +0 -1
- package/dist/src/fiat/useSharingConsent.d.ts.map +0 -1
- package/dist/src/fiat/useStaleQuoteRecovery.d.ts.map +0 -1
- package/dist/src/fiat/useStandingRefusals.d.ts.map +0 -1
- package/dist/src/fiat/useSurfaceAttempt.d.ts.map +0 -1
- /package/dist/{chunk-4P4VMXII.js.map → chunk-264ZLQVH.js.map} +0 -0
- /package/dist/src/fiat/{FiatBackButton.d.ts → common/FiatBackButton.d.ts} +0 -0
- /package/dist/src/fiat/{FiatErrorNotice.d.ts → common/FiatErrorNotice.d.ts} +0 -0
- /package/dist/src/fiat/{FiatErrorScreen.d.ts → common/FiatErrorScreen.d.ts} +0 -0
- /package/dist/src/fiat/{FiatProviderTerms.d.ts → common/FiatProviderTerms.d.ts} +0 -0
- /package/dist/src/fiat/{FiatRegionUnsupportedScreen.d.ts → common/FiatRegionUnsupportedScreen.d.ts} +0 -0
- /package/dist/src/fiat/{FiatStatusScreen.d.ts → common/FiatStatusScreen.d.ts} +0 -0
- /package/dist/src/fiat/{FiatStepFailedScreen.d.ts → common/FiatStepFailedScreen.d.ts} +0 -0
- /package/dist/src/fiat/{FiatSubmissionIndicator.d.ts → common/FiatSubmissionIndicator.d.ts} +0 -0
- /package/dist/src/fiat/{FiatTermsNotice.d.ts → common/FiatTermsNotice.d.ts} +0 -0
- /package/dist/src/fiat/{FiatUnavailableScreen.d.ts → common/FiatUnavailableScreen.d.ts} +0 -0
- /package/dist/src/fiat/{FiatUnsupportedStep.d.ts → common/FiatUnsupportedStep.d.ts} +0 -0
- /package/dist/src/fiat/{ctaLabel.d.ts → common/ctaLabel.d.ts} +0 -0
- /package/dist/src/fiat/{FiatContactScreen.d.ts → contact/FiatContactScreen.d.ts} +0 -0
- /package/dist/src/fiat/{FiatPhoneField.d.ts → contact/FiatPhoneField.d.ts} +0 -0
- /package/dist/src/fiat/{knownContacts.d.ts → contact/knownContacts.d.ts} +0 -0
- /package/dist/src/fiat/{phoneCountries.d.ts → contact/phoneCountries.d.ts} +0 -0
- /package/dist/src/fiat/{phoneDraft.d.ts → contact/phoneDraft.d.ts} +0 -0
- /package/dist/src/fiat/{sessionContact.d.ts → contact/sessionContact.d.ts} +0 -0
- /package/dist/src/fiat/{useContactAutoSubmit.d.ts → contact/useContactAutoSubmit.d.ts} +0 -0
- /package/dist/src/fiat/{useContactEligibility.d.ts → contact/useContactEligibility.d.ts} +0 -0
- /package/dist/src/fiat/{FiatCountryIndexRail.d.ts → country/FiatCountryIndexRail.d.ts} +0 -0
- /package/dist/src/fiat/{countryListEntries.d.ts → country/countryListEntries.d.ts} +0 -0
- /package/dist/src/fiat/{postalCodeCountries.d.ts → country/postalCodeCountries.d.ts} +0 -0
- /package/dist/src/fiat/{subdivisions.d.ts → country/subdivisions.d.ts} +0 -0
- /package/dist/src/fiat/{disclosureFooter.d.ts → entry/disclosureFooter.d.ts} +0 -0
- /package/dist/src/fiat/{useFiatCheckoutPreparation.d.ts → entry/useFiatCheckoutPreparation.d.ts} +0 -0
- /package/dist/src/fiat/{FiatBirthDateField.d.ts → form/FiatBirthDateField.d.ts} +0 -0
- /package/dist/src/fiat/{FiatChoiceField.d.ts → form/FiatChoiceField.d.ts} +0 -0
- /package/dist/src/fiat/{FiatChoiceList.d.ts → form/FiatChoiceList.d.ts} +0 -0
- /package/dist/src/fiat/{FiatDatePickerDock.d.ts → form/FiatDatePickerDock.d.ts} +0 -0
- /package/dist/src/fiat/{FiatFormAdvance.d.ts → form/FiatFormAdvance.d.ts} +0 -0
- /package/dist/src/fiat/{FiatFormHeading.d.ts → form/FiatFormHeading.d.ts} +0 -0
- /package/dist/src/fiat/{FiatFormScreen.d.ts → form/FiatFormScreen.d.ts} +0 -0
- /package/dist/src/fiat/{FiatSsnField.d.ts → form/FiatSsnField.d.ts} +0 -0
- /package/dist/src/fiat/{calendarDate.d.ts → form/calendarDate.d.ts} +0 -0
- /package/dist/src/fiat/{fieldAutofill.d.ts → form/fieldAutofill.d.ts} +0 -0
- /package/dist/src/fiat/{formLayout.d.ts → form/formLayout.d.ts} +0 -0
- /package/dist/src/fiat/{keyboardReturnKey.d.ts → form/keyboardReturnKey.d.ts} +0 -0
- /package/dist/src/fiat/{nativeDatePicker.d.ts → form/nativeDatePicker.d.ts} +0 -0
- /package/dist/src/fiat/{refusedFields.d.ts → form/refusedFields.d.ts} +0 -0
- /package/dist/src/fiat/{ssnLength.d.ts → form/ssnLength.d.ts} +0 -0
- /package/dist/src/fiat/{useDatePickerDock.d.ts → form/useDatePickerDock.d.ts} +0 -0
- /package/dist/src/fiat/{FiatDocumentCaptureStep.d.ts → kyc/FiatDocumentCaptureStep.d.ts} +0 -0
- /package/dist/src/fiat/{FiatKycIntroLayout.d.ts → kyc/FiatKycIntroLayout.d.ts} +0 -0
- /package/dist/src/fiat/{FiatKycIntroScreen.d.ts → kyc/FiatKycIntroScreen.d.ts} +0 -0
- /package/dist/src/fiat/{FiatKycOptionRow.d.ts → kyc/FiatKycOptionRow.d.ts} +0 -0
- /package/dist/src/fiat/{FiatKycOutcomeScreen.d.ts → kyc/FiatKycOutcomeScreen.d.ts} +0 -0
- /package/dist/src/fiat/{FiatSharingConsentNotice.d.ts → kyc/FiatSharingConsentNotice.d.ts} +0 -0
- /package/dist/src/fiat/{KycGlassBackdrop.d.ts → kyc/KycGlassBackdrop.d.ts} +0 -0
- /package/dist/src/fiat/{kycFormTheme.d.ts → kyc/kycFormTheme.d.ts} +0 -0
- /package/dist/src/fiat/{kycSupport.d.ts → kyc/kycSupport.d.ts} +0 -0
- /package/dist/src/fiat/{kycUnavailableAlert.d.ts → kyc/kycUnavailableAlert.d.ts} +0 -0
- /package/dist/src/fiat/{legalLinks.d.ts → kyc/legalLinks.d.ts} +0 -0
- /package/dist/src/fiat/{useSharingConsent.d.ts → kyc/useSharingConsent.d.ts} +0 -0
- /package/dist/src/fiat/{FiatOtpScreen.d.ts → otp/FiatOtpScreen.d.ts} +0 -0
- /package/dist/src/fiat/{useOtpAutoSubmit.d.ts → otp/useOtpAutoSubmit.d.ts} +0 -0
- /package/dist/src/fiat/{useOtpReceipt.d.ts → otp/useOtpReceipt.d.ts} +0 -0
- /package/dist/src/fiat/{useResendCooldown.d.ts → otp/useResendCooldown.d.ts} +0 -0
- /package/dist/src/fiat/{methodName.d.ts → payment/methodName.d.ts} +0 -0
- /package/dist/src/fiat/{paymentAttempts.d.ts → payment/paymentAttempts.d.ts} +0 -0
- /package/dist/src/fiat/{paymentSurfaceFailure.d.ts → payment/paymentSurfaceFailure.d.ts} +0 -0
- /package/dist/src/fiat/{providerFailover.d.ts → payment/providerFailover.d.ts} +0 -0
- /package/dist/src/fiat/{depositProcessing.d.ts → processing/depositProcessing.d.ts} +0 -0
- /package/dist/src/fiat/{useProcessingPhase.d.ts → processing/useProcessingPhase.d.ts} +0 -0
- /package/dist/src/fiat/{quoteNoRoute.d.ts → quote/quoteNoRoute.d.ts} +0 -0
- /package/dist/src/fiat/{quoteRefusal.d.ts → quote/quoteRefusal.d.ts} +0 -0
- /package/dist/src/fiat/{useReplayableFailure.d.ts → quote/useReplayableFailure.d.ts} +0 -0
- /package/dist/src/fiat/{FiatPendingOrderScreen.d.ts → settlement/FiatPendingOrderScreen.d.ts} +0 -0
- /package/dist/src/fiat/{FiatReceipt.d.ts → settlement/FiatReceipt.d.ts} +0 -0
- /package/dist/src/fiat/{useReceiptTitles.d.ts → settlement/useReceiptTitles.d.ts} +0 -0
- /package/dist/src/fiat/{ScreenSurfaceCover.d.ts → surface/ScreenSurfaceCover.d.ts} +0 -0
package/dist/preview.js
CHANGED
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
NET_WORTH,
|
|
6
6
|
PERSONA_PRIVACY_POLICY_URL,
|
|
7
7
|
TRANSACTIONS_PER_MONTH
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-R3RNNOBY.js";
|
|
9
9
|
import {
|
|
10
10
|
logger
|
|
11
11
|
} from "./chunk-2HFFVYAZ.js";
|
|
@@ -16,13 +16,19 @@ var AMOUNT = [
|
|
|
16
16
|
"screens/DepositAmountScreen.tsx"
|
|
17
17
|
];
|
|
18
18
|
var FORM = [
|
|
19
|
-
"fiat/FiatIdentityStep.tsx",
|
|
20
|
-
"fiat/FiatFormScreen.tsx",
|
|
21
|
-
"fiat/formLayout.ts",
|
|
22
|
-
"fiat/FiatKycFieldControl.tsx"
|
|
19
|
+
"fiat/kyc/FiatIdentityStep.tsx",
|
|
20
|
+
"fiat/form/FiatFormScreen.tsx",
|
|
21
|
+
"fiat/form/formLayout.ts",
|
|
22
|
+
"fiat/kyc/FiatKycFieldControl.tsx"
|
|
23
|
+
];
|
|
24
|
+
var INTRO = [
|
|
25
|
+
"fiat/kyc/FiatIdentityStep.tsx",
|
|
26
|
+
"fiat/kyc/FiatKycIntroScreen.tsx"
|
|
27
|
+
];
|
|
28
|
+
var STATUS = [
|
|
29
|
+
"fiat/common/FiatStatusScreen.tsx",
|
|
30
|
+
"fiat/settlement/depositOutcome.ts"
|
|
23
31
|
];
|
|
24
|
-
var INTRO = ["fiat/FiatIdentityStep.tsx", "fiat/FiatKycIntroScreen.tsx"];
|
|
25
|
-
var STATUS = ["fiat/FiatStatusScreen.tsx", "fiat/depositOutcome.ts"];
|
|
26
32
|
var CRYPTO_V2 = [
|
|
27
33
|
"flow/CryptoAddressPage.tsx",
|
|
28
34
|
"flow/CryptoDepositStep.tsx",
|
|
@@ -40,7 +46,7 @@ var PROCESSING = [
|
|
|
40
46
|
"fiat/processing/ProcessingAurora.tsx",
|
|
41
47
|
"fiat/processing/gradientPuff.ts",
|
|
42
48
|
"fiat/processing/pressureWave.ts",
|
|
43
|
-
"fiat/depositProcessing.ts",
|
|
49
|
+
"fiat/processing/depositProcessing.ts",
|
|
44
50
|
"screens/DepositAmountScreen.tsx",
|
|
45
51
|
"flow/FiatDepositAmountStep.tsx"
|
|
46
52
|
];
|
|
@@ -62,7 +68,7 @@ var PREVIEW_SCENARIO_CATALOG = {
|
|
|
62
68
|
requires: "fiatRail",
|
|
63
69
|
touches: [
|
|
64
70
|
...AMOUNT,
|
|
65
|
-
"fiat/depositMatch.ts",
|
|
71
|
+
"fiat/entry/depositMatch.ts",
|
|
66
72
|
"flow/DepositMatchSheet.tsx",
|
|
67
73
|
"screens/DepositMatchScreen.tsx"
|
|
68
74
|
]
|
|
@@ -71,7 +77,11 @@ var PREVIEW_SCENARIO_CATALOG = {
|
|
|
71
77
|
title: "Amount entry, fee subsidy without the deposit match",
|
|
72
78
|
flow: "deposit",
|
|
73
79
|
requires: "fiatRail",
|
|
74
|
-
touches: [
|
|
80
|
+
touches: [
|
|
81
|
+
...AMOUNT,
|
|
82
|
+
"fiat/common/stepDetails.ts",
|
|
83
|
+
"screens/FeeDetailsScreen.tsx"
|
|
84
|
+
]
|
|
75
85
|
},
|
|
76
86
|
"fiat.amount.depositMatch.unsubsidized": {
|
|
77
87
|
title: "Amount entry, deposit match without a fee subsidy (internal flag)",
|
|
@@ -79,7 +89,7 @@ var PREVIEW_SCENARIO_CATALOG = {
|
|
|
79
89
|
requires: "fiatRail",
|
|
80
90
|
touches: [
|
|
81
91
|
...AMOUNT,
|
|
82
|
-
"fiat/depositMatch.ts",
|
|
92
|
+
"fiat/entry/depositMatch.ts",
|
|
83
93
|
"flow/DepositMatchSheet.tsx",
|
|
84
94
|
"screens/DepositMatchScreen.tsx"
|
|
85
95
|
]
|
|
@@ -165,29 +175,32 @@ var PREVIEW_SCENARIO_CATALOG = {
|
|
|
165
175
|
title: "Contact: email",
|
|
166
176
|
flow: "deposit",
|
|
167
177
|
requires: "fiatRail",
|
|
168
|
-
touches: [
|
|
178
|
+
touches: [
|
|
179
|
+
"fiat/contact/FiatContactScreen.tsx",
|
|
180
|
+
"fiat/contact/sessionContact.ts"
|
|
181
|
+
]
|
|
169
182
|
},
|
|
170
183
|
"fiat.contact.phone": {
|
|
171
184
|
title: "Contact: phone",
|
|
172
185
|
flow: "deposit",
|
|
173
186
|
requires: "fiatRail",
|
|
174
187
|
touches: [
|
|
175
|
-
"fiat/FiatContactScreen.tsx",
|
|
176
|
-
"fiat/FiatPhoneField.tsx",
|
|
177
|
-
"fiat/useContactAutoSubmit.ts"
|
|
188
|
+
"fiat/contact/FiatContactScreen.tsx",
|
|
189
|
+
"fiat/contact/FiatPhoneField.tsx",
|
|
190
|
+
"fiat/contact/useContactAutoSubmit.ts"
|
|
178
191
|
]
|
|
179
192
|
},
|
|
180
193
|
"fiat.otp.email": {
|
|
181
194
|
title: "OTP: email code",
|
|
182
195
|
flow: "deposit",
|
|
183
196
|
requires: "fiatRail",
|
|
184
|
-
touches: ["fiat/FiatOtpScreen.tsx"]
|
|
197
|
+
touches: ["fiat/otp/FiatOtpScreen.tsx"]
|
|
185
198
|
},
|
|
186
199
|
"fiat.otp.sms": {
|
|
187
200
|
title: "OTP: SMS code",
|
|
188
201
|
flow: "deposit",
|
|
189
202
|
requires: "fiatRail",
|
|
190
|
-
touches: ["fiat/FiatOtpScreen.tsx"]
|
|
203
|
+
touches: ["fiat/otp/FiatOtpScreen.tsx"]
|
|
191
204
|
},
|
|
192
205
|
// KYC — identity rounds.
|
|
193
206
|
"kyc.l1.intro": {
|
|
@@ -206,37 +219,37 @@ var PREVIEW_SCENARIO_CATALOG = {
|
|
|
206
219
|
title: "KYC L1: date of birth",
|
|
207
220
|
flow: "deposit",
|
|
208
221
|
requires: "fiatRail",
|
|
209
|
-
touches: [...FORM, "fiat/FiatBirthDateField.tsx"]
|
|
222
|
+
touches: [...FORM, "fiat/form/FiatBirthDateField.tsx"]
|
|
210
223
|
},
|
|
211
224
|
"kyc.l1.address": {
|
|
212
225
|
title: "KYC L1: address",
|
|
213
226
|
flow: "deposit",
|
|
214
227
|
requires: "fiatRail",
|
|
215
|
-
touches: [...FORM, "fiat/subdivisions.ts"]
|
|
228
|
+
touches: [...FORM, "fiat/country/subdivisions.ts"]
|
|
216
229
|
},
|
|
217
230
|
"kyc.l1.ssn": {
|
|
218
231
|
title: "KYC L1: SSN",
|
|
219
232
|
flow: "deposit",
|
|
220
233
|
requires: "fiatRail",
|
|
221
|
-
touches: [...FORM, "fiat/FiatSsnField.tsx"]
|
|
234
|
+
touches: [...FORM, "fiat/form/FiatSsnField.tsx"]
|
|
222
235
|
},
|
|
223
236
|
"kyc.nationality": {
|
|
224
237
|
title: "KYC: nationality",
|
|
225
238
|
flow: "deposit",
|
|
226
239
|
requires: "fiatRail",
|
|
227
|
-
touches: [...FORM, "fiat/FiatCountrySheet.tsx"]
|
|
240
|
+
touches: [...FORM, "fiat/country/FiatCountrySheet.tsx"]
|
|
228
241
|
},
|
|
229
242
|
"kyc.country": {
|
|
230
243
|
title: "KYC: country of residence",
|
|
231
244
|
flow: "deposit",
|
|
232
245
|
requires: "fiatRail",
|
|
233
|
-
touches: [...FORM, "fiat/FiatCountrySheet.tsx"]
|
|
246
|
+
touches: [...FORM, "fiat/country/FiatCountrySheet.tsx"]
|
|
234
247
|
},
|
|
235
248
|
"kyc.ssnLastFour": {
|
|
236
249
|
title: "KYC: SSN last four",
|
|
237
250
|
flow: "deposit",
|
|
238
251
|
requires: "fiatRail",
|
|
239
|
-
touches: [...FORM, "fiat/FiatSsnField.tsx"]
|
|
252
|
+
touches: [...FORM, "fiat/form/FiatSsnField.tsx"]
|
|
240
253
|
},
|
|
241
254
|
"kyc.l2.intro": {
|
|
242
255
|
title: "KYC L2: additional-information faceplate",
|
|
@@ -261,8 +274,8 @@ var PREVIEW_SCENARIO_CATALOG = {
|
|
|
261
274
|
touches: [
|
|
262
275
|
...INTRO,
|
|
263
276
|
"fiat/providers/kycIntro.ts",
|
|
264
|
-
"fiat/FiatSharingConsentNotice.tsx",
|
|
265
|
-
"fiat/useSharingConsent.ts"
|
|
277
|
+
"fiat/kyc/FiatSharingConsentNotice.tsx",
|
|
278
|
+
"fiat/kyc/useSharingConsent.ts"
|
|
266
279
|
]
|
|
267
280
|
},
|
|
268
281
|
"kyc.l2.dob": {
|
|
@@ -275,13 +288,13 @@ var PREVIEW_SCENARIO_CATALOG = {
|
|
|
275
288
|
title: "KYC L2: occupation",
|
|
276
289
|
flow: "deposit",
|
|
277
290
|
requires: "fiatRail",
|
|
278
|
-
touches: [...FORM, "fiat/FiatChoiceList.tsx"]
|
|
291
|
+
touches: [...FORM, "fiat/form/FiatChoiceList.tsx"]
|
|
279
292
|
},
|
|
280
293
|
"kyc.l2.purpose": {
|
|
281
294
|
title: "KYC L2: purpose",
|
|
282
295
|
flow: "deposit",
|
|
283
296
|
requires: "fiatRail",
|
|
284
|
-
touches: [...FORM, "fiat/FiatChoiceList.tsx"]
|
|
297
|
+
touches: [...FORM, "fiat/form/FiatChoiceList.tsx"]
|
|
285
298
|
},
|
|
286
299
|
"kyc.dueDiligence": {
|
|
287
300
|
title: "KYC: due diligence",
|
|
@@ -293,7 +306,11 @@ var PREVIEW_SCENARIO_CATALOG = {
|
|
|
293
306
|
title: "KYC: due diligence, phone number refused",
|
|
294
307
|
flow: "deposit",
|
|
295
308
|
requires: "fiatRail",
|
|
296
|
-
touches: [
|
|
309
|
+
touches: [
|
|
310
|
+
...FORM,
|
|
311
|
+
"fiat/form/refusedFields.ts",
|
|
312
|
+
"fiat/form/shownFieldIssues.ts"
|
|
313
|
+
]
|
|
297
314
|
},
|
|
298
315
|
"kyc.dueDiligence.income": {
|
|
299
316
|
title: "KYC: due diligence figures",
|
|
@@ -305,7 +322,7 @@ var PREVIEW_SCENARIO_CATALOG = {
|
|
|
305
322
|
title: "KYC: enhanced due diligence profession",
|
|
306
323
|
flow: "deposit",
|
|
307
324
|
requires: "fiatRail",
|
|
308
|
-
touches: [...FORM, "fiat/FiatChoiceList.tsx"]
|
|
325
|
+
touches: [...FORM, "fiat/form/FiatChoiceList.tsx"]
|
|
309
326
|
},
|
|
310
327
|
"kyc.edd.netWorth": {
|
|
311
328
|
title: "KYC: enhanced due diligence net worth",
|
|
@@ -323,19 +340,19 @@ var PREVIEW_SCENARIO_CATALOG = {
|
|
|
323
340
|
title: "KYC: a second round after review",
|
|
324
341
|
flow: "deposit",
|
|
325
342
|
requires: "fiatRail",
|
|
326
|
-
touches: ["flow/pageTurn.ts", "fiat/FiatKycOutcomeScreen.tsx"]
|
|
343
|
+
touches: ["flow/pageTurn.ts", "fiat/kyc/FiatKycOutcomeScreen.tsx"]
|
|
327
344
|
},
|
|
328
345
|
"kyc.form.retry": {
|
|
329
346
|
title: "KYC: form send failed",
|
|
330
347
|
flow: "deposit",
|
|
331
348
|
requires: "fiatRail",
|
|
332
|
-
touches: [...FORM, "fiat/FiatErrorNotice.tsx"]
|
|
349
|
+
touches: [...FORM, "fiat/common/FiatErrorNotice.tsx"]
|
|
333
350
|
},
|
|
334
351
|
"kyc.form.rateLimited": {
|
|
335
352
|
title: "KYC: form send rate-limited",
|
|
336
353
|
flow: "deposit",
|
|
337
354
|
requires: "fiatRail",
|
|
338
|
-
touches: [...FORM, "fiat/FiatErrorNotice.tsx", ...AMOUNT]
|
|
355
|
+
touches: [...FORM, "fiat/common/FiatErrorNotice.tsx", ...AMOUNT]
|
|
339
356
|
},
|
|
340
357
|
// KYC — capture and verdicts.
|
|
341
358
|
"kyc.capture.intro": {
|
|
@@ -343,8 +360,8 @@ var PREVIEW_SCENARIO_CATALOG = {
|
|
|
343
360
|
flow: "deposit",
|
|
344
361
|
requires: "fiatRail",
|
|
345
362
|
touches: [
|
|
346
|
-
"fiat/FiatDocumentCaptureStep.tsx",
|
|
347
|
-
"fiat/FiatKycIntroScreen.tsx"
|
|
363
|
+
"fiat/kyc/FiatDocumentCaptureStep.tsx",
|
|
364
|
+
"fiat/kyc/FiatKycIntroScreen.tsx"
|
|
348
365
|
]
|
|
349
366
|
},
|
|
350
367
|
"kyc.capture.moonpay-handoff": {
|
|
@@ -360,7 +377,10 @@ var PREVIEW_SCENARIO_CATALOG = {
|
|
|
360
377
|
title: "KYC completion: in review",
|
|
361
378
|
flow: "deposit",
|
|
362
379
|
requires: "fiatRail",
|
|
363
|
-
touches: [
|
|
380
|
+
touches: [
|
|
381
|
+
"fiat/kyc/FiatKycOutcomeScreen.tsx",
|
|
382
|
+
"fiat/kyc/useKycCompletion.ts"
|
|
383
|
+
]
|
|
364
384
|
},
|
|
365
385
|
"kyc.review.extended": {
|
|
366
386
|
title: "KYC: an extended review opens the pending card",
|
|
@@ -372,19 +392,28 @@ var PREVIEW_SCENARIO_CATALOG = {
|
|
|
372
392
|
title: "KYC: a brief review waited out, then priced",
|
|
373
393
|
flow: "deposit",
|
|
374
394
|
requires: "fiatRail",
|
|
375
|
-
touches: [
|
|
395
|
+
touches: [
|
|
396
|
+
"fiat/kyc/useKycCompletion.ts",
|
|
397
|
+
"fiat/kyc/FiatKycOutcomeScreen.tsx"
|
|
398
|
+
]
|
|
376
399
|
},
|
|
377
400
|
"kyc.completion.hold": {
|
|
378
401
|
title: "KYC completion: on hold",
|
|
379
402
|
flow: "deposit",
|
|
380
403
|
requires: "fiatRail",
|
|
381
|
-
touches: [
|
|
404
|
+
touches: [
|
|
405
|
+
"fiat/kyc/FiatKycOutcomeScreen.tsx",
|
|
406
|
+
"fiat/kyc/useKycCompletion.ts"
|
|
407
|
+
]
|
|
382
408
|
},
|
|
383
409
|
"kyc.completion.restricted": {
|
|
384
410
|
title: "KYC completion: rejected",
|
|
385
411
|
flow: "deposit",
|
|
386
412
|
requires: "fiatRail",
|
|
387
|
-
touches: [
|
|
413
|
+
touches: [
|
|
414
|
+
"fiat/kyc/FiatKycOutcomeScreen.tsx",
|
|
415
|
+
"fiat/kyc/useKycCompletion.ts"
|
|
416
|
+
]
|
|
388
417
|
},
|
|
389
418
|
"kyc.required": {
|
|
390
419
|
title: "Amount entry, identity asked before a first deposit",
|
|
@@ -396,37 +425,46 @@ var PREVIEW_SCENARIO_CATALOG = {
|
|
|
396
425
|
title: "Amount entry after KYC: in review",
|
|
397
426
|
flow: "deposit",
|
|
398
427
|
requires: "fiatRail",
|
|
399
|
-
touches: [...AMOUNT, "fiat/FiatKycNotice.tsx"]
|
|
428
|
+
touches: [...AMOUNT, "fiat/kyc/FiatKycNotice.tsx"]
|
|
400
429
|
},
|
|
401
430
|
"kyc.verdict.hold": {
|
|
402
431
|
title: "Amount entry after KYC: on hold",
|
|
403
432
|
flow: "deposit",
|
|
404
433
|
requires: "fiatRail",
|
|
405
|
-
touches: [...AMOUNT, "fiat/FiatKycNotice.tsx"]
|
|
434
|
+
touches: [...AMOUNT, "fiat/kyc/FiatKycNotice.tsx"]
|
|
406
435
|
},
|
|
407
436
|
"kyc.verdict.rejected": {
|
|
408
437
|
title: "Amount entry after KYC: rejected",
|
|
409
438
|
flow: "deposit",
|
|
410
439
|
requires: "fiatRail",
|
|
411
|
-
touches: [...AMOUNT, "fiat/FiatKycNotice.tsx"]
|
|
440
|
+
touches: [...AMOUNT, "fiat/kyc/FiatKycNotice.tsx"]
|
|
412
441
|
},
|
|
413
442
|
"kyc.options.review": {
|
|
414
443
|
title: "KYC options card: in review",
|
|
415
444
|
flow: "deposit",
|
|
416
445
|
requires: "fiatRail",
|
|
417
|
-
touches: [
|
|
446
|
+
touches: [
|
|
447
|
+
"fiat/kyc/FiatKycOptionsScreen.tsx",
|
|
448
|
+
"fiat/kyc/FiatKycOptionRow.tsx"
|
|
449
|
+
]
|
|
418
450
|
},
|
|
419
451
|
"kyc.options.hold": {
|
|
420
452
|
title: "KYC options card: on hold",
|
|
421
453
|
flow: "deposit",
|
|
422
454
|
requires: "fiatRail",
|
|
423
|
-
touches: [
|
|
455
|
+
touches: [
|
|
456
|
+
"fiat/kyc/FiatKycOptionsScreen.tsx",
|
|
457
|
+
"fiat/kyc/FiatKycOptionRow.tsx"
|
|
458
|
+
]
|
|
424
459
|
},
|
|
425
460
|
"kyc.options.rejected": {
|
|
426
461
|
title: "KYC options card: rejected",
|
|
427
462
|
flow: "deposit",
|
|
428
463
|
requires: "fiatRail",
|
|
429
|
-
touches: [
|
|
464
|
+
touches: [
|
|
465
|
+
"fiat/kyc/FiatKycOptionsScreen.tsx",
|
|
466
|
+
"fiat/kyc/FiatKycOptionRow.tsx"
|
|
467
|
+
]
|
|
430
468
|
},
|
|
431
469
|
// Orders.
|
|
432
470
|
"order.review": {
|
|
@@ -445,7 +483,7 @@ var PREVIEW_SCENARIO_CATALOG = {
|
|
|
445
483
|
title: "Pending order: resume or cancel",
|
|
446
484
|
flow: "deposit",
|
|
447
485
|
requires: "fiatRail",
|
|
448
|
-
touches: ["fiat/FiatPendingOrderScreen.tsx"]
|
|
486
|
+
touches: ["fiat/settlement/FiatPendingOrderScreen.tsx"]
|
|
449
487
|
},
|
|
450
488
|
"order.tracking": {
|
|
451
489
|
title: "Order processing",
|
|
@@ -480,7 +518,7 @@ var PREVIEW_SCENARIO_CATALOG = {
|
|
|
480
518
|
title: "Order settled (closes into the deposit toast)",
|
|
481
519
|
flow: "deposit",
|
|
482
520
|
requires: "fiatRail",
|
|
483
|
-
touches: [...STATUS, "fiat/FiatReceipt.tsx"]
|
|
521
|
+
touches: [...STATUS, "fiat/settlement/FiatReceipt.tsx"]
|
|
484
522
|
},
|
|
485
523
|
"order.failed": {
|
|
486
524
|
title: "Order failed",
|
|
@@ -488,6 +526,12 @@ var PREVIEW_SCENARIO_CATALOG = {
|
|
|
488
526
|
requires: "fiatRail",
|
|
489
527
|
touches: STATUS
|
|
490
528
|
},
|
|
529
|
+
"order.deliveryFailed": {
|
|
530
|
+
title: "Paid, but the token purchase failed",
|
|
531
|
+
flow: "deposit",
|
|
532
|
+
requires: "fiatRail",
|
|
533
|
+
touches: [...STATUS, "flow/renderFiatFlowScreen.tsx"]
|
|
534
|
+
},
|
|
491
535
|
"order.cancelled": {
|
|
492
536
|
title: "Order cancelled",
|
|
493
537
|
flow: "deposit",
|
|
@@ -510,19 +554,22 @@ var PREVIEW_SCENARIO_CATALOG = {
|
|
|
510
554
|
title: "Blocked by the rail: region, with a comeback date",
|
|
511
555
|
flow: "deposit",
|
|
512
556
|
requires: "fiatRail",
|
|
513
|
-
touches: ["fiat/FiatRegionUnsupportedScreen.tsx"]
|
|
557
|
+
touches: ["fiat/common/FiatRegionUnsupportedScreen.tsx"]
|
|
514
558
|
},
|
|
515
559
|
"fiat.blocked.unservable": {
|
|
516
560
|
title: "Blocked by the rail: nothing can serve this deposit",
|
|
517
561
|
flow: "deposit",
|
|
518
562
|
requires: "fiatRail",
|
|
519
|
-
touches: ["fiat/FiatUnavailableScreen.tsx"]
|
|
563
|
+
touches: ["fiat/common/FiatUnavailableScreen.tsx"]
|
|
520
564
|
},
|
|
521
565
|
"fiat.accountIneligible": {
|
|
522
566
|
title: "The host's minter refused this account",
|
|
523
567
|
flow: "deposit",
|
|
524
568
|
requires: "fiatRail",
|
|
525
|
-
touches: [
|
|
569
|
+
touches: [
|
|
570
|
+
"fiat/common/FiatUnavailableScreen.tsx",
|
|
571
|
+
"fiat/kyc/useIdentityAssertion.ts"
|
|
572
|
+
]
|
|
526
573
|
},
|
|
527
574
|
"fiat.unsupported": {
|
|
528
575
|
title: "State this build predates",
|
|
@@ -544,7 +591,7 @@ var PREVIEW_SCENARIO_CATALOG = {
|
|
|
544
591
|
"fiat/processing/DepositProcessingCard.tsx",
|
|
545
592
|
"fiat/processing/DepositCardSheet.tsx",
|
|
546
593
|
"fiat/processing/ProcessingFailure.tsx",
|
|
547
|
-
"fiat/usePaymentFailureAnswer.ts"
|
|
594
|
+
"fiat/payment/usePaymentFailureAnswer.ts"
|
|
548
595
|
]
|
|
549
596
|
},
|
|
550
597
|
"fiat.retryable": {
|
|
@@ -1569,6 +1616,14 @@ var DEFINITIONS = {
|
|
|
1569
1616
|
}
|
|
1570
1617
|
),
|
|
1571
1618
|
"order.failed": fiat({ step: FAILED_ORDER }),
|
|
1619
|
+
"order.deliveryFailed": fiat({
|
|
1620
|
+
step: {
|
|
1621
|
+
state: { kind: "DELIVERY", state: "FAILED" },
|
|
1622
|
+
orderId: ORDER.orderId,
|
|
1623
|
+
provider: PROVIDER,
|
|
1624
|
+
transitions: []
|
|
1625
|
+
}
|
|
1626
|
+
}),
|
|
1572
1627
|
"order.cancelled": fiat({
|
|
1573
1628
|
step: orderCreated({ status: "CANCELLED" })
|
|
1574
1629
|
}),
|