@rhinestone/deposit-modal 0.0.0-dev-20260813152943 → 0.0.0-dev-20260813160836

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 (29) hide show
  1. package/dist/{DepositModalReown-CXSINQ65.cjs → DepositModalReown-EQX3B3SJ.cjs} +13 -13
  2. package/dist/{DepositModalReown-VIGADVBQ.mjs → DepositModalReown-XMDHSMG3.mjs} +5 -5
  3. package/dist/{chunk-ZF7SBBCE.mjs → chunk-6JNNUBBD.mjs} +4 -4
  4. package/dist/{chunk-ZH37AK5G.mjs → chunk-6X4V75Q7.mjs} +1 -1
  5. package/dist/{chunk-WC2KEOJ6.cjs → chunk-72H53IHS.cjs} +266 -266
  6. package/dist/{chunk-SRBRPNTW.mjs → chunk-7CJTY6RR.mjs} +1 -1
  7. package/dist/{chunk-HYZAOWQO.mjs → chunk-ADPOKE6H.mjs} +1 -1
  8. package/dist/{chunk-QZBIQYLK.mjs → chunk-CMG274XH.mjs} +3 -3
  9. package/dist/{chunk-SPCCRY4U.cjs → chunk-DLJGYZI2.cjs} +54 -54
  10. package/dist/{chunk-BTVJHAPJ.mjs → chunk-GZESOI2Z.mjs} +3 -8
  11. package/dist/{chunk-DNRDAJ6F.mjs → chunk-I6O6XARZ.mjs} +2 -2
  12. package/dist/{chunk-IOAJH4C6.cjs → chunk-LHEDMS7B.cjs} +1 -1
  13. package/dist/{chunk-SMX7QCGL.cjs → chunk-P6FSHYVL.cjs} +66 -66
  14. package/dist/{chunk-GRCLBBFM.cjs → chunk-STDMWI3G.cjs} +59 -59
  15. package/dist/{chunk-QGCVHV6V.cjs → chunk-XBNLKQDY.cjs} +3 -3
  16. package/dist/{chunk-6SMODXEQ.cjs → chunk-ZLXJ5X2U.cjs} +26 -31
  17. package/dist/claim.cjs +5 -5
  18. package/dist/claim.mjs +4 -4
  19. package/dist/constants.cjs +2 -2
  20. package/dist/constants.d.cts +1 -1
  21. package/dist/constants.d.ts +1 -1
  22. package/dist/constants.mjs +1 -1
  23. package/dist/deposit.cjs +6 -6
  24. package/dist/deposit.mjs +5 -5
  25. package/dist/index.cjs +8 -8
  26. package/dist/index.mjs +7 -7
  27. package/dist/withdraw.cjs +5 -5
  28. package/dist/withdraw.mjs +4 -4
  29. package/package.json +1 -1
@@ -1,16 +1,16 @@
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 _chunkWC2KEOJ6cjs = require('./chunk-WC2KEOJ6.cjs');
4
- require('./chunk-SMX7QCGL.cjs');
5
- require('./chunk-QGCVHV6V.cjs');
3
+ var _chunk72H53IHScjs = require('./chunk-72H53IHS.cjs');
4
+ require('./chunk-P6FSHYVL.cjs');
5
+ require('./chunk-XBNLKQDY.cjs');
6
6
 
7
7
 
8
8
 
9
9
 
10
10
 
11
11
 
12
- var _chunk6SMODXEQcjs = require('./chunk-6SMODXEQ.cjs');
13
- require('./chunk-IOAJH4C6.cjs');
12
+ var _chunkZLXJ5X2Ucjs = require('./chunk-ZLXJ5X2U.cjs');
13
+ require('./chunk-LHEDMS7B.cjs');
14
14
  require('./chunk-75DVGSAX.cjs');
15
15
 
16
16
 
@@ -91,14 +91,14 @@ function buildTransports(rpcUrls, networks = EVM_NETWORKS) {
91
91
  const transports = {};
92
92
  for (const network of networks) {
93
93
  const id = Number(network.id);
94
- transports[id] = _viem.http.call(void 0, _chunk6SMODXEQcjs.rpcUrlFor.call(void 0, rpcUrls, id));
94
+ transports[id] = _viem.http.call(void 0, _chunkZLXJ5X2Ucjs.rpcUrlFor.call(void 0, rpcUrls, id));
95
95
  }
96
96
  return transports;
97
97
  }
98
98
  function getEvmRpcFingerprint(rpcUrls, networks) {
99
99
  return networks.map((network) => {
100
100
  const id = Number(network.id);
101
- return `${id}=${_nullishCoalesce(_chunk6SMODXEQcjs.rpcUrlFor.call(void 0, rpcUrls, id), () => ( ""))}`;
101
+ return `${id}=${_nullishCoalesce(_chunkZLXJ5X2Ucjs.rpcUrlFor.call(void 0, rpcUrls, id), () => ( ""))}`;
102
102
  }).join("|");
103
103
  }
104
104
  var cachedAdapter = null;
@@ -177,7 +177,7 @@ function ReownWalletProvider({
177
177
  backendUrl,
178
178
  children
179
179
  }) {
180
- const rpcUrls = _chunk6SMODXEQcjs.useStableRpcUrls.call(void 0, rpcUrlsProp);
180
+ const rpcUrls = _chunkZLXJ5X2Ucjs.useStableRpcUrls.call(void 0, rpcUrlsProp);
181
181
  const [queryClient] = _react.useState.call(void 0, () => new (0, _reactquery.QueryClient)());
182
182
  const overrides = _react.useMemo.call(void 0, () => {
183
183
  if (!rpcUrls) return void 0;
@@ -189,14 +189,14 @@ function ReownWalletProvider({
189
189
  return out;
190
190
  }, [rpcUrls]);
191
191
  const [state, setState] = _react.useState.call(void 0, () => {
192
- const primed = _chunk6SMODXEQcjs.peekRuntimeChains.call(void 0, backendUrl, overrides);
192
+ const primed = _chunkZLXJ5X2Ucjs.peekRuntimeChains.call(void 0, backendUrl, overrides);
193
193
  return { ready: primed !== null, chains: _nullishCoalesce(primed, () => ( [])) };
194
194
  });
195
195
  _react.useEffect.call(void 0, () => {
196
196
  let active = true;
197
- const primed = _chunk6SMODXEQcjs.peekRuntimeChains.call(void 0, backendUrl, overrides);
197
+ const primed = _chunkZLXJ5X2Ucjs.peekRuntimeChains.call(void 0, backendUrl, overrides);
198
198
  setState({ ready: primed !== null, chains: _nullishCoalesce(primed, () => ( [])) });
199
- _chunk6SMODXEQcjs.primeRuntimeChains.call(void 0, backendUrl, overrides).then((chains) => {
199
+ _chunkZLXJ5X2Ucjs.primeRuntimeChains.call(void 0, backendUrl, overrides).then((chains) => {
200
200
  if (active) setState({ ready: true, chains });
201
201
  });
202
202
  return () => {
@@ -258,7 +258,7 @@ function useReownWallet() {
258
258
  await switchChainAsync({ chainId });
259
259
  }
260
260
  } catch (err) {
261
- if (_chunk6SMODXEQcjs.isUnsupportedChainSwitchError.call(void 0, err)) {
261
+ if (_chunkZLXJ5X2Ucjs.isUnsupportedChainSwitchError.call(void 0, err)) {
262
262
  throw new Error(
263
263
  `Switch to ${chainDisplayName(chainId)} in your wallet to continue`
264
264
  );
@@ -292,7 +292,7 @@ function DepositModalWithReown(props) {
292
292
  reown.disconnect();
293
293
  }, [reown.disconnect]);
294
294
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
295
- _chunkWC2KEOJ6cjs.DepositModalInner,
295
+ _chunk72H53IHScjs.DepositModalInner,
296
296
  {
297
297
  ...props,
298
298
  reownWallet: reownWithSolana,
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  DepositModalInner
3
- } from "./chunk-ZF7SBBCE.mjs";
4
- import "./chunk-ZH37AK5G.mjs";
5
- import "./chunk-HYZAOWQO.mjs";
3
+ } from "./chunk-6JNNUBBD.mjs";
4
+ import "./chunk-6X4V75Q7.mjs";
5
+ import "./chunk-ADPOKE6H.mjs";
6
6
  import {
7
7
  isUnsupportedChainSwitchError,
8
8
  peekRuntimeChains,
9
9
  primeRuntimeChains,
10
10
  rpcUrlFor,
11
11
  useStableRpcUrls
12
- } from "./chunk-BTVJHAPJ.mjs";
13
- import "./chunk-SRBRPNTW.mjs";
12
+ } from "./chunk-GZESOI2Z.mjs";
13
+ import "./chunk-7CJTY6RR.mjs";
14
14
  import "./chunk-4ZXQPFNU.mjs";
15
15
  import {
16
16
  SUPPORTED_CHAINS,
@@ -17,10 +17,10 @@ import {
17
17
  runAccountSetupDeduped,
18
18
  txRefsMatch,
19
19
  warnRemovedProps
20
- } from "./chunk-ZH37AK5G.mjs";
20
+ } from "./chunk-6X4V75Q7.mjs";
21
21
  import {
22
22
  ListRow
23
- } from "./chunk-HYZAOWQO.mjs";
23
+ } from "./chunk-ADPOKE6H.mjs";
24
24
  import {
25
25
  AlertTriangleIcon,
26
26
  AppleIcon,
@@ -86,7 +86,7 @@ import {
86
86
  useLatestRef,
87
87
  useRpcUrls,
88
88
  useStableRpcUrls
89
- } from "./chunk-BTVJHAPJ.mjs";
89
+ } from "./chunk-GZESOI2Z.mjs";
90
90
  import {
91
91
  POLYMARKET_COLLATERAL_OFFRAMP_ADDRESS,
92
92
  POLYMARKET_ICON_URL,
@@ -8756,7 +8756,7 @@ DepositHistoryPanel.displayName = "DepositHistoryPanel";
8756
8756
  // src/DepositModal.tsx
8757
8757
  import { jsx as jsx27, jsxs as jsxs23 } from "react/jsx-runtime";
8758
8758
  var ReownDepositInner = lazy2(
8759
- () => import("./DepositModalReown-VIGADVBQ.mjs").then((m) => ({ default: m.DepositModalReown }))
8759
+ () => import("./DepositModalReown-XMDHSMG3.mjs").then((m) => ({ default: m.DepositModalReown }))
8760
8760
  );
8761
8761
  function sortByCreatedAtDesc(items) {
8762
8762
  return [...items].sort((a, b) => {
@@ -24,7 +24,7 @@ import {
24
24
  tokenAmountToNumber,
25
25
  useExplorerTxUrl,
26
26
  useLatestRef
27
- } from "./chunk-BTVJHAPJ.mjs";
27
+ } from "./chunk-GZESOI2Z.mjs";
28
28
  import {
29
29
  NATIVE_TOKEN_ADDRESS,
30
30
  cdnIconUrl,