@unifold/connect-react 0.1.63 → 0.1.65

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 CHANGED
@@ -28,6 +28,11 @@ interface UnifoldConnectProviderConfig {
28
28
  appearance?: ThemeMode | 'auto';
29
29
  /** Transfer input variant: 'single_input' or 'double_input'. Defaults to 'double_input' */
30
30
  transferInputVariant?: 'single_input' | 'double_input';
31
+ /**
32
+ * Deposit menu layout: 'stacked' (default, stacked list) or 'tabs'
33
+ * (options grouped under "Use Crypto" / "Use Cash" tabs).
34
+ */
35
+ displayMode?: 'stacked' | 'tabs';
31
36
  /** Enable "Transfer Crypto" option. Overrides dashboard default. Resolves as flag ?? dashboard value ?? true. */
32
37
  enableTransferCrypto?: boolean;
33
38
  /** Enable browser wallet connection option. Overrides dashboard default. Resolves as flag ?? dashboard value ?? true. */
@@ -86,6 +91,7 @@ interface DepositConfig {
86
91
  destinationChainId: string;
87
92
  destinationTokenAddress: string;
88
93
  destinationTokenSymbol: string;
94
+ /** Address that receives the deposited funds. */
89
95
  recipientAddress: string;
90
96
  /**
91
97
  * Array of contract calls to execute on the destination chain when delivering funds.
package/dist/index.d.ts CHANGED
@@ -28,6 +28,11 @@ interface UnifoldConnectProviderConfig {
28
28
  appearance?: ThemeMode | 'auto';
29
29
  /** Transfer input variant: 'single_input' or 'double_input'. Defaults to 'double_input' */
30
30
  transferInputVariant?: 'single_input' | 'double_input';
31
+ /**
32
+ * Deposit menu layout: 'stacked' (default, stacked list) or 'tabs'
33
+ * (options grouped under "Use Crypto" / "Use Cash" tabs).
34
+ */
35
+ displayMode?: 'stacked' | 'tabs';
31
36
  /** Enable "Transfer Crypto" option. Overrides dashboard default. Resolves as flag ?? dashboard value ?? true. */
32
37
  enableTransferCrypto?: boolean;
33
38
  /** Enable browser wallet connection option. Overrides dashboard default. Resolves as flag ?? dashboard value ?? true. */
@@ -86,6 +91,7 @@ interface DepositConfig {
86
91
  destinationChainId: string;
87
92
  destinationTokenAddress: string;
88
93
  destinationTokenSymbol: string;
94
+ /** Address that receives the deposited funds. */
89
95
  recipientAddress: string;
90
96
  /**
91
97
  * Array of contract calls to execute on the destination chain when delivering funds.