@rhinestone/deposit-modal 0.3.0-alpha.1 → 0.3.0-alpha.3

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/deposit.cjs CHANGED
@@ -1,8 +1,8 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkC6JK3IO6cjs = require('./chunk-C6JK3IO6.cjs');
4
- require('./chunk-DCAANLEP.cjs');
3
+ var _chunkIATY2C5Rcjs = require('./chunk-IATY2C5R.cjs');
4
+ require('./chunk-V6NJIPSS.cjs');
5
5
  require('./chunk-IVTXEYB2.cjs');
6
6
 
7
7
 
8
- exports.DepositModal = _chunkC6JK3IO6cjs.DepositModal;
8
+ exports.DepositModal = _chunkIATY2C5Rcjs.DepositModal;
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { e as DepositModalProps } from './types-DRou84ZM.cjs';
3
- export { A as AssetOption, a as ConnectedEventData, b as DepositCompleteEventData, c as DepositFailedEventData, f as DepositModalTheme, g as DepositModalUIConfig, h as DepositSubmittedEventData, E as ErrorEventData } from './types-DRou84ZM.cjs';
2
+ import { f as DepositModalProps } from './types-xSHZSlrT.cjs';
3
+ export { A as AssetOption, a as ConnectedEventData, D as DappImportsConfig, c as DepositCompleteEventData, d as DepositFailedEventData, g as DepositModalTheme, h as DepositModalUIConfig, i as DepositSubmittedEventData, E as ErrorEventData } from './types-xSHZSlrT.cjs';
4
4
  import 'viem';
5
5
 
6
6
  declare function DepositModal(props: DepositModalProps): react_jsx_runtime.JSX.Element;
package/dist/deposit.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { e as DepositModalProps } from './types-DRou84ZM.js';
3
- export { A as AssetOption, a as ConnectedEventData, b as DepositCompleteEventData, c as DepositFailedEventData, f as DepositModalTheme, g as DepositModalUIConfig, h as DepositSubmittedEventData, E as ErrorEventData } from './types-DRou84ZM.js';
2
+ import { f as DepositModalProps } from './types-xSHZSlrT.js';
3
+ export { A as AssetOption, a as ConnectedEventData, D as DappImportsConfig, c as DepositCompleteEventData, d as DepositFailedEventData, g as DepositModalTheme, h as DepositModalUIConfig, i as DepositSubmittedEventData, E as ErrorEventData } from './types-xSHZSlrT.js';
4
4
  import 'viem';
5
5
 
6
6
  declare function DepositModal(props: DepositModalProps): react_jsx_runtime.JSX.Element;
package/dist/deposit.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  DepositModal
3
- } from "./chunk-SLLI7SB6.mjs";
4
- import "./chunk-FY76DWPD.mjs";
3
+ } from "./chunk-QLTTDVFU.mjs";
4
+ import "./chunk-TFXIQ7YH.mjs";
5
5
  import "./chunk-VA3ANS7D.mjs";
6
6
  export {
7
7
  DepositModal
package/dist/index.cjs CHANGED
@@ -1,13 +1,13 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkC6JK3IO6cjs = require('./chunk-C6JK3IO6.cjs');
3
+ var _chunkIATY2C5Rcjs = require('./chunk-IATY2C5R.cjs');
4
4
 
5
5
 
6
- var _chunkK7MNFNR7cjs = require('./chunk-K7MNFNR7.cjs');
6
+ var _chunkUEYFJM5Ycjs = require('./chunk-UEYFJM5Y.cjs');
7
7
 
8
8
 
9
9
  var _chunkYQFH2WSWcjs = require('./chunk-YQFH2WSW.cjs');
10
- require('./chunk-DCAANLEP.cjs');
10
+ require('./chunk-V6NJIPSS.cjs');
11
11
 
12
12
 
13
13
 
@@ -70,4 +70,4 @@ var _chunkIVTXEYB2cjs = require('./chunk-IVTXEYB2.cjs');
70
70
 
71
71
 
72
72
 
73
- exports.CHAIN_BY_ID = _chunkIVTXEYB2cjs.CHAIN_BY_ID; exports.DEFAULT_BACKEND_URL = _chunkIVTXEYB2cjs.DEFAULT_BACKEND_URL; exports.DEFAULT_SIGNER_ADDRESS = _chunkIVTXEYB2cjs.DEFAULT_SIGNER_ADDRESS; exports.DepositModal = _chunkC6JK3IO6cjs.DepositModal; exports.NATIVE_TOKEN_ADDRESS = _chunkIVTXEYB2cjs.NATIVE_TOKEN_ADDRESS; exports.SOURCE_CHAINS = _chunkIVTXEYB2cjs.SOURCE_CHAINS; exports.SUPPORTED_CHAINS = _chunkIVTXEYB2cjs.SUPPORTED_CHAINS; exports.WithdrawModal = _chunkK7MNFNR7cjs.WithdrawModal; exports.chainRegistry = _chunkIVTXEYB2cjs.chainRegistry; exports.disconnectWallet = _chunkYQFH2WSWcjs.disconnectWallet; exports.findChainIdForToken = _chunkIVTXEYB2cjs.findChainIdForToken; exports.getChainBadge = _chunkIVTXEYB2cjs.getChainBadge; exports.getChainIcon = _chunkIVTXEYB2cjs.getChainIcon; exports.getChainId = _chunkIVTXEYB2cjs.getChainId; exports.getChainName = _chunkIVTXEYB2cjs.getChainName; exports.getChainObject = _chunkIVTXEYB2cjs.getChainObject; exports.getExplorerName = _chunkIVTXEYB2cjs.getExplorerName; exports.getExplorerTxUrl = _chunkIVTXEYB2cjs.getExplorerTxUrl; exports.getExplorerUrl = _chunkIVTXEYB2cjs.getExplorerUrl; exports.getSupportedChainIds = _chunkIVTXEYB2cjs.getSupportedChainIds; exports.getSupportedTargetTokens = _chunkIVTXEYB2cjs.getSupportedTargetTokens; exports.getSupportedTokenSymbolsForChain = _chunkIVTXEYB2cjs.getSupportedTokenSymbolsForChain; exports.getTargetTokenSymbolsForChain = _chunkIVTXEYB2cjs.getTargetTokenSymbolsForChain; exports.getTokenAddress = _chunkIVTXEYB2cjs.getTokenAddress; exports.getTokenDecimals = _chunkIVTXEYB2cjs.getTokenDecimals; exports.getTokenDecimalsByAddress = _chunkIVTXEYB2cjs.getTokenDecimalsByAddress; exports.getTokenIcon = _chunkIVTXEYB2cjs.getTokenIcon; exports.getTokenSymbol = _chunkIVTXEYB2cjs.getTokenSymbol; exports.getUsdcAddress = _chunkIVTXEYB2cjs.getUsdcAddress; exports.getUsdcDecimals = _chunkIVTXEYB2cjs.getUsdcDecimals; exports.isSupportedTokenAddressForChain = _chunkIVTXEYB2cjs.isSupportedTokenAddressForChain;
73
+ exports.CHAIN_BY_ID = _chunkIVTXEYB2cjs.CHAIN_BY_ID; exports.DEFAULT_BACKEND_URL = _chunkIVTXEYB2cjs.DEFAULT_BACKEND_URL; exports.DEFAULT_SIGNER_ADDRESS = _chunkIVTXEYB2cjs.DEFAULT_SIGNER_ADDRESS; exports.DepositModal = _chunkIATY2C5Rcjs.DepositModal; exports.NATIVE_TOKEN_ADDRESS = _chunkIVTXEYB2cjs.NATIVE_TOKEN_ADDRESS; exports.SOURCE_CHAINS = _chunkIVTXEYB2cjs.SOURCE_CHAINS; exports.SUPPORTED_CHAINS = _chunkIVTXEYB2cjs.SUPPORTED_CHAINS; exports.WithdrawModal = _chunkUEYFJM5Ycjs.WithdrawModal; exports.chainRegistry = _chunkIVTXEYB2cjs.chainRegistry; exports.disconnectWallet = _chunkYQFH2WSWcjs.disconnectWallet; exports.findChainIdForToken = _chunkIVTXEYB2cjs.findChainIdForToken; exports.getChainBadge = _chunkIVTXEYB2cjs.getChainBadge; exports.getChainIcon = _chunkIVTXEYB2cjs.getChainIcon; exports.getChainId = _chunkIVTXEYB2cjs.getChainId; exports.getChainName = _chunkIVTXEYB2cjs.getChainName; exports.getChainObject = _chunkIVTXEYB2cjs.getChainObject; exports.getExplorerName = _chunkIVTXEYB2cjs.getExplorerName; exports.getExplorerTxUrl = _chunkIVTXEYB2cjs.getExplorerTxUrl; exports.getExplorerUrl = _chunkIVTXEYB2cjs.getExplorerUrl; exports.getSupportedChainIds = _chunkIVTXEYB2cjs.getSupportedChainIds; exports.getSupportedTargetTokens = _chunkIVTXEYB2cjs.getSupportedTargetTokens; exports.getSupportedTokenSymbolsForChain = _chunkIVTXEYB2cjs.getSupportedTokenSymbolsForChain; exports.getTargetTokenSymbolsForChain = _chunkIVTXEYB2cjs.getTargetTokenSymbolsForChain; exports.getTokenAddress = _chunkIVTXEYB2cjs.getTokenAddress; exports.getTokenDecimals = _chunkIVTXEYB2cjs.getTokenDecimals; exports.getTokenDecimalsByAddress = _chunkIVTXEYB2cjs.getTokenDecimalsByAddress; exports.getTokenIcon = _chunkIVTXEYB2cjs.getTokenIcon; exports.getTokenSymbol = _chunkIVTXEYB2cjs.getTokenSymbol; exports.getUsdcAddress = _chunkIVTXEYB2cjs.getUsdcAddress; exports.getUsdcDecimals = _chunkIVTXEYB2cjs.getUsdcDecimals; exports.isSupportedTokenAddressForChain = _chunkIVTXEYB2cjs.isSupportedTokenAddressForChain;
package/dist/index.d.cts CHANGED
@@ -1,6 +1,6 @@
1
1
  export { DepositModal } from './deposit.cjs';
2
2
  export { WithdrawModal } from './withdraw.cjs';
3
- export { A as AssetOption, C as ChainId, a as ConnectedEventData, D as DepositAnalyticsEvent, b as DepositCompleteEventData, c as DepositFailedEventData, d as DepositLifecycleEvent, e as DepositModalProps, f as DepositModalTheme, g as DepositModalUIConfig, h as DepositSubmittedEventData, E as ErrorEventData, M as ModalAnalyticsEvent, O as OrderBookSwapAction, i as OutputTokenRule, P as PostBridgeAction, R as RouteConfig, S as SafeTransactionRequest, W as WithdrawAnalyticsEvent, j as WithdrawCompleteEventData, k as WithdrawFailedEventData, l as WithdrawLifecycleEvent, m as WithdrawModalProps, n as WithdrawSubmittedEventData } from './types-DRou84ZM.cjs';
3
+ export { A as AssetOption, C as ChainId, a as ConnectedEventData, D as DappImportsConfig, b as DepositAnalyticsEvent, c as DepositCompleteEventData, d as DepositFailedEventData, e as DepositLifecycleEvent, f as DepositModalProps, g as DepositModalTheme, h as DepositModalUIConfig, i as DepositSubmittedEventData, E as ErrorEventData, M as ModalAnalyticsEvent, O as OrderBookSwapAction, j as OutputTokenRule, P as PostBridgeAction, R as RouteConfig, S as SafeTransactionRequest, W as WithdrawAnalyticsEvent, k as WithdrawCompleteEventData, l as WithdrawFailedEventData, m as WithdrawLifecycleEvent, n as WithdrawModalProps, o as WithdrawSubmittedEventData } from './types-xSHZSlrT.cjs';
4
4
  export { CHAIN_BY_ID, DEFAULT_BACKEND_URL, DEFAULT_SIGNER_ADDRESS, NATIVE_TOKEN_ADDRESS, SOURCE_CHAINS, SUPPORTED_CHAINS, chainRegistry, findChainIdForToken, getChainBadge, getChainIcon, getChainId, getChainName, getChainObject, getExplorerName, getExplorerTxUrl, getExplorerUrl, getSupportedChainIds, getSupportedTargetTokens, getSupportedTokenSymbolsForChain, getTargetTokenSymbolsForChain, getTokenAddress, getTokenDecimals, getTokenDecimalsByAddress, getTokenIcon, getTokenSymbol, getUsdcAddress, getUsdcDecimals, isSupportedTokenAddressForChain } from './constants.cjs';
5
5
  import 'react/jsx-runtime';
6
6
  import 'viem';
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  export { DepositModal } from './deposit.js';
2
2
  export { WithdrawModal } from './withdraw.js';
3
- export { A as AssetOption, C as ChainId, a as ConnectedEventData, D as DepositAnalyticsEvent, b as DepositCompleteEventData, c as DepositFailedEventData, d as DepositLifecycleEvent, e as DepositModalProps, f as DepositModalTheme, g as DepositModalUIConfig, h as DepositSubmittedEventData, E as ErrorEventData, M as ModalAnalyticsEvent, O as OrderBookSwapAction, i as OutputTokenRule, P as PostBridgeAction, R as RouteConfig, S as SafeTransactionRequest, W as WithdrawAnalyticsEvent, j as WithdrawCompleteEventData, k as WithdrawFailedEventData, l as WithdrawLifecycleEvent, m as WithdrawModalProps, n as WithdrawSubmittedEventData } from './types-DRou84ZM.js';
3
+ export { A as AssetOption, C as ChainId, a as ConnectedEventData, D as DappImportsConfig, b as DepositAnalyticsEvent, c as DepositCompleteEventData, d as DepositFailedEventData, e as DepositLifecycleEvent, f as DepositModalProps, g as DepositModalTheme, h as DepositModalUIConfig, i as DepositSubmittedEventData, E as ErrorEventData, M as ModalAnalyticsEvent, O as OrderBookSwapAction, j as OutputTokenRule, P as PostBridgeAction, R as RouteConfig, S as SafeTransactionRequest, W as WithdrawAnalyticsEvent, k as WithdrawCompleteEventData, l as WithdrawFailedEventData, m as WithdrawLifecycleEvent, n as WithdrawModalProps, o as WithdrawSubmittedEventData } from './types-xSHZSlrT.js';
4
4
  export { CHAIN_BY_ID, DEFAULT_BACKEND_URL, DEFAULT_SIGNER_ADDRESS, NATIVE_TOKEN_ADDRESS, SOURCE_CHAINS, SUPPORTED_CHAINS, chainRegistry, findChainIdForToken, getChainBadge, getChainIcon, getChainId, getChainName, getChainObject, getExplorerName, getExplorerTxUrl, getExplorerUrl, getSupportedChainIds, getSupportedTargetTokens, getSupportedTokenSymbolsForChain, getTargetTokenSymbolsForChain, getTokenAddress, getTokenDecimals, getTokenDecimalsByAddress, getTokenIcon, getTokenSymbol, getUsdcAddress, getUsdcDecimals, isSupportedTokenAddressForChain } from './constants.js';
5
5
  import 'react/jsx-runtime';
6
6
  import 'viem';
package/dist/index.mjs CHANGED
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  DepositModal
3
- } from "./chunk-SLLI7SB6.mjs";
3
+ } from "./chunk-QLTTDVFU.mjs";
4
4
  import {
5
5
  WithdrawModal
6
- } from "./chunk-D5YCALVX.mjs";
6
+ } from "./chunk-GE3TMZEL.mjs";
7
7
  import {
8
8
  disconnectWallet
9
9
  } from "./chunk-5YXAQB6A.mjs";
10
- import "./chunk-FY76DWPD.mjs";
10
+ import "./chunk-TFXIQ7YH.mjs";
11
11
  import {
12
12
  CHAIN_BY_ID,
13
13
  DEFAULT_BACKEND_URL,
package/dist/styles.css CHANGED
@@ -49,6 +49,7 @@
49
49
  /* Amber (warning) */
50
50
  --color-amber3: #fff7c2;
51
51
  --color-amber8: #e2a336;
52
+ --color-amber11: #92400e;
52
53
 
53
54
  /* Semantic colors */
54
55
  --rs-background: #ffffff;
@@ -73,7 +74,9 @@
73
74
  --rs-success-tint: var(--color-green3);
74
75
  --rs-error: var(--color-red9);
75
76
  --rs-error-tint: var(--color-red3);
77
+ --rs-warning: var(--color-amber11);
76
78
  --rs-warning-tint: var(--color-amber3);
79
+ --rs-warning-border: rgba(146, 64, 14, 0.18);
77
80
 
78
81
  --rs-foreground: var(--color-gray12);
79
82
  --rs-muted: var(--color-gray10);
@@ -152,7 +155,8 @@
152
155
  --color-red3: rgba(229, 72, 77, 0.1);
153
156
  --color-red4: rgba(229, 72, 77, 0.16);
154
157
  --color-red10: #f16a6e;
155
- --color-amber3: rgba(226, 163, 54, 0.1);
158
+ --color-amber3: rgba(226, 163, 54, 0.12);
159
+ --color-amber11: #fcd34d;
156
160
 
157
161
  /* Inverted neutral pair: light-on-dark CTA */
158
162
  --color-neutral3: rgba(244, 244, 245, 0.08);
@@ -176,6 +180,8 @@
176
180
  --rs-shadow-dropdown:
177
181
  0 4px 20px rgba(0, 0, 0, 0.6), 0 1px 4px rgba(0, 0, 0, 0.4);
178
182
 
183
+ --rs-warning-border: rgba(252, 211, 77, 0.22);
184
+
179
185
  color-scheme: dark;
180
186
  }
181
187
 
@@ -2107,6 +2113,12 @@
2107
2113
  color: var(--rs-error);
2108
2114
  }
2109
2115
 
2116
+ .rs-amount-error--warning {
2117
+ background: var(--rs-warning-tint);
2118
+ color: var(--rs-warning);
2119
+ border: 1px solid var(--rs-warning-border);
2120
+ }
2121
+
2110
2122
  /* =============================================================================
2111
2123
  Confirm Step Redesign (Polymarket Style)
2112
2124
  ============================================================================= */
@@ -59,6 +59,14 @@ declare const SAFE_TX_TYPES: {
59
59
  }];
60
60
  };
61
61
 
62
+ /**
63
+ * Public config shape exposed on DepositModalProps. Each dapp defaults to
64
+ * off — clients must explicitly opt in.
65
+ */
66
+ interface DappImportsConfig {
67
+ polymarket?: boolean;
68
+ }
69
+
62
70
  type Caip2ChainId = `eip155:${number}` | `solana:${string}`;
63
71
  type ChainId = number | "solana" | Caip2ChainId;
64
72
  interface DepositModalTheme {
@@ -171,6 +179,13 @@ interface DepositModalProps {
171
179
  waitForFinalTx?: boolean;
172
180
  reownAppId?: string;
173
181
  enableSolana?: boolean;
182
+ /**
183
+ * Enable importing balances from third-party dapps. Each dapp defaults to
184
+ * off — clients must explicitly opt in. When a dapp is enabled and the
185
+ * connected wallet has a balance there, a new row appears on the deposit
186
+ * entry screen.
187
+ */
188
+ dappImports?: DappImportsConfig;
174
189
  onRequestConnect?: () => void;
175
190
  theme?: DepositModalTheme;
176
191
  uiConfig?: DepositModalUIConfig;
@@ -348,4 +363,4 @@ type WithdrawAnalyticsEvent = {
348
363
  };
349
364
  type ModalAnalyticsEvent = DepositAnalyticsEvent | WithdrawAnalyticsEvent;
350
365
 
351
- export type { AssetOption as A, ChainId as C, DepositAnalyticsEvent as D, ErrorEventData as E, ModalAnalyticsEvent as M, OrderBookSwapAction as O, PostBridgeAction as P, RouteConfig as R, SafeTransactionRequest as S, WithdrawAnalyticsEvent as W, ConnectedEventData as a, DepositCompleteEventData as b, DepositFailedEventData as c, DepositLifecycleEvent as d, DepositModalProps as e, DepositModalTheme as f, DepositModalUIConfig as g, DepositSubmittedEventData as h, OutputTokenRule as i, WithdrawCompleteEventData as j, WithdrawFailedEventData as k, WithdrawLifecycleEvent as l, WithdrawModalProps as m, WithdrawSubmittedEventData as n };
366
+ export type { AssetOption as A, ChainId as C, DappImportsConfig as D, ErrorEventData as E, ModalAnalyticsEvent as M, OrderBookSwapAction as O, PostBridgeAction as P, RouteConfig as R, SafeTransactionRequest as S, WithdrawAnalyticsEvent as W, ConnectedEventData as a, DepositAnalyticsEvent as b, DepositCompleteEventData as c, DepositFailedEventData as d, DepositLifecycleEvent as e, DepositModalProps as f, DepositModalTheme as g, DepositModalUIConfig as h, DepositSubmittedEventData as i, OutputTokenRule as j, WithdrawCompleteEventData as k, WithdrawFailedEventData as l, WithdrawLifecycleEvent as m, WithdrawModalProps as n, WithdrawSubmittedEventData as o };
@@ -59,6 +59,14 @@ declare const SAFE_TX_TYPES: {
59
59
  }];
60
60
  };
61
61
 
62
+ /**
63
+ * Public config shape exposed on DepositModalProps. Each dapp defaults to
64
+ * off — clients must explicitly opt in.
65
+ */
66
+ interface DappImportsConfig {
67
+ polymarket?: boolean;
68
+ }
69
+
62
70
  type Caip2ChainId = `eip155:${number}` | `solana:${string}`;
63
71
  type ChainId = number | "solana" | Caip2ChainId;
64
72
  interface DepositModalTheme {
@@ -171,6 +179,13 @@ interface DepositModalProps {
171
179
  waitForFinalTx?: boolean;
172
180
  reownAppId?: string;
173
181
  enableSolana?: boolean;
182
+ /**
183
+ * Enable importing balances from third-party dapps. Each dapp defaults to
184
+ * off — clients must explicitly opt in. When a dapp is enabled and the
185
+ * connected wallet has a balance there, a new row appears on the deposit
186
+ * entry screen.
187
+ */
188
+ dappImports?: DappImportsConfig;
174
189
  onRequestConnect?: () => void;
175
190
  theme?: DepositModalTheme;
176
191
  uiConfig?: DepositModalUIConfig;
@@ -348,4 +363,4 @@ type WithdrawAnalyticsEvent = {
348
363
  };
349
364
  type ModalAnalyticsEvent = DepositAnalyticsEvent | WithdrawAnalyticsEvent;
350
365
 
351
- export type { AssetOption as A, ChainId as C, DepositAnalyticsEvent as D, ErrorEventData as E, ModalAnalyticsEvent as M, OrderBookSwapAction as O, PostBridgeAction as P, RouteConfig as R, SafeTransactionRequest as S, WithdrawAnalyticsEvent as W, ConnectedEventData as a, DepositCompleteEventData as b, DepositFailedEventData as c, DepositLifecycleEvent as d, DepositModalProps as e, DepositModalTheme as f, DepositModalUIConfig as g, DepositSubmittedEventData as h, OutputTokenRule as i, WithdrawCompleteEventData as j, WithdrawFailedEventData as k, WithdrawLifecycleEvent as l, WithdrawModalProps as m, WithdrawSubmittedEventData as n };
366
+ export type { AssetOption as A, ChainId as C, DappImportsConfig as D, ErrorEventData as E, ModalAnalyticsEvent as M, OrderBookSwapAction as O, PostBridgeAction as P, RouteConfig as R, SafeTransactionRequest as S, WithdrawAnalyticsEvent as W, ConnectedEventData as a, DepositAnalyticsEvent as b, DepositCompleteEventData as c, DepositFailedEventData as d, DepositLifecycleEvent as e, DepositModalProps as f, DepositModalTheme as g, DepositModalUIConfig as h, DepositSubmittedEventData as i, OutputTokenRule as j, WithdrawCompleteEventData as k, WithdrawFailedEventData as l, WithdrawLifecycleEvent as m, WithdrawModalProps as n, WithdrawSubmittedEventData as o };
package/dist/withdraw.cjs CHANGED
@@ -1,8 +1,8 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkK7MNFNR7cjs = require('./chunk-K7MNFNR7.cjs');
4
- require('./chunk-DCAANLEP.cjs');
3
+ var _chunkUEYFJM5Ycjs = require('./chunk-UEYFJM5Y.cjs');
4
+ require('./chunk-V6NJIPSS.cjs');
5
5
  require('./chunk-IVTXEYB2.cjs');
6
6
 
7
7
 
8
- exports.WithdrawModal = _chunkK7MNFNR7cjs.WithdrawModal;
8
+ exports.WithdrawModal = _chunkUEYFJM5Ycjs.WithdrawModal;
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { m as WithdrawModalProps } from './types-DRou84ZM.cjs';
3
- export { A as AssetOption, a as ConnectedEventData, E as ErrorEventData, S as SafeTransactionRequest, j as WithdrawCompleteEventData, k as WithdrawFailedEventData, n as WithdrawSubmittedEventData } from './types-DRou84ZM.cjs';
2
+ import { n as WithdrawModalProps } from './types-xSHZSlrT.cjs';
3
+ export { A as AssetOption, a as ConnectedEventData, E as ErrorEventData, S as SafeTransactionRequest, k as WithdrawCompleteEventData, l as WithdrawFailedEventData, o as WithdrawSubmittedEventData } from './types-xSHZSlrT.cjs';
4
4
  import 'viem';
5
5
 
6
6
  declare function WithdrawModal(props: WithdrawModalProps): react_jsx_runtime.JSX.Element;
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { m as WithdrawModalProps } from './types-DRou84ZM.js';
3
- export { A as AssetOption, a as ConnectedEventData, E as ErrorEventData, S as SafeTransactionRequest, j as WithdrawCompleteEventData, k as WithdrawFailedEventData, n as WithdrawSubmittedEventData } from './types-DRou84ZM.js';
2
+ import { n as WithdrawModalProps } from './types-xSHZSlrT.js';
3
+ export { A as AssetOption, a as ConnectedEventData, E as ErrorEventData, S as SafeTransactionRequest, k as WithdrawCompleteEventData, l as WithdrawFailedEventData, o as WithdrawSubmittedEventData } from './types-xSHZSlrT.js';
4
4
  import 'viem';
5
5
 
6
6
  declare function WithdrawModal(props: WithdrawModalProps): react_jsx_runtime.JSX.Element;
package/dist/withdraw.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  WithdrawModal
3
- } from "./chunk-D5YCALVX.mjs";
4
- import "./chunk-FY76DWPD.mjs";
3
+ } from "./chunk-GE3TMZEL.mjs";
4
+ import "./chunk-TFXIQ7YH.mjs";
5
5
  import "./chunk-VA3ANS7D.mjs";
6
6
  export {
7
7
  WithdrawModal
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rhinestone/deposit-modal",
3
- "version": "0.3.0-alpha.1",
3
+ "version": "0.3.0-alpha.3",
4
4
  "description": "React modal component for Rhinestone cross-chain deposits",
5
5
  "author": "Rhinestone <dev@rhinestone.wtf>",
6
6
  "bugs": {