@unifold/connect-react-native 0.1.35-beta-007 → 0.1.36
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 +6 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +3 -3
- package/dist/index.mjs +3 -3
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -683,6 +683,12 @@ interface WithdrawConfig {
|
|
|
683
683
|
sourceTokenSymbol?: string;
|
|
684
684
|
/** Optional pre-fill for the recipient address field */
|
|
685
685
|
recipientAddress?: string;
|
|
686
|
+
/** Pre-select the destination chain type (e.g. "ethereum", "solana"). Used with defaultDestinationChainId. */
|
|
687
|
+
defaultDestinationChainType?: string;
|
|
688
|
+
/** Pre-select the destination chain by chain ID (e.g. "1" for Ethereum mainnet). Used with defaultDestinationChainType. */
|
|
689
|
+
defaultDestinationChainId?: string;
|
|
690
|
+
/** Pre-select the destination token by contract address on the specified chain. Used with defaultDestinationChainType + defaultDestinationChainId. */
|
|
691
|
+
defaultDestinationTokenAddress?: string;
|
|
686
692
|
/**
|
|
687
693
|
* Called when the user confirms withdrawal. The consumer is responsible for
|
|
688
694
|
* signing and broadcasting the transaction — matches the web SDK interface.
|
package/dist/index.d.ts
CHANGED
|
@@ -683,6 +683,12 @@ interface WithdrawConfig {
|
|
|
683
683
|
sourceTokenSymbol?: string;
|
|
684
684
|
/** Optional pre-fill for the recipient address field */
|
|
685
685
|
recipientAddress?: string;
|
|
686
|
+
/** Pre-select the destination chain type (e.g. "ethereum", "solana"). Used with defaultDestinationChainId. */
|
|
687
|
+
defaultDestinationChainType?: string;
|
|
688
|
+
/** Pre-select the destination chain by chain ID (e.g. "1" for Ethereum mainnet). Used with defaultDestinationChainType. */
|
|
689
|
+
defaultDestinationChainId?: string;
|
|
690
|
+
/** Pre-select the destination token by contract address on the specified chain. Used with defaultDestinationChainType + defaultDestinationChainId. */
|
|
691
|
+
defaultDestinationTokenAddress?: string;
|
|
686
692
|
/**
|
|
687
693
|
* Called when the user confirms withdrawal. The consumer is responsible for
|
|
688
694
|
* signing and broadcasting the transaction — matches the web SDK interface.
|