@unifold/ui-react 0.1.58 → 0.1.60
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 +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +253 -148
- package/dist/index.mjs +253 -148
- package/package.json +6 -4
package/dist/index.d.mts
CHANGED
|
@@ -185,6 +185,8 @@ interface DepositModalProps {
|
|
|
185
185
|
browserWalletAmountQuickSelect?: BrowserWalletAmountQuickSelect;
|
|
186
186
|
/** Enable "Pay with Exchange" option. Overrides dashboard default. Defaults to dashboard value or true. */
|
|
187
187
|
enablePayWithExchange?: boolean;
|
|
188
|
+
/** Enable the fiat on-ramp option (shown as "Deposit with Card"). Overrides dashboard default. Defaults to dashboard value or true. */
|
|
189
|
+
enableFiatOnramp?: boolean;
|
|
188
190
|
/** Enable "Connect Exchange" option for direct Coinbase Connect integration. Defaults to false. */
|
|
189
191
|
enableConnectExchange?: boolean;
|
|
190
192
|
/** Enable "Pay with Cash App" option. Defaults to false. */
|
|
@@ -210,7 +212,7 @@ interface DepositModalProps {
|
|
|
210
212
|
/** First screen when the modal opens. Default `main` (deposit menu). */
|
|
211
213
|
initialScreen?: DepositModalInitialScreen;
|
|
212
214
|
}
|
|
213
|
-
declare function DepositModal({ open, onOpenChange, userId, publishableKey, modalTitle, destinationTokenSymbol, recipientAddress, destinationChainType, destinationChainId, destinationTokenAddress, defaultSourceChainType, defaultSourceChainId, defaultSourceTokenAddress, defaultSourceSymbol, hideDepositTracker, showBalanceHeader, transferInputVariant, depositConfirmationMode, enableConnectWallet, browserWalletAmountQuickSelect, enablePayWithExchange, enableConnectExchange, enableCashApp, hideDepositFlowInfo, hideDisplayDescription, onDepositSuccess, onDepositError, onEvent, theme, hideOverlay, initialScreen, transferCryptoTitle, depositWithCardTitle, payWithExchangeTitle, depositTrackerTitle, depositTrackerSubTitle, }: DepositModalProps): react_jsx_runtime.JSX.Element;
|
|
215
|
+
declare function DepositModal({ open, onOpenChange, userId, publishableKey, modalTitle, destinationTokenSymbol, recipientAddress, destinationChainType, destinationChainId, destinationTokenAddress, defaultSourceChainType, defaultSourceChainId, defaultSourceTokenAddress, defaultSourceSymbol, hideDepositTracker, showBalanceHeader, transferInputVariant, depositConfirmationMode, enableConnectWallet, browserWalletAmountQuickSelect, enablePayWithExchange, enableFiatOnramp, enableConnectExchange, enableCashApp, hideDepositFlowInfo, hideDisplayDescription, onDepositSuccess, onDepositError, onEvent, theme, hideOverlay, initialScreen, transferCryptoTitle, depositWithCardTitle, payWithExchangeTitle, depositTrackerTitle, depositTrackerSubTitle, }: DepositModalProps): react_jsx_runtime.JSX.Element;
|
|
214
216
|
|
|
215
217
|
interface DepositHeaderProps {
|
|
216
218
|
title: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -185,6 +185,8 @@ interface DepositModalProps {
|
|
|
185
185
|
browserWalletAmountQuickSelect?: BrowserWalletAmountQuickSelect;
|
|
186
186
|
/** Enable "Pay with Exchange" option. Overrides dashboard default. Defaults to dashboard value or true. */
|
|
187
187
|
enablePayWithExchange?: boolean;
|
|
188
|
+
/** Enable the fiat on-ramp option (shown as "Deposit with Card"). Overrides dashboard default. Defaults to dashboard value or true. */
|
|
189
|
+
enableFiatOnramp?: boolean;
|
|
188
190
|
/** Enable "Connect Exchange" option for direct Coinbase Connect integration. Defaults to false. */
|
|
189
191
|
enableConnectExchange?: boolean;
|
|
190
192
|
/** Enable "Pay with Cash App" option. Defaults to false. */
|
|
@@ -210,7 +212,7 @@ interface DepositModalProps {
|
|
|
210
212
|
/** First screen when the modal opens. Default `main` (deposit menu). */
|
|
211
213
|
initialScreen?: DepositModalInitialScreen;
|
|
212
214
|
}
|
|
213
|
-
declare function DepositModal({ open, onOpenChange, userId, publishableKey, modalTitle, destinationTokenSymbol, recipientAddress, destinationChainType, destinationChainId, destinationTokenAddress, defaultSourceChainType, defaultSourceChainId, defaultSourceTokenAddress, defaultSourceSymbol, hideDepositTracker, showBalanceHeader, transferInputVariant, depositConfirmationMode, enableConnectWallet, browserWalletAmountQuickSelect, enablePayWithExchange, enableConnectExchange, enableCashApp, hideDepositFlowInfo, hideDisplayDescription, onDepositSuccess, onDepositError, onEvent, theme, hideOverlay, initialScreen, transferCryptoTitle, depositWithCardTitle, payWithExchangeTitle, depositTrackerTitle, depositTrackerSubTitle, }: DepositModalProps): react_jsx_runtime.JSX.Element;
|
|
215
|
+
declare function DepositModal({ open, onOpenChange, userId, publishableKey, modalTitle, destinationTokenSymbol, recipientAddress, destinationChainType, destinationChainId, destinationTokenAddress, defaultSourceChainType, defaultSourceChainId, defaultSourceTokenAddress, defaultSourceSymbol, hideDepositTracker, showBalanceHeader, transferInputVariant, depositConfirmationMode, enableConnectWallet, browserWalletAmountQuickSelect, enablePayWithExchange, enableFiatOnramp, enableConnectExchange, enableCashApp, hideDepositFlowInfo, hideDisplayDescription, onDepositSuccess, onDepositError, onEvent, theme, hideOverlay, initialScreen, transferCryptoTitle, depositWithCardTitle, payWithExchangeTitle, depositTrackerTitle, depositTrackerSubTitle, }: DepositModalProps): react_jsx_runtime.JSX.Element;
|
|
214
216
|
|
|
215
217
|
interface DepositHeaderProps {
|
|
216
218
|
title: string;
|