@funkit/connect-rn 11.1.0 → 11.2.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 +49 -0
- package/dist/{chunk-QIDFAWW4.js → chunk-7SP2UUHA.js} +9 -2
- package/dist/chunk-7SP2UUHA.js.map +7 -0
- package/dist/{chunk-N626N462.js → chunk-AXAQRGDI.js} +2 -2
- package/dist/{chunk-S7UN7EKL.js → chunk-KRQW5S2X.js} +25 -25
- package/dist/chunk-KRQW5S2X.js.map +7 -0
- package/dist/clients/lighter.js +1 -1
- package/dist/clients/nado.js +2 -2
- package/dist/index.js +7528 -5861
- package/dist/index.js.map +4 -4
- package/dist/preview.js +115 -7
- package/dist/preview.js.map +4 -4
- package/dist/src/fiat/common/FiatUnsupportedStep.d.ts.map +1 -1
- package/dist/src/fiat/contact/FiatContactScreen.d.ts.map +1 -1
- package/dist/src/fiat/contact/phoneRegionRedirect.d.ts +17 -0
- package/dist/src/fiat/contact/phoneRegionRedirect.d.ts.map +1 -0
- package/dist/src/fiat/contact/useRedirectHold.d.ts +31 -0
- package/dist/src/fiat/contact/useRedirectHold.d.ts.map +1 -0
- package/dist/src/fiat/entry/useCaptureHold.d.ts +1 -0
- package/dist/src/fiat/entry/useCaptureHold.d.ts.map +1 -1
- package/dist/src/fiat/kyc/kycCapture.d.ts.map +1 -1
- package/dist/src/fiat/otp/useFunSession.d.ts +3 -0
- package/dist/src/fiat/otp/useFunSession.d.ts.map +1 -1
- package/dist/src/fiat/payment/failoverKind.d.ts +10 -12
- package/dist/src/fiat/payment/failoverKind.d.ts.map +1 -1
- package/dist/src/fiat/payment/failoverPrompt.d.ts +2 -7
- package/dist/src/fiat/payment/failoverPrompt.d.ts.map +1 -1
- package/dist/src/fiat/payment/paymentReroute.d.ts +2 -0
- package/dist/src/fiat/payment/paymentReroute.d.ts.map +1 -1
- package/dist/src/fiat/payment/providerFailover.d.ts +20 -8
- package/dist/src/fiat/payment/providerFailover.d.ts.map +1 -1
- package/dist/src/fiat/payment/usePaymentFailureAnswer.d.ts +7 -6
- package/dist/src/fiat/payment/usePaymentFailureAnswer.d.ts.map +1 -1
- package/dist/src/fiat/providerFlow.d.ts +10 -2
- package/dist/src/fiat/providerFlow.d.ts.map +1 -1
- package/dist/src/fiat/providerFlows.d.ts.map +1 -1
- package/dist/src/fiat/providerHandoff.d.ts +6 -1
- package/dist/src/fiat/providerHandoff.d.ts.map +1 -1
- package/dist/src/fiat/providers/checkout/statusScreens.d.ts +3 -1
- package/dist/src/fiat/providers/checkout/statusScreens.d.ts.map +1 -1
- package/dist/src/fiat/providers/coinbase/next/Checkout.d.ts.map +1 -1
- package/dist/src/fiat/providers/coinbase/next/useCoinbaseCheckout.d.ts.map +1 -1
- package/dist/src/fiat/providers/moonpay/Checkout.d.ts.map +1 -1
- package/dist/src/fiat/providers/moonpay/checkoutScreens.d.ts.map +1 -1
- package/dist/src/fiat/providers/moonpay/errors.d.ts +10 -5
- package/dist/src/fiat/providers/moonpay/errors.d.ts.map +1 -1
- package/dist/src/fiat/providers/moonpay/events.d.ts +12 -1
- package/dist/src/fiat/providers/moonpay/events.d.ts.map +1 -1
- package/dist/src/fiat/providers/moonpay/sdk/ApplePayButton.d.ts.map +1 -1
- package/dist/src/fiat/providers/moonpay/sdk/Challenge.d.ts +10 -1
- package/dist/src/fiat/providers/moonpay/sdk/Challenge.d.ts.map +1 -1
- package/dist/src/fiat/providers/moonpay/sdk/connection.d.ts +4 -2
- package/dist/src/fiat/providers/moonpay/sdk/connection.d.ts.map +1 -1
- package/dist/src/fiat/providers/moonpay/sdk/transaction.d.ts +7 -0
- package/dist/src/fiat/providers/moonpay/sdk/transaction.d.ts.map +1 -1
- package/dist/src/fiat/providers/moonpay/useCheckoutModel.d.ts +12 -3
- package/dist/src/fiat/providers/moonpay/useCheckoutModel.d.ts.map +1 -1
- package/dist/src/fiat/providers/moonpay/useReadiness.d.ts +2 -2
- package/dist/src/fiat/providers/moonpay/useReadiness.d.ts.map +1 -1
- package/dist/src/fiat/providers/stripe/next/Checkout.d.ts +11 -0
- package/dist/src/fiat/providers/stripe/next/Checkout.d.ts.map +1 -0
- package/dist/src/fiat/providers/stripe/next/index.d.ts +4 -0
- package/dist/src/fiat/providers/stripe/next/index.d.ts.map +1 -0
- package/dist/src/fiat/providers/stripe/next/useStripeCheckout.d.ts +55 -0
- package/dist/src/fiat/providers/stripe/next/useStripeCheckout.d.ts.map +1 -0
- package/dist/src/fiat/providers/stripe/next/useStripeCheckoutCalls.d.ts +10 -0
- package/dist/src/fiat/providers/stripe/next/useStripeCheckoutCalls.d.ts.map +1 -0
- package/dist/src/fiat/providers/stripe/next/useStripeExit.d.ts +15 -0
- package/dist/src/fiat/providers/stripe/next/useStripeExit.d.ts.map +1 -0
- package/dist/src/fiat/providers/stripe/next/useStripeFunnel.d.ts +4 -0
- package/dist/src/fiat/providers/stripe/next/useStripeFunnel.d.ts.map +1 -0
- package/dist/src/fiat/providers/stripe/next/useStripeIdentity.d.ts +23 -0
- package/dist/src/fiat/providers/stripe/next/useStripeIdentity.d.ts.map +1 -0
- package/dist/src/fiat/providers/stripe/next/useStripeKycForm.d.ts +17 -0
- package/dist/src/fiat/providers/stripe/next/useStripeKycForm.d.ts.map +1 -0
- package/dist/src/fiat/providers/stripe/next/useStripeOrderSlot.d.ts +17 -0
- package/dist/src/fiat/providers/stripe/next/useStripeOrderSlot.d.ts.map +1 -0
- package/dist/src/fiat/providers/stripe/next/useStripePayment.d.ts +24 -0
- package/dist/src/fiat/providers/stripe/next/useStripePayment.d.ts.map +1 -0
- package/dist/src/fiat/providers/stripe/next/useStripeReview.d.ts +7 -0
- package/dist/src/fiat/providers/stripe/next/useStripeReview.d.ts.map +1 -0
- package/dist/src/fiat/providers/stripe/next/useStripeSignIn.d.ts +21 -0
- package/dist/src/fiat/providers/stripe/next/useStripeSignIn.d.ts.map +1 -0
- package/dist/src/fiat/providers/stripe/stripeRoundPush.d.ts +2 -0
- package/dist/src/fiat/providers/stripe/stripeRoundPush.d.ts.map +1 -1
- package/dist/src/fiat/providers/stripe/useStripeKycPush.d.ts.map +1 -1
- package/dist/src/fiat/quote/providerSelection.d.ts +6 -3
- package/dist/src/fiat/quote/providerSelection.d.ts.map +1 -1
- package/dist/src/fiat/surface/ScreenSurfaceCover.d.ts +6 -1
- package/dist/src/fiat/surface/ScreenSurfaceCover.d.ts.map +1 -1
- package/dist/src/fiat/useProviderCheckout.d.ts +3 -1
- package/dist/src/fiat/useProviderCheckout.d.ts.map +1 -1
- package/dist/src/flow/FiatDepositAmountStep.d.ts.map +1 -1
- package/dist/src/flow/entryBanners.d.ts +8 -1
- package/dist/src/flow/entryBanners.d.ts.map +1 -1
- package/dist/src/flow/fiatStepScreens.d.ts.map +1 -1
- package/dist/src/flow/fiatSubmitRenderer.d.ts.map +1 -1
- package/dist/src/flow/renderFiatFlowScreen.d.ts.map +1 -1
- package/dist/src/flow/screenBundles.d.ts +0 -1
- package/dist/src/flow/screenBundles.d.ts.map +1 -1
- package/dist/src/flow/sheetSizing.d.ts.map +1 -1
- package/dist/src/flow/useV2DepositEnabled.d.ts.map +1 -1
- package/dist/src/flow/v1DepositCustomers.d.ts +2 -0
- package/dist/src/flow/v1DepositCustomers.d.ts.map +1 -0
- package/dist/src/preview/fixtures/moonPayChallenge.d.ts +10 -0
- package/dist/src/preview/fixtures/moonPayChallenge.d.ts.map +1 -0
- package/dist/src/preview/flowPreview.d.ts +20 -1
- package/dist/src/preview/flowPreview.d.ts.map +1 -1
- package/dist/src/preview/replay/replayFetch.d.ts.map +1 -1
- package/dist/src/preview/scenarioCatalog.d.ts +18 -0
- package/dist/src/preview/scenarioCatalog.d.ts.map +1 -1
- package/dist/src/preview/scenarios.d.ts.map +1 -1
- package/package.json +3 -3
- package/dist/chunk-QIDFAWW4.js.map +0 -7
- package/dist/chunk-S7UN7EKL.js.map +0 -7
- package/dist/src/fiat/providers/moonpay/unavailableAlert.d.ts +0 -11
- package/dist/src/fiat/providers/moonpay/unavailableAlert.d.ts.map +0 -1
- package/dist/src/flow/v2DepositCustomers.d.ts +0 -2
- package/dist/src/flow/v2DepositCustomers.d.ts.map +0 -1
- /package/dist/{chunk-N626N462.js.map → chunk-AXAQRGDI.js.map} +0 -0
|
@@ -23,10 +23,12 @@ export declare function MoonPayConnectionProbe({ reset, onOutcome, }: {
|
|
|
23
23
|
}): import("react").JSX.Element;
|
|
24
24
|
/**
|
|
25
25
|
* MoonPay's sign-in (OTP) or terms frame, full screen in the host theme. The frames emit no cancel,
|
|
26
|
-
* so the page carries the fiat back disc; `onClose`
|
|
26
|
+
* so the page carries the fiat back disc; `onClose` goes back to the amount screen.
|
|
27
27
|
*/
|
|
28
|
-
export declare function MoonPayBuyerFrame({ frame
|
|
28
|
+
export declare function MoonPayBuyerFrame({ frame, onFrame, onOutcome, onClose, }: {
|
|
29
|
+
/** Owned by the checkout, which outlives this frame: back from terms, then Continue, opens terms again. */
|
|
29
30
|
frame: BuyerFrame;
|
|
31
|
+
onFrame: (frame: BuyerFrame) => void;
|
|
30
32
|
onOutcome: (outcome: ConnectionOutcome) => void;
|
|
31
33
|
onClose: () => void;
|
|
32
34
|
}): import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connection.d.ts","sourceRoot":"","sources":["../../../../../../src/fiat/providers/moonpay/sdk/connection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAA;
|
|
1
|
+
{"version":3,"file":"connection.d.ts","sourceRoot":"","sources":["../../../../../../src/fiat/providers/moonpay/sdk/connection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAA;AA0BjE,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,OAAO,CAAA;AAEzC,MAAM,MAAM,iBAAiB,GACzB;IAAE,IAAI,EAAE,QAAQ,CAAC;IAAC,WAAW,EAAE,qBAAqB,CAAA;CAAE,GACtD;IAAE,IAAI,EAAE,OAAO,CAAC;IAAC,KAAK,EAAE,UAAU,CAAA;CAAE;AACtC,wEAAwE;GACtE;IAAE,IAAI,EAAE,QAAQ,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,CAAA;AAiBrD;;;GAGG;AACH,wBAAgB,sBAAsB,CAAC,EACrC,KAAa,EACb,SAAS,GACV,EAAE;IACD,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,SAAS,EAAE,CAAC,OAAO,EAAE,iBAAiB,KAAK,IAAI,CAAA;CAChD,+BA6BA;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,EAChC,KAAK,EACL,OAAO,EACP,SAAS,EACT,OAAO,GACR,EAAE;IACD,2GAA2G;IAC3G,KAAK,EAAE,UAAU,CAAA;IACjB,OAAO,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI,CAAA;IACpC,SAAS,EAAE,CAAC,OAAO,EAAE,iBAAiB,KAAK,IAAI,CAAA;IAC/C,OAAO,EAAE,MAAM,IAAI,CAAA;CACpB,+BA2BA"}
|
|
@@ -17,6 +17,13 @@ export interface SdkFailure {
|
|
|
17
17
|
code: string;
|
|
18
18
|
reason?: string;
|
|
19
19
|
}
|
|
20
|
+
/** As legacy: a failed transaction, or one with no id, logged with MoonPay's reason, which the buyer never reads. */
|
|
21
|
+
export declare function logFailedTransaction(transaction: {
|
|
22
|
+
id?: string;
|
|
23
|
+
status: string;
|
|
24
|
+
failureCode?: string;
|
|
25
|
+
failureReason?: string;
|
|
26
|
+
}): void;
|
|
20
27
|
/**
|
|
21
28
|
* MoonPay's protocol reports a closed sheet as `cancelled`, not as a transaction. An
|
|
22
29
|
* `authorizationDeclined` charge is no charge: it spends no order, and the buyer gets a new quote.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transaction.d.ts","sourceRoot":"","sources":["../../../../../../src/fiat/providers/moonpay/sdk/transaction.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"transaction.d.ts","sourceRoot":"","sources":["../../../../../../src/fiat/providers/moonpay/sdk/transaction.ts"],"names":[],"mappings":"AAIA,MAAM,MAAM,kBAAkB,GAC1B;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,aAAa,EAAE,MAAM,CAAA;CAAE;AACzC,sEAAsE;GACpE;IACE,IAAI,EAAE,eAAe,CAAA;IACrB,IAAI,EAAE,MAAM,CAAA;IACZ,4DAA4D;IAC5D,WAAW,EAAE,MAAM,GAAG,SAAS,CAAA;IAC/B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB,CAAA;AAEL,+CAA+C;AAC/C,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,QAAQ,CAAA;IACd,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,qHAAqH;AACrH,wBAAgB,oBAAoB,CAAC,WAAW,EAAE;IAChD,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,MAAM,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB,QAQA;AAED;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,WAAW,EAAE;IAC9C,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,MAAM,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB,GAAG,kBAAkB,GAAG,UAAU,CAqBlC;AAED;;;GAGG;AACH,wBAAgB,kBAAkB,CAChC,OAAO,EAAE,OAAO,CAAC,kBAAkB,EAAE;IAAE,IAAI,EAAE,eAAe,CAAA;CAAE,CAAC,GAAG,UAAU,GAC3E,MAAM,CAQR"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type FormValues, type MoonPayChargedOrder, type MoonPayConsentKind } from '@funkit/connect-core';
|
|
2
2
|
import type { HandoffQuote, ProviderCheckoutProps } from '../../providerFlow';
|
|
3
3
|
import { type ApplePayOutcome } from './sdk/ApplePayButton';
|
|
4
|
-
import { type ChallengeOutcome } from './sdk/Challenge';
|
|
4
|
+
import { type ChallengeCompletion, type ChallengeOutcome } from './sdk/Challenge';
|
|
5
5
|
import { type BuyerFrame, type ConnectionOutcome } from './sdk/connection';
|
|
6
6
|
/**
|
|
7
7
|
* Beyond the default slot ceiling: the button waits on a connection, a quote and `observe`. The
|
|
@@ -12,7 +12,7 @@ export declare const READY_CEILING_MS = 30000;
|
|
|
12
12
|
* MoonPay's checkout, from the quote to the order. It runs the reducer, sends the request each
|
|
13
13
|
* state asks for, runs MoonPay's SDK, and draws through the slot.
|
|
14
14
|
*/
|
|
15
|
-
export declare function useCheckoutModel({ quote, geo, slot, onOrder, onExit, onCloseFlow, onFeeQuote, analytics, depositAddress, destinationAsset: recipientAsset, }: ProviderCheckoutProps): {
|
|
15
|
+
export declare function useCheckoutModel({ quote, geo, slot, onOrder, onExit, onCloseFlow, onFeeQuote, onPaymentStarted, onPaymentCancelled, analytics, paymentFailureShown, depositAddress, destinationAsset: recipientAsset, }: ProviderCheckoutProps): {
|
|
16
16
|
acceptShown: () => void;
|
|
17
17
|
acceptedConsent: MoonPayConsentKind | undefined;
|
|
18
18
|
analytics: import("../../../hooks/track/useProviderCheckoutEvents").ProviderCheckoutEvents;
|
|
@@ -21,10 +21,16 @@ export declare function useCheckoutModel({ quote, geo, slot, onOrder, onExit, on
|
|
|
21
21
|
buyerFrame: BuyerFrame | undefined;
|
|
22
22
|
buyerRequested: boolean;
|
|
23
23
|
carriedKyc: FormValues;
|
|
24
|
+
challengeCard: {
|
|
25
|
+
kind: "again" | "intro";
|
|
26
|
+
open: () => void;
|
|
27
|
+
} | undefined;
|
|
28
|
+
challengeHeld: boolean;
|
|
24
29
|
chargedButton: {
|
|
25
30
|
orderId: string;
|
|
26
31
|
signature: string;
|
|
27
32
|
} | undefined;
|
|
33
|
+
closeSignIn: () => void;
|
|
28
34
|
connectingTo: string | undefined;
|
|
29
35
|
continuing: boolean;
|
|
30
36
|
dispatch: import("react").ActionDispatch<[event: import("@funkit/connect-core").MoonPayCheckoutEvent]>;
|
|
@@ -38,9 +44,12 @@ export declare function useCheckoutModel({ quote, geo, slot, onOrder, onExit, on
|
|
|
38
44
|
identityHeld: boolean;
|
|
39
45
|
isFinalRejection: boolean;
|
|
40
46
|
kycIntroduced: boolean;
|
|
47
|
+
leaveChallenge: () => void;
|
|
41
48
|
onActionUncovered: () => void;
|
|
42
49
|
onApplePay: (outcome: ApplePayOutcome) => void;
|
|
43
50
|
onChallenge: (outcome: ChallengeOutcome) => void;
|
|
51
|
+
onChallengeComplete: (completion: ChallengeCompletion) => void;
|
|
52
|
+
onChallengeReady: () => void;
|
|
44
53
|
onCloseFlow: () => void;
|
|
45
54
|
onConnection: (outcome: ConnectionOutcome) => void;
|
|
46
55
|
onExit: (exit: import("../../providerFlow").ProviderExit) => void;
|
|
@@ -55,7 +64,7 @@ export declare function useCheckoutModel({ quote, geo, slot, onOrder, onExit, on
|
|
|
55
64
|
timing: import("../adapter").ApplePayReadinessTiming;
|
|
56
65
|
reportTerminal: (outcome: "dismissed" | "interactive" | "provider_failed" | "superseded" | "unmounted") => void;
|
|
57
66
|
onUncovered: () => void;
|
|
58
|
-
supersede: () =>
|
|
67
|
+
supersede: () => string;
|
|
59
68
|
markContinued: () => void;
|
|
60
69
|
markPainted: (paintConfirmed: boolean) => void;
|
|
61
70
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCheckoutModel.d.ts","sourceRoot":"","sources":["../../../../../src/fiat/providers/moonpay/useCheckoutModel.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,UAAU,EACf,KAAK,mBAAmB,EAExB,KAAK,kBAAkB,EAWxB,MAAM,sBAAsB,CAAA;
|
|
1
|
+
{"version":3,"file":"useCheckoutModel.d.ts","sourceRoot":"","sources":["../../../../../src/fiat/providers/moonpay/useCheckoutModel.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,UAAU,EACf,KAAK,mBAAmB,EAExB,KAAK,kBAAkB,EAWxB,MAAM,sBAAsB,CAAA;AAe7B,OAAO,KAAK,EAAE,YAAY,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAA;AAQ7E,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,sBAAsB,CAAA;AAC3D,OAAO,EACL,KAAK,mBAAmB,EACxB,KAAK,gBAAgB,EACtB,MAAM,iBAAiB,CAAA;AACxB,OAAO,EAAE,KAAK,UAAU,EAAE,KAAK,iBAAiB,EAAE,MAAM,kBAAkB,CAAA;AAc1E;;;GAGG;AACH,eAAO,MAAM,gBAAgB,QAAS,CAAA;AAmCtC;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,EAC/B,KAAK,EACL,GAAG,EACH,IAAI,EACJ,OAAO,EACP,MAAM,EACN,WAAW,EACX,UAAU,EACV,gBAAgB,EAChB,kBAAkB,EAClB,SAAS,EACT,mBAAmB,EACnB,cAAc,EACd,gBAAgB,EAAE,cAAc,GACjC,EAAE,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0BAwmBO,eAAe;2BA4Fd,gBAAgB;sCALL,mBAAmB;;;4BA7gB7B,iBAAiB;;;;;;aA3HzC,MAAM;eACJ,mBAAmB;;;;;;;;;;;;;4BA+uBlB,OAAO;;;;;;;;;;;;;;;;;EAgElB;AACD,MAAM,MAAM,oBAAoB,GAAG,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAA"}
|
|
@@ -10,8 +10,8 @@ export declare function useApplePayReadiness(): {
|
|
|
10
10
|
timing: ApplePayReadinessTiming;
|
|
11
11
|
reportTerminal: (outcome: Outcome) => void;
|
|
12
12
|
onUncovered: () => void;
|
|
13
|
-
/** A new amount: this attempt ends `superseded` and the next one starts its clock. */
|
|
14
|
-
supersede: () =>
|
|
13
|
+
/** A new amount: this attempt ends `superseded` and the next one starts its clock. Returns the next one's id. */
|
|
14
|
+
supersede: () => string;
|
|
15
15
|
markContinued: () => void;
|
|
16
16
|
/** The paint gate's verdict: `false` when the page never reported Apple's button drawn. */
|
|
17
17
|
markPainted: (paintConfirmed: boolean) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useReadiness.d.ts","sourceRoot":"","sources":["../../../../../src/fiat/providers/moonpay/useReadiness.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAA;AAGzD,KAAK,OAAO,GAAG,WAAW,CAAC,uBAAuB,CAAC,iBAAiB,CAAC,CAAC,CAAA;AAsBtE;;;;;GAKG;AACH,wBAAgB,oBAAoB;;8BA2DN,OAAO;;IAEjC,
|
|
1
|
+
{"version":3,"file":"useReadiness.d.ts","sourceRoot":"","sources":["../../../../../src/fiat/providers/moonpay/useReadiness.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAA;AAGzD,KAAK,OAAO,GAAG,WAAW,CAAC,uBAAuB,CAAC,iBAAiB,CAAC,CAAC,CAAA;AAsBtE;;;;;GAKG;AACH,wBAAgB,oBAAoB;;8BA2DN,OAAO;;IAEjC,iHAAiH;qBAClG,MAAM;;IAUrB,2FAA2F;kCAC7D,OAAO;EAKxC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ProviderCheckoutProps } from '../../../providerFlow';
|
|
2
|
+
import { type SlotScreen } from '../../checkout/slotOutlets';
|
|
3
|
+
import { useStripeApplePayButton } from '../stripeApplePayReady';
|
|
4
|
+
import { type StripeCheckoutModel } from './useStripeCheckout';
|
|
5
|
+
/** Stripe's checkout on `/fiat/next`, drawn through the provider slot. */
|
|
6
|
+
export declare function StripeCheckout(props: ProviderCheckoutProps): null;
|
|
7
|
+
/** The amount screen's action: Continue into sign-in or KYC, Stripe's Apple Pay button once priced, else a wait. */
|
|
8
|
+
export declare function stripeAction(model: StripeCheckoutModel, ApplePayButton: ReturnType<typeof useStripeApplePayButton>): SlotScreen | undefined;
|
|
9
|
+
/** A full screen over the amount screen: KYC consent, a form round, the identity intro, or a failure. */
|
|
10
|
+
export declare function stripeTakeover(model: StripeCheckoutModel): SlotScreen | undefined;
|
|
11
|
+
//# sourceMappingURL=Checkout.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Checkout.d.ts","sourceRoot":"","sources":["../../../../../../src/fiat/providers/stripe/next/Checkout.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAA;AAClE,OAAO,EAAE,KAAK,UAAU,EAAkB,MAAM,4BAA4B,CAAA;AAM5E,OAAO,EAAE,uBAAuB,EAAE,MAAM,wBAAwB,CAAA;AAChE,OAAO,EACL,KAAK,mBAAmB,EAEzB,MAAM,qBAAqB,CAAA;AAG5B,0EAA0E;AAC1E,wBAAgB,cAAc,CAAC,KAAK,EAAE,qBAAqB,QA2B1D;AAED,oHAAoH;AACpH,wBAAgB,YAAY,CAC1B,KAAK,EAAE,mBAAmB,EAC1B,cAAc,EAAE,UAAU,CAAC,OAAO,uBAAuB,CAAC,GACzD,UAAU,GAAG,SAAS,CAkExB;AAED,yGAAyG;AACzG,wBAAgB,cAAc,CAC5B,KAAK,EAAE,mBAAmB,GACzB,UAAU,GAAG,SAAS,CAsHxB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/fiat/providers/stripe/next/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AAGzD,6FAA6F;AAC7F,eAAO,MAAM,UAAU,EAAE,YAExB,CAAA"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { type StripePrice, type StripeStage } from '@funkit/connect-core';
|
|
2
|
+
import type { FeeQuote } from '../../../common/stepDetails';
|
|
3
|
+
import type { ProviderCheckoutProps } from '../../../providerFlow';
|
|
4
|
+
/**
|
|
5
|
+
* The fee line the amount screen shows: Stripe's own fees, never the backend's estimate. `undefined`
|
|
6
|
+
* for a fee that is not a finite, non-negative amount, so the line keeps the estimate.
|
|
7
|
+
*/
|
|
8
|
+
export declare function stripeFeeQuoteOf(price: StripePrice): FeeQuote | undefined;
|
|
9
|
+
/** Stripe's checkout, from the handed-off quote to the order. It runs the reducer, its calls and the SDK. */
|
|
10
|
+
export declare function useStripeCheckout({ quote, geo, slot, onOrder, onExit, onFeeQuote, analytics, onPaymentStarted, awaitsTap, depositAddress, }: ProviderCheckoutProps): {
|
|
11
|
+
acceptTerms: () => void;
|
|
12
|
+
/** The buyer's Continue on a held step: its screen takes over, and Link sign-in may start. */
|
|
13
|
+
releaseIdentity: () => void;
|
|
14
|
+
submitKyc: () => void;
|
|
15
|
+
/** Mounted under the failover sheet: nothing goes until the buyer's tap. */
|
|
16
|
+
tapAwaited: boolean;
|
|
17
|
+
tap: () => void;
|
|
18
|
+
retry: () => void;
|
|
19
|
+
payAgain: (orderId: string) => void;
|
|
20
|
+
exit: (reason: string) => void;
|
|
21
|
+
analytics: import("../../../../hooks/track/useProviderCheckoutEvents").ProviderCheckoutEvents;
|
|
22
|
+
readinessTiming: {
|
|
23
|
+
attemptId: string;
|
|
24
|
+
selectedAt: number;
|
|
25
|
+
};
|
|
26
|
+
identity: {
|
|
27
|
+
kycPushing: boolean;
|
|
28
|
+
kycPushError: string | undefined;
|
|
29
|
+
verifying: boolean;
|
|
30
|
+
submitKyc: (response: import("@funkit/connect-core").StripeKycNextAction, values: import("@funkit/connect-core").FormValues) => void;
|
|
31
|
+
verifyIdentity: () => void;
|
|
32
|
+
};
|
|
33
|
+
payment: {
|
|
34
|
+
collecting: boolean;
|
|
35
|
+
payWithApplePay: () => void;
|
|
36
|
+
};
|
|
37
|
+
geo: {
|
|
38
|
+
alpha2: string;
|
|
39
|
+
region?: string;
|
|
40
|
+
ip?: string;
|
|
41
|
+
};
|
|
42
|
+
identityHeld: boolean;
|
|
43
|
+
kycValues: import("@funkit/connect-core").FormValues;
|
|
44
|
+
reviewGaveUp: boolean;
|
|
45
|
+
setKycValues: import("react").Dispatch<import("react").SetStateAction<import("@funkit/connect-core").FormValues>>;
|
|
46
|
+
setSupportClosed: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
47
|
+
slot: import("../../../providerFlow").ProviderSlot;
|
|
48
|
+
stage: StripeStage;
|
|
49
|
+
state: import("@funkit/connect-core").StripeCheckoutState;
|
|
50
|
+
stripe: import("../stripeOnramp").StripeOnrampClient | undefined;
|
|
51
|
+
supportClosed: boolean;
|
|
52
|
+
t: import("i18next").TFunction<"translation", undefined>;
|
|
53
|
+
};
|
|
54
|
+
export type StripeCheckoutModel = ReturnType<typeof useStripeCheckout>;
|
|
55
|
+
//# sourceMappingURL=useStripeCheckout.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useStripeCheckout.d.ts","sourceRoot":"","sources":["../../../../../../src/fiat/providers/stripe/next/useStripeCheckout.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,WAAW,EAChB,KAAK,WAAW,EAIjB,MAAM,sBAAsB,CAAA;AAO7B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAA;AAC3D,OAAO,KAAK,EAAgB,qBAAqB,EAAE,MAAM,uBAAuB,CAAA;AAsBhF;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,WAAW,GAAG,QAAQ,GAAG,SAAS,CAWzE;AAED,6GAA6G;AAC7G,wBAAgB,iBAAiB,CAAC,EAChC,KAAK,EACL,GAAG,EACH,IAAI,EACJ,OAAO,EACP,MAAM,EACN,UAAU,EACV,SAAS,EACT,gBAAgB,EAChB,SAAS,EACT,cAAc,GACf,EAAE,qBAAqB;;IAoJpB,8FAA8F;;;IAqB9F,4EAA4E;;;;wBAIxD,MAAM;mBA/FN,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkH7B;AAED,MAAM,MAAM,mBAAmB,GAAG,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type StripeCall, type StripeCheckoutEvent, type StripeCheckoutState, type StripeStepResponse } from '@funkit/connect-core';
|
|
2
|
+
import { type Dispatch } from 'react';
|
|
3
|
+
import type { useFiatNextApi } from '../../checkout/useFiatNextApi';
|
|
4
|
+
/**
|
|
5
|
+
* Sends the request the state asks for and feeds back its answer, once per request: a retry is a
|
|
6
|
+
* new object with the same body. Also runs the `wait` before `observe` and the waits between the
|
|
7
|
+
* order's reads.
|
|
8
|
+
*/
|
|
9
|
+
export declare function useStripeCheckoutCalls(state: StripeCheckoutState, dispatch: Dispatch<StripeCheckoutEvent>, context: ReturnType<typeof useFiatNextApi>, pollReview: boolean, onAnswer: (call: StripeCall, response: StripeStepResponse) => void, paused: boolean): void;
|
|
10
|
+
//# sourceMappingURL=useStripeCheckoutCalls.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useStripeCheckoutCalls.d.ts","sourceRoot":"","sources":["../../../../../../src/fiat/providers/stripe/next/useStripeCheckoutCalls.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,UAAU,EACf,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EAMxB,MAAM,sBAAsB,CAAA;AAC7B,OAAO,EAAE,KAAK,QAAQ,EAAqB,MAAM,OAAO,CAAA;AAGxD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAA;AAEnE;;;;GAIG;AACH,wBAAgB,sBAAsB,CACpC,KAAK,EAAE,mBAAmB,EAC1B,QAAQ,EAAE,QAAQ,CAAC,mBAAmB,CAAC,EACvC,OAAO,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,EAC1C,UAAU,EAAE,OAAO,EACnB,QAAQ,EAAE,CAAC,IAAI,EAAE,UAAU,EAAE,QAAQ,EAAE,kBAAkB,KAAK,IAAI,EAClE,MAAM,EAAE,OAAO,QA2ChB"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { type StripeCheckoutExit, type StripeCheckoutState } from '@funkit/connect-core';
|
|
2
|
+
import type { TFunction } from 'i18next';
|
|
3
|
+
import type { ProviderCheckoutProps, ProviderExit } from '../../../providerFlow';
|
|
4
|
+
/** The one telemetry event per Stripe checkout that ends. */
|
|
5
|
+
export declare const STRIPE_CHECKOUT_EXIT_EVENT = "fiat:stripe_next_exit";
|
|
6
|
+
/** How the amount screen is told the checkout ended. */
|
|
7
|
+
export declare function stripeProviderExit(exit: StripeCheckoutExit, t: TFunction): ProviderExit;
|
|
8
|
+
/** Tells the amount screen once the checkout ended, with legacy's logs for how it ended. */
|
|
9
|
+
export declare function useStripeExit({ state, onExit, analytics, t, }: {
|
|
10
|
+
state: StripeCheckoutState;
|
|
11
|
+
onExit: ProviderCheckoutProps['onExit'];
|
|
12
|
+
analytics: ProviderCheckoutProps['analytics'];
|
|
13
|
+
t: TFunction;
|
|
14
|
+
}): void;
|
|
15
|
+
//# sourceMappingURL=useStripeExit.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useStripeExit.d.ts","sourceRoot":"","sources":["../../../../../../src/fiat/providers/stripe/next/useStripeExit.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EAEzB,MAAM,sBAAsB,CAAA;AAC7B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAIxC,OAAO,KAAK,EAAE,qBAAqB,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AAEhF,6DAA6D;AAC7D,eAAO,MAAM,0BAA0B,0BAA0B,CAAA;AAEjE,wDAAwD;AACxD,wBAAgB,kBAAkB,CAChC,IAAI,EAAE,kBAAkB,EACxB,CAAC,EAAE,SAAS,GACX,YAAY,CAsBd;AAED,4FAA4F;AAC5F,wBAAgB,aAAa,CAAC,EAC5B,KAAK,EACL,MAAM,EACN,SAAS,EACT,CAAC,GACF,EAAE;IACD,KAAK,EAAE,mBAAmB,CAAA;IAC1B,MAAM,EAAE,qBAAqB,CAAC,QAAQ,CAAC,CAAA;IACvC,SAAS,EAAE,qBAAqB,CAAC,WAAW,CAAC,CAAA;IAC7C,CAAC,EAAE,SAAS,CAAA;CACb,QA+CA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useStripeFunnel.d.ts","sourceRoot":"","sources":["../../../../../../src/fiat/providers/stripe/next/useStripeFunnel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,WAAW,EAAc,MAAM,sBAAsB,CAAA;AAInE,oEAAoE;AACpE,wBAAgB,eAAe,CAAC,KAAK,EAAE,WAAW,QAcjD"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { type FormValues, type StripeCheckoutEvent, type StripeKycNextAction, type StripeStage } from '@funkit/connect-core';
|
|
2
|
+
import { type Dispatch } from 'react';
|
|
3
|
+
import type { StripeOnrampClient } from '../stripeOnramp';
|
|
4
|
+
import { type StripeSignIn } from './useStripeSignIn';
|
|
5
|
+
/**
|
|
6
|
+
* The identity rounds on the device: each form's values pushed to Stripe before the backend hears
|
|
7
|
+
* of them, and Stripe's identity sheet after its intro.
|
|
8
|
+
*/
|
|
9
|
+
export declare function useStripeIdentity({ stripe, stage, dispatch, signIn, }: {
|
|
10
|
+
stripe: StripeOnrampClient | undefined;
|
|
11
|
+
stage: StripeStage;
|
|
12
|
+
dispatch: Dispatch<StripeCheckoutEvent>;
|
|
13
|
+
signIn: StripeSignIn;
|
|
14
|
+
}): {
|
|
15
|
+
kycPushing: boolean;
|
|
16
|
+
kycPushError: string | undefined;
|
|
17
|
+
verifying: boolean;
|
|
18
|
+
/** Gives Stripe the form's values for the round, then tells the backend. */
|
|
19
|
+
submitKyc: (response: StripeKycNextAction, values: FormValues) => void;
|
|
20
|
+
/** Stripe's identity sheet, after the intro's Continue. A dismissal is a cancel, not a failure. */
|
|
21
|
+
verifyIdentity: () => void;
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=useStripeIdentity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useStripeIdentity.d.ts","sourceRoot":"","sources":["../../../../../../src/fiat/providers/stripe/next/useStripeIdentity.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,UAAU,EACf,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,WAAW,EAEjB,MAAM,sBAAsB,CAAA;AAC7B,OAAO,EAAE,KAAK,QAAQ,EAAoB,MAAM,OAAO,CAAA;AAOvD,OAAO,KAAK,EAAE,kBAAkB,EAAoB,MAAM,iBAAiB,CAAA;AAQ3E,OAAO,EAAE,KAAK,YAAY,EAA0B,MAAM,mBAAmB,CAAA;AAO7E;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,EAChC,MAAM,EACN,KAAK,EACL,QAAQ,EACR,MAAM,GACP,EAAE;IACD,MAAM,EAAE,kBAAkB,GAAG,SAAS,CAAA;IACtC,KAAK,EAAE,WAAW,CAAA;IAClB,QAAQ,EAAE,QAAQ,CAAC,mBAAmB,CAAC,CAAA;IACvC,MAAM,EAAE,YAAY,CAAA;CACrB;;;;IAmEG,4EAA4E;0BACtD,mBAAmB,UAAU,UAAU;IA2G7D,mGAAmG;;EAgEtG"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type FormValues, type StripeStage } from '@funkit/connect-core';
|
|
2
|
+
/**
|
|
3
|
+
* The values in the KYC round's form. Each round starts from what Stripe already holds: a round's
|
|
4
|
+
* answers are not carried into the next round's form.
|
|
5
|
+
*/
|
|
6
|
+
export declare function useStripeKycForm(stage: StripeStage, identityHeld: boolean): {
|
|
7
|
+
kycValues: FormValues;
|
|
8
|
+
setKycValues: import("react").Dispatch<import("react").SetStateAction<FormValues>>;
|
|
9
|
+
};
|
|
10
|
+
/** The shared form's id for a Stripe KYC round, named by its round and fields. */
|
|
11
|
+
export declare function stripeKycFormId(response: {
|
|
12
|
+
round: string;
|
|
13
|
+
fields: {
|
|
14
|
+
id: string;
|
|
15
|
+
}[];
|
|
16
|
+
}): string;
|
|
17
|
+
//# sourceMappingURL=useStripeKycForm.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useStripeKycForm.d.ts","sourceRoot":"","sources":["../../../../../../src/fiat/providers/stripe/next/useStripeKycForm.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,UAAU,EACf,KAAK,WAAW,EAEjB,MAAM,sBAAsB,CAAA;AAK7B;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,OAAO;;;EAmCzE;AAED,kFAAkF;AAClF,wBAAgB,eAAe,CAAC,QAAQ,EAAE;IACxC,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE,EAAE,CAAA;CACzB,UAEA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type StripeCheckoutState, type StripeStage } from '@funkit/connect-core';
|
|
2
|
+
import type { ProviderCheckoutProps } from '../../../providerFlow';
|
|
3
|
+
/**
|
|
4
|
+
* What the sheet around the checkout shows while an order may be paid: held so it cannot close on a
|
|
5
|
+
* payment, main's processing card while a paid order is read, and the order handed over at `done`.
|
|
6
|
+
*/
|
|
7
|
+
export declare function useStripeOrderSlot({ slot, state, stage, onOrder, attemptId, }: {
|
|
8
|
+
slot: ProviderCheckoutProps['slot'];
|
|
9
|
+
state: StripeCheckoutState;
|
|
10
|
+
stage: StripeStage;
|
|
11
|
+
onOrder: ProviderCheckoutProps['onOrder'];
|
|
12
|
+
attemptId: string;
|
|
13
|
+
}): {
|
|
14
|
+
supportClosed: boolean;
|
|
15
|
+
setSupportClosed: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=useStripeOrderSlot.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useStripeOrderSlot.d.ts","sourceRoot":"","sources":["../../../../../../src/fiat/providers/stripe/next/useStripeOrderSlot.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,mBAAmB,EACxB,KAAK,WAAW,EAEjB,MAAM,sBAAsB,CAAA;AAI7B,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAA;AAElE;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,EACjC,IAAI,EACJ,KAAK,EACL,KAAK,EACL,OAAO,EACP,SAAS,GACV,EAAE;IACD,IAAI,EAAE,qBAAqB,CAAC,MAAM,CAAC,CAAA;IACnC,KAAK,EAAE,mBAAmB,CAAA;IAC1B,KAAK,EAAE,WAAW,CAAA;IAClB,OAAO,EAAE,qBAAqB,CAAC,SAAS,CAAC,CAAA;IACzC,SAAS,EAAE,MAAM,CAAA;CAClB;;;EAkEA"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { type FiatRouteContext, type StripeCheckoutEvent, type StripeCheckoutState, type StripeStage } from '@funkit/connect-core';
|
|
2
|
+
import { type Dispatch } from 'react';
|
|
3
|
+
import type { StripeOnrampClient } from '../stripeOnramp';
|
|
4
|
+
import type { StripeSignIn } from './useStripeSignIn';
|
|
5
|
+
/**
|
|
6
|
+
* The payment on the device: Apple Pay's token chain for the priced order, then `performCheckout`
|
|
7
|
+
* for the order `pay` names, with the checkout callback answered from `/fiat/next`.
|
|
8
|
+
*/
|
|
9
|
+
export declare function useStripePayment({ stripe, stage, state, dispatch, context, signIn, paymentFailed, onPaymentStarted, }: {
|
|
10
|
+
stripe: StripeOnrampClient | undefined;
|
|
11
|
+
stage: StripeStage;
|
|
12
|
+
state: StripeCheckoutState;
|
|
13
|
+
dispatch: Dispatch<StripeCheckoutEvent>;
|
|
14
|
+
context: FiatRouteContext;
|
|
15
|
+
signIn: StripeSignIn;
|
|
16
|
+
/** Nothing was charged: main's payment-failed sheet answers `code`. */
|
|
17
|
+
paymentFailed: (code: string) => void;
|
|
18
|
+
onPaymentStarted: () => void;
|
|
19
|
+
}): {
|
|
20
|
+
collecting: boolean;
|
|
21
|
+
/** The Apple Pay button's tap: Stripe's chain to a payment token for the priced order. */
|
|
22
|
+
payWithApplePay: () => void;
|
|
23
|
+
};
|
|
24
|
+
//# sourceMappingURL=useStripePayment.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useStripePayment.d.ts","sourceRoot":"","sources":["../../../../../../src/fiat/providers/stripe/next/useStripePayment.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,gBAAgB,EACrB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,WAAW,EAGjB,MAAM,sBAAsB,CAAA;AAC7B,OAAO,EAAE,KAAK,QAAQ,EAA+B,MAAM,OAAO,CAAA;AAKlE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAMzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAKrD;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,EAC/B,MAAM,EACN,KAAK,EACL,KAAK,EACL,QAAQ,EACR,OAAO,EACP,MAAM,EACN,aAAa,EACb,gBAAgB,GACjB,EAAE;IACD,MAAM,EAAE,kBAAkB,GAAG,SAAS,CAAA;IACtC,KAAK,EAAE,WAAW,CAAA;IAClB,KAAK,EAAE,mBAAmB,CAAA;IAC1B,QAAQ,EAAE,QAAQ,CAAC,mBAAmB,CAAC,CAAA;IACvC,OAAO,EAAE,gBAAgB,CAAA;IACzB,MAAM,EAAE,YAAY,CAAA;IACpB,uEAAuE;IACvE,aAAa,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;IACrC,gBAAgB,EAAE,MAAM,IAAI,CAAA;CAC7B;;IAiHG,0FAA0F;;EAuD7F"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type StripeStage } from '@funkit/connect-core';
|
|
2
|
+
import type { ProviderCheckoutProps } from '../../../providerFlow';
|
|
3
|
+
/** How long a review is polled before it reads as on hold, as MoonPay's and Coinbase's. */
|
|
4
|
+
export declare const REVIEW_POLL_CAP_MS = 90000;
|
|
5
|
+
/** Whether an identity review outlasted its polling: the review screen then reads as on hold. */
|
|
6
|
+
export declare function useStripeReview(stage: StripeStage, analytics: ProviderCheckoutProps['analytics']): boolean;
|
|
7
|
+
//# sourceMappingURL=useStripeReview.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useStripeReview.d.ts","sourceRoot":"","sources":["../../../../../../src/fiat/providers/stripe/next/useStripeReview.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,WAAW,EAAkB,MAAM,sBAAsB,CAAA;AAIvE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAA;AAElE,2FAA2F;AAC3F,eAAO,MAAM,kBAAkB,QAAS,CAAA;AAExC,iGAAiG;AACjG,wBAAgB,eAAe,CAC7B,KAAK,EAAE,WAAW,EAClB,SAAS,EAAE,qBAAqB,CAAC,WAAW,CAAC,GAC5C,OAAO,CA8BT"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { type StripeCheckoutEvent, type StripeLinkAuthToken, type StripeStage } from '@funkit/connect-core';
|
|
2
|
+
import { type Dispatch } from 'react';
|
|
3
|
+
import type { StripeOnrampClient } from '../stripeOnramp';
|
|
4
|
+
/** Redeems a prompt's `linkAuthToken` once; resolves whether the SDK signed in. */
|
|
5
|
+
export type StripeSignIn = (token: StripeLinkAuthToken | null) => Promise<boolean>;
|
|
6
|
+
/** Past its expiry, a credential cannot sign in: only the backend can hand a fresh one. */
|
|
7
|
+
export declare function stripeLinkTokenExpired(token: StripeLinkAuthToken): boolean;
|
|
8
|
+
/**
|
|
9
|
+
* Link sign-in on the device: the prompts' `linkAuthToken`s, redeemed once each, and the SDK's
|
|
10
|
+
* `authorize` for an `authorize` prompt's intent once the buyer asked to sign in.
|
|
11
|
+
*/
|
|
12
|
+
export declare function useStripeSignIn({ stripe, stage, dispatch, held, onDismissed, }: {
|
|
13
|
+
stripe: StripeOnrampClient | undefined;
|
|
14
|
+
stage: StripeStage;
|
|
15
|
+
dispatch: Dispatch<StripeCheckoutEvent>;
|
|
16
|
+
/** The buyer has not asked for this step yet: nothing of Stripe's opens. */
|
|
17
|
+
held: boolean;
|
|
18
|
+
/** The buyer closed or declined Link's sheet: the next sign-in waits for their Continue again. */
|
|
19
|
+
onDismissed: () => void;
|
|
20
|
+
}): StripeSignIn;
|
|
21
|
+
//# sourceMappingURL=useStripeSignIn.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useStripeSignIn.d.ts","sourceRoot":"","sources":["../../../../../../src/fiat/providers/stripe/next/useStripeSignIn.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,WAAW,EAEjB,MAAM,sBAAsB,CAAA;AAC7B,OAAO,EAAE,KAAK,QAAQ,EAAqB,MAAM,OAAO,CAAA;AAKxD,OAAO,KAAK,EAAyB,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AA+BhF,mFAAmF;AACnF,MAAM,MAAM,YAAY,GAAG,CACzB,KAAK,EAAE,mBAAmB,GAAG,IAAI,KAC9B,OAAO,CAAC,OAAO,CAAC,CAAA;AAErB,2FAA2F;AAC3F,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,mBAAmB,GAAG,OAAO,CAE1E;AAED;;;GAGG;AACH,wBAAgB,eAAe,CAAC,EAC9B,MAAM,EACN,KAAK,EACL,QAAQ,EACR,IAAI,EACJ,WAAW,GACZ,EAAE;IACD,MAAM,EAAE,kBAAkB,GAAG,SAAS,CAAA;IACtC,KAAK,EAAE,WAAW,CAAA;IAClB,QAAQ,EAAE,QAAQ,CAAC,mBAAmB,CAAC,CAAA;IACvC,4EAA4E;IAC5E,IAAI,EAAE,OAAO,CAAA;IACb,kGAAkG;IAClG,WAAW,EAAE,MAAM,IAAI,CAAA;CACxB,GAAG,YAAY,CAqIf"}
|
|
@@ -39,6 +39,7 @@ export declare function temporaryStripePushKey(kycRound: unknown, formId: unknow
|
|
|
39
39
|
export declare function stripePushFailureCopy(error: StripeOnrampError, copy: {
|
|
40
40
|
phoneSharingLimit: string;
|
|
41
41
|
rateLimited: string;
|
|
42
|
+
invalidPhone: string;
|
|
42
43
|
fallback: string;
|
|
43
44
|
}): string;
|
|
44
45
|
/**
|
|
@@ -47,6 +48,7 @@ export declare function stripePushFailureCopy(error: StripeOnrampError, copy: {
|
|
|
47
48
|
* either: it is only a wait, and the same push can pass once it is over.
|
|
48
49
|
*/
|
|
49
50
|
export declare function isStripePushRefusal(error: StripeOnrampError): boolean;
|
|
51
|
+
export declare function isStripeInvalidPhone(error: StripeOnrampError): boolean;
|
|
50
52
|
/**
|
|
51
53
|
* A registration the SDK will refuse every time, named as the code the failover is logged under.
|
|
52
54
|
* The SDK never looks up an Apple relay address (`@privaterelay.appleid.com`), so `registerLinkUser`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stripeRoundPush.d.ts","sourceRoot":"","sources":["../../../../../src/fiat/providers/stripe/stripeRoundPush.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AAIhE,OAAO,KAAK,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAA;AAM3E;;;;;GAKG;AACH,wBAAgB,eAAe,CAAC,EAC9B,YA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C1C,GAAG,EAAE,MAAM,OAAO,CAAC;QAAE,KAAK,CAAC,EAAE,iBAAiB,CAAA;KAAE,CAAC,CAAA;CAClD,GACD,SAAS,CAsCZ;AAED;;;;;;;;;GASG;AACH,wBAAgB,sBAAsB,CACpC,QAAQ,EAAE,OAAO,EACjB,MAAM,EAAE,OAAO,GACd,MAAM,GAAG,SAAS,CAKpB;AAED;;;;;;GAMG;AACH,wBAAgB,qBAAqB,CACnC,KAAK,EAAE,iBAAiB,EACxB,IAAI,EAAE;IACJ,iBAAiB,EAAE,MAAM,CAAA;IACzB,WAAW,EAAE,MAAM,CAAA;IACnB,YAAY,EAAE,MAAM,CAAA;IACpB,QAAQ,EAAE,MAAM,CAAA;CACjB,GACA,MAAM,CAYR;AAED;;;;GAIG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,iBAAiB,GAAG,OAAO,CAMrE;AASD,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,iBAAiB,GAAG,OAAO,CAItE;AAQD;;;;;;;GAOG;AACH,wBAAgB,6BAA6B,CAC3C,IAAI,EAAE,kBAAkB,GAAG,eAAe,EAC1C,KAAK,EAAE,iBAAiB,GACvB,2BAA2B,GAAG,SAAS,CAMzC;AAED;;;;;GAKG;AACH,wBAAgB,0BAA0B,CACxC,IAAI,EAAE,kBAAkB,GAAG,eAAe,EAC1C,KAAK,EAAE,iBAAiB,GACvB,OAAO,CAKT"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useStripeKycPush.d.ts","sourceRoot":"","sources":["../../../../../src/fiat/providers/stripe/useStripeKycPush.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,QAAQ,EACR,gBAAgB,EAChB,UAAU,EACX,MAAM,sBAAsB,CAAA;AAM7B,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAA;AAUxD;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,EAC/B,IAAI,EACJ,YAAY,EACZ,SAAS,EACT,SAAS,GACV,EAAE;IACD,IAAI,EAAE,QAAQ,CAAA;IACd,YAAY,EAAE,kBAAkB,GAAG,SAAS,CAAA;IAC5C,qEAAqE;IACrE,SAAS,EAAE,CAAC,IAAI,EAAE,gBAAgB,GAAG,SAAS,KAAK,OAAO,CAAA;IAC1D,gGAAgG;IAChG,SAAS,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,SAAS,KAAK,OAAO,CAAA;CAC/D;qBA8ByB,UAAU,WAAW,MAAM,IAAI;;;;
|
|
1
|
+
{"version":3,"file":"useStripeKycPush.d.ts","sourceRoot":"","sources":["../../../../../src/fiat/providers/stripe/useStripeKycPush.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,QAAQ,EACR,gBAAgB,EAChB,UAAU,EACX,MAAM,sBAAsB,CAAA;AAM7B,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAA;AAUxD;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,EAC/B,IAAI,EACJ,YAAY,EACZ,SAAS,EACT,SAAS,GACV,EAAE;IACD,IAAI,EAAE,QAAQ,CAAA;IACd,YAAY,EAAE,kBAAkB,GAAG,SAAS,CAAA;IAC5C,qEAAqE;IACrE,SAAS,EAAE,CAAC,IAAI,EAAE,gBAAgB,GAAG,SAAS,KAAK,OAAO,CAAA;IAC1D,gGAAgG;IAChG,SAAS,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,SAAS,KAAK,OAAO,CAAA;CAC/D;qBA8ByB,UAAU,WAAW,MAAM,IAAI;;;;EAqIxD"}
|
|
@@ -3,9 +3,12 @@ import { type ProviderFailover } from '../payment/providerFailover';
|
|
|
3
3
|
/**
|
|
4
4
|
* Every source's say on each provider, folded into one disposition apiece.
|
|
5
5
|
*
|
|
6
|
-
* - Exclusion beats deferral: nothing
|
|
7
|
-
*
|
|
8
|
-
*
|
|
6
|
+
* - Exclusion beats deferral and preference: nothing moves a provider already
|
|
7
|
+
* shut out.
|
|
8
|
+
* - A failover's target is preferred over the wallet's deferral: the buyer
|
|
9
|
+
* was sent there because it takes them.
|
|
10
|
+
* - Failovers apply in order, so a later prepaid card lifts an earlier closed
|
|
11
|
+
* sheet off a provider that takes it, and a later failure demotes a target.
|
|
9
12
|
*/
|
|
10
13
|
export declare function providerSelectionFor({ walletDeferred, undrawable, failovers, flowExited, }: {
|
|
11
14
|
walletDeferred: readonly FiatProvider[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"providerSelection.d.ts","sourceRoot":"","sources":["../../../../src/fiat/quote/providerSelection.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,YAAY,EAEZ,iBAAiB,EAClB,MAAM,sBAAsB,CAAA;AAG7B,OAAO,EAAE,KAAK,gBAAgB,EAAY,MAAM,6BAA6B,CAAA;AAI7E
|
|
1
|
+
{"version":3,"file":"providerSelection.d.ts","sourceRoot":"","sources":["../../../../src/fiat/quote/providerSelection.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,YAAY,EAEZ,iBAAiB,EAClB,MAAM,sBAAsB,CAAA;AAG7B,OAAO,EAAE,KAAK,gBAAgB,EAAY,MAAM,6BAA6B,CAAA;AAI7E;;;;;;;;;GASG;AACH,wBAAgB,oBAAoB,CAAC,EACnC,cAAc,EACd,UAAU,EACV,SAAS,EACT,UAAe,GAChB,EAAE;IACD,cAAc,EAAE,SAAS,YAAY,EAAE,CAAA;IACvC,UAAU,EAAE,SAAS,YAAY,EAAE,CAAA;IACnC,SAAS,EAAE,SAAS,gBAAgB,EAAE,CAAA;IACtC,qEAAqE;IACrE,UAAU,CAAC,EAAE,SAAS,YAAY,EAAE,CAAA;CACrC,GAAG,iBAAiB,CAepB"}
|
|
@@ -1,11 +1,16 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
|
+
import { type SurfaceUncoveredEvent } from './SurfaceSlot';
|
|
2
3
|
/**
|
|
3
4
|
* A provider that owns the whole canvas paints nothing of ours while it boots,
|
|
4
5
|
* and its own first frames are its choice (MoonPay: white, then black). The
|
|
5
6
|
* modal ground with our indicator stays over it until the provider reports
|
|
6
7
|
* ready, or the readiness ceiling passes.
|
|
7
8
|
*/
|
|
8
|
-
export declare function ScreenSurfaceCover({ renderSurface, }: {
|
|
9
|
+
export declare function ScreenSurfaceCover({ renderSurface, surfaceKey, onUncovered, }: {
|
|
9
10
|
renderSurface: (onReady: () => void) => ReactNode;
|
|
11
|
+
/** Names the surface in the readiness ceiling's log. */
|
|
12
|
+
surfaceKey?: string;
|
|
13
|
+
/** The cover lifted: the provider reported ready, or the ceiling passed (`readySource: 'timeout'`). */
|
|
14
|
+
onUncovered?: (event: SurfaceUncoveredEvent) => void;
|
|
10
15
|
}): import("react").JSX.Element;
|
|
11
16
|
//# sourceMappingURL=ScreenSurfaceCover.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScreenSurfaceCover.d.ts","sourceRoot":"","sources":["../../../../src/fiat/surface/ScreenSurfaceCover.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"ScreenSurfaceCover.d.ts","sourceRoot":"","sources":["../../../../src/fiat/surface/ScreenSurfaceCover.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAOtC,OAAO,EAAmB,KAAK,qBAAqB,EAAE,MAAM,eAAe,CAAA;AAE3E;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,EACjC,aAAa,EACb,UAAU,EACV,WAAW,GACZ,EAAE;IACD,aAAa,EAAE,CAAC,OAAO,EAAE,MAAM,IAAI,KAAK,SAAS,CAAA;IACjD,wDAAwD;IACxD,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,uGAAuG;IACvG,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,qBAAqB,KAAK,IAAI,CAAA;CACrD,+BAkCA"}
|
|
@@ -4,7 +4,7 @@ import type { useProviderCheckoutEvents } from '../hooks/track/useProviderChecko
|
|
|
4
4
|
import type { useEntryQuote } from './entry/useEntryQuote';
|
|
5
5
|
import type { useKycVerdict } from './kyc/kycVerdict';
|
|
6
6
|
/** Runs a provider-owned checkout alongside the current amount-screen orchestration. */
|
|
7
|
-
export declare function useProviderCheckout({ flow, clientRecipient, awaitingRecipient, quoteState, handoffProviders, buyerGeo, entryQuote: { shownQuote, quoteForAnalytics, recordProviderFeeQuote }, checkoutEvents, markPaymentCaptured, isAwaitingSettlement, onHandoffPaidChange, onHandoffPaymentFailed, isHandoffPaymentFailed, isFailoverHosting, onHandoffPaymentStarted, paymentRetry, onExcludeProvider, onInputFailover, onBackToEntry, onCloseFlow, requoteRefusal, onSettleRequoteRefusal, kycVerdict: { setResolvedKyc, setKycSubmission }, submitLabel, isActionPending, }: {
|
|
7
|
+
export declare function useProviderCheckout({ flow, clientRecipient, awaitingRecipient, quoteState, handoffProviders, buyerGeo, entryQuote: { shownQuote, quoteForAnalytics, recordProviderFeeQuote }, checkoutEvents, markPaymentCaptured, isAwaitingSettlement, onHandoffPaidChange, onHandoffPaymentFailed, isHandoffPaymentFailed, isFailoverHosting, onHandoffPaymentStarted, onHandoffPaymentCancelled, paymentRetry, onExcludeProvider, onInputFailover, onBackToEntry, onCloseFlow, requoteRefusal, onSettleRequoteRefusal, kycVerdict: { setResolvedKyc, setKycSubmission }, submitLabel, isActionPending, }: {
|
|
8
8
|
flow: FiatFlow;
|
|
9
9
|
/** A Fun login's recipient, sent on every `POST /fiat/next`; `undefined` with a minter. */
|
|
10
10
|
clientRecipient: string | undefined;
|
|
@@ -33,6 +33,8 @@ export declare function useProviderCheckout({ flow, clientRecipient, awaitingRec
|
|
|
33
33
|
isFailoverHosting: boolean;
|
|
34
34
|
/** The buyer acted on the checkout's payment control: opens a payment attempt for its provider. */
|
|
35
35
|
onHandoffPaymentStarted: (provider: FiatProvider) => void;
|
|
36
|
+
/** The buyer closed the checkout's payment sheet: ends that attempt as cancelled. */
|
|
37
|
+
onHandoffPaymentCancelled: (provider: FiatProvider) => void;
|
|
36
38
|
/** Bumped by that sheet's "Try a different card": the checkout remounts for a new payment page. */
|
|
37
39
|
paymentRetry: number;
|
|
38
40
|
onExcludeProvider: (provider: FiatProvider, refusal: string | undefined) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useProviderCheckout.d.ts","sourceRoot":"","sources":["../../../src/fiat/useProviderCheckout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,QAAQ,EACR,YAAY,EAEZ,kBAAkB,EACnB,MAAM,sBAAsB,CAAA;AAM7B,OAAO,EAEL,KAAK,SAAS,EAMf,MAAM,OAAO,CAAA;AAGd,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,0CAA0C,CAAA;AAezF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAA;AAC1D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAErD,wFAAwF;AACxF,wBAAgB,mBAAmB,CAAC,EAClC,IAAI,EACJ,eAAe,EACf,iBAAiB,EACjB,UAAU,EACV,gBAAgB,EAChB,QAAQ,EACR,UAAU,EAAE,EAAE,UAAU,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,EACrE,cAAc,EACd,mBAAmB,EACnB,oBAAoB,EACpB,mBAAmB,EACnB,sBAAsB,EACtB,sBAAsB,EACtB,iBAAiB,EACjB,uBAAuB,EACvB,YAAY,EACZ,iBAAiB,EACjB,eAAe,EACf,aAAa,EACb,WAAW,EACX,cAAc,EACd,sBAAsB,EACtB,UAAU,EAAE,EAAE,cAAc,EAAE,gBAAgB,EAAE,EAChD,WAAW,EACX,eAAe,GAChB,EAAE;IACD,IAAI,EAAE,QAAQ,CAAA;IACd,2FAA2F;IAC3F,eAAe,EAAE,MAAM,GAAG,SAAS,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UAAU,CAAC,OAAO,aAAa,CAAC,CAAA;IAC5C,WAAW,EAAE,MAAM,CAAA;IACnB,eAAe,EAAE,OAAO,CAAA;CACzB;;
|
|
1
|
+
{"version":3,"file":"useProviderCheckout.d.ts","sourceRoot":"","sources":["../../../src/fiat/useProviderCheckout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,QAAQ,EACR,YAAY,EAEZ,kBAAkB,EACnB,MAAM,sBAAsB,CAAA;AAM7B,OAAO,EAEL,KAAK,SAAS,EAMf,MAAM,OAAO,CAAA;AAGd,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,0CAA0C,CAAA;AAezF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAA;AAC1D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAErD,wFAAwF;AACxF,wBAAgB,mBAAmB,CAAC,EAClC,IAAI,EACJ,eAAe,EACf,iBAAiB,EACjB,UAAU,EACV,gBAAgB,EAChB,QAAQ,EACR,UAAU,EAAE,EAAE,UAAU,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,EACrE,cAAc,EACd,mBAAmB,EACnB,oBAAoB,EACpB,mBAAmB,EACnB,sBAAsB,EACtB,sBAAsB,EACtB,iBAAiB,EACjB,uBAAuB,EACvB,yBAAyB,EACzB,YAAY,EACZ,iBAAiB,EACjB,eAAe,EACf,aAAa,EACb,WAAW,EACX,cAAc,EACd,sBAAsB,EACtB,UAAU,EAAE,EAAE,cAAc,EAAE,gBAAgB,EAAE,EAChD,WAAW,EACX,eAAe,GAChB,EAAE;IACD,IAAI,EAAE,QAAQ,CAAA;IACd,2FAA2F;IAC3F,eAAe,EAAE,MAAM,GAAG,SAAS,CAAA;IACnC,gGAAgG;IAChG,iBAAiB,EAAE,OAAO,CAAA;IAC1B,UAAU,EAAE,kBAAkB,CAAA;IAC9B,gBAAgB,EAAE,SAAS,YAAY,EAAE,CAAA;IACzC,QAAQ,EAAE;QAAE,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,EAAE,OAAO,CAAA;CACzB;;wBAwasC,SAAS;;;;;;;;EA0D/C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FiatDepositAmountStep.d.ts","sourceRoot":"","sources":["../../../src/flow/FiatDepositAmountStep.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FiatDepositAmountStep.d.ts","sourceRoot":"","sources":["../../../src/flow/FiatDepositAmountStep.tsx"],"names":[],"mappings":"AAwIA,OAAO,KAAK,EACV,wBAAwB,EACxB,qBAAqB,EACrB,qBAAqB,EACrB,oBAAoB,EACpB,oBAAoB,EACpB,cAAc,EACf,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EACL,KAAK,sBAAsB,EAE5B,MAAM,mCAAmC,CAAA;AAqE1C,wBAAgB,qBAAqB,CAAC,EACpC,MAAM,EACN,IAAI,EACJ,cAAc,EACd,iBAAiB,EACjB,gBAAgB,EAChB,sBAAsB,EACtB,UAAU,EACV,cAAc,EACd,aAAa,EACb,UAAU,EACV,WAAW,EACX,OAAO,EACP,oBAAoB,EACpB,gBAAwB,GACzB,EAAE;IACD,MAAM,EAAE,wBAAwB,CAAA;IAChC,IAAI,EAAE,cAAc,CAAA;IACpB,cAAc,EAAE,qBAAqB,GAAG,SAAS,CAAA;IACjD,iBAAiB,EAAE,MAAM,GAAG,SAAS,CAAA;IACrC,gBAAgB,EAAE,MAAM,GAAG,SAAS,CAAA;IACpC,mEAAmE;IACnE,sBAAsB,CAAC,EAAE,MAAM,CAAA;IAC/B,UAAU,EAAE,MAAM,CAAA;IAClB,cAAc,EAAE,qBAAqB,GAAG,SAAS,CAAA;IACjD;;OAEG;IACH,aAAa,CAAC,EAAE,oBAAoB,CAAA;IACpC,wEAAwE;IACxE,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,WAAW,EAAE,MAAM,IAAI,CAAA;IACvB,+EAA+E;IAC/E,OAAO,EAAE,sBAAsB,CAAA;IAC/B,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,sBAAsB,CAAC,CAAA;IACnE,qFAAqF;IACrF,gBAAgB,CAAC,EAAE,OAAO,CAAA;CAC3B,+BA0SA"}
|
|
@@ -15,6 +15,11 @@ export declare function useHandoffBanner(flow: FiatFlow, isHandedOff: boolean, f
|
|
|
15
15
|
isOnEntry: boolean;
|
|
16
16
|
handoffBanner: import("react").JSX.Element | undefined;
|
|
17
17
|
};
|
|
18
|
+
/**
|
|
19
|
+
* A redirect that landed below the target's minimum: the amount screen says
|
|
20
|
+
* why the button asks for more, once per minimum.
|
|
21
|
+
*/
|
|
22
|
+
export declare function useRedirectBanner(handoff: ProviderFailover | undefined, minimum: string | undefined, isOnEntry: boolean, bannerTop: number): import("react").JSX.Element | undefined;
|
|
18
23
|
export declare function useUnavailableBanner(methodUnavailableName: string | undefined, paymentMethod: string, bannerTop: number, t: ReturnType<typeof useFunkitTranslation>['t']): import("react").JSX.Element | undefined;
|
|
19
24
|
/**
|
|
20
25
|
* 2812:1135 puts the failure banner at the reference frame's own top inset,
|
|
@@ -22,7 +27,7 @@ export declare function useUnavailableBanner(methodUnavailableName: string | und
|
|
|
22
27
|
*/
|
|
23
28
|
export declare function useBannerTop(): number;
|
|
24
29
|
/** The toasts the amount entry can wear over its header. */
|
|
25
|
-
export declare function useEntryBanners({ bannerTop, contactRateLimited, excluded, failovers, flow, handoff, hasPaymentMethodPicker, identityNoticeState, kycSubmission, methodName, noRoute, paymentMethod, provider, shownKycOutcome, t, throttleEvent, }: {
|
|
30
|
+
export declare function useEntryBanners({ bannerTop, contactRateLimited, excluded, failovers, flow, handoff, hasPaymentMethodPicker, identityNoticeState, kycSubmission, methodName, minimum, noRoute, paymentMethod, provider, shownKycOutcome, t, throttleEvent, }: {
|
|
26
31
|
bannerTop: number;
|
|
27
32
|
contactRateLimited: boolean;
|
|
28
33
|
excluded: readonly FiatProvider[];
|
|
@@ -33,6 +38,8 @@ export declare function useEntryBanners({ bannerTop, contactRateLimited, exclude
|
|
|
33
38
|
identityNoticeState: KycNoticeState | undefined;
|
|
34
39
|
kycSubmission: number;
|
|
35
40
|
methodName: string | undefined;
|
|
41
|
+
/** The quote's minimum, formatted, while the amount is below it. */
|
|
42
|
+
minimum: string | undefined;
|
|
36
43
|
noRoute: FiatQuoteNoRoute | undefined;
|
|
37
44
|
paymentMethod: string;
|
|
38
45
|
provider: FiatProvider | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entryBanners.d.ts","sourceRoot":"","sources":["../../../src/flow/entryBanners.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,QAAQ,EACR,YAAY,EACZ,gBAAgB,EACjB,MAAM,sBAAsB,CAAA;AAS7B,OAAO,EAAE,KAAK,cAAc,EAAkB,MAAM,qBAAqB,CAAA;AACzE,OAAO,EACL,KAAK,gBAAgB,EAEtB,MAAM,kCAAkC,CAAA;AACzC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAA;AAE3D,OAAO,EAAE,oBAAoB,EAAE,MAAM,iCAAiC,CAAA;AAGtE,kEAAkE;AAClE,eAAO,MAAM,kBAAkB,KAAK,CAAA;AAEpC,wBAAgB,iBAAiB,CAC/B,SAAS,EAAE,MAAM,EACjB,kBAAkB,EAAE,OAAO,EAC3B,aAAa,EAAE,MAAM;;EAuBtB;AAED,wBAAgB,gBAAgB,CAC9B,mBAAmB,EAAE,cAAc,GAAG,SAAS,EAC/C,aAAa,EAAE,MAAM;;EA8BtB;AAED,wBAAgB,gBAAgB,CAC9B,IAAI,EAAE,QAAQ,EACd,WAAW,EAAE,OAAO,EACpB,SAAS,EAAE,SAAS,gBAAgB,EAAE,EACtC,SAAS,EAAE,MAAM;;;EA+BlB;AAED,wBAAgB,oBAAoB,CAClC,qBAAqB,EAAE,MAAM,GAAG,SAAS,EACzC,aAAa,EAAE,MAAM,EACrB,SAAS,EAAE,MAAM,EACjB,CAAC,EAAE,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAC,GAAG,CAA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SAAS,EAAE,MAAM,CAAA;IACjB,kBAAkB,EAAE,OAAO,CAAA;IAC3B,QAAQ,EAAE,SAAS,YAAY,EAAE,CAAA;IACjC,SAAS,EAAE,SAAS,gBAAgB,EAAE,CAAA;IACtC,IAAI,EAAE,QAAQ,CAAA;IACd,OAAO,EAAE,gBAAgB,GAAG,SAAS,CAAA;IACrC,sBAAsB,EAAE,OAAO,CAAA;IAC/B,mBAAmB,EAAE,cAAc,GAAG,SAAS,CAAA;IAC/C,aAAa,EAAE,MAAM,CAAA;IACrB,UAAU,EAAE,MAAM,GAAG,SAAS,CAAA;IAC9B,oEAAoE;IACpE,OAAO,EAAE,MAAM,GAAG,SAAS,CAAA;IAC3B,OAAO,EAAE,gBAAgB,GAAG,SAAS,CAAA;IACrC,aAAa,EAAE,MAAM,CAAA;IACrB,QAAQ,EAAE,YAAY,GAAG,SAAS,CAAA;IAClC,eAAe,EAAE,UAAU,CAAC,OAAO,aAAa,CAAC,CAAC,iBAAiB,CAAC,CAAA;IACpE,CAAC,EAAE,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAC,GAAG,CAAC,CAAA;IAC/C,aAAa,EAAE,MAAM,CAAA;CACtB;;;;;EAuDA;AAED,eAAO,MAAM,MAAM;;;;;;;;;;;;CAMjB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fiatStepScreens.d.ts","sourceRoot":"","sources":["../../../src/flow/fiatStepScreens.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"fiatStepScreens.d.ts","sourceRoot":"","sources":["../../../src/flow/fiatStepScreens.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,0CAA0C,CAAA;AACzF,OAAO,KAAK,EAAE,QAAQ,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAA;AAE3E,OAAO,EAAY,KAAK,YAAY,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AAEn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