@funkit/connect-rn 8.1.0 → 8.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +167 -0
- package/README.md +29 -0
- package/dist/chunk-BC4RXFI7.js +319 -0
- package/dist/chunk-BC4RXFI7.js.map +7 -0
- package/dist/{chunk-4YNYOJJK.js → chunk-KDRCHYXB.js} +377 -154
- package/dist/chunk-KDRCHYXB.js.map +7 -0
- package/dist/{chunk-75U7A2Q5.js → chunk-Z6IQFV5E.js} +3 -3
- package/dist/{chunk-75U7A2Q5.js.map → chunk-Z6IQFV5E.js.map} +2 -2
- package/dist/{chunk-D64EJ57D.js → chunk-ZIT24GW5.js} +1 -1
- package/dist/chunk-ZIT24GW5.js.map +7 -0
- package/dist/clients/lighter.js +2 -2
- package/dist/clients/nado.js +3 -3
- package/dist/clients/solana.js +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +10582 -6262
- package/dist/index.js.map +4 -4
- package/dist/preview.d.ts +5 -0
- package/dist/preview.d.ts.map +1 -0
- package/dist/preview.js +1159 -0
- package/dist/preview.js.map +7 -0
- package/dist/src/components/BlurBand.d.ts +14 -0
- package/dist/src/components/BlurBand.d.ts.map +1 -0
- package/dist/src/components/DepositActionMotion.d.ts +4 -1
- package/dist/src/components/DepositActionMotion.d.ts.map +1 -1
- package/dist/src/components/DismissibleToast.d.ts +35 -0
- package/dist/src/components/DismissibleToast.d.ts.map +1 -0
- package/dist/src/components/GlassSurface.d.ts +16 -0
- package/dist/src/components/GlassSurface.d.ts.map +1 -0
- package/dist/src/components/PillButton.d.ts +20 -2
- package/dist/src/components/PillButton.d.ts.map +1 -1
- package/dist/src/components/ScrollingDots.d.ts +24 -0
- package/dist/src/components/ScrollingDots.d.ts.map +1 -0
- package/dist/src/components/StateSwap.d.ts +17 -0
- package/dist/src/components/StateSwap.d.ts.map +1 -0
- package/dist/src/components/WithdrawSourceCard.d.ts.map +1 -1
- package/dist/src/components/v2/AmountDisplay.d.ts.map +1 -1
- package/dist/src/components/v2/PaymentMethodPicker.d.ts +18 -0
- package/dist/src/components/v2/PaymentMethodPicker.d.ts.map +1 -0
- package/dist/src/components/v2/QuickAmountsRow.d.ts.map +1 -1
- package/dist/src/fiat/FiatBackButton.d.ts +9 -1
- package/dist/src/fiat/FiatBackButton.d.ts.map +1 -1
- package/dist/src/fiat/FiatBirthDateField.d.ts.map +1 -1
- package/dist/src/fiat/FiatChoiceField.d.ts +9 -1
- package/dist/src/fiat/FiatChoiceField.d.ts.map +1 -1
- package/dist/src/fiat/FiatContactScreen.d.ts.map +1 -1
- package/dist/src/fiat/FiatCountrySheet.d.ts +22 -7
- package/dist/src/fiat/FiatCountrySheet.d.ts.map +1 -1
- package/dist/src/fiat/FiatDocumentCaptureStep.d.ts +8 -2
- package/dist/src/fiat/FiatDocumentCaptureStep.d.ts.map +1 -1
- package/dist/src/fiat/FiatFailureBanner.d.ts +4 -1
- package/dist/src/fiat/FiatFailureBanner.d.ts.map +1 -1
- package/dist/src/fiat/FiatFormAdvance.d.ts.map +1 -1
- package/dist/src/fiat/FiatFormFieldRow.d.ts +15 -1
- package/dist/src/fiat/FiatFormFieldRow.d.ts.map +1 -1
- package/dist/src/fiat/FiatFormHeading.d.ts +21 -0
- package/dist/src/fiat/FiatFormHeading.d.ts.map +1 -0
- package/dist/src/fiat/FiatFormScreen.d.ts +8 -2
- package/dist/src/fiat/FiatFormScreen.d.ts.map +1 -1
- package/dist/src/fiat/FiatIdentityStep.d.ts +16 -1
- package/dist/src/fiat/FiatIdentityStep.d.ts.map +1 -1
- package/dist/src/fiat/FiatKycFieldControl.d.ts +2 -0
- package/dist/src/fiat/FiatKycFieldControl.d.ts.map +1 -1
- package/dist/src/fiat/FiatKycIntroScreen.d.ts +16 -3
- package/dist/src/fiat/FiatKycIntroScreen.d.ts.map +1 -1
- package/dist/src/fiat/FiatKycOutcomeScreen.d.ts +8 -6
- package/dist/src/fiat/FiatKycOutcomeScreen.d.ts.map +1 -1
- package/dist/src/fiat/FiatKycPhoneField.d.ts +2 -3
- package/dist/src/fiat/FiatKycPhoneField.d.ts.map +1 -1
- package/dist/src/fiat/FiatKycPosition.d.ts +5 -3
- package/dist/src/fiat/FiatKycPosition.d.ts.map +1 -1
- package/dist/src/fiat/FiatOtpScreen.d.ts.map +1 -1
- package/dist/src/fiat/FiatPhoneField.d.ts +17 -4
- package/dist/src/fiat/FiatPhoneField.d.ts.map +1 -1
- package/dist/src/fiat/FiatReceipt.d.ts +9 -3
- package/dist/src/fiat/FiatReceipt.d.ts.map +1 -1
- package/dist/src/fiat/FiatRegionUnsupportedScreen.d.ts.map +1 -1
- package/dist/src/fiat/FiatSsnField.d.ts.map +1 -1
- package/dist/src/fiat/FiatSubmissionIndicator.d.ts +7 -1
- package/dist/src/fiat/FiatSubmissionIndicator.d.ts.map +1 -1
- package/dist/src/fiat/FiatTermsNotice.d.ts +5 -2
- package/dist/src/fiat/FiatTermsNotice.d.ts.map +1 -1
- package/dist/src/fiat/SurfaceSlot.d.ts +5 -2
- package/dist/src/fiat/SurfaceSlot.d.ts.map +1 -1
- package/dist/src/fiat/countryListEntries.d.ts +8 -13
- package/dist/src/fiat/countryListEntries.d.ts.map +1 -1
- package/dist/src/fiat/countrySections.d.ts +12 -6
- package/dist/src/fiat/countrySections.d.ts.map +1 -1
- package/dist/src/fiat/fieldLabel.d.ts +14 -0
- package/dist/src/fiat/fieldLabel.d.ts.map +1 -0
- package/dist/src/fiat/formLayout.d.ts +16 -3
- package/dist/src/fiat/formLayout.d.ts.map +1 -1
- package/dist/src/fiat/formValidationError.d.ts +4 -2
- package/dist/src/fiat/formValidationError.d.ts.map +1 -1
- package/dist/src/fiat/kycFailover.d.ts +6 -0
- package/dist/src/fiat/kycFailover.d.ts.map +1 -0
- package/dist/src/fiat/kycFieldValidators.d.ts +5 -1
- package/dist/src/fiat/kycFieldValidators.d.ts.map +1 -1
- package/dist/src/fiat/kycFormState.d.ts +12 -0
- package/dist/src/fiat/kycFormState.d.ts.map +1 -1
- package/dist/src/fiat/kycFormTheme.d.ts +7 -2
- package/dist/src/fiat/kycFormTheme.d.ts.map +1 -1
- package/dist/src/fiat/kycUnavailableAlert.d.ts.map +1 -1
- package/dist/src/fiat/kycWalk.d.ts +22 -0
- package/dist/src/fiat/kycWalk.d.ts.map +1 -0
- package/dist/src/fiat/legalLinks.d.ts +4 -3
- package/dist/src/fiat/legalLinks.d.ts.map +1 -1
- package/dist/src/fiat/paymentSurfaceFailure.d.ts +56 -0
- package/dist/src/fiat/paymentSurfaceFailure.d.ts.map +1 -0
- package/dist/src/fiat/phoneDraft.d.ts +20 -0
- package/dist/src/fiat/phoneDraft.d.ts.map +1 -1
- package/dist/src/fiat/postalCodeCountries.d.ts +16 -0
- package/dist/src/fiat/postalCodeCountries.d.ts.map +1 -0
- package/dist/src/fiat/providers/CoinbaseCheckoutSurface.d.ts +8 -2
- package/dist/src/fiat/providers/CoinbaseCheckoutSurface.d.ts.map +1 -1
- package/dist/src/fiat/providers/HostedControlFrame.d.ts.map +1 -1
- package/dist/src/fiat/providers/adapter.d.ts +48 -6
- package/dist/src/fiat/providers/adapter.d.ts.map +1 -1
- package/dist/src/fiat/providers/applePayButtonMetrics.d.ts +28 -0
- package/dist/src/fiat/providers/applePayButtonMetrics.d.ts.map +1 -0
- package/dist/src/fiat/providers/applePayPaintGate.d.ts +24 -0
- package/dist/src/fiat/providers/applePayPaintGate.d.ts.map +1 -0
- package/dist/src/fiat/providers/banxaRedirect.d.ts.map +1 -1
- package/dist/src/fiat/providers/coinbaseApplePay.d.ts +2 -1
- package/dist/src/fiat/providers/coinbaseApplePay.d.ts.map +1 -1
- package/dist/src/fiat/providers/coinbaseFailureCopy.d.ts +6 -1
- package/dist/src/fiat/providers/coinbaseFailureCopy.d.ts.map +1 -1
- package/dist/src/fiat/providers/describeThrown.d.ts.map +1 -1
- package/dist/src/fiat/providers/kycIntro.d.ts +20 -0
- package/dist/src/fiat/providers/kycIntro.d.ts.map +1 -0
- package/dist/src/fiat/providers/moonpay.d.ts +10 -1
- package/dist/src/fiat/providers/moonpay.d.ts.map +1 -1
- package/dist/src/fiat/providers/moonpayApplePayPainted.d.ts +10 -0
- package/dist/src/fiat/providers/moonpayApplePayPainted.d.ts.map +1 -0
- package/dist/src/fiat/providers/moonpayApplePayStyle.d.ts +12 -0
- package/dist/src/fiat/providers/moonpayApplePayStyle.d.ts.map +1 -0
- package/dist/src/fiat/providers/moonpayAuthStyle.d.ts +19 -0
- package/dist/src/fiat/providers/moonpayAuthStyle.d.ts.map +1 -0
- package/dist/src/fiat/providers/moonpayFeeQuote.d.ts +26 -0
- package/dist/src/fiat/providers/moonpayFeeQuote.d.ts.map +1 -0
- package/dist/src/fiat/providers/stripeAuthorize.d.ts.map +1 -1
- package/dist/src/fiat/providers/stripeCheckout.d.ts.map +1 -1
- package/dist/src/fiat/providers/stripeKyc.d.ts +2 -0
- package/dist/src/fiat/providers/stripeKyc.d.ts.map +1 -1
- package/dist/src/fiat/providers/stripeKycIntro.d.ts +10 -0
- package/dist/src/fiat/providers/stripeKycIntro.d.ts.map +1 -0
- package/dist/src/fiat/providers/stripePayment.d.ts +2 -2
- package/dist/src/fiat/providers/stripePayment.d.ts.map +1 -1
- package/dist/src/fiat/providers/stripeRoundPush.d.ts +39 -0
- package/dist/src/fiat/providers/stripeRoundPush.d.ts.map +1 -0
- package/dist/src/fiat/providers/stripeSeamlessSignIn.d.ts +5 -0
- package/dist/src/fiat/providers/stripeSeamlessSignIn.d.ts.map +1 -1
- package/dist/src/fiat/providers/stripeSessionAuth.d.ts.map +1 -1
- package/dist/src/fiat/providers/sumsubKyc.d.ts.map +1 -1
- package/dist/src/fiat/providers/surfaceParams.d.ts +30 -0
- package/dist/src/fiat/providers/surfaceParams.d.ts.map +1 -0
- package/dist/src/fiat/providers/transakApplePay.d.ts.map +1 -1
- package/dist/src/fiat/providers/useStripeOnrampClient.d.ts +0 -10
- package/dist/src/fiat/providers/useStripeOnrampClient.d.ts.map +1 -1
- package/dist/src/fiat/providers/useStripeSessionAuth.d.ts +42 -0
- package/dist/src/fiat/providers/useStripeSessionAuth.d.ts.map +1 -0
- package/dist/src/fiat/quoteNoRoute.d.ts +11 -0
- package/dist/src/fiat/quoteNoRoute.d.ts.map +1 -0
- package/dist/src/fiat/renderCaptureSurface.d.ts +6 -0
- package/dist/src/fiat/renderCaptureSurface.d.ts.map +1 -1
- package/dist/src/fiat/sectionDetail.d.ts +8 -1
- package/dist/src/fiat/sectionDetail.d.ts.map +1 -1
- package/dist/src/fiat/shownFieldIssues.d.ts +17 -0
- package/dist/src/fiat/shownFieldIssues.d.ts.map +1 -0
- package/dist/src/fiat/stepDetails.d.ts +13 -14
- package/dist/src/fiat/stepDetails.d.ts.map +1 -1
- package/dist/src/fiat/subdivisions.d.ts +21 -0
- package/dist/src/fiat/subdivisions.d.ts.map +1 -0
- package/dist/src/fiat/useContactAutoSubmit.d.ts +20 -0
- package/dist/src/fiat/useContactAutoSubmit.d.ts.map +1 -0
- package/dist/src/fiat/useFiatCheckoutPreparation.d.ts +2 -1
- package/dist/src/fiat/useFiatCheckoutPreparation.d.ts.map +1 -1
- package/dist/src/fiat/useKycCaptureRound.d.ts +16 -0
- package/dist/src/fiat/useKycCaptureRound.d.ts.map +1 -0
- package/dist/src/fiat/useKycCompletion.d.ts.map +1 -1
- package/dist/src/fiat/useOtpAutoSubmit.d.ts +15 -2
- package/dist/src/fiat/useOtpAutoSubmit.d.ts.map +1 -1
- package/dist/src/fiat/useOtpReceipt.d.ts +3 -2
- package/dist/src/fiat/useOtpReceipt.d.ts.map +1 -1
- package/dist/src/fiat/useReceiptTitles.d.ts +6 -0
- package/dist/src/fiat/useReceiptTitles.d.ts.map +1 -0
- package/dist/src/flow/DepositAmountStep.d.ts.map +1 -1
- package/dist/src/flow/DepositAssetPicker.d.ts +4 -2
- package/dist/src/flow/DepositAssetPicker.d.ts.map +1 -1
- package/dist/src/flow/DepositFlowContent.d.ts.map +1 -1
- package/dist/src/flow/DepositReceivedToast.d.ts +2 -2
- package/dist/src/flow/DepositReceivedToast.d.ts.map +1 -1
- package/dist/src/flow/Drawer.d.ts +27 -9
- package/dist/src/flow/Drawer.d.ts.map +1 -1
- package/dist/src/flow/FeeDetailsSheet.d.ts +3 -1
- package/dist/src/flow/FeeDetailsSheet.d.ts.map +1 -1
- package/dist/src/flow/FiatDepositAmountStep.d.ts +5 -1
- package/dist/src/flow/FiatDepositAmountStep.d.ts.map +1 -1
- package/dist/src/flow/FlowPage.d.ts +23 -0
- package/dist/src/flow/FlowPage.d.ts.map +1 -0
- package/dist/src/flow/FlowSheet.d.ts +18 -3
- package/dist/src/flow/FlowSheet.d.ts.map +1 -1
- package/dist/src/flow/FunkitFlowProvider.d.ts +3 -0
- package/dist/src/flow/FunkitFlowProvider.d.ts.map +1 -1
- package/dist/src/flow/SheetMaterial.d.ts +18 -4
- package/dist/src/flow/SheetMaterial.d.ts.map +1 -1
- package/dist/src/flow/WithdrawalFlowContent.d.ts.map +1 -1
- package/dist/src/flow/depositFlowConfig.d.ts +13 -3
- package/dist/src/flow/depositFlowConfig.d.ts.map +1 -1
- package/dist/src/flow/depositRailCopy.d.ts +2 -0
- package/dist/src/flow/depositRailCopy.d.ts.map +1 -1
- package/dist/src/flow/pageMotion.d.ts +37 -0
- package/dist/src/flow/pageMotion.d.ts.map +1 -0
- package/dist/src/flow/pageTurn.d.ts +28 -0
- package/dist/src/flow/pageTurn.d.ts.map +1 -0
- package/dist/src/flow/sheetPressHold.d.ts +24 -0
- package/dist/src/flow/sheetPressHold.d.ts.map +1 -0
- package/dist/src/flow/sheetSizing.d.ts +6 -5
- package/dist/src/flow/sheetSizing.d.ts.map +1 -1
- package/dist/src/flow/swipeBack.d.ts +30 -0
- package/dist/src/flow/swipeBack.d.ts.map +1 -0
- package/dist/src/flow/useDepositReceivedToast.d.ts.map +1 -1
- package/dist/src/flow/useFlowTransitions.d.ts +47 -0
- package/dist/src/flow/useFlowTransitions.d.ts.map +1 -0
- package/dist/src/flow/useKeyboardHeight.d.ts +2 -2
- package/dist/src/flow/useKeyboardHeight.d.ts.map +1 -1
- package/dist/src/flow/v2DepositCustomers.d.ts +2 -0
- package/dist/src/flow/v2DepositCustomers.d.ts.map +1 -0
- package/dist/src/flow/withdrawalFlowConfig.d.ts +18 -5
- package/dist/src/flow/withdrawalFlowConfig.d.ts.map +1 -1
- package/dist/src/hooks/useNestedSheetHeight.d.ts +10 -3
- package/dist/src/hooks/useNestedSheetHeight.d.ts.map +1 -1
- package/dist/src/hooks/usePressScale.d.ts +2 -6
- package/dist/src/hooks/usePressScale.d.ts.map +1 -1
- package/dist/src/hooks/useSheetFade.d.ts.map +1 -1
- package/dist/src/icons/assetLogos.d.ts.map +1 -1
- package/dist/src/native/glassEffect.d.ts +1 -0
- package/dist/src/native/glassEffect.d.ts.map +1 -1
- package/dist/src/preview/fixtures/kycForms.d.ts +45 -0
- package/dist/src/preview/fixtures/kycForms.d.ts.map +1 -0
- package/dist/src/preview/flowPreview.d.ts +142 -0
- package/dist/src/preview/flowPreview.d.ts.map +1 -0
- package/dist/src/preview/previewFetch.d.ts +10 -0
- package/dist/src/preview/previewFetch.d.ts.map +1 -0
- package/dist/src/preview/scenarioCatalog.d.ts +380 -0
- package/dist/src/preview/scenarioCatalog.d.ts.map +1 -0
- package/dist/src/preview/scenarios.d.ts +57 -0
- package/dist/src/preview/scenarios.d.ts.map +1 -0
- package/dist/src/providers/FunkitI18nProvider.d.ts +2 -0
- package/dist/src/providers/FunkitI18nProvider.d.ts.map +1 -1
- package/dist/src/providers/useFunkitCheckout.d.ts +6 -0
- package/dist/src/providers/useFunkitCheckout.d.ts.map +1 -1
- package/dist/src/screens/DepositAmountScreen.d.ts +14 -2
- package/dist/src/screens/DepositAmountScreen.d.ts.map +1 -1
- package/dist/src/screens/FeeDetailsScreen.d.ts.map +1 -1
- package/dist/src/screens/TokenAndChainPickerScreen.d.ts +3 -1
- package/dist/src/screens/TokenAndChainPickerScreen.d.ts.map +1 -1
- package/dist/src/screens/WithdrawAddressScreen.d.ts +4 -1
- package/dist/src/screens/WithdrawAddressScreen.d.ts.map +1 -1
- package/dist/src/screens/WithdrawAmountScreen.d.ts +16 -8
- package/dist/src/screens/WithdrawAmountScreen.d.ts.map +1 -1
- package/dist/src/screens/WithdrawCryptoSteps.d.ts.map +1 -1
- package/dist/src/screens/depositMetrics.d.ts +40 -3
- package/dist/src/screens/depositMetrics.d.ts.map +1 -1
- package/dist/src/swapped/SwappedWebView.d.ts.map +1 -1
- package/dist/src/theme/buildFunkitTheme.d.ts +1 -0
- package/dist/src/theme/buildFunkitTheme.d.ts.map +1 -1
- package/dist/src/theme/keyboardAppearance.d.ts +10 -0
- package/dist/src/theme/keyboardAppearance.d.ts.map +1 -0
- package/dist/src/theme/restyle.d.ts +33 -0
- package/dist/src/theme/restyle.d.ts.map +1 -1
- package/dist/src/theme/toRestyleTheme.d.ts +3 -0
- package/dist/src/theme/toRestyleTheme.d.ts.map +1 -1
- package/dist/src/theme/tokens.d.ts +10 -1
- package/dist/src/theme/tokens.d.ts.map +1 -1
- package/dist/src/transfer/depositAssets.d.ts +6 -4
- package/dist/src/transfer/depositAssets.d.ts.map +1 -1
- package/dist/src/transfer/hooks/useFiatExchangeRates.d.ts +5 -4
- package/dist/src/transfer/hooks/useFiatExchangeRates.d.ts.map +1 -1
- package/dist/src/transfer/hooks/useLockedTokenAmount.d.ts +19 -1
- package/dist/src/transfer/hooks/useLockedTokenAmount.d.ts.map +1 -1
- package/dist/src/transfer/hooks/useUDAParams.d.ts.map +1 -1
- package/dist/src/transfer/lockedQuoteSource.d.ts +23 -0
- package/dist/src/transfer/lockedQuoteSource.d.ts.map +1 -0
- package/dist/src/transfer/lockedTokenAmount.d.ts +25 -0
- package/dist/src/transfer/lockedTokenAmount.d.ts.map +1 -1
- package/dist/src/utils/formatAmount.d.ts +1 -0
- package/dist/src/utils/formatAmount.d.ts.map +1 -1
- package/dist/src/utils/motion.d.ts +6 -15
- package/dist/src/utils/motion.d.ts.map +1 -1
- package/dist/src/withdrawal/maxWithdrawAmount.d.ts +43 -0
- package/dist/src/withdrawal/maxWithdrawAmount.d.ts.map +1 -0
- package/dist/src/withdrawal/useCryptoWithdrawalForm.d.ts +9 -3
- package/dist/src/withdrawal/useCryptoWithdrawalForm.d.ts.map +1 -1
- package/dist/src/withdrawal/useCryptoWithdrawalValidation.d.ts +6 -1
- package/dist/src/withdrawal/useCryptoWithdrawalValidation.d.ts.map +1 -1
- package/dist/src/withdrawal/useSourceTokenUsdPrice.d.ts +2 -1
- package/dist/src/withdrawal/useSourceTokenUsdPrice.d.ts.map +1 -1
- package/dist/src/withdrawal/useWithdrawalAmountInput.d.ts +8 -5
- package/dist/src/withdrawal/useWithdrawalAmountInput.d.ts.map +1 -1
- package/dist/src/withdrawal/useWithdrawalFiatPrice.d.ts +6 -0
- package/dist/src/withdrawal/useWithdrawalFiatPrice.d.ts.map +1 -0
- package/dist/src/withdrawal/useWithdrawalMaximum.d.ts +19 -0
- package/dist/src/withdrawal/useWithdrawalMaximum.d.ts.map +1 -0
- package/dist/src/withdrawal/validation.d.ts +6 -2
- package/dist/src/withdrawal/validation.d.ts.map +1 -1
- package/package.json +13 -6
- package/dist/chunk-4YNYOJJK.js.map +0 -7
- package/dist/chunk-D64EJ57D.js.map +0 -7
- package/dist/src/components/ActionLoading.d.ts +0 -19
- package/dist/src/components/ActionLoading.d.ts.map +0 -1
- package/dist/src/fiat/FiatConsentCheck.d.ts +0 -11
- package/dist/src/fiat/FiatConsentCheck.d.ts.map +0 -1
- package/dist/src/fiat/FiatFormConsent.d.ts +0 -6
- package/dist/src/fiat/FiatFormConsent.d.ts.map +0 -1
- package/dist/src/fiat/FiatQuotePrice.d.ts +0 -12
- package/dist/src/fiat/FiatQuotePrice.d.ts.map +0 -1
- package/dist/src/fiat/kycFormPosition.d.ts +0 -28
- package/dist/src/fiat/kycFormPosition.d.ts.map +0 -1
- package/dist/src/fiat/providerFailover.d.ts +0 -12
- package/dist/src/fiat/providerFailover.d.ts.map +0 -1
- package/dist/src/fiat/providers/StripeSessionAuthController.d.ts +0 -29
- package/dist/src/fiat/providers/StripeSessionAuthController.d.ts.map +0 -1
- package/dist/src/fiat/providers/moonpayTrace.d.ts +0 -25
- package/dist/src/fiat/providers/moonpayTrace.d.ts.map +0 -1
- package/dist/src/fiat/useQuoteableCeiling.d.ts +0 -28
- package/dist/src/fiat/useQuoteableCeiling.d.ts.map +0 -1
- package/dist/src/flow/StepPage.d.ts +0 -16
- package/dist/src/flow/StepPage.d.ts.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { FormField } from '@funkit/connect-core';
|
|
2
|
-
import type
|
|
2
|
+
import { type TextInputProps } from 'react-native';
|
|
3
3
|
/**
|
|
4
4
|
* The pages the US form is drawn as, in the order the design steps them.
|
|
5
5
|
*
|
|
@@ -36,9 +36,22 @@ export declare function pickedDateField(page: KycSectionPage): FormField | undef
|
|
|
36
36
|
* chain. A choice is not.
|
|
37
37
|
*/
|
|
38
38
|
export declare function isFocusableField(field: FormField): boolean;
|
|
39
|
-
export
|
|
39
|
+
export interface ReturnHop {
|
|
40
|
+
label: 'next' | 'done';
|
|
41
|
+
/** Absent where the return key tries the page instead. */
|
|
42
|
+
to?: FormField;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Where a typed field's return key goes: the next required typed field.
|
|
46
|
+
*
|
|
47
|
+
* - An optional line is stepped over (2334:7164) but still hands on when the
|
|
48
|
+
* user taps into it.
|
|
49
|
+
*/
|
|
50
|
+
export declare function returnHop(section: KycSection, typedFields: readonly FormField[], fieldId: string): ReturnHop | undefined;
|
|
51
|
+
/** `country` is the address's, whose postal codes decide the postal code's keyboard. */
|
|
52
|
+
export declare function fieldKeyboardType(field: FormField, country?: string): TextInputProps['keyboardType'] | undefined;
|
|
40
53
|
/** Whether the field raises a pad rather than letters, and so has no return key. */
|
|
41
|
-
export declare function isDigitsField(field: FormField): boolean;
|
|
54
|
+
export declare function isDigitsField(field: FormField, country?: string): boolean;
|
|
42
55
|
/** Whether the field is drawn at a fixed width rather than growing to fill. */
|
|
43
56
|
export declare function isFixedWidthField(field: FormField): boolean;
|
|
44
57
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"formLayout.d.ts","sourceRoot":"","sources":["../../../src/fiat/formLayout.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAc,MAAM,sBAAsB,CAAA;AAEjE,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"formLayout.d.ts","sourceRoot":"","sources":["../../../src/fiat/formLayout.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAc,MAAM,sBAAsB,CAAA;AAEjE,OAAO,EAAY,KAAK,cAAc,EAAE,MAAM,cAAc,CAAA;AAK5D;;;;;;;GAOG;AACH,MAAM,MAAM,UAAU,GAClB,MAAM,GACN,KAAK,GACL,aAAa,GACb,SAAS,GACT,SAAS,GACT,KAAK,GACL,OAAO,GACP,YAAY,GACZ,YAAY,GACZ,SAAS,GACT,kBAAkB,GAClB,QAAQ,GACR,UAAU,GACV,SAAS,CAAA;AAEb,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,UAAU,CAAA;IACnB,2EAA2E;IAC3E,OAAO,EAAE,OAAO,CAAA;IAChB,uEAAuE;IACvE,IAAI,EAAE,SAAS,EAAE,EAAE,CAAA;CACpB;AAED;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,kEACiC,CAAA;AACjE,eAAO,MAAM,yBAAyB,kFAC2C,CAAA;AACjF,eAAO,MAAM,sBAAsB,6EACyC,CAAA;AAwG5E;;;GAGG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,SAAS,GAAG,OAAO,CAGzD;AAiBD,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,UAAU,GAAG,OAAO,CAElE;AAED,wBAAgB,eAAe,CAAC,IAAI,EAAE,cAAc,GAAG,SAAS,GAAG,SAAS,CAI3E;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,SAAS,GAAG,OAAO,CAE1D;AAQD,MAAM,WAAW,SAAS;IACxB,KAAK,EAAE,MAAM,GAAG,MAAM,CAAA;IACtB,0DAA0D;IAC1D,EAAE,CAAC,EAAE,SAAS,CAAA;CACf;AAED;;;;;GAKG;AACH,wBAAgB,SAAS,CACvB,OAAO,EAAE,UAAU,EACnB,WAAW,EAAE,SAAS,SAAS,EAAE,EACjC,OAAO,EAAE,MAAM,GACd,SAAS,GAAG,SAAS,CAUvB;AAeD,wFAAwF;AACxF,wBAAgB,iBAAiB,CAC/B,KAAK,EAAE,SAAS,EAChB,OAAO,CAAC,EAAE,MAAM,GACf,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAS5C;AAED,oFAAoF;AACpF,wBAAgB,aAAa,CAAC,KAAK,EAAE,SAAS,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,CAGzE;AAED,+EAA+E;AAC/E,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,SAAS,GAAG,OAAO,CAE3D;AAED;;;;;;;GAOG;AACH,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,SAAS,SAAS,EAAE,GAAG,SAAS,EAAE,CAE3E;AAED;;;;;;GAMG;AACH,wBAAgB,YAAY,CAAC,MAAM,EAAE,SAAS,SAAS,EAAE,GAAG,cAAc,EAAE,CAwC3E"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { TFunction } from 'i18next';
|
|
2
|
+
import type { KycSection } from './formLayout';
|
|
2
3
|
import type { KycFieldIssue } from './kycFormState';
|
|
3
4
|
/**
|
|
4
5
|
* What the validation error under the fields says.
|
|
@@ -7,7 +8,8 @@ import type { KycFieldIssue } from './kycFormState';
|
|
|
7
8
|
* the page's own refusals have to reach the message — a colour arriving with
|
|
8
9
|
* no reason leaves the user re-reading a page that looks correct.
|
|
9
10
|
*
|
|
10
|
-
* The round's own error outranks them: the server saw the whole form.
|
|
11
|
+
* The round's own error outranks them: the server saw the whole form. The
|
|
12
|
+
* address page words every refusal as one line (2334:7471).
|
|
11
13
|
*/
|
|
12
|
-
export declare function formValidationError(errorMessage: string | undefined, issues: readonly KycFieldIssue[], t: TFunction): string | undefined;
|
|
14
|
+
export declare function formValidationError(errorMessage: string | undefined, issues: readonly KycFieldIssue[], t: TFunction, section?: KycSection): string | undefined;
|
|
13
15
|
//# sourceMappingURL=formValidationError.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"formValidationError.d.ts","sourceRoot":"","sources":["../../../src/fiat/formValidationError.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAExC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAA;AAEnD
|
|
1
|
+
{"version":3,"file":"formValidationError.d.ts","sourceRoot":"","sources":["../../../src/fiat/formValidationError.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAExC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAC9C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAA;AAEnD;;;;;;;;;GASG;AACH,wBAAgB,mBAAmB,CACjC,YAAY,EAAE,MAAM,GAAG,SAAS,EAChC,MAAM,EAAE,SAAS,aAAa,EAAE,EAChC,CAAC,EAAE,SAAS,EACZ,OAAO,CAAC,EAAE,UAAU,GACnB,MAAM,GAAG,SAAS,CAWpB"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { FiatProvider, FiatStepResponse } from '@funkit/connect-core';
|
|
2
|
+
/** An existing flow can no longer advance with this provider. */
|
|
3
|
+
export declare function rejectedKycProvider(state: FiatStepResponse['state'] | undefined, provider: FiatProvider | undefined, triedProviders: readonly FiatProvider[]): FiatProvider | undefined;
|
|
4
|
+
/** A KYC refusal with no viable failover, or the same provider refusing again. */
|
|
5
|
+
export declare function kycFailoverExhausted(error: unknown, triedProviders: readonly FiatProvider[], state?: FiatStepResponse['state'], provider?: FiatProvider): boolean;
|
|
6
|
+
//# sourceMappingURL=kycFailover.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"kycFailover.d.ts","sourceRoot":"","sources":["../../../src/fiat/kycFailover.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAA;AAG1E,iEAAiE;AACjE,wBAAgB,mBAAmB,CACjC,KAAK,EAAE,gBAAgB,CAAC,OAAO,CAAC,GAAG,SAAS,EAC5C,QAAQ,EAAE,YAAY,GAAG,SAAS,EAClC,cAAc,EAAE,SAAS,YAAY,EAAE,GACtC,YAAY,GAAG,SAAS,CAa1B;AAED,kFAAkF;AAClF,wBAAgB,oBAAoB,CAClC,KAAK,EAAE,OAAO,EACd,cAAc,EAAE,SAAS,YAAY,EAAE,EACvC,KAAK,CAAC,EAAE,gBAAgB,CAAC,OAAO,CAAC,EACjC,QAAQ,CAAC,EAAE,YAAY,GACtB,OAAO,CAeT"}
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import type { FormField } from '@funkit/connect-core';
|
|
2
2
|
import { type KycFieldIssue } from './kycFormState';
|
|
3
|
-
export declare function kycFieldValidators(field: FormField, ssnDigits?: 4 | 9
|
|
3
|
+
export declare function kycFieldValidators(field: FormField, ssnDigits?: 4 | 9,
|
|
4
|
+
/** The only answers the field takes; see `regionOptions`. */
|
|
5
|
+
choices?: readonly {
|
|
6
|
+
id: string;
|
|
7
|
+
}[]): {
|
|
4
8
|
onMount: (input: {
|
|
5
9
|
value: string | undefined;
|
|
6
10
|
}) => KycFieldIssue | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kycFieldValidators.d.ts","sourceRoot":"","sources":["../../../src/fiat/kycFieldValidators.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;AACrD,OAAO,EAAE,KAAK,aAAa,EAA8B,MAAM,gBAAgB,CAAA;AAE/E,wBAAgB,kBAAkB,
|
|
1
|
+
{"version":3,"file":"kycFieldValidators.d.ts","sourceRoot":"","sources":["../../../src/fiat/kycFieldValidators.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;AACrD,OAAO,EAAE,KAAK,aAAa,EAA8B,MAAM,gBAAgB,CAAA;AAE/E,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,aAAa,GAAG,SAAS;sBAFT;QACpB,KAAK,EAAE,MAAM,GAAG,SAAS,CAAA;KAC1B,KAAK,aAAa,GAAG,SAAS;cAmBhC"}
|
|
@@ -35,6 +35,18 @@ export declare function blankCountryFields(fields: readonly FormField[], values:
|
|
|
35
35
|
* a reason to re-send it, not a reason to make the buyer retype it.
|
|
36
36
|
*/
|
|
37
37
|
export declare function carriedBlankFields(fields: readonly FormField[], values: FormValues, carried: FormValues): FormField[];
|
|
38
|
+
/**
|
|
39
|
+
* The fields an earlier round of this session already answered, which this
|
|
40
|
+
* round sends again without asking — the provider still needs them, but the
|
|
41
|
+
* buyer does not need to see them twice (Stripe's name and country, typed at
|
|
42
|
+
* account creation and wanted again by `attachKycInfo`).
|
|
43
|
+
*
|
|
44
|
+
* None on a round that carries an error: that round is a correction, and
|
|
45
|
+
* hiding a refused value would send it back unseen, forever. None either when
|
|
46
|
+
* every field is answered, since a form with nothing on it cannot be sent.
|
|
47
|
+
* After a relaunch nothing is carried, so every field is asked as before.
|
|
48
|
+
*/
|
|
49
|
+
export declare function answeredFields(fields: readonly FormField[], carried: FormValues | undefined, errorMessage: string | undefined): FormField[];
|
|
38
50
|
/** Every rail this form feeds requires an adult (design 2114:8361). */
|
|
39
51
|
export declare const MINIMUM_AGE_YEARS = 18;
|
|
40
52
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kycFormState.d.ts","sourceRoot":"","sources":["../../../src/fiat/kycFormState.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,cAAc,EACd,SAAS,EACT,cAAc,EACd,UAAU,EACV,SAAS,EACV,MAAM,sBAAsB,CAAA;AAE7B,MAAM,MAAM,aAAa,GAAG,cAAc,GAAG,eAAe,CAAA;AAe5D;;;;;;GAMG;AACH,wBAAgB,UAAU,CACxB,MAAM,EAAE,SAAS,OAAO,EAAE,GAAG,SAAS,GACrC,aAAa,GAAG,SAAS,CAE3B;AAED,iFAAiF;AACjF,eAAO,MAAM,WAAW,GAAI,OAAO,SAAS,GAAG,SAAS,KAAG,MACnB,CAAA;AAExC;;;;;;GAMG;AACH,MAAM,MAAM,aAAa,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;AAElD,+EAA+E;AAC/E,wBAAgB,WAAW,CAAC,MAAM,EAAE,UAAU,GAAG,aAAa,CAO7D;AAED;;;GAGG;AACH,wBAAgB,kBAAkB,CAChC,MAAM,EAAE,SAAS,SAAS,EAAE,EAC5B,MAAM,EAAE,UAAU,GACjB,SAAS,EAAE,CAIb;AAED;;;;;;;;GAQG;AACH,wBAAgB,kBAAkB,CAChC,MAAM,EAAE,SAAS,SAAS,EAAE,EAC5B,MAAM,EAAE,UAAU,EAClB,OAAO,EAAE,UAAU,GAClB,SAAS,EAAE,CAUb;AAED,uEAAuE;AACvE,eAAO,MAAM,iBAAiB,KAAK,CAAA;AAInC;;;;;;;GAOG;AACH,wBAAgB,aAAa,CAC3B,KAAK,EAAE,MAAM,EACb,KAAK,GAAE,IAAiB,GACvB,eAAe,GAAG,SAAS,CAuB7B;AAWD,gEAAgE;AAChE,wBAAgB,eAAe,CAC7B,IAAI,EAAE,cAAc,EACpB,MAAM,EAAE,UAAU,GACjB,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,CAY/B"}
|
|
1
|
+
{"version":3,"file":"kycFormState.d.ts","sourceRoot":"","sources":["../../../src/fiat/kycFormState.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,cAAc,EACd,SAAS,EACT,cAAc,EACd,UAAU,EACV,SAAS,EACV,MAAM,sBAAsB,CAAA;AAE7B,MAAM,MAAM,aAAa,GAAG,cAAc,GAAG,eAAe,CAAA;AAe5D;;;;;;GAMG;AACH,wBAAgB,UAAU,CACxB,MAAM,EAAE,SAAS,OAAO,EAAE,GAAG,SAAS,GACrC,aAAa,GAAG,SAAS,CAE3B;AAED,iFAAiF;AACjF,eAAO,MAAM,WAAW,GAAI,OAAO,SAAS,GAAG,SAAS,KAAG,MACnB,CAAA;AAExC;;;;;;GAMG;AACH,MAAM,MAAM,aAAa,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;AAElD,+EAA+E;AAC/E,wBAAgB,WAAW,CAAC,MAAM,EAAE,UAAU,GAAG,aAAa,CAO7D;AAED;;;GAGG;AACH,wBAAgB,kBAAkB,CAChC,MAAM,EAAE,SAAS,SAAS,EAAE,EAC5B,MAAM,EAAE,UAAU,GACjB,SAAS,EAAE,CAIb;AAED;;;;;;;;GAQG;AACH,wBAAgB,kBAAkB,CAChC,MAAM,EAAE,SAAS,SAAS,EAAE,EAC5B,MAAM,EAAE,UAAU,EAClB,OAAO,EAAE,UAAU,GAClB,SAAS,EAAE,CAUb;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,cAAc,CAC5B,MAAM,EAAE,SAAS,SAAS,EAAE,EAC5B,OAAO,EAAE,UAAU,GAAG,SAAS,EAC/B,YAAY,EAAE,MAAM,GAAG,SAAS,GAC/B,SAAS,EAAE,CAQb;AAED,uEAAuE;AACvE,eAAO,MAAM,iBAAiB,KAAK,CAAA;AAInC;;;;;;;GAOG;AACH,wBAAgB,aAAa,CAC3B,KAAK,EAAE,MAAM,EACb,KAAK,GAAE,IAAiB,GACvB,eAAe,GAAG,SAAS,CAuB7B;AAWD,gEAAgE;AAChE,wBAAgB,eAAe,CAC7B,IAAI,EAAE,cAAc,EACpB,MAAM,EAAE,UAAU,GACjB,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,CAY/B"}
|
|
@@ -6,9 +6,9 @@ export declare const KYC_FORM_METRICS: {
|
|
|
6
6
|
/** Field height, and the back button's diameter. */
|
|
7
7
|
readonly fieldHeight: 56;
|
|
8
8
|
readonly fieldRadius: 16;
|
|
9
|
+
/** A card of grouped fields rounds wider than one field (2334:7471). */
|
|
10
|
+
readonly cardRadius: 26;
|
|
9
11
|
readonly fieldPaddingHorizontal: 16;
|
|
10
|
-
/** An optional field's caption needs the extra 4px, so it insets less. */
|
|
11
|
-
readonly optionalPaddingHorizontal: 12;
|
|
12
12
|
/** Where that caption sits, clear of the placeholder above it. */
|
|
13
13
|
readonly optionalCaptionBottom: 7;
|
|
14
14
|
/** Between the rows of one section. */
|
|
@@ -102,5 +102,10 @@ export declare const KYC_FORM_METRICS: {
|
|
|
102
102
|
readonly codeBoxHeight: 64;
|
|
103
103
|
readonly codeBoxGap: 8;
|
|
104
104
|
readonly codeDigitFontSize: 28;
|
|
105
|
+
/** The resend row sits 48 below the boxes (1951:8864), past the column's 24 gap. */
|
|
106
|
+
readonly otpResendTop: 24;
|
|
107
|
+
readonly otpResendFontSize: 17;
|
|
108
|
+
readonly otpResendLineHeight: 19;
|
|
109
|
+
readonly otpResendTracking: -0.34;
|
|
105
110
|
};
|
|
106
111
|
//# sourceMappingURL=kycFormTheme.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kycFormTheme.d.ts","sourceRoot":"","sources":["../../../src/fiat/kycFormTheme.ts"],"names":[],"mappings":"AAMA;;;GAGG;AACH,eAAO,MAAM,gBAAgB;IAC3B,oDAAoD
|
|
1
|
+
{"version":3,"file":"kycFormTheme.d.ts","sourceRoot":"","sources":["../../../src/fiat/kycFormTheme.ts"],"names":[],"mappings":"AAMA;;;GAGG;AACH,eAAO,MAAM,gBAAgB;IAC3B,oDAAoD;;;IAGpD,wEAAwE;;;IAGxE,kEAAkE;;IAElE,uCAAuC;;;;IAQvC,6CAA6C;;;;;;IAW7C,8EAA8E;;;;;IAK9E,oEAAoE;;;;IAIpE,8EAA8E;;IAE9E,qDAAqD;;;;IASrD,yCAAyC;;IAEzC,4EAA4E;;IAE5E,mEAAmE;;;;IAInE,mDAAmD;;IAEnD,iEAAiE;;IAEjE,2BAA2B;;IAE3B,sDAAsD;;IAEtD,mDAAmD;;IAEnD,6EAA6E;;;IAG7E,kEAAkE;;IAElE;;;OAGG;;;;IAIH,6EAA6E;;IAO7E,0DAA0D;;IAE1D,0EAA0E;;;;IAI1E,oDAAoD;;IAEpD,2DAA2D;;;IAG3D;;;OAGG;;IAEH,+DAA+D;;;IAG/D,sEAAsE;;IAEtE,oEAAoE;;IAEpE,yDAAyD;;IAEzD,yEAAyE;;;;;IASzE,oEAAoE;;;;IAIpE,oFAAoF;;;;;CAK5E,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kycUnavailableAlert.d.ts","sourceRoot":"","sources":["../../../src/fiat/kycUnavailableAlert.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAIxC;;;;;;;;;;GAUG;AACH,MAAM,MAAM,iBAAiB,GACzB;IAAE,MAAM,EAAE,SAAS,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;CAAE,GAC3C;IAAE,MAAM,EAAE,UAAU,CAAA;CAAE,
|
|
1
|
+
{"version":3,"file":"kycUnavailableAlert.d.ts","sourceRoot":"","sources":["../../../src/fiat/kycUnavailableAlert.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAIxC;;;;;;;;;;GAUG;AACH,MAAM,MAAM,iBAAiB,GACzB;IAAE,MAAM,EAAE,SAAS,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;CAAE,GAC3C;IAAE,MAAM,EAAE,UAAU,CAAA;CAAE,GAMtB;IAAE,MAAM,EAAE,mBAAmB,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,IAAI,CAAA;CAAE,CAAA;AAE3D,wBAAgB,uBAAuB,CACrC,CAAC,EAAE,SAAS,EACZ,cAAc,EAAE,iBAAiB,QA8ClC;AAED;;;GAGG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS,GAAG,UAAU,CAKzE"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { DotSlot } from '../components/ScrollingDots';
|
|
2
|
+
/** Where a page stands in the pages walked so far, this round's included. */
|
|
3
|
+
export interface KycWalkOrder {
|
|
4
|
+
/** 0-based. */
|
|
5
|
+
index: number;
|
|
6
|
+
count: number;
|
|
7
|
+
}
|
|
8
|
+
/** The pages walked before this round, and this round's own, so a later round's dots carry on from the earlier ones. */
|
|
9
|
+
export interface KycWalk {
|
|
10
|
+
formId: string;
|
|
11
|
+
before: number;
|
|
12
|
+
pages: number;
|
|
13
|
+
}
|
|
14
|
+
export declare function walkRound(walk: KycWalk | undefined, formId: string, pages: number): KycWalk;
|
|
15
|
+
export declare function walkOrder(walk: KycWalk, step: number): KycWalkOrder;
|
|
16
|
+
/**
|
|
17
|
+
* Which dot a page lights. A later round can always follow, so the end of the
|
|
18
|
+
* pages seen so far is not the end of the walk: only the SSN page, which the
|
|
19
|
+
* design closes the walk with, lights the last dot.
|
|
20
|
+
*/
|
|
21
|
+
export declare function kycDotSlot(index: number, last: boolean): DotSlot;
|
|
22
|
+
//# sourceMappingURL=kycWalk.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"kycWalk.d.ts","sourceRoot":"","sources":["../../../src/fiat/kycWalk.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAA;AAE1D,6EAA6E;AAC7E,MAAM,WAAW,YAAY;IAC3B,eAAe;IACf,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;CACd;AAED,wHAAwH;AACxH,MAAM,WAAW,OAAO;IACtB,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,EAAE,MAAM,CAAA;IACd,KAAK,EAAE,MAAM,CAAA;CACd;AAED,wBAAgB,SAAS,CACvB,IAAI,EAAE,OAAO,GAAG,SAAS,EACzB,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,MAAM,GACZ,OAAO,CAQT;AAED,wBAAgB,SAAS,CAAC,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,GAAG,YAAY,CAEnE;AAED;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,GAAG,OAAO,CAKhE"}
|
|
@@ -8,10 +8,11 @@ import type { FiatProvider, KYCProvider } from '@funkit/connect-core';
|
|
|
8
8
|
/** Fun's own policy, linked from the consent the buyer has to give. */
|
|
9
9
|
export declare const PRIVACY_POLICY_URL = "https://fun.xyz/privacy";
|
|
10
10
|
/**
|
|
11
|
-
* Bumped whenever the consent copy changes, and logged with every
|
|
12
|
-
* a record can be matched to the words the buyer actually read.
|
|
11
|
+
* Bumped whenever the consent copy changes, and logged and recorded with every
|
|
12
|
+
* consent, so a record can be matched to the words the buyer actually read.
|
|
13
|
+
* The backend must publish the same revision (`FUN_KYC_CONSENT_TERMS`).
|
|
13
14
|
*/
|
|
14
|
-
export declare const CONSENT_COPY_VERSION = "2026-09-11";
|
|
15
|
+
export declare const CONSENT_COPY_VERSION = "fun-kyc-consent-2026-09-11";
|
|
15
16
|
/** The provider's terms, or `undefined` when none is on record for it. */
|
|
16
17
|
export declare function providerTermsUrl(provider: FiatProvider | undefined): string | undefined;
|
|
17
18
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"legalLinks.d.ts","sourceRoot":"","sources":["../../../src/fiat/legalLinks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAA;AAErE;;;;;GAKG;AAEH,uEAAuE;AACvE,eAAO,MAAM,kBAAkB,4BAA4B,CAAA;AAE3D
|
|
1
|
+
{"version":3,"file":"legalLinks.d.ts","sourceRoot":"","sources":["../../../src/fiat/legalLinks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAA;AAErE;;;;;GAKG;AAEH,uEAAuE;AACvE,eAAO,MAAM,kBAAkB,4BAA4B,CAAA;AAE3D;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,+BAA+B,CAAA;AA6BhE,0EAA0E;AAC1E,wBAAgB,gBAAgB,CAC9B,QAAQ,EAAE,YAAY,GAAG,SAAS,GACjC,MAAM,GAAG,SAAS,CAEpB;AAED;;;GAGG;AACH,wBAAgB,mBAAmB,CACjC,QAAQ,EAAE,YAAY,GAAG,SAAS,EAClC,QAAQ,EAAE,MAAM,GACf,MAAM,CAKR;AAED;;;GAGG;AACH,wBAAgB,sBAAsB,CACpC,QAAQ,EAAE,WAAW,GAAG,SAAS,EACjC,QAAQ,EAAE,MAAM,GACf,MAAM,CAKR"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import type { Quote, Surface } from '@funkit/connect-core';
|
|
2
|
+
import type { TFunction } from 'i18next';
|
|
3
|
+
/**
|
|
4
|
+
* How the amount screen answers a payment surface that gave up.
|
|
5
|
+
*
|
|
6
|
+
* - Read off the code alone: a provider's own `detail` may be raw text written
|
|
7
|
+
* for the integrator (MoonPay's sheet error), so it never reaches the buyer.
|
|
8
|
+
* - `unavailable` is the bucket for anything we have no copy for.
|
|
9
|
+
*/
|
|
10
|
+
export type PaymentSurfaceFailure = {
|
|
11
|
+
kind: 'cancelled';
|
|
12
|
+
} | {
|
|
13
|
+
kind: 'declined';
|
|
14
|
+
title: string;
|
|
15
|
+
message: string;
|
|
16
|
+
} | {
|
|
17
|
+
kind: 'refused';
|
|
18
|
+
detail: string;
|
|
19
|
+
} | {
|
|
20
|
+
kind: 'unavailable';
|
|
21
|
+
};
|
|
22
|
+
export declare function paymentSurfaceFailure(code: string, t: TFunction): PaymentSurfaceFailure;
|
|
23
|
+
/**
|
|
24
|
+
* What the amount screen does once a payment surface gave up.
|
|
25
|
+
*
|
|
26
|
+
* - A spent capture is always repriced.
|
|
27
|
+
* - A dismissed sheet is never remounted: its surface opens the sheet on mount, so a remount
|
|
28
|
+
* reopens what the buyer just closed. It waits for their tap while its provider says it can
|
|
29
|
+
* reopen, and is repriced once it cannot.
|
|
30
|
+
*/
|
|
31
|
+
export declare function paymentSurfaceRecovery({ cause, stale, reopenableUntil, now, }: {
|
|
32
|
+
cause: 'cancelled' | 'declined' | 'unavailable';
|
|
33
|
+
stale: boolean;
|
|
34
|
+
reopenableUntil: number | undefined;
|
|
35
|
+
now?: number;
|
|
36
|
+
}): 'hold' | 'remount' | 'requote';
|
|
37
|
+
type RecoveringAlertOptions = {
|
|
38
|
+
scheme?: 'light' | 'dark';
|
|
39
|
+
onDismiss: () => void;
|
|
40
|
+
};
|
|
41
|
+
/** Design 2846:11628: both buttons lead back to a re-presented payment button. */
|
|
42
|
+
export declare function showPaymentSurfaceUnavailableAlert(t: TFunction, { applePay, ...options }: RecoveringAlertOptions & {
|
|
43
|
+
applePay: boolean;
|
|
44
|
+
}): void;
|
|
45
|
+
/** Design 2830:10739 and 2830:10803: the same two buttons as unavailable. */
|
|
46
|
+
export declare function showPaymentDeclinedAlert(t: TFunction, { title, message, ...options }: RecoveringAlertOptions & {
|
|
47
|
+
title: string;
|
|
48
|
+
message: string;
|
|
49
|
+
}): void;
|
|
50
|
+
/**
|
|
51
|
+
* Whether a re-presented button would open a session that is already dead.
|
|
52
|
+
* Reads the clock, so it belongs at the moment of recovery, not in a render.
|
|
53
|
+
*/
|
|
54
|
+
export declare function isCaptureStale(surface: Pick<Surface, 'expiresAt'> | undefined, quote: Pick<Quote, 'expiresAt'> | undefined, now?: number): boolean;
|
|
55
|
+
export {};
|
|
56
|
+
//# sourceMappingURL=paymentSurfaceFailure.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"paymentSurfaceFailure.d.ts","sourceRoot":"","sources":["../../../src/fiat/paymentSurfaceFailure.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAA;AAC1D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAMxC;;;;;;GAMG;AACH,MAAM,MAAM,qBAAqB,GAC7B;IAAE,IAAI,EAAE,WAAW,CAAA;CAAE,GACrB;IAAE,IAAI,EAAE,UAAU,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,GACpD;IAAE,IAAI,EAAE,SAAS,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,GACnC;IAAE,IAAI,EAAE,aAAa,CAAA;CAAE,CAAA;AAE3B,wBAAgB,qBAAqB,CACnC,IAAI,EAAE,MAAM,EACZ,CAAC,EAAE,SAAS,GACX,qBAAqB,CAYvB;AAED;;;;;;;GAOG;AACH,wBAAgB,sBAAsB,CAAC,EACrC,KAAK,EACL,KAAK,EACL,eAAe,EACf,GAAgB,GACjB,EAAE;IACD,KAAK,EAAE,WAAW,GAAG,UAAU,GAAG,aAAa,CAAA;IAC/C,KAAK,EAAE,OAAO,CAAA;IACd,eAAe,EAAE,MAAM,GAAG,SAAS,CAAA;IACnC,GAAG,CAAC,EAAE,MAAM,CAAA;CACb,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,CAUjC;AAED,KAAK,sBAAsB,GAAG;IAC5B,MAAM,CAAC,EAAE,OAAO,GAAG,MAAM,CAAA;IACzB,SAAS,EAAE,MAAM,IAAI,CAAA;CACtB,CAAA;AAED,kFAAkF;AAClF,wBAAgB,kCAAkC,CAChD,CAAC,EAAE,SAAS,EACZ,EAAE,QAAQ,EAAE,GAAG,OAAO,EAAE,EAAE,sBAAsB,GAAG;IAAE,QAAQ,EAAE,OAAO,CAAA;CAAE,QAUzE;AAED,6EAA6E;AAC7E,wBAAgB,wBAAwB,CACtC,CAAC,EAAE,SAAS,EACZ,EACE,KAAK,EACL,OAAO,EACP,GAAG,OAAO,EACX,EAAE,sBAAsB,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,QAG/D;AAyBD;;;GAGG;AACH,wBAAgB,cAAc,CAC5B,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,WAAW,CAAC,GAAG,SAAS,EAC/C,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,WAAW,CAAC,GAAG,SAAS,EAC3C,GAAG,GAAE,MAAmB,GACvB,OAAO,CAQT"}
|
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
import { type PhoneCountry } from './phoneCountries';
|
|
2
|
+
/**
|
|
3
|
+
* The number as the country writes it, `(408) 460-6031` for the US, grouped as
|
|
4
|
+
* it is typed. A pasted number keeps its own punctuation past the dial code, so
|
|
5
|
+
* the groups are cut from the digits rather than the raw characters.
|
|
6
|
+
*/
|
|
2
7
|
export declare function formatPhoneDraft(country: PhoneCountry, value: string): string;
|
|
8
|
+
/**
|
|
9
|
+
* The digits, less any past the longest number the country issues: a digit that
|
|
10
|
+
* cannot belong to the number is not taken, as the platforms' own fields do.
|
|
11
|
+
*/
|
|
12
|
+
export declare function capPhoneDigits(country: PhoneCountry, national: string, previous?: string): string;
|
|
3
13
|
/** Removing a formatting character must still let Backspace remove a digit. */
|
|
4
14
|
export declare function editPhoneDraft(previous: string, next: string): string;
|
|
5
15
|
/** A number split where its calling code ends. */
|
|
@@ -14,4 +24,14 @@ export declare function pastedPhone(value: string): DialledPhone | undefined;
|
|
|
14
24
|
* `pastedPhone` moves one only out of a number libphonenumber calls valid.
|
|
15
25
|
*/
|
|
16
26
|
export declare function insertedPhone(previous: string, next: string, selected: PhoneCountry): DialledPhone | undefined;
|
|
27
|
+
/**
|
|
28
|
+
* `insertedPhone`, logged when the number moves the chip — the only trace of
|
|
29
|
+
* an autofill that disagreed with the buyer's region. No digits are logged.
|
|
30
|
+
*/
|
|
31
|
+
export declare function normalizedPhoneEdit(previous: string, next: string, chip: PhoneCountry): DialledPhone | undefined;
|
|
32
|
+
/**
|
|
33
|
+
* Whether an edit brought the number in one go rather than a key at a time.
|
|
34
|
+
* Counts digits, so spaces, dashes and brackets never read as a paste.
|
|
35
|
+
*/
|
|
36
|
+
export declare function arrivedWhole(previous: string, next: string): boolean;
|
|
17
37
|
//# sourceMappingURL=phoneDraft.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"phoneDraft.d.ts","sourceRoot":"","sources":["../../../src/fiat/phoneDraft.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"phoneDraft.d.ts","sourceRoot":"","sources":["../../../src/fiat/phoneDraft.ts"],"names":[],"mappings":"AAQA,OAAO,EAEL,KAAK,YAAY,EAKlB,MAAM,kBAAkB,CAAA;AAEzB;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAQ7E;AAED;;;GAGG;AACH,wBAAgB,cAAc,CAC5B,OAAO,EAAE,YAAY,EACrB,QAAQ,EAAE,MAAM,EAChB,QAAQ,SAAK,GACZ,MAAM,CAgBR;AAKD,+EAA+E;AAC/E,wBAAgB,cAAc,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,CAiBrE;AAWD,kDAAkD;AAClD,MAAM,WAAW,YAAY;IAC3B,OAAO,EAAE,YAAY,CAAA;IACrB,QAAQ,EAAE,MAAM,CAAA;CACjB;AAED,gFAAgF;AAChF,wBAAgB,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,YAAY,GAAG,SAAS,CAanE;AAED;;;GAGG;AACH,wBAAgB,aAAa,CAC3B,QAAQ,EAAE,MAAM,EAChB,IAAI,EAAE,MAAM,EACZ,QAAQ,EAAE,YAAY,GACrB,YAAY,GAAG,SAAS,CAmB1B;AAED;;;GAGG;AACH,wBAAgB,mBAAmB,CACjC,QAAQ,EAAE,MAAM,EAChB,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,YAAY,GACjB,YAAY,GAAG,SAAS,CAS1B;AAyDD;;;GAGG;AACH,wBAAgB,YAAY,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAEpE"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* How a country writes its postal codes, where Google's address metadata
|
|
3
|
+
* (libaddressinput, chromium-i18n.appspot.com/ssl-address/data) and
|
|
4
|
+
* `postcode-validator` agree. Anywhere they disagree is on neither list, so
|
|
5
|
+
* the keyboard stays letters (`postalCodeCountries.drift.test.ts`).
|
|
6
|
+
*
|
|
7
|
+
* - `digits`: codes are written as digits alone. The US ZIP+4 extension and
|
|
8
|
+
* FR's space are optional, and neither is how the post office writes them.
|
|
9
|
+
* - `separated`: digits the country writes split by a hyphen or space
|
|
10
|
+
* (`12345-678`, `123 45`), which a number pad cannot type.
|
|
11
|
+
* - A country whose codes carry any letter (GB, CA, NL, IE, AR, MT, LV…), or
|
|
12
|
+
* that has no postal code, is on neither list.
|
|
13
|
+
*/
|
|
14
|
+
export type PostalCodeForm = 'digits' | 'separated';
|
|
15
|
+
export declare function postalCodeForm(alpha2: string | undefined): PostalCodeForm | undefined;
|
|
16
|
+
//# sourceMappingURL=postalCodeCountries.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"postalCodeCountries.d.ts","sourceRoot":"","sources":["../../../src/fiat/postalCodeCountries.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,MAAM,MAAM,cAAc,GAAG,QAAQ,GAAG,WAAW,CAAA;AAkBnD,wBAAgB,cAAc,CAC5B,MAAM,EAAE,MAAM,GAAG,SAAS,GACzB,cAAc,GAAG,SAAS,CAS5B"}
|
|
@@ -2,8 +2,14 @@ export interface CoinbaseCheckoutSurfaceProps {
|
|
|
2
2
|
checkoutUrl: string;
|
|
3
3
|
/** Log context only — the contract says URL surfaces may carry none. */
|
|
4
4
|
environment: string;
|
|
5
|
+
readinessTiming?: {
|
|
6
|
+
attemptId: string;
|
|
7
|
+
selectedAt: number;
|
|
8
|
+
};
|
|
5
9
|
/** The button is drawn and can be pressed. */
|
|
6
|
-
onReady: (
|
|
10
|
+
onReady: (info: {
|
|
11
|
+
paintConfirmed: boolean;
|
|
12
|
+
}) => void;
|
|
7
13
|
/** The user paid; the transfer is theirs to run from here. */
|
|
8
14
|
onPaid: () => void;
|
|
9
15
|
/** Their polling saw the crypto sent. */
|
|
@@ -24,5 +30,5 @@ export interface CoinbaseCheckoutSurfaceProps {
|
|
|
24
30
|
* - the page paints no background of its own once told to, so the frame
|
|
25
31
|
* around it decides the button's shape
|
|
26
32
|
*/
|
|
27
|
-
export declare function CoinbaseCheckoutSurface({ checkoutUrl, environment, onReady, onPaid, onSucceeded, onFailed, }: CoinbaseCheckoutSurfaceProps): import("react").JSX.Element;
|
|
33
|
+
export declare function CoinbaseCheckoutSurface({ checkoutUrl, environment, readinessTiming, onReady, onPaid, onSucceeded, onFailed, }: CoinbaseCheckoutSurfaceProps): import("react").JSX.Element;
|
|
28
34
|
//# sourceMappingURL=CoinbaseCheckoutSurface.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CoinbaseCheckoutSurface.d.ts","sourceRoot":"","sources":["../../../../src/fiat/providers/CoinbaseCheckoutSurface.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CoinbaseCheckoutSurface.d.ts","sourceRoot":"","sources":["../../../../src/fiat/providers/CoinbaseCheckoutSurface.tsx"],"names":[],"mappings":"AAwBA,MAAM,WAAW,4BAA4B;IAC3C,WAAW,EAAE,MAAM,CAAA;IACnB,wEAAwE;IACxE,WAAW,EAAE,MAAM,CAAA;IACnB,eAAe,CAAC,EAAE;QAAE,SAAS,EAAE,MAAM,CAAC;QAAC,UAAU,EAAE,MAAM,CAAA;KAAE,CAAA;IAC3D,8CAA8C;IAC9C,OAAO,EAAE,CAAC,IAAI,EAAE;QAAE,cAAc,EAAE,OAAO,CAAA;KAAE,KAAK,IAAI,CAAA;IACpD,8DAA8D;IAC9D,MAAM,EAAE,MAAM,IAAI,CAAA;IAClB,yCAAyC;IACzC,WAAW,EAAE,MAAM,IAAI,CAAA;IACvB,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,KAAK,IAAI,CAAA;CAClD;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,uBAAuB,CAAC,EACtC,WAAW,EACX,WAAW,EACX,eAAe,EACf,OAAO,EACP,MAAM,EACN,WAAW,EACX,QAAQ,GACT,EAAE,4BAA4B,+BA0J9B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HostedControlFrame.d.ts","sourceRoot":"","sources":["../../../../src/fiat/providers/HostedControlFrame.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"HostedControlFrame.d.ts","sourceRoot":"","sources":["../../../../src/fiat/providers/HostedControlFrame.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAKtC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAO/C;;;;;;;;;;;;GAYG;AACH,wBAAgB,kBAAkB,CAAC,EACjC,IAAI,EACJ,SAAS,EACT,SAAS,EACT,QAAQ,GACT,EAAE;IACD,IAAI,EAAE,MAAM,CAAA;IACZ,4EAA4E;IAC5E,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,SAAS,EAAE,cAAc,CAAC,WAAW,CAAC,CAAA;IACtC,QAAQ,EAAE,SAAS,CAAA;CACpB,+BA6BA"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import type { Surface, SurfaceResult } from '@funkit/connect-core';
|
|
2
|
-
import type { ReactNode } from 'react';
|
|
1
|
+
import type { PreparedPayment, Surface, SurfaceResult } from '@funkit/connect-core';
|
|
2
|
+
import type { ComponentType, ReactNode } from 'react';
|
|
3
|
+
import type { FeeQuote } from '../stepDetails';
|
|
3
4
|
/**
|
|
4
5
|
* Who operates the control.
|
|
5
6
|
*
|
|
@@ -9,11 +10,18 @@ import type { ReactNode } from 'react';
|
|
|
9
10
|
* and there is no readiness to wait for.
|
|
10
11
|
*/
|
|
11
12
|
export type SurfaceControlModel = 'EMBEDDED' | 'HANDOFF';
|
|
13
|
+
export type ApplePayBackendStage = 'session_start' | 'session_verify' | 'payment_artifact';
|
|
12
14
|
/** What the screen lends a surface for as long as it runs. */
|
|
13
15
|
export interface SurfaceContext {
|
|
14
16
|
placement: 'INLINE' | 'SCREEN';
|
|
17
|
+
/** Inert quote-owned payment metadata that an auth surface may prewarm. */
|
|
18
|
+
preparedPayment?: PreparedPayment;
|
|
19
|
+
/** Quote selection clock, supplied only for embedded Apple Pay controls. */
|
|
20
|
+
readinessTiming?: ApplePayReadinessTiming;
|
|
15
21
|
/** Uncovers an `EMBEDDED` widget; a handoff has nothing to announce. */
|
|
16
|
-
onReady: (
|
|
22
|
+
onReady: (info?: {
|
|
23
|
+
paintConfirmed: boolean;
|
|
24
|
+
}) => void;
|
|
17
25
|
/**
|
|
18
26
|
* The provider gave up on this attempt; its machine will not recover.
|
|
19
27
|
*
|
|
@@ -24,24 +32,58 @@ export interface SurfaceContext {
|
|
|
24
32
|
onFailed: (code: string, detail?: string) => void;
|
|
25
33
|
/** Leaves the flow — a handoff draws its own chrome, close included. */
|
|
26
34
|
onClose: () => void;
|
|
35
|
+
/**
|
|
36
|
+
* An `INLINE` control found it needs the buyer and the whole canvas (a
|
|
37
|
+
* sign-in to work through). The screen turns to a page of the provider's
|
|
38
|
+
* and renders the surface again with `placement: 'SCREEN'`.
|
|
39
|
+
*/
|
|
40
|
+
onHandoff?: () => void;
|
|
27
41
|
/**
|
|
28
42
|
* The provider's own page says the crypto is sent. Optional both ways: only
|
|
29
43
|
* a rail that watches its transfer can say it, and only a screen that can
|
|
30
44
|
* act on the news asks for it.
|
|
31
45
|
*/
|
|
32
46
|
onSettled?: () => void;
|
|
47
|
+
/** An authenticated provider quote can price fees after an unpriced auth round. */
|
|
48
|
+
onFeeQuote?: (quote: FeeQuote) => void;
|
|
33
49
|
report: (result: SurfaceResult) => void;
|
|
34
50
|
}
|
|
51
|
+
export interface ApplePayReadinessTiming {
|
|
52
|
+
attemptId: string;
|
|
53
|
+
selectedAt: number;
|
|
54
|
+
selectionReported?: boolean;
|
|
55
|
+
paintConfirmed?: boolean;
|
|
56
|
+
uncovered?: boolean;
|
|
57
|
+
interactiveReported?: boolean;
|
|
58
|
+
terminalOutcome?: 'interactive' | 'provider_failed' | 'dismissed' | 'superseded';
|
|
59
|
+
/** A paint arriving after the cover ceiling can complete readiness. */
|
|
60
|
+
onPaintConfirmed?: () => void;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Mounted once by a screen, above every place its surfaces can render — the
|
|
64
|
+
* amount slot and the page a handoff turns to — for state those mounts share.
|
|
65
|
+
* MoonPay keeps a session's credentials inside one provider instance.
|
|
66
|
+
*/
|
|
67
|
+
export type SurfaceHost = ComponentType<{
|
|
68
|
+
children: ReactNode;
|
|
69
|
+
}>;
|
|
35
70
|
export interface ClaimedSurface {
|
|
36
71
|
control: SurfaceControlModel;
|
|
37
72
|
render: (context: SurfaceContext) => ReactNode;
|
|
73
|
+
/**
|
|
74
|
+
* Until when (epoch ms) a surface the buyer dismissed may be mounted again on the same terms.
|
|
75
|
+
* Absent means never: the screen asks for a new quote instead. Only the provider knows what a
|
|
76
|
+
* reopen needs — Stripe's needs the sign-in credential the sheet arrived with.
|
|
77
|
+
*/
|
|
78
|
+
reopenableUntil?: number;
|
|
38
79
|
}
|
|
39
80
|
/**
|
|
40
81
|
* Claims a surface, or declines it.
|
|
41
82
|
*
|
|
42
|
-
* Each adapter narrows `params` itself
|
|
43
|
-
* narrows their shape, so one vendor can carry
|
|
44
|
-
* `(kind, provider)` plus a shape check is the
|
|
83
|
+
* Each adapter narrows `params` itself, through `readSurfaceParams`: the
|
|
84
|
+
* contract says `provider` never narrows their shape, so one vendor can carry
|
|
85
|
+
* two vocabularies and the pair `(kind, provider)` plus a shape check is the
|
|
86
|
+
* whole match. Binding the
|
|
45
87
|
* renderer to the narrowed params keeps that type inside the adapter rather
|
|
46
88
|
* than in a union the registry would have to carry.
|
|
47
89
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"adapter.d.ts","sourceRoot":"","sources":["../../../../src/fiat/providers/adapter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"adapter.d.ts","sourceRoot":"","sources":["../../../../src/fiat/providers/adapter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,eAAe,EACf,OAAO,EACP,aAAa,EACd,MAAM,sBAAsB,CAAA;AAC7B,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACrD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AAE9C;;;;;;;GAOG;AACH,MAAM,MAAM,mBAAmB,GAAG,UAAU,GAAG,SAAS,CAAA;AACxD,MAAM,MAAM,oBAAoB,GAC5B,eAAe,GACf,gBAAgB,GAChB,kBAAkB,CAAA;AAEtB,8DAA8D;AAC9D,MAAM,WAAW,cAAc;IAC7B,SAAS,EAAE,QAAQ,GAAG,QAAQ,CAAA;IAC9B,2EAA2E;IAC3E,eAAe,CAAC,EAAE,eAAe,CAAA;IACjC,4EAA4E;IAC5E,eAAe,CAAC,EAAE,uBAAuB,CAAA;IACzC,wEAAwE;IACxE,OAAO,EAAE,CAAC,IAAI,CAAC,EAAE;QAAE,cAAc,EAAE,OAAO,CAAA;KAAE,KAAK,IAAI,CAAA;IACrD;;;;;;OAMG;IACH,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,KAAK,IAAI,CAAA;IACjD,wEAAwE;IACxE,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,IAAI,CAAA;IACtB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,IAAI,CAAA;IACtB,mFAAmF;IACnF,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,QAAQ,KAAK,IAAI,CAAA;IACtC,MAAM,EAAE,CAAC,MAAM,EAAE,aAAa,KAAK,IAAI,CAAA;CACxC;AAED,MAAM,WAAW,uBAAuB;IACtC,SAAS,EAAE,MAAM,CAAA;IACjB,UAAU,EAAE,MAAM,CAAA;IAClB,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,mBAAmB,CAAC,EAAE,OAAO,CAAA;IAC7B,eAAe,CAAC,EACZ,aAAa,GACb,iBAAiB,GACjB,WAAW,GACX,YAAY,CAAA;IAChB,uEAAuE;IACvE,gBAAgB,CAAC,EAAE,MAAM,IAAI,CAAA;CAC9B;AAED;;;;GAIG;AACH,MAAM,MAAM,WAAW,GAAG,aAAa,CAAC;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,CAAC,CAAA;AAEhE,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,mBAAmB,CAAA;IAC5B,MAAM,EAAE,CAAC,OAAO,EAAE,cAAc,KAAK,SAAS,CAAA;IAC9C;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAA;CACzB;AAED;;;;;;;;;GASG;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,OAAO,EAAE,OAAO,KAAK,cAAc,GAAG,SAAS,CAAA"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { FunkitTheme } from '../../theme/toRestyleTheme';
|
|
2
|
+
/**
|
|
3
|
+
* How a provider's hosted Apple Pay button is drawn, shared by every frame
|
|
4
|
+
* that clips one: the slot it fills and the CSS that sizes Apple's element
|
|
5
|
+
* to it.
|
|
6
|
+
*/
|
|
7
|
+
export interface ApplePayButtonMetrics {
|
|
8
|
+
height: number;
|
|
9
|
+
radius: number;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Apple draws the label to the element's inner height, so this vertical inset
|
|
13
|
+
* is what sets the text size, and every provider's button uses the same one.
|
|
14
|
+
*/
|
|
15
|
+
export declare const APPLE_PAY_LABEL_INSET = 10;
|
|
16
|
+
/** The slot's size: the theme's large button, at its radius. */
|
|
17
|
+
export declare function applePayButtonMetrics(theme: FunkitTheme): ApplePayButtonMetrics;
|
|
18
|
+
/**
|
|
19
|
+
* Apple's documented custom properties for the `apple-pay-button` element,
|
|
20
|
+
* valued for the slot. Only these go on the element: its shadow button reads
|
|
21
|
+
* them, and plain box styles on the host would inset it a second time.
|
|
22
|
+
*/
|
|
23
|
+
export declare function applePayElementProperties({ height, radius, }: ApplePayButtonMetrics): Record<string, string>;
|
|
24
|
+
/** The same shape for a button drawn with `-webkit-appearance`. */
|
|
25
|
+
export declare function applePayNativeStyles({ height, radius, }: ApplePayButtonMetrics): Record<string, string>;
|
|
26
|
+
/** The element's properties as one rule for an injected stylesheet. */
|
|
27
|
+
export declare function applePayButtonRule(metrics: ApplePayButtonMetrics): string;
|
|
28
|
+
//# sourceMappingURL=applePayButtonMetrics.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"applePayButtonMetrics.d.ts","sourceRoot":"","sources":["../../../../src/fiat/providers/applePayButtonMetrics.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AAE7D;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IACpC,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,EAAE,MAAM,CAAA;CACf;AAED;;;GAGG;AACH,eAAO,MAAM,qBAAqB,KAAK,CAAA;AAEvC,gEAAgE;AAChE,wBAAgB,qBAAqB,CACnC,KAAK,EAAE,WAAW,GACjB,qBAAqB,CAGvB;AAID;;;;GAIG;AACH,wBAAgB,yBAAyB,CAAC,EACxC,MAAM,EACN,MAAM,GACP,EAAE,qBAAqB,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAQhD;AAED,mEAAmE;AACnE,wBAAgB,oBAAoB,CAAC,EACnC,MAAM,EACN,MAAM,GACP,EAAE,qBAAqB,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAQhD;AAED,uEAAuE;AACvE,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,qBAAqB,GAAG,MAAM,CAKzE"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { ApplePayReadinessTiming } from './adapter';
|
|
2
|
+
/** The token a page's paint report names, if `data` is one. */
|
|
3
|
+
export declare function readApplePayPaintReport(data: string): string | undefined;
|
|
4
|
+
/**
|
|
5
|
+
* Runs in the hosted page. Apple's element is only drawn once its script has
|
|
6
|
+
* defined it, so a box of the right size is not yet a button; two frames after
|
|
7
|
+
* that is when it is on screen.
|
|
8
|
+
*/
|
|
9
|
+
export declare function applePayPaintedScript(token: string): string;
|
|
10
|
+
/**
|
|
11
|
+
* Ready once the page has said so and Apple's button is on screen, so the
|
|
12
|
+
* slot, the fee and the footer all appear with the button rather than before.
|
|
13
|
+
*/
|
|
14
|
+
export declare function useApplePayPaintGate(onReady: (info: {
|
|
15
|
+
paintConfirmed: boolean;
|
|
16
|
+
}) => void, log: {
|
|
17
|
+
provider: string;
|
|
18
|
+
environment: string;
|
|
19
|
+
}, checkoutTiming?: ApplePayReadinessTiming): {
|
|
20
|
+
paintToken: string;
|
|
21
|
+
markPageReady: () => void;
|
|
22
|
+
markPainted: () => void;
|
|
23
|
+
};
|
|
24
|
+
//# sourceMappingURL=applePayPaintGate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"applePayPaintGate.d.ts","sourceRoot":"","sources":["../../../../src/fiat/providers/applePayPaintGate.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,WAAW,CAAA;AAiBxD,+DAA+D;AAC/D,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAcxE;AAED;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CA0C3D;AAED;;;GAGG;AACH,wBAAgB,oBAAoB,CAClC,OAAO,EAAE,CAAC,IAAI,EAAE;IAAE,cAAc,EAAE,OAAO,CAAA;CAAE,KAAK,IAAI,EACpD,GAAG,EAAE;IAAE,QAAQ,EAAE,MAAM,CAAC;IAAC,WAAW,EAAE,MAAM,CAAA;CAAE,EAC9C,cAAc,CAAC,EAAE,uBAAuB,GACvC;IACD,UAAU,EAAE,MAAM,CAAA;IAClB,aAAa,EAAE,MAAM,IAAI,CAAA;IACzB,WAAW,EAAE,MAAM,IAAI,CAAA;CACxB,CAoGA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"banxaRedirect.d.ts","sourceRoot":"","sources":["../../../../src/fiat/providers/banxaRedirect.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,cAAc,EAAkB,MAAM,WAAW,CAAA;
|
|
1
|
+
{"version":3,"file":"banxaRedirect.d.ts","sourceRoot":"","sources":["../../../../src/fiat/providers/banxaRedirect.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,cAAc,EAAkB,MAAM,WAAW,CAAA;AAuB/D,0EAA0E;AAC1E,eAAO,MAAM,aAAa,EAAE,cAU3B,CAAA"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type { SurfaceAdapter } from './adapter';
|
|
1
|
+
import type { ApplePayBackendStage, SurfaceAdapter } from './adapter';
|
|
2
|
+
export declare function coinbaseBackendStage(endpoint: string): ApplePayBackendStage | undefined;
|
|
2
3
|
/**
|
|
3
4
|
* Coinbase's order arrives already made, with a hosted page that is nothing
|
|
4
5
|
* but its Apple Pay button. Embedded, then: the button takes the action's
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"coinbaseApplePay.d.ts","sourceRoot":"","sources":["../../../../src/fiat/providers/coinbaseApplePay.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"coinbaseApplePay.d.ts","sourceRoot":"","sources":["../../../../src/fiat/providers/coinbaseApplePay.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,oBAAoB,EACpB,cAAc,EAEf,MAAM,WAAW,CAAA;AAQlB,wBAAgB,oBAAoB,CAClC,QAAQ,EAAE,MAAM,GACf,oBAAoB,GAAG,SAAS,CAQlC;AA6BD;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB,EAAE,cAO9B,CAAA"}
|
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
import type { TFunction } from 'i18next';
|
|
2
|
+
/** A `title` marks a refusal the screen raises as its own alert. */
|
|
3
|
+
export type CoinbaseFailureCopy = {
|
|
4
|
+
title?: string;
|
|
5
|
+
message: string;
|
|
6
|
+
};
|
|
2
7
|
/**
|
|
3
8
|
* What the buyer is told when Coinbase's page refuses the payment.
|
|
4
9
|
*
|
|
@@ -10,5 +15,5 @@ import type { TFunction } from 'i18next';
|
|
|
10
15
|
* own generic line. One literal key per branch, as `t()` requires
|
|
11
16
|
* (`.ast-grep/rules/i18n-t-string-literal.yml`).
|
|
12
17
|
*/
|
|
13
|
-
export declare function coinbaseFailureCopy(code: string, t: TFunction):
|
|
18
|
+
export declare function coinbaseFailureCopy(code: string, t: TFunction): CoinbaseFailureCopy | undefined;
|
|
14
19
|
//# sourceMappingURL=coinbaseFailureCopy.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"coinbaseFailureCopy.d.ts","sourceRoot":"","sources":["../../../../src/fiat/providers/coinbaseFailureCopy.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAExC;;;;;;;;;;GAUG;AACH,wBAAgB,mBAAmB,CACjC,IAAI,EAAE,MAAM,EACZ,CAAC,EAAE,SAAS,GACX,
|
|
1
|
+
{"version":3,"file":"coinbaseFailureCopy.d.ts","sourceRoot":"","sources":["../../../../src/fiat/providers/coinbaseFailureCopy.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAExC,oEAAoE;AACpE,MAAM,MAAM,mBAAmB,GAAG;IAAE,KAAK,CAAC,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,CAAA;AAErE;;;;;;;;;;GAUG;AACH,wBAAgB,mBAAmB,CACjC,IAAI,EAAE,MAAM,EACZ,CAAC,EAAE,SAAS,GACX,mBAAmB,GAAG,SAAS,CAOjC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"describeThrown.d.ts","sourceRoot":"","sources":["../../../../src/fiat/providers/describeThrown.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,
|
|
1
|
+
{"version":3,"file":"describeThrown.d.ts","sourceRoot":"","sources":["../../../../src/fiat/providers/describeThrown.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,CASrD"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { FiatProvider } from '@funkit/connect-core';
|
|
2
|
+
/**
|
|
3
|
+
* The faceplate a KYC form round opens on:
|
|
4
|
+
* - `none`: straight onto the fields
|
|
5
|
+
* - `consent`: "Let's verify your identity", which asks for the buyer's agreement
|
|
6
|
+
* - `stepUp`: "We need a little more info", for a quick round that follows an
|
|
7
|
+
* earlier one; it still asks for the agreement
|
|
8
|
+
*/
|
|
9
|
+
export type KycIntro = 'none' | 'consent' | 'stepUp';
|
|
10
|
+
/**
|
|
11
|
+
* Which faceplate a round opens on, from the provider and what the backend
|
|
12
|
+
* names on the round's submit transition: its round (`kycRound`) and the
|
|
13
|
+
* provider's own tier (`kycTier`). What a tier means differs by provider, so
|
|
14
|
+
* each provider answers for its own.
|
|
15
|
+
*/
|
|
16
|
+
export declare function kycIntroFor(provider: FiatProvider | undefined, params: {
|
|
17
|
+
kycRound?: unknown;
|
|
18
|
+
kycTier?: unknown;
|
|
19
|
+
} | undefined): KycIntro;
|
|
20
|
+
//# sourceMappingURL=kycIntro.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"kycIntro.d.ts","sourceRoot":"","sources":["../../../../src/fiat/providers/kycIntro.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAIxD;;;;;;GAMG;AACH,MAAM,MAAM,QAAQ,GAAG,MAAM,GAAG,SAAS,GAAG,QAAQ,CAAA;AAEpD;;;;;GAKG;AACH,wBAAgB,WAAW,CACzB,QAAQ,EAAE,YAAY,GAAG,SAAS,EAClC,MAAM,EAAE;IAAE,QAAQ,CAAC,EAAE,OAAO,CAAC;IAAC,OAAO,CAAC,EAAE,OAAO,CAAA;CAAE,GAAG,SAAS,GAC5D,QAAQ,CAOV"}
|