@unifold/ui-react 0.1.74 → 0.1.76
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/dist/index.d.mts +172 -20
- package/dist/index.d.ts +172 -20
- package/dist/index.js +5075 -3573
- package/dist/index.mjs +4935 -3431
- package/dist/styles-base.css +1 -1
- package/dist/styles.css +1 -1
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { DirectExecutionSucceededEvent, DirectExecutionFailedEvent, DirectExecutionResponse, ChainType, EvmContractCall, DepositMethod, DepositEvent, Wallet, ProductType, WalletPayMethod, FiatCurrency, ExecutionStatus, FeaturedToken, PaymentNetwork, DefaultTokenResponse, ConfirmIntegrationTransferResult, CheckoutMethod, CheckoutPaymentIntent, CheckoutEvent, WithdrawDirectExecutionSucceededEvent, WithdrawEvent, DestinationToken, DestinationTokenChain, PaymentIntent, DepositQuote, PublicIncidentResponse, WithdrawDirectExecutionFailedEvent, SupportedDestinationTokensResponse, SupportedDepositTokensResponse, VerifyAddressResponse } from '@unifold/core';
|
|
2
|
+
import { DirectExecutionSucceededEvent, DirectExecutionFailedEvent, DirectExecutionResponse, ChainType, EvmContractCall, DepositMethod, DepositEvent, Wallet, ProductType, WalletPayMethod, CoinbaseWalletPaySessionResponse, FiatCurrency, ExecutionStatus, FeaturedToken, PaymentNetwork, DefaultTokenResponse, ConfirmIntegrationTransferResult, CheckoutMethod, CheckoutPaymentIntent, CheckoutEvent, WithdrawDirectExecutionSucceededEvent, WithdrawEvent, DestinationToken, DestinationTokenChain, PaymentIntent, DepositQuote, PublicIncidentResponse, WithdrawDirectExecutionFailedEvent, SupportedDestinationTokensResponse, SupportedDepositTokensResponse, VerifyAddressResponse } from '@unifold/core';
|
|
3
3
|
export { ChainType, DepositMethod } from '@unifold/core';
|
|
4
4
|
import * as React$1 from 'react';
|
|
5
5
|
import { MutableRefObject } from 'react';
|
|
@@ -104,6 +104,8 @@ interface EthereumProvider {
|
|
|
104
104
|
isRainbow?: boolean;
|
|
105
105
|
isRabby?: boolean;
|
|
106
106
|
isOkxWallet?: boolean;
|
|
107
|
+
/** Set by the provider Robinhood Wallet injects into its web3 browser. */
|
|
108
|
+
isRobinhoodMobileWallet?: boolean;
|
|
107
109
|
selectedAddress?: string;
|
|
108
110
|
request(args: {
|
|
109
111
|
method: string;
|
|
@@ -311,8 +313,9 @@ interface DepositModalProps {
|
|
|
311
313
|
* Enable the "Bank Transfer" section (SEPA, etc.). Overrides dashboard default.
|
|
312
314
|
* Resolves as flag ?? dashboard `bank_transfer.enabled` ?? true.
|
|
313
315
|
*
|
|
314
|
-
* Even when enabled,
|
|
315
|
-
*
|
|
316
|
+
* Even when enabled, each rail inside is gated on the caller's country. Only
|
|
317
|
+
* rails the caller can use are listed; when none are, the section explains that
|
|
318
|
+
* instead of listing options that would not work.
|
|
316
319
|
*/
|
|
317
320
|
enableBankTransfer?: boolean;
|
|
318
321
|
/**
|
|
@@ -535,7 +538,8 @@ interface BuyWithCardProps {
|
|
|
535
538
|
declare function BuyWithCard({ userId, publishableKey, view: externalView, onViewChange, maxAmountUsd, accentColor, // Keep prop for backward compatibility but don't use default
|
|
536
539
|
destinationTokenSymbol, recipientAddress, destinationChainType, destinationChainId, destinationTokenAddress, onDepositSuccess, onDepositError, onEvent, themeClass, wallets: externalWallets, assetCdnUrl, hideDepositFlowInfo, hideDisplayDescription, prefilledAmountUsd, destinationAmount, }: BuyWithCardProps): react_jsx_runtime.JSX.Element;
|
|
537
540
|
|
|
538
|
-
type
|
|
541
|
+
type WalletPayView = 'loading_config' | 'disabled' | 'email_input' | 'phone_input' | 'submitting_session' | 'email_otp' | 'phone_otp' | 'amount' | 'creating_order' | 'payment' | 'checking_deposit' | 'delivering' | 'success' | 'guest_limit_reached' | 'limit_upgrade_intro' | 'limit_upgrade_form' | 'limit_upgrade_submitting' | 'limit_upgrade_failed';
|
|
542
|
+
type View = WalletPayView;
|
|
539
543
|
interface BuyWithWalletPayProps {
|
|
540
544
|
/**
|
|
541
545
|
* Device wallet the user pays with. Coinbase runs both wallets through the
|
|
@@ -594,6 +598,99 @@ interface BuyWithWalletPayHandle {
|
|
|
594
598
|
}
|
|
595
599
|
declare const BuyWithWalletPay: React$1.ForwardRefExoticComponent<BuyWithWalletPayProps & React$1.RefAttributes<BuyWithWalletPayHandle>>;
|
|
596
600
|
|
|
601
|
+
/**
|
|
602
|
+
* The figures shown on the device-wallet confirm screen.
|
|
603
|
+
*
|
|
604
|
+
* The Coinbase order *is* the quote: it is priced at creation time, and
|
|
605
|
+
* `source_amount` comes back as `paymentTotal` — what the wallet is charged,
|
|
606
|
+
* fees included. Everything here is derived from that one response so the
|
|
607
|
+
* screen can never show a total the user won't actually be billed.
|
|
608
|
+
*/
|
|
609
|
+
interface WalletPayQuote {
|
|
610
|
+
/** Fiat charged, inclusive of fees. */
|
|
611
|
+
totalFiat: number;
|
|
612
|
+
/** Fiat before fees. */
|
|
613
|
+
subtotalFiat: number;
|
|
614
|
+
/** Sum of the provider's fees, in `fiatCurrency`. */
|
|
615
|
+
feeFiat: number;
|
|
616
|
+
/** Uppercase ISO 4217 code for every fiat figure above. */
|
|
617
|
+
fiatCurrency: string;
|
|
618
|
+
/** Crypto delivered, when the provider priced it. */
|
|
619
|
+
receiveAmount: string | null;
|
|
620
|
+
receiveCurrency: string;
|
|
621
|
+
receiveNetwork: string;
|
|
622
|
+
}
|
|
623
|
+
declare function buildWalletPayQuote(session: CoinbaseWalletPaySessionResponse): WalletPayQuote;
|
|
624
|
+
/** `1234.5, "USD"` → `"$1,234.50"`, falling back to `"USD 1234.50"`. */
|
|
625
|
+
declare function formatFiat(amount: number, currency: string): string;
|
|
626
|
+
/**
|
|
627
|
+
* Render a crypto amount without the long tail of zeros Coinbase pads its
|
|
628
|
+
* quotes with (`"97.560000"` → `"97.56"`), keeping at most 6 decimals so a
|
|
629
|
+
* sub-cent asset still shows something.
|
|
630
|
+
*/
|
|
631
|
+
declare function formatCryptoAmount(value: string): string;
|
|
632
|
+
/**
|
|
633
|
+
* Error-correction level for a QR the user scans off a screen with a phone.
|
|
634
|
+
*
|
|
635
|
+
* `H` (30% recovery) is the nicest choice for short payloads, but it also
|
|
636
|
+
* inflates the module count, and a Coinbase payment link carries a session
|
|
637
|
+
* token. Past a few hundred characters the modules get too small to scan
|
|
638
|
+
* reliably at modal size, so trade recovery for density as the payload grows —
|
|
639
|
+
* a screen-displayed code has no print smudges or creases to recover from.
|
|
640
|
+
*/
|
|
641
|
+
declare function qrErrorCorrectionLevel(value: string): 'L' | 'M' | 'Q' | 'H';
|
|
642
|
+
|
|
643
|
+
interface WalletPayQrCheckoutProps {
|
|
644
|
+
method: WalletPayMethod;
|
|
645
|
+
/** Coinbase-hosted checkout page for this order. */
|
|
646
|
+
paymentUrl: string;
|
|
647
|
+
quote: WalletPayQuote;
|
|
648
|
+
}
|
|
649
|
+
/**
|
|
650
|
+
* Desktop hand-off for the headless Coinbase device wallets: the code to scan,
|
|
651
|
+
* what it will cost, and the fact that we're watching for the payment.
|
|
652
|
+
*
|
|
653
|
+
* Apple Pay on the web only renders on a device that has the wallet, on a
|
|
654
|
+
* domain Apple has verified — which is Coinbase's own checkout page, loaded
|
|
655
|
+
* top-level. A desktop browser can't satisfy that, so rather than trying to host
|
|
656
|
+
* the sheet here we hand the priced order to the user's phone. A phone never
|
|
657
|
+
* sees this screen; it pays from the amount screen in one tap.
|
|
658
|
+
*
|
|
659
|
+
* Payment happens entirely on Coinbase's side, on another device, so nothing
|
|
660
|
+
* here reports back — the parent polls the provider and the chain.
|
|
661
|
+
*/
|
|
662
|
+
declare function WalletPayQrCheckout({ method, paymentUrl, quote }: WalletPayQrCheckoutProps): react_jsx_runtime.JSX.Element;
|
|
663
|
+
|
|
664
|
+
type MobilePlatform = 'ios' | 'android';
|
|
665
|
+
|
|
666
|
+
/**
|
|
667
|
+
* The mobile OS, or `null` for desktop and for any phone we can't identify.
|
|
668
|
+
*
|
|
669
|
+
* `null` covers desktop, an unfamiliar user agent and the server, because all
|
|
670
|
+
* three mean the same thing to callers: nothing here justifies taking an option
|
|
671
|
+
* away. Anything that hides a payment method on this should treat `null` as
|
|
672
|
+
* "allow", so an unrecognised device never loses something that might have
|
|
673
|
+
* worked.
|
|
674
|
+
*/
|
|
675
|
+
declare function useMobilePlatform(): MobilePlatform | null;
|
|
676
|
+
|
|
677
|
+
/**
|
|
678
|
+
* Whether this device can pay with a given wallet itself.
|
|
679
|
+
*
|
|
680
|
+
* A phone only carries the wallet its own OS ships: Apple Pay does not exist on
|
|
681
|
+
* Android, and Coinbase's guest checkout treats Google Pay as the Android rail.
|
|
682
|
+
* Offering the other one is a dead end — the user reaches Coinbase's page and no
|
|
683
|
+
* payment sheet appears.
|
|
684
|
+
*
|
|
685
|
+
* `null` — desktop, an unfamiliar user agent, or a server render — allows both,
|
|
686
|
+
* and that is the important half of the rule. On desktop the QR hands the
|
|
687
|
+
* payment to a phone we know nothing about, so neither wallet can be ruled out;
|
|
688
|
+
* the user picks whichever their own phone has. Guessing here would remove a
|
|
689
|
+
* working option, where guessing on a known platform only ever removes one that
|
|
690
|
+
* would have failed.
|
|
691
|
+
*/
|
|
692
|
+
declare function platformSupportsWalletPay(method: WalletPayMethod, platform: MobilePlatform | null): boolean;
|
|
693
|
+
|
|
597
694
|
type BuyWithApplePayProps = Omit<BuyWithWalletPayProps, 'method'>;
|
|
598
695
|
/**
|
|
599
696
|
* Apple Pay entry point into the headless Coinbase guest-checkout flow.
|
|
@@ -664,19 +761,25 @@ interface DepositsModalProps {
|
|
|
664
761
|
}
|
|
665
762
|
declare function DepositsModal({ open, onOpenChange, onCloseAll, executions: sessionExecutions, userId, publishableKey, themeClass, }: DepositsModalProps): react_jsx_runtime.JSX.Element;
|
|
666
763
|
|
|
764
|
+
type ErrorCorrectionLevel = 'L' | 'M' | 'Q' | 'H';
|
|
667
765
|
interface StyledQRCodeProps {
|
|
668
766
|
value: string;
|
|
669
767
|
size?: number;
|
|
670
768
|
imageUrl?: string;
|
|
671
769
|
imageSize?: number;
|
|
672
770
|
darkMode?: boolean;
|
|
771
|
+
/**
|
|
772
|
+
* Lower levels pack a long payload into fewer, larger modules, which scans
|
|
773
|
+
* better off a screen than a dense high-recovery code.
|
|
774
|
+
*/
|
|
775
|
+
errorCorrectionLevel?: ErrorCorrectionLevel;
|
|
673
776
|
}
|
|
674
777
|
interface QRCodeSkeletonProps {
|
|
675
778
|
size?: number;
|
|
676
779
|
darkMode?: boolean;
|
|
677
780
|
}
|
|
678
781
|
declare function QRCodeSkeleton({ size, darkMode }: QRCodeSkeletonProps): react_jsx_runtime.JSX.Element;
|
|
679
|
-
declare function StyledQRCode({ value, size, imageUrl, imageSize, darkMode, }: StyledQRCodeProps): react_jsx_runtime.JSX.Element;
|
|
782
|
+
declare function StyledQRCode({ value, size, imageUrl, imageSize, darkMode, errorCorrectionLevel, }: StyledQRCodeProps): react_jsx_runtime.JSX.Element;
|
|
680
783
|
|
|
681
784
|
interface TransferCryptoButtonProps {
|
|
682
785
|
onClick: () => void;
|
|
@@ -730,10 +833,10 @@ interface BankTransferButtonProps {
|
|
|
730
833
|
onClick: () => void;
|
|
731
834
|
title: string;
|
|
732
835
|
subtitle: string;
|
|
733
|
-
/** When true, renders the row as a disabled
|
|
734
|
-
|
|
836
|
+
/** When true, renders the row as a disabled card (no click). */
|
|
837
|
+
disabled?: boolean;
|
|
735
838
|
}
|
|
736
|
-
declare function BankTransferButton({ onClick, title, subtitle,
|
|
839
|
+
declare function BankTransferButton({ onClick, title, subtitle, disabled, }: BankTransferButtonProps): react_jsx_runtime.JSX.Element;
|
|
737
840
|
|
|
738
841
|
interface StripeLinkButtonProps {
|
|
739
842
|
onClick: () => void;
|
|
@@ -919,9 +1022,6 @@ interface ManualDepositButtonProps {
|
|
|
919
1022
|
* Returns null for auto modes or after the user has clicked.
|
|
920
1023
|
*/
|
|
921
1024
|
declare function ManualDepositButton({ depositConfirmationMode, showWaitingUi, onIveDeposited, }: ManualDepositButtonProps): react_jsx_runtime.JSX.Element | null;
|
|
922
|
-
/**
|
|
923
|
-
* Inline "Checking for deposit" spinner for the footer row.
|
|
924
|
-
*/
|
|
925
1025
|
declare function CheckingForDepositIndicator({ showWaitingUi, hasExecution, }: {
|
|
926
1026
|
showWaitingUi: boolean;
|
|
927
1027
|
hasExecution: boolean;
|
|
@@ -1309,6 +1409,10 @@ var common = {
|
|
|
1309
1409
|
dateTime: "{{date}} at {{time}}",
|
|
1310
1410
|
"continue": "Continue",
|
|
1311
1411
|
processing: "Processing",
|
|
1412
|
+
checkingFor: "Checking for {{target}}",
|
|
1413
|
+
depositTarget: "deposit",
|
|
1414
|
+
paymentTarget: "payment",
|
|
1415
|
+
paymentFailed: "Payment failed",
|
|
1312
1416
|
terms: "Terms",
|
|
1313
1417
|
help: "Help",
|
|
1314
1418
|
done: "Done",
|
|
@@ -1553,7 +1657,7 @@ var depositModal = {
|
|
|
1553
1657
|
bankTransfer: {
|
|
1554
1658
|
title: "Bank Transfer",
|
|
1555
1659
|
subtitle: "SEPA, ACH and more",
|
|
1556
|
-
unavailableInCountry: "Bank
|
|
1660
|
+
unavailableInCountry: "Bank transfer isn't available for this deposit."
|
|
1557
1661
|
},
|
|
1558
1662
|
cashAppMenu: {
|
|
1559
1663
|
title: "Pay with Cash App",
|
|
@@ -1593,6 +1697,8 @@ var depositModal = {
|
|
|
1593
1697
|
verifyEmail: "Verify your email",
|
|
1594
1698
|
verifyPhone: "Verify your phone",
|
|
1595
1699
|
amount: "Amount",
|
|
1700
|
+
gettingQuote: "Getting quote",
|
|
1701
|
+
delivering: "Payment received",
|
|
1596
1702
|
checkingDeposit: "Checking deposit",
|
|
1597
1703
|
success: "Success",
|
|
1598
1704
|
limitReached: "Limit reached",
|
|
@@ -1603,7 +1709,6 @@ var depositModal = {
|
|
|
1603
1709
|
payAmount: "Pay ${{amount}} via Cash App"
|
|
1604
1710
|
},
|
|
1605
1711
|
cashAppScan: {
|
|
1606
|
-
mobile: "Complete payment in Cash App",
|
|
1607
1712
|
desktop: "Scan to pay"
|
|
1608
1713
|
},
|
|
1609
1714
|
cashAppErrors: {
|
|
@@ -1611,6 +1716,9 @@ var depositModal = {
|
|
|
1611
1716
|
createSessionFailed: "Failed to create session",
|
|
1612
1717
|
paymentFailed: "Payment failed",
|
|
1613
1718
|
cashAppPaymentFailed: "Cash App payment failed"
|
|
1719
|
+
},
|
|
1720
|
+
exchangeScan: {
|
|
1721
|
+
desktop: "Scan to transfer"
|
|
1614
1722
|
}
|
|
1615
1723
|
};
|
|
1616
1724
|
var checkoutModal = {
|
|
@@ -1648,7 +1756,7 @@ var connectExchange = {
|
|
|
1648
1756
|
title: "Connect Exchange",
|
|
1649
1757
|
subtitle: "No limit • 2 min",
|
|
1650
1758
|
selectExchange: "Select an exchange",
|
|
1651
|
-
comingSoon: "Coming
|
|
1759
|
+
comingSoon: "Coming soon",
|
|
1652
1760
|
disclosure: {
|
|
1653
1761
|
message: "{{appName}} will securely connect to your {{exchange}} account.",
|
|
1654
1762
|
credentialsNotStored: "Your credentials are never stored",
|
|
@@ -1775,11 +1883,26 @@ var buyWithApplePay = {
|
|
|
1775
1883
|
tokenRoutingUnavailable: "Token routing unavailable",
|
|
1776
1884
|
preparing: "Preparing {{wallet}}",
|
|
1777
1885
|
payWith: "Pay with",
|
|
1778
|
-
pay: "Pay"
|
|
1886
|
+
pay: "Pay",
|
|
1887
|
+
confirm: "Confirm",
|
|
1888
|
+
gettingQuote: "Getting your quote…"
|
|
1889
|
+
},
|
|
1890
|
+
payment: {
|
|
1891
|
+
scanToPay: "Scan to pay",
|
|
1892
|
+
total: "Total",
|
|
1893
|
+
viewBreakdown: "View breakdown",
|
|
1894
|
+
hideBreakdown: "Hide breakdown",
|
|
1895
|
+
subtotal: "Amount",
|
|
1896
|
+
fees: "Fees",
|
|
1897
|
+
youReceive: "You receive",
|
|
1898
|
+
copyLink: "Copy payment link",
|
|
1899
|
+
copied: "Copied"
|
|
1779
1900
|
},
|
|
1780
1901
|
checking: {
|
|
1781
1902
|
title: "Checking for your deposit…",
|
|
1782
|
-
description: "Return if the payment is not made."
|
|
1903
|
+
description: "Return if the payment is not made.",
|
|
1904
|
+
paidTitle: "Payment received",
|
|
1905
|
+
paidDescription: "Your funds are on the way. This usually takes less than a minute."
|
|
1783
1906
|
},
|
|
1784
1907
|
upgrade: {
|
|
1785
1908
|
limitReached: "{{wallet}} limit reached",
|
|
@@ -1810,7 +1933,8 @@ var buyWithApplePay = {
|
|
|
1810
1933
|
destinationNotConfigured: "Deposit destination not configured. Please contact support.",
|
|
1811
1934
|
tokenInfoUnavailable: "Unable to load token information. Please try again.",
|
|
1812
1935
|
depositWalletUnavailable: "Deposit wallet unavailable. Please try again.",
|
|
1813
|
-
requestFailed: "Unable to process your request. Please try again later."
|
|
1936
|
+
requestFailed: "Unable to process your request. Please try again later.",
|
|
1937
|
+
tabBlocked: "Couldn't open the {{wallet}} page. Allow pop-ups for this site and try again."
|
|
1814
1938
|
},
|
|
1815
1939
|
"continue": "Continue",
|
|
1816
1940
|
cancel: "Cancel",
|
|
@@ -1822,7 +1946,9 @@ var buyWithApplePay = {
|
|
|
1822
1946
|
verifyInfoFailed: "We couldn't verify your information. Please check your SSN and date of birth and try again.",
|
|
1823
1947
|
limitUpgradeFailed: "Failed to request limit upgrade",
|
|
1824
1948
|
verificationFailed: "Verification failed",
|
|
1825
|
-
createPaymentFailed: "Failed to create payment"
|
|
1949
|
+
createPaymentFailed: "Failed to create payment",
|
|
1950
|
+
paymentFailed: "That payment didn't go through. Check the amount and try again.",
|
|
1951
|
+
paymentExpired: "This payment expired before it was completed. Try again."
|
|
1826
1952
|
}
|
|
1827
1953
|
};
|
|
1828
1954
|
var payWithStripeLink = {
|
|
@@ -2113,6 +2239,10 @@ declare const i18n: {
|
|
|
2113
2239
|
dateTime: string;
|
|
2114
2240
|
continue: string;
|
|
2115
2241
|
processing: string;
|
|
2242
|
+
checkingFor: string;
|
|
2243
|
+
depositTarget: string;
|
|
2244
|
+
paymentTarget: string;
|
|
2245
|
+
paymentFailed: string;
|
|
2116
2246
|
terms: string;
|
|
2117
2247
|
help: string;
|
|
2118
2248
|
done: string;
|
|
@@ -2397,6 +2527,8 @@ declare const i18n: {
|
|
|
2397
2527
|
verifyEmail: string;
|
|
2398
2528
|
verifyPhone: string;
|
|
2399
2529
|
amount: string;
|
|
2530
|
+
gettingQuote: string;
|
|
2531
|
+
delivering: string;
|
|
2400
2532
|
checkingDeposit: string;
|
|
2401
2533
|
success: string;
|
|
2402
2534
|
limitReached: string;
|
|
@@ -2407,7 +2539,6 @@ declare const i18n: {
|
|
|
2407
2539
|
payAmount: string;
|
|
2408
2540
|
};
|
|
2409
2541
|
cashAppScan: {
|
|
2410
|
-
mobile: string;
|
|
2411
2542
|
desktop: string;
|
|
2412
2543
|
};
|
|
2413
2544
|
cashAppErrors: {
|
|
@@ -2416,6 +2547,9 @@ declare const i18n: {
|
|
|
2416
2547
|
paymentFailed: string;
|
|
2417
2548
|
cashAppPaymentFailed: string;
|
|
2418
2549
|
};
|
|
2550
|
+
exchangeScan: {
|
|
2551
|
+
desktop: string;
|
|
2552
|
+
};
|
|
2419
2553
|
};
|
|
2420
2554
|
checkoutModal: {
|
|
2421
2555
|
title: string;
|
|
@@ -2580,10 +2714,25 @@ declare const i18n: {
|
|
|
2580
2714
|
preparing: string;
|
|
2581
2715
|
payWith: string;
|
|
2582
2716
|
pay: string;
|
|
2717
|
+
confirm: string;
|
|
2718
|
+
gettingQuote: string;
|
|
2719
|
+
};
|
|
2720
|
+
payment: {
|
|
2721
|
+
scanToPay: string;
|
|
2722
|
+
total: string;
|
|
2723
|
+
viewBreakdown: string;
|
|
2724
|
+
hideBreakdown: string;
|
|
2725
|
+
subtotal: string;
|
|
2726
|
+
fees: string;
|
|
2727
|
+
youReceive: string;
|
|
2728
|
+
copyLink: string;
|
|
2729
|
+
copied: string;
|
|
2583
2730
|
};
|
|
2584
2731
|
checking: {
|
|
2585
2732
|
title: string;
|
|
2586
2733
|
description: string;
|
|
2734
|
+
paidTitle: string;
|
|
2735
|
+
paidDescription: string;
|
|
2587
2736
|
};
|
|
2588
2737
|
upgrade: {
|
|
2589
2738
|
limitReached: string;
|
|
@@ -2615,6 +2764,7 @@ declare const i18n: {
|
|
|
2615
2764
|
tokenInfoUnavailable: string;
|
|
2616
2765
|
depositWalletUnavailable: string;
|
|
2617
2766
|
requestFailed: string;
|
|
2767
|
+
tabBlocked: string;
|
|
2618
2768
|
};
|
|
2619
2769
|
continue: string;
|
|
2620
2770
|
cancel: string;
|
|
@@ -2627,6 +2777,8 @@ declare const i18n: {
|
|
|
2627
2777
|
limitUpgradeFailed: string;
|
|
2628
2778
|
verificationFailed: string;
|
|
2629
2779
|
createPaymentFailed: string;
|
|
2780
|
+
paymentFailed: string;
|
|
2781
|
+
paymentExpired: string;
|
|
2630
2782
|
};
|
|
2631
2783
|
};
|
|
2632
2784
|
payWithStripeLink: {
|
|
@@ -3431,4 +3583,4 @@ declare function cn(...inputs: ClassValue[]): string;
|
|
|
3431
3583
|
*/
|
|
3432
3584
|
declare function truncateAddress(address: string, startChars?: number, endChars?: number): string;
|
|
3433
3585
|
|
|
3434
|
-
export { type AllowedCountryResult, AnalyticsProvider, type AnalyticsProviderProps, BankTransfer, BankTransferButton, type BankTransferProps, type BankTransferView, type BrowserWalletAmountQuickSelect, Button, type ButtonProps, type ButtonTokens, BuyWithApplePay, type BuyWithApplePayProps, BuyWithCard, type BuyWithCardProps, BuyWithGooglePay, type BuyWithGooglePayProps, BuyWithWalletPay, type BuyWithWalletPayHandle, type BuyWithWalletPayProps, type CardTokens, CheckingForDepositIndicator, CheckoutModal, type CheckoutModalProps, CoinbaseConnect, type ComponentConfig, type ComponentOverrides, type ComponentTokens, ConfirmingView, ConnectExchangeButton, type ContainerTokens, CurrencyListItem, CurrencyListSection, CurrencyModal, type CustomThemeColors, type DepositConfirmationMode, DepositDetailContent, DepositExecutionItem, DepositHeader, type DepositMenuLayout, type DepositMenuLayoutType, DepositModal, type DepositModalInitialScreen, DepositSuccessToast, type DepositTab, DepositTrackerButton, DepositWithCardButton, DepositsModal, type DetectedWallet, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, type EvmWalletProvider, type FontConfig, HYPERCORE_CHAIN_ID, type HeaderTokens, type I18nContextValue, I18nProvider, type I18nProviderProps, type I18nStrings, type InputTokens, type ListTokens, type LocaleCode, ManualDepositButton, PayWithStripeLink, type PayWithStripeLinkProps, QRCodeSkeleton, type ResolvedFonts, SUPPORTED_LOCALES, type SearchTokens, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, type SolanaWalletProvider, type StoredWalletPaySession as StoredApplePaySession, type StoredWalletPaySession, StripeLinkButton, type StripeLinkStep, StyledQRCode, type ThemeColors, type ThemeConfig, type ThemeMode, ThemeProvider, type ThemeProviderProps, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TransferCryptoButton, TransferCryptoDoubleInput, TransferCryptoSingleInput, type UseDepositQuoteParams, type UsePaymentIntentParams, type UseSupportedDepositTokensOptions, WithdrawConfirmingView, WithdrawDoubleInput, WithdrawExecutionItem, WithdrawForm, WithdrawModal, type WithdrawModalProps, WithdrawTokenSelector, type WithdrawTransactionInfo, buttonVariants, clearStoredWalletPaySession as clearStoredApplePaySession, clearStoredWalletPaySession, cn, colors, defaultColors, detectBrowserLocale, detectBrowserWallet, getActiveLocale, getActiveStrings, getColors, getStoredWalletPaySession as getStoredApplePaySession, getStoredWalletPaySession, getStrings, i18n, interpolate, isHypercoreChain, isOnrampTokenFresh, mergeColors, normalizeLocale, resolveComponentTokens, sendEvmWithdraw, sendHypercoreWithdraw, sendSolanaWithdraw, setActiveLocale, setStoredWalletPaySession as setStoredApplePaySession, setStoredWalletPaySession, truncateAddress, useAddressBalance, useAllowedCountry, useAnalytics, useDebounce, useDepositPolling, useDepositQuote, useI18n, usePaymentIntent, usePublicIncident, useSourceTokenValidation, useSupportedDepositTokens, useSupportedDestinationTokens, useTheme, useVerifyRecipientAddress, useWithdrawPolling };
|
|
3586
|
+
export { type AllowedCountryResult, AnalyticsProvider, type AnalyticsProviderProps, BankTransfer, BankTransferButton, type BankTransferProps, type BankTransferView, type BrowserWalletAmountQuickSelect, Button, type ButtonProps, type ButtonTokens, BuyWithApplePay, type BuyWithApplePayProps, BuyWithCard, type BuyWithCardProps, BuyWithGooglePay, type BuyWithGooglePayProps, BuyWithWalletPay, type BuyWithWalletPayHandle, type BuyWithWalletPayProps, type CardTokens, CheckingForDepositIndicator, CheckoutModal, type CheckoutModalProps, CoinbaseConnect, type ComponentConfig, type ComponentOverrides, type ComponentTokens, ConfirmingView, ConnectExchangeButton, type ContainerTokens, CurrencyListItem, CurrencyListSection, CurrencyModal, type CustomThemeColors, type DepositConfirmationMode, DepositDetailContent, DepositExecutionItem, DepositHeader, type DepositMenuLayout, type DepositMenuLayoutType, DepositModal, type DepositModalInitialScreen, DepositSuccessToast, type DepositTab, DepositTrackerButton, DepositWithCardButton, DepositsModal, type DetectedWallet, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, type EvmWalletProvider, type FontConfig, HYPERCORE_CHAIN_ID, type HeaderTokens, type I18nContextValue, I18nProvider, type I18nProviderProps, type I18nStrings, type InputTokens, type ListTokens, type LocaleCode, ManualDepositButton, type MobilePlatform, PayWithStripeLink, type PayWithStripeLinkProps, QRCodeSkeleton, type ResolvedFonts, SUPPORTED_LOCALES, type SearchTokens, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, type SolanaWalletProvider, type StoredWalletPaySession as StoredApplePaySession, type StoredWalletPaySession, StripeLinkButton, type StripeLinkStep, StyledQRCode, type ThemeColors, type ThemeConfig, type ThemeMode, ThemeProvider, type ThemeProviderProps, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TransferCryptoButton, TransferCryptoDoubleInput, TransferCryptoSingleInput, type UseDepositQuoteParams, type UsePaymentIntentParams, type UseSupportedDepositTokensOptions, WalletPayQrCheckout, type WalletPayQrCheckoutProps, type WalletPayQuote, type WalletPayView, WithdrawConfirmingView, WithdrawDoubleInput, WithdrawExecutionItem, WithdrawForm, WithdrawModal, type WithdrawModalProps, WithdrawTokenSelector, type WithdrawTransactionInfo, buildWalletPayQuote, buttonVariants, clearStoredWalletPaySession as clearStoredApplePaySession, clearStoredWalletPaySession, cn, colors, defaultColors, detectBrowserLocale, detectBrowserWallet, formatCryptoAmount, formatFiat, getActiveLocale, getActiveStrings, getColors, getStoredWalletPaySession as getStoredApplePaySession, getStoredWalletPaySession, getStrings, i18n, interpolate, isHypercoreChain, isOnrampTokenFresh, mergeColors, normalizeLocale, platformSupportsWalletPay, qrErrorCorrectionLevel, resolveComponentTokens, sendEvmWithdraw, sendHypercoreWithdraw, sendSolanaWithdraw, setActiveLocale, setStoredWalletPaySession as setStoredApplePaySession, setStoredWalletPaySession, truncateAddress, useAddressBalance, useAllowedCountry, useAnalytics, useDebounce, useDepositPolling, useDepositQuote, useI18n, useMobilePlatform, usePaymentIntent, usePublicIncident, useSourceTokenValidation, useSupportedDepositTokens, useSupportedDestinationTokens, useTheme, useVerifyRecipientAddress, useWithdrawPolling };
|