@rhinestone/deposit-modal 0.1.46 → 0.1.48

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.
Files changed (33) hide show
  1. package/dist/{DepositModalReown-23JR6Q4C.mjs → DepositModalReown-3V2EFXH5.mjs} +3 -3
  2. package/dist/{DepositModalReown-QSRCNLSN.cjs → DepositModalReown-SV6QIUTL.cjs} +4 -4
  3. package/dist/{WithdrawModalReown-FM2TJFOV.mjs → WithdrawModalReown-FODH7PY5.mjs} +3 -3
  4. package/dist/{WithdrawModalReown-CT6E2F2J.cjs → WithdrawModalReown-ZSR3RP44.cjs} +4 -4
  5. package/dist/{chunk-55QIUUIS.cjs → chunk-7HJ7IBRH.cjs} +68 -52
  6. package/dist/{chunk-U6KOKXWY.mjs → chunk-FKNYONM2.mjs} +44 -28
  7. package/dist/{chunk-4MKJ5R6Q.mjs → chunk-HCZNF6CR.mjs} +3 -3
  8. package/dist/{chunk-ZNHU72LI.cjs → chunk-NELAYNA3.cjs} +7 -5
  9. package/dist/{chunk-2EGNK737.cjs → chunk-PW55TOFK.cjs} +60 -60
  10. package/dist/{chunk-B2VXZW4V.mjs → chunk-ZAQISJAP.mjs} +22 -5
  11. package/dist/{chunk-AVASFOLP.mjs → chunk-ZJQZEIHA.mjs} +7 -5
  12. package/dist/{chunk-2XGN65KA.cjs → chunk-ZK6VAHSB.cjs} +237 -220
  13. package/dist/constants.cjs +2 -2
  14. package/dist/constants.mjs +1 -1
  15. package/dist/deposit.cjs +4 -4
  16. package/dist/deposit.d.cts +2 -2
  17. package/dist/deposit.d.ts +2 -2
  18. package/dist/deposit.mjs +3 -3
  19. package/dist/index.cjs +5 -5
  20. package/dist/index.d.cts +1 -1
  21. package/dist/index.d.ts +1 -1
  22. package/dist/index.mjs +4 -4
  23. package/dist/reown.cjs +5 -5
  24. package/dist/reown.d.cts +1 -1
  25. package/dist/reown.d.ts +1 -1
  26. package/dist/reown.mjs +4 -4
  27. package/dist/{types-DQG7NEBI.d.ts → types-B0FLVdXb.d.ts} +6 -1
  28. package/dist/{types-CyUiKQ4H.d.cts → types-dY70pF2y.d.cts} +6 -1
  29. package/dist/withdraw.cjs +4 -4
  30. package/dist/withdraw.d.cts +2 -2
  31. package/dist/withdraw.d.ts +2 -2
  32. package/dist/withdraw.mjs +3 -3
  33. package/package.json +1 -1
@@ -27,7 +27,7 @@
27
27
 
28
28
 
29
29
 
30
- var _chunkZNHU72LIcjs = require('./chunk-ZNHU72LI.cjs');
30
+ var _chunkNELAYNA3cjs = require('./chunk-NELAYNA3.cjs');
31
31
 
32
32
 
33
33
 
@@ -57,4 +57,4 @@ var _chunkZNHU72LIcjs = require('./chunk-ZNHU72LI.cjs');
57
57
 
58
58
 
59
59
 
60
- exports.CHAIN_BY_ID = _chunkZNHU72LIcjs.CHAIN_BY_ID; exports.DEFAULT_BACKEND_URL = _chunkZNHU72LIcjs.DEFAULT_BACKEND_URL; exports.DEFAULT_SIGNER_ADDRESS = _chunkZNHU72LIcjs.DEFAULT_SIGNER_ADDRESS; exports.NATIVE_TOKEN_ADDRESS = _chunkZNHU72LIcjs.NATIVE_TOKEN_ADDRESS; exports.SOURCE_CHAINS = _chunkZNHU72LIcjs.SOURCE_CHAINS; exports.SUPPORTED_CHAINS = _chunkZNHU72LIcjs.SUPPORTED_CHAINS; exports.chainRegistry = _chunkZNHU72LIcjs.chainRegistry; exports.findChainIdForToken = _chunkZNHU72LIcjs.findChainIdForToken; exports.getChainBadge = _chunkZNHU72LIcjs.getChainBadge; exports.getChainIcon = _chunkZNHU72LIcjs.getChainIcon; exports.getChainId = _chunkZNHU72LIcjs.getChainId; exports.getChainName = _chunkZNHU72LIcjs.getChainName; exports.getChainObject = _chunkZNHU72LIcjs.getChainObject; exports.getExplorerName = _chunkZNHU72LIcjs.getExplorerName; exports.getExplorerTxUrl = _chunkZNHU72LIcjs.getExplorerTxUrl; exports.getExplorerUrl = _chunkZNHU72LIcjs.getExplorerUrl; exports.getSupportedChainIds = _chunkZNHU72LIcjs.getSupportedChainIds; exports.getSupportedTargetTokens = _chunkZNHU72LIcjs.getSupportedTargetTokens; exports.getSupportedTokenSymbolsForChain = _chunkZNHU72LIcjs.getSupportedTokenSymbolsForChain; exports.getTargetTokenSymbolsForChain = _chunkZNHU72LIcjs.getTargetTokenSymbolsForChain; exports.getTokenAddress = _chunkZNHU72LIcjs.getTokenAddress; exports.getTokenDecimals = _chunkZNHU72LIcjs.getTokenDecimals; exports.getTokenDecimalsByAddress = _chunkZNHU72LIcjs.getTokenDecimalsByAddress; exports.getTokenIcon = _chunkZNHU72LIcjs.getTokenIcon; exports.getTokenSymbol = _chunkZNHU72LIcjs.getTokenSymbol; exports.getUsdcAddress = _chunkZNHU72LIcjs.getUsdcAddress; exports.getUsdcDecimals = _chunkZNHU72LIcjs.getUsdcDecimals; exports.isSupportedTokenAddressForChain = _chunkZNHU72LIcjs.isSupportedTokenAddressForChain;
60
+ exports.CHAIN_BY_ID = _chunkNELAYNA3cjs.CHAIN_BY_ID; exports.DEFAULT_BACKEND_URL = _chunkNELAYNA3cjs.DEFAULT_BACKEND_URL; exports.DEFAULT_SIGNER_ADDRESS = _chunkNELAYNA3cjs.DEFAULT_SIGNER_ADDRESS; exports.NATIVE_TOKEN_ADDRESS = _chunkNELAYNA3cjs.NATIVE_TOKEN_ADDRESS; exports.SOURCE_CHAINS = _chunkNELAYNA3cjs.SOURCE_CHAINS; exports.SUPPORTED_CHAINS = _chunkNELAYNA3cjs.SUPPORTED_CHAINS; exports.chainRegistry = _chunkNELAYNA3cjs.chainRegistry; exports.findChainIdForToken = _chunkNELAYNA3cjs.findChainIdForToken; exports.getChainBadge = _chunkNELAYNA3cjs.getChainBadge; exports.getChainIcon = _chunkNELAYNA3cjs.getChainIcon; exports.getChainId = _chunkNELAYNA3cjs.getChainId; exports.getChainName = _chunkNELAYNA3cjs.getChainName; exports.getChainObject = _chunkNELAYNA3cjs.getChainObject; exports.getExplorerName = _chunkNELAYNA3cjs.getExplorerName; exports.getExplorerTxUrl = _chunkNELAYNA3cjs.getExplorerTxUrl; exports.getExplorerUrl = _chunkNELAYNA3cjs.getExplorerUrl; exports.getSupportedChainIds = _chunkNELAYNA3cjs.getSupportedChainIds; exports.getSupportedTargetTokens = _chunkNELAYNA3cjs.getSupportedTargetTokens; exports.getSupportedTokenSymbolsForChain = _chunkNELAYNA3cjs.getSupportedTokenSymbolsForChain; exports.getTargetTokenSymbolsForChain = _chunkNELAYNA3cjs.getTargetTokenSymbolsForChain; exports.getTokenAddress = _chunkNELAYNA3cjs.getTokenAddress; exports.getTokenDecimals = _chunkNELAYNA3cjs.getTokenDecimals; exports.getTokenDecimalsByAddress = _chunkNELAYNA3cjs.getTokenDecimalsByAddress; exports.getTokenIcon = _chunkNELAYNA3cjs.getTokenIcon; exports.getTokenSymbol = _chunkNELAYNA3cjs.getTokenSymbol; exports.getUsdcAddress = _chunkNELAYNA3cjs.getUsdcAddress; exports.getUsdcDecimals = _chunkNELAYNA3cjs.getUsdcDecimals; exports.isSupportedTokenAddressForChain = _chunkNELAYNA3cjs.isSupportedTokenAddressForChain;
@@ -27,7 +27,7 @@ import {
27
27
  getUsdcAddress,
28
28
  getUsdcDecimals,
29
29
  isSupportedTokenAddressForChain
30
- } from "./chunk-AVASFOLP.mjs";
30
+ } from "./chunk-ZJQZEIHA.mjs";
31
31
  export {
32
32
  CHAIN_BY_ID,
33
33
  DEFAULT_BACKEND_URL,
package/dist/deposit.cjs CHANGED
@@ -1,8 +1,8 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunk2XGN65KAcjs = require('./chunk-2XGN65KA.cjs');
4
- require('./chunk-55QIUUIS.cjs');
5
- require('./chunk-ZNHU72LI.cjs');
3
+ var _chunkZK6VAHSBcjs = require('./chunk-ZK6VAHSB.cjs');
4
+ require('./chunk-7HJ7IBRH.cjs');
5
+ require('./chunk-NELAYNA3.cjs');
6
6
 
7
7
 
8
- exports.DepositModal = _chunk2XGN65KAcjs.DepositModal;
8
+ exports.DepositModal = _chunkZK6VAHSBcjs.DepositModal;
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { d as DepositModalProps } from './types-CyUiKQ4H.cjs';
3
- export { A as AssetOption, a as ConnectedEventData, D as DepositCompleteEventData, b as DepositFailedEventData, c as DepositModalBranding, e as DepositModalTheme, f as DepositModalUIConfig, g as DepositSubmittedEventData, E as ErrorEventData } from './types-CyUiKQ4H.cjs';
2
+ import { d as DepositModalProps } from './types-dY70pF2y.cjs';
3
+ export { A as AssetOption, a as ConnectedEventData, D as DepositCompleteEventData, b as DepositFailedEventData, c as DepositModalBranding, e as DepositModalTheme, f as DepositModalUIConfig, g as DepositSubmittedEventData, E as ErrorEventData } from './types-dY70pF2y.cjs';
4
4
  import 'viem';
5
5
  import './safe.cjs';
6
6
 
package/dist/deposit.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { d as DepositModalProps } from './types-DQG7NEBI.js';
3
- export { A as AssetOption, a as ConnectedEventData, D as DepositCompleteEventData, b as DepositFailedEventData, c as DepositModalBranding, e as DepositModalTheme, f as DepositModalUIConfig, g as DepositSubmittedEventData, E as ErrorEventData } from './types-DQG7NEBI.js';
2
+ import { d as DepositModalProps } from './types-B0FLVdXb.js';
3
+ export { A as AssetOption, a as ConnectedEventData, D as DepositCompleteEventData, b as DepositFailedEventData, c as DepositModalBranding, e as DepositModalTheme, f as DepositModalUIConfig, g as DepositSubmittedEventData, E as ErrorEventData } from './types-B0FLVdXb.js';
4
4
  import 'viem';
5
5
  import './safe.js';
6
6
 
package/dist/deposit.mjs CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  DepositModal
3
- } from "./chunk-B2VXZW4V.mjs";
4
- import "./chunk-U6KOKXWY.mjs";
5
- import "./chunk-AVASFOLP.mjs";
3
+ } from "./chunk-ZAQISJAP.mjs";
4
+ import "./chunk-FKNYONM2.mjs";
5
+ import "./chunk-ZJQZEIHA.mjs";
6
6
  export {
7
7
  DepositModal
8
8
  };
package/dist/index.cjs CHANGED
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunk2XGN65KAcjs = require('./chunk-2XGN65KA.cjs');
3
+ var _chunkZK6VAHSBcjs = require('./chunk-ZK6VAHSB.cjs');
4
4
 
5
5
 
6
- var _chunk2EGNK737cjs = require('./chunk-2EGNK737.cjs');
7
- require('./chunk-55QIUUIS.cjs');
6
+ var _chunkPW55TOFKcjs = require('./chunk-PW55TOFK.cjs');
7
+ require('./chunk-7HJ7IBRH.cjs');
8
8
 
9
9
 
10
10
 
@@ -34,7 +34,7 @@ require('./chunk-55QIUUIS.cjs');
34
34
 
35
35
 
36
36
 
37
- var _chunkZNHU72LIcjs = require('./chunk-ZNHU72LI.cjs');
37
+ var _chunkNELAYNA3cjs = require('./chunk-NELAYNA3.cjs');
38
38
 
39
39
 
40
40
 
@@ -66,4 +66,4 @@ var _chunkZNHU72LIcjs = require('./chunk-ZNHU72LI.cjs');
66
66
 
67
67
 
68
68
 
69
- exports.CHAIN_BY_ID = _chunkZNHU72LIcjs.CHAIN_BY_ID; exports.DEFAULT_BACKEND_URL = _chunkZNHU72LIcjs.DEFAULT_BACKEND_URL; exports.DEFAULT_SIGNER_ADDRESS = _chunkZNHU72LIcjs.DEFAULT_SIGNER_ADDRESS; exports.DepositModal = _chunk2XGN65KAcjs.DepositModal; exports.NATIVE_TOKEN_ADDRESS = _chunkZNHU72LIcjs.NATIVE_TOKEN_ADDRESS; exports.SOURCE_CHAINS = _chunkZNHU72LIcjs.SOURCE_CHAINS; exports.SUPPORTED_CHAINS = _chunkZNHU72LIcjs.SUPPORTED_CHAINS; exports.WithdrawModal = _chunk2EGNK737cjs.WithdrawModal; exports.chainRegistry = _chunkZNHU72LIcjs.chainRegistry; exports.findChainIdForToken = _chunkZNHU72LIcjs.findChainIdForToken; exports.getChainBadge = _chunkZNHU72LIcjs.getChainBadge; exports.getChainIcon = _chunkZNHU72LIcjs.getChainIcon; exports.getChainId = _chunkZNHU72LIcjs.getChainId; exports.getChainName = _chunkZNHU72LIcjs.getChainName; exports.getChainObject = _chunkZNHU72LIcjs.getChainObject; exports.getExplorerName = _chunkZNHU72LIcjs.getExplorerName; exports.getExplorerTxUrl = _chunkZNHU72LIcjs.getExplorerTxUrl; exports.getExplorerUrl = _chunkZNHU72LIcjs.getExplorerUrl; exports.getSupportedChainIds = _chunkZNHU72LIcjs.getSupportedChainIds; exports.getSupportedTargetTokens = _chunkZNHU72LIcjs.getSupportedTargetTokens; exports.getSupportedTokenSymbolsForChain = _chunkZNHU72LIcjs.getSupportedTokenSymbolsForChain; exports.getTargetTokenSymbolsForChain = _chunkZNHU72LIcjs.getTargetTokenSymbolsForChain; exports.getTokenAddress = _chunkZNHU72LIcjs.getTokenAddress; exports.getTokenDecimals = _chunkZNHU72LIcjs.getTokenDecimals; exports.getTokenDecimalsByAddress = _chunkZNHU72LIcjs.getTokenDecimalsByAddress; exports.getTokenIcon = _chunkZNHU72LIcjs.getTokenIcon; exports.getTokenSymbol = _chunkZNHU72LIcjs.getTokenSymbol; exports.getUsdcAddress = _chunkZNHU72LIcjs.getUsdcAddress; exports.getUsdcDecimals = _chunkZNHU72LIcjs.getUsdcDecimals; exports.isSupportedTokenAddressForChain = _chunkZNHU72LIcjs.isSupportedTokenAddressForChain;
69
+ exports.CHAIN_BY_ID = _chunkNELAYNA3cjs.CHAIN_BY_ID; exports.DEFAULT_BACKEND_URL = _chunkNELAYNA3cjs.DEFAULT_BACKEND_URL; exports.DEFAULT_SIGNER_ADDRESS = _chunkNELAYNA3cjs.DEFAULT_SIGNER_ADDRESS; exports.DepositModal = _chunkZK6VAHSBcjs.DepositModal; exports.NATIVE_TOKEN_ADDRESS = _chunkNELAYNA3cjs.NATIVE_TOKEN_ADDRESS; exports.SOURCE_CHAINS = _chunkNELAYNA3cjs.SOURCE_CHAINS; exports.SUPPORTED_CHAINS = _chunkNELAYNA3cjs.SUPPORTED_CHAINS; exports.WithdrawModal = _chunkPW55TOFKcjs.WithdrawModal; exports.chainRegistry = _chunkNELAYNA3cjs.chainRegistry; exports.findChainIdForToken = _chunkNELAYNA3cjs.findChainIdForToken; exports.getChainBadge = _chunkNELAYNA3cjs.getChainBadge; exports.getChainIcon = _chunkNELAYNA3cjs.getChainIcon; exports.getChainId = _chunkNELAYNA3cjs.getChainId; exports.getChainName = _chunkNELAYNA3cjs.getChainName; exports.getChainObject = _chunkNELAYNA3cjs.getChainObject; exports.getExplorerName = _chunkNELAYNA3cjs.getExplorerName; exports.getExplorerTxUrl = _chunkNELAYNA3cjs.getExplorerTxUrl; exports.getExplorerUrl = _chunkNELAYNA3cjs.getExplorerUrl; exports.getSupportedChainIds = _chunkNELAYNA3cjs.getSupportedChainIds; exports.getSupportedTargetTokens = _chunkNELAYNA3cjs.getSupportedTargetTokens; exports.getSupportedTokenSymbolsForChain = _chunkNELAYNA3cjs.getSupportedTokenSymbolsForChain; exports.getTargetTokenSymbolsForChain = _chunkNELAYNA3cjs.getTargetTokenSymbolsForChain; exports.getTokenAddress = _chunkNELAYNA3cjs.getTokenAddress; exports.getTokenDecimals = _chunkNELAYNA3cjs.getTokenDecimals; exports.getTokenDecimalsByAddress = _chunkNELAYNA3cjs.getTokenDecimalsByAddress; exports.getTokenIcon = _chunkNELAYNA3cjs.getTokenIcon; exports.getTokenSymbol = _chunkNELAYNA3cjs.getTokenSymbol; exports.getUsdcAddress = _chunkNELAYNA3cjs.getUsdcAddress; exports.getUsdcDecimals = _chunkNELAYNA3cjs.getUsdcDecimals; exports.isSupportedTokenAddressForChain = _chunkNELAYNA3cjs.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 DepositCompleteEventData, b as DepositFailedEventData, c as DepositModalBranding, d as DepositModalProps, e as DepositModalTheme, f as DepositModalUIConfig, g as DepositSubmittedEventData, E as ErrorEventData, W as WithdrawCompleteEventData, h as WithdrawFailedEventData, i as WithdrawModalProps, j as WithdrawSubmittedEventData } from './types-CyUiKQ4H.cjs';
3
+ export { A as AssetOption, C as ChainId, a as ConnectedEventData, D as DepositCompleteEventData, b as DepositFailedEventData, c as DepositModalBranding, d as DepositModalProps, e as DepositModalTheme, f as DepositModalUIConfig, g as DepositSubmittedEventData, E as ErrorEventData, R as RouteConfig, W as WithdrawCompleteEventData, h as WithdrawFailedEventData, i as WithdrawModalProps, j as WithdrawSubmittedEventData } from './types-dY70pF2y.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
  export { SafeTransactionRequest } from './safe.cjs';
6
6
  import 'react/jsx-runtime';
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 DepositCompleteEventData, b as DepositFailedEventData, c as DepositModalBranding, d as DepositModalProps, e as DepositModalTheme, f as DepositModalUIConfig, g as DepositSubmittedEventData, E as ErrorEventData, W as WithdrawCompleteEventData, h as WithdrawFailedEventData, i as WithdrawModalProps, j as WithdrawSubmittedEventData } from './types-DQG7NEBI.js';
3
+ export { A as AssetOption, C as ChainId, a as ConnectedEventData, D as DepositCompleteEventData, b as DepositFailedEventData, c as DepositModalBranding, d as DepositModalProps, e as DepositModalTheme, f as DepositModalUIConfig, g as DepositSubmittedEventData, E as ErrorEventData, R as RouteConfig, W as WithdrawCompleteEventData, h as WithdrawFailedEventData, i as WithdrawModalProps, j as WithdrawSubmittedEventData } from './types-B0FLVdXb.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
  export { SafeTransactionRequest } from './safe.js';
6
6
  import 'react/jsx-runtime';
package/dist/index.mjs CHANGED
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  DepositModal
3
- } from "./chunk-B2VXZW4V.mjs";
3
+ } from "./chunk-ZAQISJAP.mjs";
4
4
  import {
5
5
  WithdrawModal
6
- } from "./chunk-4MKJ5R6Q.mjs";
7
- import "./chunk-U6KOKXWY.mjs";
6
+ } from "./chunk-HCZNF6CR.mjs";
7
+ import "./chunk-FKNYONM2.mjs";
8
8
  import {
9
9
  CHAIN_BY_ID,
10
10
  DEFAULT_BACKEND_URL,
@@ -34,7 +34,7 @@ import {
34
34
  getUsdcAddress,
35
35
  getUsdcDecimals,
36
36
  isSupportedTokenAddressForChain
37
- } from "./chunk-AVASFOLP.mjs";
37
+ } from "./chunk-ZJQZEIHA.mjs";
38
38
  export {
39
39
  CHAIN_BY_ID,
40
40
  DEFAULT_BACKEND_URL,
package/dist/reown.cjs CHANGED
@@ -1,12 +1,12 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunk2XGN65KAcjs = require('./chunk-2XGN65KA.cjs');
3
+ var _chunkZK6VAHSBcjs = require('./chunk-ZK6VAHSB.cjs');
4
4
 
5
5
 
6
- var _chunk2EGNK737cjs = require('./chunk-2EGNK737.cjs');
7
- require('./chunk-55QIUUIS.cjs');
8
- require('./chunk-ZNHU72LI.cjs');
6
+ var _chunkPW55TOFKcjs = require('./chunk-PW55TOFK.cjs');
7
+ require('./chunk-7HJ7IBRH.cjs');
8
+ require('./chunk-NELAYNA3.cjs');
9
9
 
10
10
 
11
11
 
12
- exports.DepositModal = _chunk2XGN65KAcjs.DepositModal; exports.WithdrawModal = _chunk2EGNK737cjs.WithdrawModal;
12
+ exports.DepositModal = _chunkZK6VAHSBcjs.DepositModal; exports.WithdrawModal = _chunkPW55TOFKcjs.WithdrawModal;
package/dist/reown.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, a as ConnectedEventData, D as DepositCompleteEventData, b as DepositFailedEventData, c as DepositModalBranding, d as DepositModalProps, e as DepositModalTheme, f as DepositModalUIConfig, g as DepositSubmittedEventData, E as ErrorEventData, W as WithdrawCompleteEventData, h as WithdrawFailedEventData, i as WithdrawModalProps, j as WithdrawSubmittedEventData } from './types-CyUiKQ4H.cjs';
3
+ export { A as AssetOption, a as ConnectedEventData, D as DepositCompleteEventData, b as DepositFailedEventData, c as DepositModalBranding, d as DepositModalProps, e as DepositModalTheme, f as DepositModalUIConfig, g as DepositSubmittedEventData, E as ErrorEventData, W as WithdrawCompleteEventData, h as WithdrawFailedEventData, i as WithdrawModalProps, j as WithdrawSubmittedEventData } from './types-dY70pF2y.cjs';
4
4
  export { SafeTransactionRequest } from './safe.cjs';
5
5
  import 'react/jsx-runtime';
6
6
  import 'viem';
package/dist/reown.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, a as ConnectedEventData, D as DepositCompleteEventData, b as DepositFailedEventData, c as DepositModalBranding, d as DepositModalProps, e as DepositModalTheme, f as DepositModalUIConfig, g as DepositSubmittedEventData, E as ErrorEventData, W as WithdrawCompleteEventData, h as WithdrawFailedEventData, i as WithdrawModalProps, j as WithdrawSubmittedEventData } from './types-DQG7NEBI.js';
3
+ export { A as AssetOption, a as ConnectedEventData, D as DepositCompleteEventData, b as DepositFailedEventData, c as DepositModalBranding, d as DepositModalProps, e as DepositModalTheme, f as DepositModalUIConfig, g as DepositSubmittedEventData, E as ErrorEventData, W as WithdrawCompleteEventData, h as WithdrawFailedEventData, i as WithdrawModalProps, j as WithdrawSubmittedEventData } from './types-B0FLVdXb.js';
4
4
  export { SafeTransactionRequest } from './safe.js';
5
5
  import 'react/jsx-runtime';
6
6
  import 'viem';
package/dist/reown.mjs CHANGED
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  DepositModal
3
- } from "./chunk-B2VXZW4V.mjs";
3
+ } from "./chunk-ZAQISJAP.mjs";
4
4
  import {
5
5
  WithdrawModal
6
- } from "./chunk-4MKJ5R6Q.mjs";
7
- import "./chunk-U6KOKXWY.mjs";
8
- import "./chunk-AVASFOLP.mjs";
6
+ } from "./chunk-HCZNF6CR.mjs";
7
+ import "./chunk-FKNYONM2.mjs";
8
+ import "./chunk-ZJQZEIHA.mjs";
9
9
  export {
10
10
  DepositModal,
11
11
  WithdrawModal
@@ -63,6 +63,10 @@ interface ErrorEventData {
63
63
  message: string;
64
64
  code?: string;
65
65
  }
66
+ interface RouteConfig {
67
+ sourceChains?: number[];
68
+ sourceTokens?: string[];
69
+ }
66
70
  interface DepositModalProps {
67
71
  dappWalletClient?: WalletClient | null;
68
72
  dappPublicClient?: PublicClient | null;
@@ -89,6 +93,7 @@ interface DepositModalProps {
89
93
  theme?: DepositModalTheme;
90
94
  branding?: DepositModalBranding;
91
95
  uiConfig?: DepositModalUIConfig;
96
+ allowedRoutes?: RouteConfig;
92
97
  className?: string;
93
98
  onReady?: () => void;
94
99
  onConnected?: (data: ConnectedEventData) => void;
@@ -147,4 +152,4 @@ interface AssetOption {
147
152
  balanceUsd?: number;
148
153
  }
149
154
 
150
- export type { AssetOption as A, ChainId as C, DepositCompleteEventData as D, ErrorEventData as E, WithdrawCompleteEventData as W, ConnectedEventData as a, DepositFailedEventData as b, DepositModalBranding as c, DepositModalProps as d, DepositModalTheme as e, DepositModalUIConfig as f, DepositSubmittedEventData as g, WithdrawFailedEventData as h, WithdrawModalProps as i, WithdrawSubmittedEventData as j };
155
+ export type { AssetOption as A, ChainId as C, DepositCompleteEventData as D, ErrorEventData as E, RouteConfig as R, WithdrawCompleteEventData as W, ConnectedEventData as a, DepositFailedEventData as b, DepositModalBranding as c, DepositModalProps as d, DepositModalTheme as e, DepositModalUIConfig as f, DepositSubmittedEventData as g, WithdrawFailedEventData as h, WithdrawModalProps as i, WithdrawSubmittedEventData as j };
@@ -63,6 +63,10 @@ interface ErrorEventData {
63
63
  message: string;
64
64
  code?: string;
65
65
  }
66
+ interface RouteConfig {
67
+ sourceChains?: number[];
68
+ sourceTokens?: string[];
69
+ }
66
70
  interface DepositModalProps {
67
71
  dappWalletClient?: WalletClient | null;
68
72
  dappPublicClient?: PublicClient | null;
@@ -89,6 +93,7 @@ interface DepositModalProps {
89
93
  theme?: DepositModalTheme;
90
94
  branding?: DepositModalBranding;
91
95
  uiConfig?: DepositModalUIConfig;
96
+ allowedRoutes?: RouteConfig;
92
97
  className?: string;
93
98
  onReady?: () => void;
94
99
  onConnected?: (data: ConnectedEventData) => void;
@@ -147,4 +152,4 @@ interface AssetOption {
147
152
  balanceUsd?: number;
148
153
  }
149
154
 
150
- export type { AssetOption as A, ChainId as C, DepositCompleteEventData as D, ErrorEventData as E, WithdrawCompleteEventData as W, ConnectedEventData as a, DepositFailedEventData as b, DepositModalBranding as c, DepositModalProps as d, DepositModalTheme as e, DepositModalUIConfig as f, DepositSubmittedEventData as g, WithdrawFailedEventData as h, WithdrawModalProps as i, WithdrawSubmittedEventData as j };
155
+ export type { AssetOption as A, ChainId as C, DepositCompleteEventData as D, ErrorEventData as E, RouteConfig as R, WithdrawCompleteEventData as W, ConnectedEventData as a, DepositFailedEventData as b, DepositModalBranding as c, DepositModalProps as d, DepositModalTheme as e, DepositModalUIConfig as f, DepositSubmittedEventData as g, WithdrawFailedEventData as h, WithdrawModalProps as i, WithdrawSubmittedEventData as j };
package/dist/withdraw.cjs CHANGED
@@ -1,8 +1,8 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunk2EGNK737cjs = require('./chunk-2EGNK737.cjs');
4
- require('./chunk-55QIUUIS.cjs');
5
- require('./chunk-ZNHU72LI.cjs');
3
+ var _chunkPW55TOFKcjs = require('./chunk-PW55TOFK.cjs');
4
+ require('./chunk-7HJ7IBRH.cjs');
5
+ require('./chunk-NELAYNA3.cjs');
6
6
 
7
7
 
8
- exports.WithdrawModal = _chunk2EGNK737cjs.WithdrawModal;
8
+ exports.WithdrawModal = _chunkPW55TOFKcjs.WithdrawModal;
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { i as WithdrawModalProps } from './types-CyUiKQ4H.cjs';
3
- export { A as AssetOption, a as ConnectedEventData, E as ErrorEventData, W as WithdrawCompleteEventData, h as WithdrawFailedEventData, j as WithdrawSubmittedEventData } from './types-CyUiKQ4H.cjs';
2
+ import { i as WithdrawModalProps } from './types-dY70pF2y.cjs';
3
+ export { A as AssetOption, a as ConnectedEventData, E as ErrorEventData, W as WithdrawCompleteEventData, h as WithdrawFailedEventData, j as WithdrawSubmittedEventData } from './types-dY70pF2y.cjs';
4
4
  export { SafeTransactionRequest } from './safe.cjs';
5
5
  import 'viem';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { i as WithdrawModalProps } from './types-DQG7NEBI.js';
3
- export { A as AssetOption, a as ConnectedEventData, E as ErrorEventData, W as WithdrawCompleteEventData, h as WithdrawFailedEventData, j as WithdrawSubmittedEventData } from './types-DQG7NEBI.js';
2
+ import { i as WithdrawModalProps } from './types-B0FLVdXb.js';
3
+ export { A as AssetOption, a as ConnectedEventData, E as ErrorEventData, W as WithdrawCompleteEventData, h as WithdrawFailedEventData, j as WithdrawSubmittedEventData } from './types-B0FLVdXb.js';
4
4
  export { SafeTransactionRequest } from './safe.js';
5
5
  import 'viem';
6
6
 
package/dist/withdraw.mjs CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  WithdrawModal
3
- } from "./chunk-4MKJ5R6Q.mjs";
4
- import "./chunk-U6KOKXWY.mjs";
5
- import "./chunk-AVASFOLP.mjs";
3
+ } from "./chunk-HCZNF6CR.mjs";
4
+ import "./chunk-FKNYONM2.mjs";
5
+ import "./chunk-ZJQZEIHA.mjs";
6
6
  export {
7
7
  WithdrawModal
8
8
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rhinestone/deposit-modal",
3
- "version": "0.1.46",
3
+ "version": "0.1.48",
4
4
  "description": "React modal component for Rhinestone cross-chain deposits",
5
5
  "author": "Rhinestone <dev@rhinestone.wtf>",
6
6
  "bugs": {