@rhinestone/deposit-modal 0.0.0-dev-20260901125921 → 0.0.0-dev-20260901143615

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 (54) hide show
  1. package/dist/{ClaimModal-GECPNVYW.mjs → ClaimModal-G2H2OAQ5.mjs} +4 -5
  2. package/dist/ClaimModal-VEC6WRH4.cjs +12 -0
  3. package/dist/{DepositModalReown-J5677AO3.mjs → DepositModalReown-A5SVGGFE.mjs} +5 -5
  4. package/dist/{DepositModalReown-7X2P4Q3U.cjs → DepositModalReown-VSENSCKE.cjs} +18 -18
  5. package/dist/WithdrawModal-EYXNAGRP.cjs +12 -0
  6. package/dist/{WithdrawModal-EGUXJGKC.mjs → WithdrawModal-WKCVJ46H.mjs} +4 -4
  7. package/dist/{chunk-H4GKLXX7.cjs → chunk-5YDSTA4M.cjs} +73 -220
  8. package/dist/{chunk-UMHZX3KX.cjs → chunk-647N5MIO.cjs} +172 -172
  9. package/dist/chunk-CSETDQYL.mjs +529 -0
  10. package/dist/{chunk-QO63RXOH.mjs → chunk-EGKGTIUB.mjs} +1 -1
  11. package/dist/chunk-FWON4BDL.cjs +529 -0
  12. package/dist/{chunk-GGEX3J6J.cjs → chunk-GB6G35LO.cjs} +67 -67
  13. package/dist/{chunk-V35JXQDL.mjs → chunk-K2QADB45.mjs} +339 -94
  14. package/dist/{chunk-76SNGRJ4.cjs → chunk-KMF4PTT5.cjs} +557 -312
  15. package/dist/{chunk-ULDG2NFL.mjs → chunk-KSHSNZFP.mjs} +99 -99
  16. package/dist/{chunk-LHVHW2FC.cjs → chunk-LQOPDRF5.cjs} +1 -1
  17. package/dist/{chunk-URYV6A2L.mjs → chunk-MIYMRTHD.mjs} +2 -2
  18. package/dist/{chunk-HEBZWISE.mjs → chunk-RJSA62SU.mjs} +85 -232
  19. package/dist/{chunk-SSODFKQC.mjs → chunk-TFEBVSZ3.mjs} +1 -1
  20. package/dist/{chunk-BBHL7Y6Q.cjs → chunk-ZLOZ5KXU.cjs} +65 -65
  21. package/dist/claim.cjs +5 -6
  22. package/dist/claim.d.cts +2 -2
  23. package/dist/claim.d.ts +2 -2
  24. package/dist/claim.mjs +4 -5
  25. package/dist/constants.cjs +2 -2
  26. package/dist/constants.d.cts +1 -1
  27. package/dist/constants.d.ts +1 -1
  28. package/dist/constants.mjs +1 -1
  29. package/dist/deposit.cjs +6 -6
  30. package/dist/deposit.d.cts +2 -2
  31. package/dist/deposit.d.ts +2 -2
  32. package/dist/deposit.mjs +5 -5
  33. package/dist/embed.cjs +26 -18
  34. package/dist/embed.d.cts +1 -1
  35. package/dist/embed.d.ts +1 -1
  36. package/dist/embed.mjs +16 -8
  37. package/dist/index.cjs +8 -9
  38. package/dist/index.d.cts +1 -1
  39. package/dist/index.d.ts +1 -1
  40. package/dist/index.mjs +7 -8
  41. package/dist/styles.css +59 -9
  42. package/dist/{types-Bho4OA03.d.ts → types-D36e_rVZ.d.ts} +25 -3
  43. package/dist/{types-DP_3KwlD.d.cts → types-TsOeInuD.d.cts} +25 -3
  44. package/dist/withdraw.cjs +5 -5
  45. package/dist/withdraw.d.cts +2 -2
  46. package/dist/withdraw.d.ts +2 -2
  47. package/dist/withdraw.mjs +4 -4
  48. package/package.json +5 -5
  49. package/dist/ClaimModal-TUIJ2FXZ.cjs +0 -13
  50. package/dist/WithdrawModal-ZRO4GPL5.cjs +0 -12
  51. package/dist/chunk-5VTLHOWL.mjs +0 -81
  52. package/dist/chunk-6NMICTMH.cjs +0 -163
  53. package/dist/chunk-E26VPCQS.cjs +0 -81
  54. package/dist/chunk-UIMR4O7B.mjs +0 -163
@@ -1,11 +1,10 @@
1
1
  import {
2
2
  ClaimModal,
3
3
  buildClaimAnalyticsSessionProperties
4
- } from "./chunk-HEBZWISE.mjs";
5
- import "./chunk-UIMR4O7B.mjs";
6
- import "./chunk-5VTLHOWL.mjs";
7
- import "./chunk-ULDG2NFL.mjs";
8
- import "./chunk-QO63RXOH.mjs";
4
+ } from "./chunk-RJSA62SU.mjs";
5
+ import "./chunk-CSETDQYL.mjs";
6
+ import "./chunk-KSHSNZFP.mjs";
7
+ import "./chunk-EGKGTIUB.mjs";
9
8
  import "./chunk-VUATPOWJ.mjs";
10
9
  export {
11
10
  ClaimModal,
@@ -0,0 +1,12 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+ var _chunk5YDSTA4Mcjs = require('./chunk-5YDSTA4M.cjs');
5
+ require('./chunk-FWON4BDL.cjs');
6
+ require('./chunk-647N5MIO.cjs');
7
+ require('./chunk-LQOPDRF5.cjs');
8
+ require('./chunk-4KCSH4T3.cjs');
9
+
10
+
11
+
12
+ exports.ClaimModal = _chunk5YDSTA4Mcjs.ClaimModal; exports.buildClaimAnalyticsSessionProperties = _chunk5YDSTA4Mcjs.buildClaimAnalyticsSessionProperties;
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  DepositModalInner,
3
3
  getReownDependencies
4
- } from "./chunk-V35JXQDL.mjs";
5
- import "./chunk-SSODFKQC.mjs";
6
- import "./chunk-5VTLHOWL.mjs";
4
+ } from "./chunk-K2QADB45.mjs";
5
+ import "./chunk-TFEBVSZ3.mjs";
6
+ import "./chunk-CSETDQYL.mjs";
7
7
  import {
8
8
  followSystemAppearance,
9
9
  isUnsupportedChainSwitchError,
@@ -12,8 +12,8 @@ import {
12
12
  resolveThemeMode,
13
13
  rpcUrlFor,
14
14
  useStableRpcUrls
15
- } from "./chunk-ULDG2NFL.mjs";
16
- import "./chunk-QO63RXOH.mjs";
15
+ } from "./chunk-KSHSNZFP.mjs";
16
+ import "./chunk-EGKGTIUB.mjs";
17
17
  import "./chunk-RN5VKWI6.mjs";
18
18
  import {
19
19
  SUPPORTED_CHAIN_IDS,
@@ -1,9 +1,9 @@
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 _chunk76SNGRJ4cjs = require('./chunk-76SNGRJ4.cjs');
5
- require('./chunk-GGEX3J6J.cjs');
6
- require('./chunk-E26VPCQS.cjs');
4
+ var _chunkKMF4PTT5cjs = require('./chunk-KMF4PTT5.cjs');
5
+ require('./chunk-GB6G35LO.cjs');
6
+ require('./chunk-FWON4BDL.cjs');
7
7
 
8
8
 
9
9
 
@@ -12,8 +12,8 @@ require('./chunk-E26VPCQS.cjs');
12
12
 
13
13
 
14
14
 
15
- var _chunkUMHZX3KXcjs = require('./chunk-UMHZX3KX.cjs');
16
- require('./chunk-LHVHW2FC.cjs');
15
+ var _chunk647N5MIOcjs = require('./chunk-647N5MIO.cjs');
16
+ require('./chunk-LQOPDRF5.cjs');
17
17
  require('./chunk-DW2EQA2U.cjs');
18
18
 
19
19
 
@@ -46,7 +46,7 @@ var {
46
46
  unichain,
47
47
  katana,
48
48
  hyperEvm
49
- } = _chunk76SNGRJ4cjs.getReownDependencies.call(void 0, )[1];
49
+ } = _chunkKMF4PTT5cjs.getReownDependencies.call(void 0, )[1];
50
50
  var APPKIT_NETWORK_BY_ID = {
51
51
  [mainnet.id]: mainnet,
52
52
  [optimism.id]: optimism,
@@ -78,7 +78,7 @@ function getAppKitNetwork(chainId) {
78
78
 
79
79
  // src/core/reown-theme.ts
80
80
  function mapTheme(theme) {
81
- const themeMode = _chunkUMHZX3KXcjs.resolveThemeMode.call(void 0, _optionalChain([theme, 'optionalAccess', _ => _.mode])) === "light" ? "light" : "dark";
81
+ const themeMode = _chunk647N5MIOcjs.resolveThemeMode.call(void 0, _optionalChain([theme, 'optionalAccess', _ => _.mode])) === "light" ? "light" : "dark";
82
82
  const themeVariables = {
83
83
  "--apkt-accent": _optionalChain([theme, 'optionalAccess', _2 => _2.ctaColor])
84
84
  };
@@ -95,7 +95,7 @@ function setAppKitTheme(appKit, theme) {
95
95
 
96
96
  // src/core/reown.tsx
97
97
  var _jsxruntime = require('react/jsx-runtime');
98
- var [appKitReact, appKitNetworks, wagmiAdapter, solanaAdapter] = _chunk76SNGRJ4cjs.getReownDependencies.call(void 0, );
98
+ var [appKitReact, appKitNetworks, wagmiAdapter, solanaAdapter] = _chunkKMF4PTT5cjs.getReownDependencies.call(void 0, );
99
99
  var {
100
100
  createAppKit,
101
101
  useAppKit,
@@ -111,14 +111,14 @@ function buildTransports(rpcUrls, networks = EVM_NETWORKS) {
111
111
  const transports = {};
112
112
  for (const network of networks) {
113
113
  const id = Number(network.id);
114
- transports[id] = _viem.http.call(void 0, _chunkUMHZX3KXcjs.rpcUrlFor.call(void 0, rpcUrls, id));
114
+ transports[id] = _viem.http.call(void 0, _chunk647N5MIOcjs.rpcUrlFor.call(void 0, rpcUrls, id));
115
115
  }
116
116
  return transports;
117
117
  }
118
118
  function getEvmRpcFingerprint(rpcUrls, networks) {
119
119
  return networks.map((network) => {
120
120
  const id = Number(network.id);
121
- return `${id}=${_nullishCoalesce(_chunkUMHZX3KXcjs.rpcUrlFor.call(void 0, rpcUrls, id), () => ( ""))}`;
121
+ return `${id}=${_nullishCoalesce(_chunk647N5MIOcjs.rpcUrlFor.call(void 0, rpcUrls, id), () => ( ""))}`;
122
122
  }).join("|");
123
123
  }
124
124
  var cachedAdapter = null;
@@ -189,7 +189,7 @@ function ReownWalletProvider({
189
189
  backendUrl,
190
190
  children
191
191
  }) {
192
- const rpcUrls = _chunkUMHZX3KXcjs.useStableRpcUrls.call(void 0, rpcUrlsProp);
192
+ const rpcUrls = _chunk647N5MIOcjs.useStableRpcUrls.call(void 0, rpcUrlsProp);
193
193
  const [queryClient] = _react.useState.call(void 0, () => new (0, _reactquery.QueryClient)());
194
194
  const overrides = _react.useMemo.call(void 0, () => {
195
195
  if (!rpcUrls) return void 0;
@@ -201,14 +201,14 @@ function ReownWalletProvider({
201
201
  return out;
202
202
  }, [rpcUrls]);
203
203
  const [state, setState] = _react.useState.call(void 0, () => {
204
- const primed = _chunkUMHZX3KXcjs.peekRuntimeChains.call(void 0, backendUrl, overrides);
204
+ const primed = _chunk647N5MIOcjs.peekRuntimeChains.call(void 0, backendUrl, overrides);
205
205
  return { ready: primed !== null, chains: _nullishCoalesce(primed, () => ( [])) };
206
206
  });
207
207
  _react.useEffect.call(void 0, () => {
208
208
  let active = true;
209
- const primed = _chunkUMHZX3KXcjs.peekRuntimeChains.call(void 0, backendUrl, overrides);
209
+ const primed = _chunk647N5MIOcjs.peekRuntimeChains.call(void 0, backendUrl, overrides);
210
210
  setState({ ready: primed !== null, chains: _nullishCoalesce(primed, () => ( [])) });
211
- _chunkUMHZX3KXcjs.primeRuntimeChains.call(void 0, backendUrl, overrides).then((chains) => {
211
+ _chunk647N5MIOcjs.primeRuntimeChains.call(void 0, backendUrl, overrides).then((chains) => {
212
212
  if (active) setState({ ready: true, chains });
213
213
  });
214
214
  return () => {
@@ -217,7 +217,7 @@ function ReownWalletProvider({
217
217
  }, [backendUrl, overrides]);
218
218
  _react.useEffect.call(void 0, () => {
219
219
  setAppKitTheme(appKitReact.modal, theme);
220
- return _chunkUMHZX3KXcjs.followSystemAppearance.call(void 0,
220
+ return _chunk647N5MIOcjs.followSystemAppearance.call(void 0,
221
221
  _optionalChain([theme, 'optionalAccess', _7 => _7.mode]),
222
222
  () => setAppKitTheme(appKitReact.modal, theme)
223
223
  );
@@ -281,7 +281,7 @@ function useReownWalletSession() {
281
281
  await switchChainAsync({ chainId });
282
282
  }
283
283
  } catch (err) {
284
- if (_chunkUMHZX3KXcjs.isUnsupportedChainSwitchError.call(void 0, err)) {
284
+ if (_chunk647N5MIOcjs.isUnsupportedChainSwitchError.call(void 0, err)) {
285
285
  throw new Error(
286
286
  `Switch to ${chainDisplayName(chainId)} in your wallet to continue`
287
287
  );
@@ -294,7 +294,7 @@ function useReownWalletSession() {
294
294
 
295
295
  // src/DepositModalReown.tsx
296
296
 
297
- var [appKitReact2, , , , solanaAdapterReact] = _chunk76SNGRJ4cjs.getReownDependencies.call(void 0, );
297
+ var [appKitReact2, , , , solanaAdapterReact] = _chunkKMF4PTT5cjs.getReownDependencies.call(void 0, );
298
298
  var { useAppKitProvider } = appKitReact2;
299
299
  var { useAppKitConnection } = solanaAdapterReact;
300
300
  function DepositModalWithReown(props) {
@@ -316,7 +316,7 @@ function DepositModalWithReown(props) {
316
316
  reown.disconnect();
317
317
  }, [reown.disconnect]);
318
318
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
319
- _chunk76SNGRJ4cjs.DepositModalInner,
319
+ _chunkKMF4PTT5cjs.DepositModalInner,
320
320
  {
321
321
  ...props,
322
322
  walletSession: reownWithSolana,
@@ -0,0 +1,12 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+ var _chunkZLOZ5KXUcjs = require('./chunk-ZLOZ5KXU.cjs');
5
+ require('./chunk-GB6G35LO.cjs');
6
+ require('./chunk-647N5MIO.cjs');
7
+ require('./chunk-LQOPDRF5.cjs');
8
+ require('./chunk-4KCSH4T3.cjs');
9
+
10
+
11
+
12
+ exports.WithdrawModal = _chunkZLOZ5KXUcjs.WithdrawModal; exports.buildWithdrawAnalyticsSessionProperties = _chunkZLOZ5KXUcjs.buildWithdrawAnalyticsSessionProperties;
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  WithdrawModal,
3
3
  buildWithdrawAnalyticsSessionProperties
4
- } from "./chunk-URYV6A2L.mjs";
5
- import "./chunk-SSODFKQC.mjs";
6
- import "./chunk-ULDG2NFL.mjs";
7
- import "./chunk-QO63RXOH.mjs";
4
+ } from "./chunk-MIYMRTHD.mjs";
5
+ import "./chunk-TFEBVSZ3.mjs";
6
+ import "./chunk-KSHSNZFP.mjs";
7
+ import "./chunk-EGKGTIUB.mjs";
8
8
  import "./chunk-VUATPOWJ.mjs";
9
9
  export {
10
10
  WithdrawModal,