@rhinestone/deposit-modal 0.6.0 → 0.7.0

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 (30) hide show
  1. package/dist/{DepositModalReown-J3KYAOD3.cjs → DepositModalReown-CHVDFNEX.cjs} +9 -9
  2. package/dist/{DepositModalReown-YD7TLEAA.mjs → DepositModalReown-T4RRW5FM.mjs} +6 -6
  3. package/dist/{WithdrawModalReown-ZPDMX47Z.mjs → WithdrawModalReown-Q6MUMZTX.mjs} +5 -5
  4. package/dist/{WithdrawModalReown-QSQUV6HX.cjs → WithdrawModalReown-YZMZTN6E.cjs} +8 -8
  5. package/dist/{chunk-FJWLC4AM.mjs → chunk-4JLYWRQA.mjs} +1 -1
  6. package/dist/{chunk-YYIE5U5K.cjs → chunk-6P3WNDED.cjs} +10 -8
  7. package/dist/{chunk-3JVGI7FC.mjs → chunk-CLUR2J72.mjs} +4 -4
  8. package/dist/{chunk-WJX3TJFK.mjs → chunk-CPMHRMPH.mjs} +36 -7
  9. package/dist/{chunk-ABVRVW3P.cjs → chunk-HH46H6ZI.cjs} +37 -8
  10. package/dist/{chunk-DXGM6YET.mjs → chunk-J52W34Y7.mjs} +6 -4
  11. package/dist/{chunk-F7P4MV72.mjs → chunk-K6J3RDDK.mjs} +1 -1
  12. package/dist/{chunk-DASS33PJ.cjs → chunk-KUURQOTT.cjs} +100 -100
  13. package/dist/{chunk-GQDVHMOT.mjs → chunk-OYPFPEIT.mjs} +333 -54
  14. package/dist/{chunk-7LVI3VAL.cjs → chunk-QSMPJQTX.cjs} +698 -529
  15. package/dist/{chunk-UEKPBRBY.cjs → chunk-RLMXWLF4.cjs} +3 -3
  16. package/dist/{chunk-ZDYV536Q.cjs → chunk-UN6MEOOA.cjs} +382 -103
  17. package/dist/{chunk-NSAODZSS.mjs → chunk-UZENNYHS.mjs} +242 -73
  18. package/dist/{chunk-NRNJAQUA.cjs → chunk-XOBLFIGV.cjs} +4 -4
  19. package/dist/constants.cjs +2 -2
  20. package/dist/constants.mjs +1 -1
  21. package/dist/deposit.cjs +6 -6
  22. package/dist/deposit.mjs +5 -5
  23. package/dist/index.cjs +7 -7
  24. package/dist/index.mjs +6 -6
  25. package/dist/polymarket.cjs +6 -6
  26. package/dist/polymarket.mjs +3 -3
  27. package/dist/styles.css +103 -31
  28. package/dist/withdraw.cjs +5 -5
  29. package/dist/withdraw.mjs +4 -4
  30. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkUEKPBRBYcjs = require('./chunk-UEKPBRBY.cjs');
3
+ var _chunkRLMXWLF4cjs = require('./chunk-RLMXWLF4.cjs');
4
4
 
5
5
  // src/core/dapp-imports/polymarket/constants.ts
6
6
  var POLYMARKET_POLYGON_CHAIN_ID = 137;
@@ -100,7 +100,7 @@ async function executePolymarketSafeTransfer(params) {
100
100
  }
101
101
  const isOwner = await publicClient.readContract({
102
102
  address: safeAddress,
103
- abi: _chunkUEKPBRBYcjs.SAFE_ABI,
103
+ abi: _chunkRLMXWLF4cjs.SAFE_ABI,
104
104
  functionName: "isOwner",
105
105
  args: [account.address]
106
106
  });
@@ -117,7 +117,7 @@ async function executePolymarketSafeTransfer(params) {
117
117
  account,
118
118
  chain,
119
119
  address: safeAddress,
120
- abi: _chunkUEKPBRBYcjs.SAFE_ABI,
120
+ abi: _chunkRLMXWLF4cjs.SAFE_ABI,
121
121
  functionName: "execTransaction",
122
122
  args: [
123
123
  safeTx.to,
@@ -136,7 +136,7 @@ async function executePolymarketSafeTransfer(params) {
136
136
  hash: txHash
137
137
  });
138
138
  const parsed = _viem.parseEventLogs.call(void 0, {
139
- abi: _chunkUEKPBRBYcjs.SAFE_ABI,
139
+ abi: _chunkRLMXWLF4cjs.SAFE_ABI,
140
140
  logs: receipt.logs.filter(
141
141
  (log) => log.address.toLowerCase() === safeAddress.toLowerCase()
142
142
  ),
@@ -32,7 +32,7 @@
32
32
 
33
33
 
34
34
 
35
- var _chunkABVRVW3Pcjs = require('./chunk-ABVRVW3P.cjs');
35
+ var _chunkHH46H6ZIcjs = require('./chunk-HH46H6ZI.cjs');
36
36
 
37
37
 
38
38
 
@@ -67,4 +67,4 @@ var _chunkABVRVW3Pcjs = require('./chunk-ABVRVW3P.cjs');
67
67
 
68
68
 
69
69
 
70
- exports.CHAIN_BY_ID = _chunkABVRVW3Pcjs.CHAIN_BY_ID; exports.DEFAULT_BACKEND_URL = _chunkABVRVW3Pcjs.DEFAULT_BACKEND_URL; exports.DEFAULT_SIGNER_ADDRESS = _chunkABVRVW3Pcjs.DEFAULT_SIGNER_ADDRESS; exports.HYPERCORE_CHAIN_ID = _chunkABVRVW3Pcjs.HYPERCORE_CHAIN_ID; exports.HYPERCORE_USDC_ADDRESS = _chunkABVRVW3Pcjs.HYPERCORE_USDC_ADDRESS; exports.NATIVE_TOKEN_ADDRESS = _chunkABVRVW3Pcjs.NATIVE_TOKEN_ADDRESS; exports.SOLANA_TOKENS = _chunkABVRVW3Pcjs.SOLANA_TOKENS; exports.SOURCE_CHAINS = _chunkABVRVW3Pcjs.SOURCE_CHAINS; exports.SUPPORTED_CHAINS = _chunkABVRVW3Pcjs.SUPPORTED_CHAINS; exports.chainRegistry = _chunkABVRVW3Pcjs.chainRegistry; exports.findChainIdForToken = _chunkABVRVW3Pcjs.findChainIdForToken; exports.getChainBadge = _chunkABVRVW3Pcjs.getChainBadge; exports.getChainIcon = _chunkABVRVW3Pcjs.getChainIcon; exports.getChainId = _chunkABVRVW3Pcjs.getChainId; exports.getChainName = _chunkABVRVW3Pcjs.getChainName; exports.getChainObject = _chunkABVRVW3Pcjs.getChainObject; exports.getExplorerName = _chunkABVRVW3Pcjs.getExplorerName; exports.getExplorerTxUrl = _chunkABVRVW3Pcjs.getExplorerTxUrl; exports.getExplorerUrl = _chunkABVRVW3Pcjs.getExplorerUrl; exports.getSolanaTokenByMint = _chunkABVRVW3Pcjs.getSolanaTokenByMint; exports.getSolanaTokenBySymbol = _chunkABVRVW3Pcjs.getSolanaTokenBySymbol; exports.getSupportedChainIds = _chunkABVRVW3Pcjs.getSupportedChainIds; exports.getSupportedTargetTokens = _chunkABVRVW3Pcjs.getSupportedTargetTokens; exports.getSupportedTokenSymbolsForChain = _chunkABVRVW3Pcjs.getSupportedTokenSymbolsForChain; exports.getTargetTokenSymbolsForChain = _chunkABVRVW3Pcjs.getTargetTokenSymbolsForChain; exports.getTokenAddress = _chunkABVRVW3Pcjs.getTokenAddress; exports.getTokenDecimals = _chunkABVRVW3Pcjs.getTokenDecimals; exports.getTokenDecimalsByAddress = _chunkABVRVW3Pcjs.getTokenDecimalsByAddress; exports.getTokenIcon = _chunkABVRVW3Pcjs.getTokenIcon; exports.getTokenSymbol = _chunkABVRVW3Pcjs.getTokenSymbol; exports.getUsdcAddress = _chunkABVRVW3Pcjs.getUsdcAddress; exports.getUsdcDecimals = _chunkABVRVW3Pcjs.getUsdcDecimals; exports.isSupportedTokenAddressForChain = _chunkABVRVW3Pcjs.isSupportedTokenAddressForChain;
70
+ exports.CHAIN_BY_ID = _chunkHH46H6ZIcjs.CHAIN_BY_ID; exports.DEFAULT_BACKEND_URL = _chunkHH46H6ZIcjs.DEFAULT_BACKEND_URL; exports.DEFAULT_SIGNER_ADDRESS = _chunkHH46H6ZIcjs.DEFAULT_SIGNER_ADDRESS; exports.HYPERCORE_CHAIN_ID = _chunkHH46H6ZIcjs.HYPERCORE_CHAIN_ID; exports.HYPERCORE_USDC_ADDRESS = _chunkHH46H6ZIcjs.HYPERCORE_USDC_ADDRESS; exports.NATIVE_TOKEN_ADDRESS = _chunkHH46H6ZIcjs.NATIVE_TOKEN_ADDRESS; exports.SOLANA_TOKENS = _chunkHH46H6ZIcjs.SOLANA_TOKENS; exports.SOURCE_CHAINS = _chunkHH46H6ZIcjs.SOURCE_CHAINS; exports.SUPPORTED_CHAINS = _chunkHH46H6ZIcjs.SUPPORTED_CHAINS; exports.chainRegistry = _chunkHH46H6ZIcjs.chainRegistry; exports.findChainIdForToken = _chunkHH46H6ZIcjs.findChainIdForToken; exports.getChainBadge = _chunkHH46H6ZIcjs.getChainBadge; exports.getChainIcon = _chunkHH46H6ZIcjs.getChainIcon; exports.getChainId = _chunkHH46H6ZIcjs.getChainId; exports.getChainName = _chunkHH46H6ZIcjs.getChainName; exports.getChainObject = _chunkHH46H6ZIcjs.getChainObject; exports.getExplorerName = _chunkHH46H6ZIcjs.getExplorerName; exports.getExplorerTxUrl = _chunkHH46H6ZIcjs.getExplorerTxUrl; exports.getExplorerUrl = _chunkHH46H6ZIcjs.getExplorerUrl; exports.getSolanaTokenByMint = _chunkHH46H6ZIcjs.getSolanaTokenByMint; exports.getSolanaTokenBySymbol = _chunkHH46H6ZIcjs.getSolanaTokenBySymbol; exports.getSupportedChainIds = _chunkHH46H6ZIcjs.getSupportedChainIds; exports.getSupportedTargetTokens = _chunkHH46H6ZIcjs.getSupportedTargetTokens; exports.getSupportedTokenSymbolsForChain = _chunkHH46H6ZIcjs.getSupportedTokenSymbolsForChain; exports.getTargetTokenSymbolsForChain = _chunkHH46H6ZIcjs.getTargetTokenSymbolsForChain; exports.getTokenAddress = _chunkHH46H6ZIcjs.getTokenAddress; exports.getTokenDecimals = _chunkHH46H6ZIcjs.getTokenDecimals; exports.getTokenDecimalsByAddress = _chunkHH46H6ZIcjs.getTokenDecimalsByAddress; exports.getTokenIcon = _chunkHH46H6ZIcjs.getTokenIcon; exports.getTokenSymbol = _chunkHH46H6ZIcjs.getTokenSymbol; exports.getUsdcAddress = _chunkHH46H6ZIcjs.getUsdcAddress; exports.getUsdcDecimals = _chunkHH46H6ZIcjs.getUsdcDecimals; exports.isSupportedTokenAddressForChain = _chunkHH46H6ZIcjs.isSupportedTokenAddressForChain;
@@ -32,7 +32,7 @@ import {
32
32
  getUsdcAddress,
33
33
  getUsdcDecimals,
34
34
  isSupportedTokenAddressForChain
35
- } from "./chunk-WJX3TJFK.mjs";
35
+ } from "./chunk-CPMHRMPH.mjs";
36
36
  export {
37
37
  CHAIN_BY_ID,
38
38
  DEFAULT_BACKEND_URL,
package/dist/deposit.cjs CHANGED
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunk7LVI3VALcjs = require('./chunk-7LVI3VAL.cjs');
4
- require('./chunk-NRNJAQUA.cjs');
5
- require('./chunk-ZDYV536Q.cjs');
6
- require('./chunk-UEKPBRBY.cjs');
7
- require('./chunk-ABVRVW3P.cjs');
3
+ var _chunkQSMPJQTXcjs = require('./chunk-QSMPJQTX.cjs');
4
+ require('./chunk-XOBLFIGV.cjs');
5
+ require('./chunk-UN6MEOOA.cjs');
6
+ require('./chunk-RLMXWLF4.cjs');
7
+ require('./chunk-HH46H6ZI.cjs');
8
8
 
9
9
 
10
- exports.DepositModal = _chunk7LVI3VALcjs.DepositModal;
10
+ exports.DepositModal = _chunkQSMPJQTXcjs.DepositModal;
package/dist/deposit.mjs CHANGED
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  DepositModal
3
- } from "./chunk-NSAODZSS.mjs";
4
- import "./chunk-FJWLC4AM.mjs";
5
- import "./chunk-GQDVHMOT.mjs";
6
- import "./chunk-F7P4MV72.mjs";
7
- import "./chunk-WJX3TJFK.mjs";
3
+ } from "./chunk-UZENNYHS.mjs";
4
+ import "./chunk-4JLYWRQA.mjs";
5
+ import "./chunk-OYPFPEIT.mjs";
6
+ import "./chunk-K6J3RDDK.mjs";
7
+ import "./chunk-CPMHRMPH.mjs";
8
8
  export {
9
9
  DepositModal
10
10
  };
package/dist/index.cjs CHANGED
@@ -1,12 +1,12 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunk7LVI3VALcjs = require('./chunk-7LVI3VAL.cjs');
4
- require('./chunk-NRNJAQUA.cjs');
3
+ var _chunkQSMPJQTXcjs = require('./chunk-QSMPJQTX.cjs');
4
+ require('./chunk-XOBLFIGV.cjs');
5
5
 
6
6
 
7
- var _chunkDASS33PJcjs = require('./chunk-DASS33PJ.cjs');
8
- require('./chunk-ZDYV536Q.cjs');
9
- require('./chunk-UEKPBRBY.cjs');
7
+ var _chunkKUURQOTTcjs = require('./chunk-KUURQOTT.cjs');
8
+ require('./chunk-UN6MEOOA.cjs');
9
+ require('./chunk-RLMXWLF4.cjs');
10
10
 
11
11
 
12
12
 
@@ -38,7 +38,7 @@ require('./chunk-UEKPBRBY.cjs');
38
38
 
39
39
 
40
40
 
41
- var _chunkABVRVW3Pcjs = require('./chunk-ABVRVW3P.cjs');
41
+ var _chunkHH46H6ZIcjs = require('./chunk-HH46H6ZI.cjs');
42
42
 
43
43
  // src/core/reown-disconnect.ts
44
44
  var _react = require('@reown/appkit/react');
@@ -85,4 +85,4 @@ async function disconnectWallet() {
85
85
 
86
86
 
87
87
 
88
- exports.CHAIN_BY_ID = _chunkABVRVW3Pcjs.CHAIN_BY_ID; exports.DEFAULT_BACKEND_URL = _chunkABVRVW3Pcjs.DEFAULT_BACKEND_URL; exports.DEFAULT_SIGNER_ADDRESS = _chunkABVRVW3Pcjs.DEFAULT_SIGNER_ADDRESS; exports.DepositModal = _chunk7LVI3VALcjs.DepositModal; exports.HYPERCORE_CHAIN_ID = _chunkABVRVW3Pcjs.HYPERCORE_CHAIN_ID; exports.HYPERCORE_USDC_ADDRESS = _chunkABVRVW3Pcjs.HYPERCORE_USDC_ADDRESS; exports.NATIVE_TOKEN_ADDRESS = _chunkABVRVW3Pcjs.NATIVE_TOKEN_ADDRESS; exports.SOURCE_CHAINS = _chunkABVRVW3Pcjs.SOURCE_CHAINS; exports.SUPPORTED_CHAINS = _chunkABVRVW3Pcjs.SUPPORTED_CHAINS; exports.WithdrawModal = _chunkDASS33PJcjs.WithdrawModal; exports.chainRegistry = _chunkABVRVW3Pcjs.chainRegistry; exports.disconnectWallet = disconnectWallet; exports.findChainIdForToken = _chunkABVRVW3Pcjs.findChainIdForToken; exports.getChainBadge = _chunkABVRVW3Pcjs.getChainBadge; exports.getChainIcon = _chunkABVRVW3Pcjs.getChainIcon; exports.getChainId = _chunkABVRVW3Pcjs.getChainId; exports.getChainName = _chunkABVRVW3Pcjs.getChainName; exports.getChainObject = _chunkABVRVW3Pcjs.getChainObject; exports.getExplorerName = _chunkABVRVW3Pcjs.getExplorerName; exports.getExplorerTxUrl = _chunkABVRVW3Pcjs.getExplorerTxUrl; exports.getExplorerUrl = _chunkABVRVW3Pcjs.getExplorerUrl; exports.getSupportedChainIds = _chunkABVRVW3Pcjs.getSupportedChainIds; exports.getSupportedTargetTokens = _chunkABVRVW3Pcjs.getSupportedTargetTokens; exports.getSupportedTokenSymbolsForChain = _chunkABVRVW3Pcjs.getSupportedTokenSymbolsForChain; exports.getTargetTokenSymbolsForChain = _chunkABVRVW3Pcjs.getTargetTokenSymbolsForChain; exports.getTokenAddress = _chunkABVRVW3Pcjs.getTokenAddress; exports.getTokenDecimals = _chunkABVRVW3Pcjs.getTokenDecimals; exports.getTokenDecimalsByAddress = _chunkABVRVW3Pcjs.getTokenDecimalsByAddress; exports.getTokenIcon = _chunkABVRVW3Pcjs.getTokenIcon; exports.getTokenSymbol = _chunkABVRVW3Pcjs.getTokenSymbol; exports.getUsdcAddress = _chunkABVRVW3Pcjs.getUsdcAddress; exports.getUsdcDecimals = _chunkABVRVW3Pcjs.getUsdcDecimals; exports.isSupportedTokenAddressForChain = _chunkABVRVW3Pcjs.isSupportedTokenAddressForChain;
88
+ exports.CHAIN_BY_ID = _chunkHH46H6ZIcjs.CHAIN_BY_ID; exports.DEFAULT_BACKEND_URL = _chunkHH46H6ZIcjs.DEFAULT_BACKEND_URL; exports.DEFAULT_SIGNER_ADDRESS = _chunkHH46H6ZIcjs.DEFAULT_SIGNER_ADDRESS; exports.DepositModal = _chunkQSMPJQTXcjs.DepositModal; exports.HYPERCORE_CHAIN_ID = _chunkHH46H6ZIcjs.HYPERCORE_CHAIN_ID; exports.HYPERCORE_USDC_ADDRESS = _chunkHH46H6ZIcjs.HYPERCORE_USDC_ADDRESS; exports.NATIVE_TOKEN_ADDRESS = _chunkHH46H6ZIcjs.NATIVE_TOKEN_ADDRESS; exports.SOURCE_CHAINS = _chunkHH46H6ZIcjs.SOURCE_CHAINS; exports.SUPPORTED_CHAINS = _chunkHH46H6ZIcjs.SUPPORTED_CHAINS; exports.WithdrawModal = _chunkKUURQOTTcjs.WithdrawModal; exports.chainRegistry = _chunkHH46H6ZIcjs.chainRegistry; exports.disconnectWallet = disconnectWallet; exports.findChainIdForToken = _chunkHH46H6ZIcjs.findChainIdForToken; exports.getChainBadge = _chunkHH46H6ZIcjs.getChainBadge; exports.getChainIcon = _chunkHH46H6ZIcjs.getChainIcon; exports.getChainId = _chunkHH46H6ZIcjs.getChainId; exports.getChainName = _chunkHH46H6ZIcjs.getChainName; exports.getChainObject = _chunkHH46H6ZIcjs.getChainObject; exports.getExplorerName = _chunkHH46H6ZIcjs.getExplorerName; exports.getExplorerTxUrl = _chunkHH46H6ZIcjs.getExplorerTxUrl; exports.getExplorerUrl = _chunkHH46H6ZIcjs.getExplorerUrl; exports.getSupportedChainIds = _chunkHH46H6ZIcjs.getSupportedChainIds; exports.getSupportedTargetTokens = _chunkHH46H6ZIcjs.getSupportedTargetTokens; exports.getSupportedTokenSymbolsForChain = _chunkHH46H6ZIcjs.getSupportedTokenSymbolsForChain; exports.getTargetTokenSymbolsForChain = _chunkHH46H6ZIcjs.getTargetTokenSymbolsForChain; exports.getTokenAddress = _chunkHH46H6ZIcjs.getTokenAddress; exports.getTokenDecimals = _chunkHH46H6ZIcjs.getTokenDecimals; exports.getTokenDecimalsByAddress = _chunkHH46H6ZIcjs.getTokenDecimalsByAddress; exports.getTokenIcon = _chunkHH46H6ZIcjs.getTokenIcon; exports.getTokenSymbol = _chunkHH46H6ZIcjs.getTokenSymbol; exports.getUsdcAddress = _chunkHH46H6ZIcjs.getUsdcAddress; exports.getUsdcDecimals = _chunkHH46H6ZIcjs.getUsdcDecimals; exports.isSupportedTokenAddressForChain = _chunkHH46H6ZIcjs.isSupportedTokenAddressForChain;
package/dist/index.mjs CHANGED
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  DepositModal
3
- } from "./chunk-NSAODZSS.mjs";
4
- import "./chunk-FJWLC4AM.mjs";
3
+ } from "./chunk-UZENNYHS.mjs";
4
+ import "./chunk-4JLYWRQA.mjs";
5
5
  import {
6
6
  WithdrawModal
7
- } from "./chunk-3JVGI7FC.mjs";
8
- import "./chunk-GQDVHMOT.mjs";
9
- import "./chunk-F7P4MV72.mjs";
7
+ } from "./chunk-CLUR2J72.mjs";
8
+ import "./chunk-OYPFPEIT.mjs";
9
+ import "./chunk-K6J3RDDK.mjs";
10
10
  import {
11
11
  CHAIN_BY_ID,
12
12
  DEFAULT_BACKEND_URL,
@@ -38,7 +38,7 @@ import {
38
38
  getUsdcAddress,
39
39
  getUsdcDecimals,
40
40
  isSupportedTokenAddressForChain
41
- } from "./chunk-WJX3TJFK.mjs";
41
+ } from "./chunk-CPMHRMPH.mjs";
42
42
 
43
43
  // src/core/reown-disconnect.ts
44
44
  import { modal } from "@reown/appkit/react";
@@ -2,9 +2,9 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkNRNJAQUAcjs = require('./chunk-NRNJAQUA.cjs');
6
- require('./chunk-UEKPBRBY.cjs');
7
- require('./chunk-ABVRVW3P.cjs');
5
+ var _chunkXOBLFIGVcjs = require('./chunk-XOBLFIGV.cjs');
6
+ require('./chunk-RLMXWLF4.cjs');
7
+ require('./chunk-HH46H6ZI.cjs');
8
8
 
9
9
  // src/core/dapp-imports/polymarket/account.ts
10
10
 
@@ -23,12 +23,12 @@ async function getPolymarketAccount(params) {
23
23
  );
24
24
  }
25
25
  const eoa = _viem.getAddress.call(void 0, params.eoa);
26
- const proxyWallet = await _chunkNRNJAQUAcjs.fetchPolymarketProxyWallet.call(void 0, eoa, signal);
26
+ const proxyWallet = await _chunkXOBLFIGVcjs.fetchPolymarketProxyWallet.call(void 0, eoa, signal);
27
27
  if (!proxyWallet) return null;
28
28
  throwIfAborted(signal);
29
29
  let balances = { pusd: 0n, usdce: 0n };
30
30
  try {
31
- balances = await _chunkNRNJAQUAcjs.readPolymarketBalances.call(void 0, {
31
+ balances = await _chunkXOBLFIGVcjs.readPolymarketBalances.call(void 0, {
32
32
  publicClient: polygonClient(rpcUrl),
33
33
  proxyWallet
34
34
  });
@@ -40,7 +40,7 @@ async function getPolymarketAccount(params) {
40
40
  return {
41
41
  eoa,
42
42
  proxyWallet,
43
- chainId: _chunkNRNJAQUAcjs.POLYMARKET_POLYGON_CHAIN_ID,
43
+ chainId: _chunkXOBLFIGVcjs.POLYMARKET_POLYGON_CHAIN_ID,
44
44
  pusd,
45
45
  usdce,
46
46
  totalUsd: pusd.usd + usdce.usd
@@ -2,9 +2,9 @@ import {
2
2
  POLYMARKET_POLYGON_CHAIN_ID,
3
3
  fetchPolymarketProxyWallet,
4
4
  readPolymarketBalances
5
- } from "./chunk-FJWLC4AM.mjs";
6
- import "./chunk-F7P4MV72.mjs";
7
- import "./chunk-WJX3TJFK.mjs";
5
+ } from "./chunk-4JLYWRQA.mjs";
6
+ import "./chunk-K6J3RDDK.mjs";
7
+ import "./chunk-CPMHRMPH.mjs";
8
8
 
9
9
  // src/core/dapp-imports/polymarket/account.ts
10
10
  import {
package/dist/styles.css CHANGED
@@ -169,6 +169,15 @@
169
169
  gap: 16px;
170
170
  }
171
171
 
172
+ .rs-modal--swapped-iframe {
173
+ /* Full-bleed embedded iframe: no header chrome, no footer, so it fills the
174
+ modal top-to-bottom. Only the vertical padding is dropped — the horizontal
175
+ inset is already cancelled by the body's negative margin for full width. */
176
+ padding-top: 0;
177
+ padding-bottom: 0;
178
+ gap: 0;
179
+ }
180
+
172
181
  /* =============================================================================
173
182
  Dark Mode
174
183
  ============================================================================= */
@@ -2252,6 +2261,22 @@
2252
2261
  justify-content: space-between;
2253
2262
  gap: 12px;
2254
2263
  width: 100%;
2264
+ font-size: 14px;
2265
+ font-weight: 500;
2266
+ line-height: normal;
2267
+ color: var(--rs-muted);
2268
+ }
2269
+
2270
+ .rs-fees-accordion-label {
2271
+ display: inline-flex;
2272
+ align-items: center;
2273
+ gap: 4px;
2274
+ }
2275
+
2276
+ .rs-fees-accordion-toggle {
2277
+ display: inline-flex;
2278
+ align-items: center;
2279
+ gap: 4px;
2255
2280
  padding: 0;
2256
2281
  background: none;
2257
2282
  border: 0;
@@ -2261,13 +2286,14 @@
2261
2286
  line-height: normal;
2262
2287
  color: var(--rs-muted);
2263
2288
  cursor: pointer;
2289
+ font-feature-settings: "tnum";
2264
2290
  }
2265
2291
 
2266
- .rs-fees-accordion-summary:disabled {
2292
+ .rs-fees-accordion-toggle:disabled {
2267
2293
  cursor: default;
2268
2294
  }
2269
2295
 
2270
- .rs-fees-accordion-summary:focus-visible {
2296
+ .rs-fees-accordion-toggle:focus-visible {
2271
2297
  outline: 2px solid var(--rs-border-accent);
2272
2298
  outline-offset: 2px;
2273
2299
  border-radius: 4px;
@@ -3303,6 +3329,9 @@
3303
3329
  line-height: normal;
3304
3330
  color: var(--rs-foreground);
3305
3331
  font-family: inherit;
3332
+ /* Never wrap the chain/token label to a 2nd line (it would resize the
3333
+ modal). Labels are abbreviated; this is the belt-and-suspenders. */
3334
+ white-space: nowrap;
3306
3335
  }
3307
3336
 
3308
3337
  .rs-deposit-address-dropdown-trigger:hover {
@@ -3326,6 +3355,21 @@
3326
3355
  flex-shrink: 0;
3327
3356
  }
3328
3357
 
3358
+ /* Text-badge fallback when a token has no bundled icon (mirrors the wallet
3359
+ asset list), so dropdown rows never render a blank icon slot. */
3360
+ .rs-deposit-address-dropdown-icon--fallback {
3361
+ display: flex;
3362
+ align-items: center;
3363
+ justify-content: center;
3364
+ background-color: var(--rs-surface);
3365
+ color: inherit;
3366
+ font-size: 9px;
3367
+ font-weight: 600;
3368
+ text-transform: uppercase;
3369
+ letter-spacing: -0.2px;
3370
+ overflow: hidden;
3371
+ }
3372
+
3329
3373
  .rs-deposit-address-dropdown-chevron {
3330
3374
  width: 24px;
3331
3375
  height: 24px;
@@ -4878,14 +4922,24 @@
4878
4922
 
4879
4923
  /* Card-network chips: exported Figma tiles are all 38×24. */
4880
4924
  .rs-list-row-meta-icons--cards > .rs-card-network {
4925
+ position: relative;
4881
4926
  width: 29px;
4882
4927
  height: 18px;
4883
4928
  border-radius: 3.25px;
4884
4929
  overflow: hidden;
4885
- background: transparent;
4930
+ background: #fff;
4886
4931
  box-shadow: none;
4887
4932
  }
4888
4933
 
4934
+ .rs-list-row-meta-icons--cards > .rs-card-network::after {
4935
+ content: "";
4936
+ position: absolute;
4937
+ inset: 0;
4938
+ border: 1px solid var(--rs-surface-subtle);
4939
+ border-radius: inherit;
4940
+ pointer-events: none;
4941
+ }
4942
+
4889
4943
  .rs-list-row-meta-icons--cards > .rs-card-network + .rs-card-network {
4890
4944
  margin-left: -7px;
4891
4945
  }
@@ -4893,6 +4947,7 @@
4893
4947
  .rs-list-row-meta-icons--cards .rs-card-network svg {
4894
4948
  width: 100%;
4895
4949
  height: 100%;
4950
+ display: block;
4896
4951
  }
4897
4952
 
4898
4953
  .rs-list-row-chevron {
@@ -4937,8 +4992,8 @@
4937
4992
 
4938
4993
  /* `.rs-fiat-onramp` is a marker class on the .rs-screen root so the
4939
4994
  modal-content `:has()` rules below can size correctly. The Swapped iframe
4940
- phase intentionally omits the BodyHeader so the embedded widget starts
4941
- immediately below the modal nav chrome. */
4995
+ phase intentionally omits our header chrome so the embedded widget owns the
4996
+ top of the modal. */
4942
4997
 
4943
4998
  .rs-fiat-onramp-body {
4944
4999
  gap: 0;
@@ -4980,21 +5035,35 @@
4980
5035
  color: var(--rs-muted);
4981
5036
  }
4982
5037
 
4983
- /* Iframe wrap sized to Swapped's documented dimensions 400×586 for the
4984
- fiat on-ramp, 445×585 for Connect (overrides below). Centered horizontally
4985
- inside the modal so the step body can have header padding. */
5038
+ /* The iframe phase owns the whole modal width. Normal screens keep the
5039
+ 16px body inset, but Swapped now provides its own in-iframe back chrome so
5040
+ the embedded sheet should not look like a padded card inside our modal. */
5041
+ .rs-modal-body[data-flow-mode="fiat-onramp"]:has(.rs-fiat-onramp),
5042
+ .rs-modal-body[data-flow-mode="exchange-connect"]:has(.rs-fiat-onramp) {
5043
+ padding-inline: 0;
5044
+ }
5045
+
5046
+ /* Connect keeps our back/close chrome above the embedded widget. In the iframe
5047
+ phase, drop only the bottom shell padding so the iframe lands flush with the
5048
+ modal bottom edge; the side inset still lets the body negative margin expand
5049
+ iframe phases cleanly to the modal edges. */
5050
+ .rs-modal:has(.rs-modal-body[data-flow-mode="exchange-connect"] .rs-fiat-onramp) {
5051
+ padding: 16px 16px 0;
5052
+ }
5053
+
5054
+ /* Iframe wrap sized to Swapped's documented heights. Width deliberately spans
5055
+ the full modal body in the iframe phase; the modal itself controls the
5056
+ product-specific width below. */
4986
5057
  .rs-fiat-onramp-iframe-wrap {
4987
5058
  position: relative;
4988
5059
  width: 100%;
4989
- max-width: 400px;
4990
5060
  min-height: 586px;
4991
- margin: 0 auto;
4992
- border-radius: var(--rs-radius);
5061
+ margin: 0;
5062
+ border-radius: 0;
4993
5063
  overflow: hidden;
4994
5064
  }
4995
5065
 
4996
5066
  .rs-fiat-onramp[data-variant="connect"] .rs-fiat-onramp-iframe-wrap {
4997
- max-width: 445px;
4998
5067
  min-height: 585px;
4999
5068
  }
5000
5069
 
@@ -5211,22 +5280,14 @@
5211
5280
  /* =============================================================================
5212
5281
  Modal sizing for the Swapped iframe step
5213
5282
  =============================================================================
5214
- Modal stays at the default 400px width for the fiat variant (matches
5215
- Swapped's 400×586 iframe edge-to-edge). Connect needs 445px because its
5216
- iframe is 445×585. Height grows with the Rhinestone chrome (header
5217
- icon/title/subtitle + iframe + PoweredBy); cap to viewport so smaller
5218
- laptops get a scrollable modal-body instead of overflowing the screen. */
5219
-
5220
- /* Connect's iframe is 445×585 (vs fiat's 400×586). To preserve the same
5221
- 12px horizontal padding as ConnectStep while still giving Swapped's
5222
- Connect iframe its documented width, widen the modal by 24px (12 each
5223
- side) → 469px. Applied from the moment the user enters exchange-connect
5224
- mode (`data-flow-mode` on rs-modal-body) — not just the iframe step —
5225
- so the modal width is stable across SetupStep → SwappedIframeStep.
5226
- Fiat keeps the default 400px modal; its iframe renders at 376px
5227
- content-width, matching the visual width of ConnectStep's list rows. */
5283
+ Fiat keeps the default modal width. Connect uses Swapped's wider documented
5284
+ iframe width and applies it from the moment the user enters exchange-connect
5285
+ mode (`data-flow-mode` on rs-modal-body), so the modal width is stable
5286
+ across SetupStep SwappedIframeStep. Height grows to the active screen's
5287
+ chrome; cap to viewport so smaller laptops get a scrollable modal-body
5288
+ instead of overflowing the screen. */
5228
5289
  .rs-modal-content:has(.rs-modal-body[data-flow-mode="exchange-connect"]) {
5229
- max-width: 469px;
5290
+ max-width: 445px;
5230
5291
  }
5231
5292
 
5232
5293
  .rs-modal-content:has(.rs-modal-body[data-flow-mode="fiat-onramp"]),
@@ -5251,15 +5312,26 @@
5251
5312
  a tall empty area below the tracker. Applied on modal-content (not
5252
5313
  modal-body) so the transition on its min-height animates smoothly
5253
5314
  when the iframe→tracker phase swap fires. */
5254
- .rs-modal-content:has(.rs-modal-body[data-flow-mode="fiat-onramp"][data-step-type="setup"]),
5255
- .rs-modal-content:has(.rs-modal-body[data-flow-mode="fiat-onramp"] .rs-fiat-onramp) {
5315
+ .rs-modal-content:has(.rs-modal-body[data-flow-mode="fiat-onramp"][data-step-type="setup"]) {
5256
5316
  min-height: 699px;
5257
5317
  }
5258
- .rs-modal-content:has(.rs-modal-body[data-flow-mode="exchange-connect"][data-step-type="setup"]),
5259
- .rs-modal-content:has(.rs-modal-body[data-flow-mode="exchange-connect"] .rs-fiat-onramp) {
5318
+
5319
+ .rs-modal-content:has(.rs-modal-body[data-flow-mode="exchange-connect"][data-step-type="setup"]) {
5260
5320
  min-height: 698px;
5261
5321
  }
5262
5322
 
5323
+ /* Iframe phase: with no header/footer chrome the modal is sized to the
5324
+ embedded iframe exactly (586 fiat / 585 connect) so it fills the modal with
5325
+ no whitespace below. The taller setup values above pre-reserve the space
5326
+ before SwappedIframeStep mounts. */
5327
+ .rs-modal-content:has(.rs-modal-body[data-flow-mode="fiat-onramp"] .rs-fiat-onramp) {
5328
+ min-height: 586px;
5329
+ }
5330
+
5331
+ .rs-modal-content:has(.rs-modal-body[data-flow-mode="exchange-connect"] .rs-fiat-onramp) {
5332
+ min-height: 585px;
5333
+ }
5334
+
5263
5335
  /* =============================================================================
5264
5336
  Custom order tracker
5265
5337
  =============================================================================
package/dist/withdraw.cjs CHANGED
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkDASS33PJcjs = require('./chunk-DASS33PJ.cjs');
4
- require('./chunk-ZDYV536Q.cjs');
5
- require('./chunk-UEKPBRBY.cjs');
6
- require('./chunk-ABVRVW3P.cjs');
3
+ var _chunkKUURQOTTcjs = require('./chunk-KUURQOTT.cjs');
4
+ require('./chunk-UN6MEOOA.cjs');
5
+ require('./chunk-RLMXWLF4.cjs');
6
+ require('./chunk-HH46H6ZI.cjs');
7
7
 
8
8
 
9
- exports.WithdrawModal = _chunkDASS33PJcjs.WithdrawModal;
9
+ exports.WithdrawModal = _chunkKUURQOTTcjs.WithdrawModal;
package/dist/withdraw.mjs CHANGED
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  WithdrawModal
3
- } from "./chunk-3JVGI7FC.mjs";
4
- import "./chunk-GQDVHMOT.mjs";
5
- import "./chunk-F7P4MV72.mjs";
6
- import "./chunk-WJX3TJFK.mjs";
3
+ } from "./chunk-CLUR2J72.mjs";
4
+ import "./chunk-OYPFPEIT.mjs";
5
+ import "./chunk-K6J3RDDK.mjs";
6
+ import "./chunk-CPMHRMPH.mjs";
7
7
  export {
8
8
  WithdrawModal
9
9
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rhinestone/deposit-modal",
3
- "version": "0.6.0",
3
+ "version": "0.7.0",
4
4
  "description": "React modal component for Rhinestone cross-chain deposits",
5
5
  "author": "Rhinestone <dev@rhinestone.wtf>",
6
6
  "bugs": {