@rhinestone/deposit-modal 0.0.0-dev-20260729085110 → 0.0.0-dev-20260729102711

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.
@@ -1,13 +1,13 @@
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
- var _chunkKSZEOMRUcjs = require('./chunk-KSZEOMRU.cjs');
4
- require('./chunk-J7MGMLBX.cjs');
5
- require('./chunk-42M5RSF7.cjs');
3
+ var _chunk2JJHOAVWcjs = require('./chunk-2JJHOAVW.cjs');
4
+ require('./chunk-55L3Z4XN.cjs');
5
+ require('./chunk-TVCRLV7L.cjs');
6
6
 
7
7
 
8
8
 
9
- var _chunkGC2T5POZcjs = require('./chunk-GC2T5POZ.cjs');
10
- require('./chunk-UE5JPSKS.cjs');
9
+ var _chunkKQ2CB6FYcjs = require('./chunk-KQ2CB6FY.cjs');
10
+ require('./chunk-XPYV35FC.cjs');
11
11
  require('./chunk-OU5AFKDR.cjs');
12
12
 
13
13
 
@@ -88,14 +88,14 @@ function buildTransports(rpcUrls) {
88
88
  const transports = {};
89
89
  for (const network of EVM_NETWORKS) {
90
90
  const id = Number(network.id);
91
- transports[id] = _viem.http.call(void 0, _chunkGC2T5POZcjs.rpcUrlFor.call(void 0, rpcUrls, id));
91
+ transports[id] = _viem.http.call(void 0, _chunkKQ2CB6FYcjs.rpcUrlFor.call(void 0, rpcUrls, id));
92
92
  }
93
93
  return transports;
94
94
  }
95
95
  function getEvmRpcFingerprint(rpcUrls) {
96
96
  return EVM_NETWORKS.map((network) => {
97
97
  const id = Number(network.id);
98
- return `${id}=${_nullishCoalesce(_chunkGC2T5POZcjs.rpcUrlFor.call(void 0, rpcUrls, id), () => ( ""))}`;
98
+ return `${id}=${_nullishCoalesce(_chunkKQ2CB6FYcjs.rpcUrlFor.call(void 0, rpcUrls, id), () => ( ""))}`;
99
99
  }).join("|");
100
100
  }
101
101
  var cachedAdapter = null;
@@ -189,7 +189,7 @@ function useReownWallet() {
189
189
  await switchChainAsync({ chainId });
190
190
  }
191
191
  } catch (err) {
192
- if (_chunkGC2T5POZcjs.isUnsupportedChainSwitchError.call(void 0, err)) {
192
+ if (_chunkKQ2CB6FYcjs.isUnsupportedChainSwitchError.call(void 0, err)) {
193
193
  throw new Error(
194
194
  `Switch to ${_chunkJWX33GHXcjs.getChainName.call(void 0, chainId)} in your wallet to continue`
195
195
  );
@@ -223,7 +223,7 @@ function DepositModalWithReown(props) {
223
223
  reown.disconnect();
224
224
  }, [reown.disconnect]);
225
225
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
226
- _chunkKSZEOMRUcjs.DepositModalInner,
226
+ _chunk2JJHOAVWcjs.DepositModalInner,
227
227
  {
228
228
  ...props,
229
229
  reownWallet: reownWithSolana,
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  DepositModalInner
3
- } from "./chunk-KPRSOBXU.mjs";
4
- import "./chunk-QRL7HCIW.mjs";
5
- import "./chunk-AWQ7WMK5.mjs";
3
+ } from "./chunk-IYRT3PQK.mjs";
4
+ import "./chunk-VVAGYN2B.mjs";
5
+ import "./chunk-CSUTQI7V.mjs";
6
6
  import {
7
7
  isUnsupportedChainSwitchError,
8
8
  rpcUrlFor
9
- } from "./chunk-RQDCPEL3.mjs";
10
- import "./chunk-VUG7C4YY.mjs";
9
+ } from "./chunk-LPXQ65KL.mjs";
10
+ import "./chunk-6STXGQE3.mjs";
11
11
  import "./chunk-M5PWZT2F.mjs";
12
12
  import {
13
13
  SUPPORTED_CHAINS,