@rhinestone/deposit-modal 0.8.1 → 0.8.2

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-UND3DEJH.cjs → DepositModalReown-A2W6R27Q.cjs} +9 -9
  2. package/dist/{DepositModalReown-4BSHOQ5Y.mjs → DepositModalReown-IB5WUXVT.mjs} +6 -6
  3. package/dist/{WithdrawModalReown-FVXSSGY5.mjs → WithdrawModalReown-A4S4BJHG.mjs} +5 -5
  4. package/dist/{WithdrawModalReown-TVZWJKQI.cjs → WithdrawModalReown-KUWNNA2X.cjs} +8 -8
  5. package/dist/{chunk-O5OKA27M.mjs → chunk-2O2FJYRY.mjs} +1 -1
  6. package/dist/{chunk-HQWZCOMS.cjs → chunk-3WIHTUQ6.cjs} +99 -99
  7. package/dist/{chunk-D3Y7ZBED.cjs → chunk-46BRQZ2P.cjs} +486 -457
  8. package/dist/{chunk-2JPB3PLB.mjs → chunk-4BLOPOVO.mjs} +2 -2
  9. package/dist/{chunk-Q3W53BKR.cjs → chunk-5E67UM3V.cjs} +7 -7
  10. package/dist/{chunk-7OKA6GNA.cjs → chunk-DSXMWQYB.cjs} +110 -105
  11. package/dist/{chunk-7KHEIMWD.mjs → chunk-KGZU3BL2.mjs} +40 -11
  12. package/dist/{chunk-4NN7UTWQ.cjs → chunk-ORKEBFMR.cjs} +4 -4
  13. package/dist/{chunk-U7SVYWVD.cjs → chunk-P5T4XSN2.cjs} +1 -1
  14. package/dist/{chunk-DABKCJVL.mjs → chunk-RARNNVZO.mjs} +1 -1
  15. package/dist/{chunk-WK5AFRSP.mjs → chunk-RH6XQHMA.mjs} +1 -1
  16. package/dist/{chunk-NASHLEVQ.mjs → chunk-TUSEN26M.mjs} +8 -3
  17. package/dist/{chunk-XRWQMIBY.cjs → chunk-UNVVUULP.cjs} +3 -3
  18. package/dist/{chunk-T43VUEJH.mjs → chunk-XK5RH4FZ.mjs} +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 +118 -1
  28. package/dist/withdraw.cjs +5 -5
  29. package/dist/withdraw.mjs +4 -4
  30. package/package.json +1 -1
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  isUnsupportedChainSwitchError,
3
3
  rpcUrlFor
4
- } from "./chunk-NASHLEVQ.mjs";
4
+ } from "./chunk-TUSEN26M.mjs";
5
5
  import {
6
6
  SUPPORTED_CHAINS,
7
7
  getChainName
8
- } from "./chunk-O5OKA27M.mjs";
8
+ } from "./chunk-2O2FJYRY.mjs";
9
9
 
10
10
  // src/core/reown.tsx
11
11
  import { useState } from "react";
@@ -1,11 +1,11 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
3
 
4
- var _chunk7OKA6GNAcjs = require('./chunk-7OKA6GNA.cjs');
4
+ var _chunkDSXMWQYBcjs = require('./chunk-DSXMWQYB.cjs');
5
5
 
6
6
 
7
7
 
8
- var _chunkU7SVYWVDcjs = require('./chunk-U7SVYWVD.cjs');
8
+ var _chunkP5T4XSN2cjs = require('./chunk-P5T4XSN2.cjs');
9
9
 
10
10
  // src/core/reown.tsx
11
11
  var _react = require('react');
@@ -59,7 +59,7 @@ var APPKIT_NETWORK_BY_ID = {
59
59
  [_networks.katana.id]: _networks.katana,
60
60
  [_networks.hyperEvm.id]: _networks.hyperEvm
61
61
  };
62
- var EVM_NETWORKS = _chunkU7SVYWVDcjs.SUPPORTED_CHAINS.map((chain) => {
62
+ var EVM_NETWORKS = _chunkP5T4XSN2cjs.SUPPORTED_CHAINS.map((chain) => {
63
63
  const network = APPKIT_NETWORK_BY_ID[chain.id];
64
64
  if (!network) {
65
65
  throw new Error(
@@ -78,14 +78,14 @@ function buildTransports(rpcUrls) {
78
78
  const transports = {};
79
79
  for (const network of EVM_NETWORKS) {
80
80
  const id = Number(network.id);
81
- transports[id] = _viem.http.call(void 0, _chunk7OKA6GNAcjs.rpcUrlFor.call(void 0, rpcUrls, id));
81
+ transports[id] = _viem.http.call(void 0, _chunkDSXMWQYBcjs.rpcUrlFor.call(void 0, rpcUrls, id));
82
82
  }
83
83
  return transports;
84
84
  }
85
85
  function getEvmRpcFingerprint(rpcUrls) {
86
86
  return EVM_NETWORKS.map((network) => {
87
87
  const id = Number(network.id);
88
- return `${id}=${_nullishCoalesce(_chunk7OKA6GNAcjs.rpcUrlFor.call(void 0, rpcUrls, id), () => ( ""))}`;
88
+ return `${id}=${_nullishCoalesce(_chunkDSXMWQYBcjs.rpcUrlFor.call(void 0, rpcUrls, id), () => ( ""))}`;
89
89
  }).join("|");
90
90
  }
91
91
  var cachedAdapter = null;
@@ -179,9 +179,9 @@ function useReownWallet() {
179
179
  await switchChainAsync({ chainId });
180
180
  }
181
181
  } catch (err) {
182
- if (_chunk7OKA6GNAcjs.isUnsupportedChainSwitchError.call(void 0, err)) {
182
+ if (_chunkDSXMWQYBcjs.isUnsupportedChainSwitchError.call(void 0, err)) {
183
183
  throw new Error(
184
- `Switch to ${_chunkU7SVYWVDcjs.getChainName.call(void 0, chainId)} in your wallet to continue`
184
+ `Switch to ${_chunkP5T4XSN2cjs.getChainName.call(void 0, chainId)} in your wallet to continue`
185
185
  );
186
186
  }
187
187
  throw err;