@unifold/ui-react 0.1.61 → 0.1.62
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 +4 -2
- package/dist/index.d.ts +4 -2
- package/dist/index.js +380 -361
- package/dist/index.mjs +531 -512
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -131,7 +131,7 @@ interface EvmWalletProvider {
|
|
|
131
131
|
removeListener?(event: string, callback: (...args: unknown[]) => void): void;
|
|
132
132
|
}
|
|
133
133
|
|
|
134
|
-
type DepositModalInitialScreen = "main" | "transfer" | "card" | "cashapp" | "tracker";
|
|
134
|
+
type DepositModalInitialScreen = "main" | "transfer" | "card" | "cashapp" | "tracker" | "pay_with_exchange" | "exchange_connect" | "wallet_connect";
|
|
135
135
|
interface DepositModalProps {
|
|
136
136
|
open: boolean;
|
|
137
137
|
onOpenChange: (open: boolean) => void;
|
|
@@ -485,9 +485,11 @@ interface CoinbaseConnectProps {
|
|
|
485
485
|
onBack?: () => void;
|
|
486
486
|
onDisconnect?: () => void;
|
|
487
487
|
skipToHoldings?: boolean;
|
|
488
|
+
/** Whether back navigation from the root view is available (false when opened as a standalone initial screen). */
|
|
489
|
+
canGoBack?: boolean;
|
|
488
490
|
onExecutionsChange?: (executions: AutoSwapResponse[]) => void;
|
|
489
491
|
}
|
|
490
|
-
declare function CoinbaseConnect({ publishableKey, userId, wallets, recipientAddress, destinationTokenAddress, destinationChainId, destinationChainType, onTransferSuccess, onTransferError, onClose, onBack: parentOnBack, onDisconnect, skipToHoldings, onExecutionsChange, }: CoinbaseConnectProps): react_jsx_runtime.JSX.Element | null;
|
|
492
|
+
declare function CoinbaseConnect({ publishableKey, userId, wallets, recipientAddress, destinationTokenAddress, destinationChainId, destinationChainType, onTransferSuccess, onTransferError, onClose, onBack: parentOnBack, onDisconnect, skipToHoldings, canGoBack, onExecutionsChange, }: CoinbaseConnectProps): react_jsx_runtime.JSX.Element | null;
|
|
491
493
|
declare namespace CoinbaseConnect {
|
|
492
494
|
var displayName: string;
|
|
493
495
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -131,7 +131,7 @@ interface EvmWalletProvider {
|
|
|
131
131
|
removeListener?(event: string, callback: (...args: unknown[]) => void): void;
|
|
132
132
|
}
|
|
133
133
|
|
|
134
|
-
type DepositModalInitialScreen = "main" | "transfer" | "card" | "cashapp" | "tracker";
|
|
134
|
+
type DepositModalInitialScreen = "main" | "transfer" | "card" | "cashapp" | "tracker" | "pay_with_exchange" | "exchange_connect" | "wallet_connect";
|
|
135
135
|
interface DepositModalProps {
|
|
136
136
|
open: boolean;
|
|
137
137
|
onOpenChange: (open: boolean) => void;
|
|
@@ -485,9 +485,11 @@ interface CoinbaseConnectProps {
|
|
|
485
485
|
onBack?: () => void;
|
|
486
486
|
onDisconnect?: () => void;
|
|
487
487
|
skipToHoldings?: boolean;
|
|
488
|
+
/** Whether back navigation from the root view is available (false when opened as a standalone initial screen). */
|
|
489
|
+
canGoBack?: boolean;
|
|
488
490
|
onExecutionsChange?: (executions: AutoSwapResponse[]) => void;
|
|
489
491
|
}
|
|
490
|
-
declare function CoinbaseConnect({ publishableKey, userId, wallets, recipientAddress, destinationTokenAddress, destinationChainId, destinationChainType, onTransferSuccess, onTransferError, onClose, onBack: parentOnBack, onDisconnect, skipToHoldings, onExecutionsChange, }: CoinbaseConnectProps): react_jsx_runtime.JSX.Element | null;
|
|
492
|
+
declare function CoinbaseConnect({ publishableKey, userId, wallets, recipientAddress, destinationTokenAddress, destinationChainId, destinationChainType, onTransferSuccess, onTransferError, onClose, onBack: parentOnBack, onDisconnect, skipToHoldings, canGoBack, onExecutionsChange, }: CoinbaseConnectProps): react_jsx_runtime.JSX.Element | null;
|
|
491
493
|
declare namespace CoinbaseConnect {
|
|
492
494
|
var displayName: string;
|
|
493
495
|
}
|