@rhinestone/deposit-modal 0.0.0-dev-20260723012426 → 0.0.0-dev-20260727134150

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 (37) hide show
  1. package/dist/{ClaimModalReown-FAAQPQ3Z.cjs → ClaimModalReown-CTQZRNM2.cjs} +7 -6
  2. package/dist/{ClaimModalReown-A56L4VDI.mjs → ClaimModalReown-LUTLPXAS.mjs} +4 -3
  3. package/dist/{DepositModalReown-6Y6OMXQW.cjs → DepositModalReown-32D6SKGK.cjs} +8 -7
  4. package/dist/{DepositModalReown-3A3ZUV2A.mjs → DepositModalReown-7O3SOMPB.mjs} +5 -4
  5. package/dist/{WithdrawModalReown-4SX4DMSK.mjs → WithdrawModalReown-3WP7XHJQ.mjs} +5 -4
  6. package/dist/{WithdrawModalReown-XOG32ZUD.cjs → WithdrawModalReown-AYGDXWAR.cjs} +8 -7
  7. package/dist/{caip-C_ZYFIGa.d.cts → caip-CVNR5sgz.d.cts} +1 -1
  8. package/dist/{caip-C_ZYFIGa.d.ts → caip-CVNR5sgz.d.ts} +1 -1
  9. package/dist/{chunk-PGDUCB7W.mjs → chunk-2ZWIUDV2.mjs} +3 -3
  10. package/dist/{chunk-YFFWDWXJ.cjs → chunk-3R5AAKR3.cjs} +217 -217
  11. package/dist/{chunk-ATOA3AWN.mjs → chunk-54L44OIF.mjs} +2 -2
  12. package/dist/chunk-7BJR6XVG.mjs +6 -0
  13. package/dist/{chunk-TPUOYG7X.mjs → chunk-C2RYQFRD.mjs} +1 -1
  14. package/dist/{chunk-QHLJJ6ZR.cjs → chunk-CZQSKRJQ.cjs} +76 -76
  15. package/dist/{chunk-AE4XTNHP.cjs → chunk-LGB6MRI6.cjs} +50 -50
  16. package/dist/{chunk-OCBV54BW.cjs → chunk-NONZTRNC.cjs} +29 -22
  17. package/dist/{chunk-SLYLCV5X.cjs → chunk-OCIJCL3T.cjs} +4 -4
  18. package/dist/chunk-PCGUB54G.cjs +6 -0
  19. package/dist/{chunk-6QIPKYCJ.mjs → chunk-QYIHS7A4.mjs} +3 -3
  20. package/dist/{chunk-3IH35DKI.cjs → chunk-UEXLROK5.cjs} +63 -63
  21. package/dist/{chunk-A7JT2FB3.mjs → chunk-VMSYOEV4.mjs} +29 -22
  22. package/dist/{chunk-XALKCSGJ.mjs → chunk-Y3LCV7LN.mjs} +1 -1
  23. package/dist/claim.cjs +4 -3
  24. package/dist/claim.mjs +3 -2
  25. package/dist/constants.cjs +5 -1
  26. package/dist/constants.d.cts +4 -2
  27. package/dist/constants.d.ts +4 -2
  28. package/dist/constants.mjs +4 -0
  29. package/dist/deposit.cjs +5 -4
  30. package/dist/deposit.mjs +4 -3
  31. package/dist/index.cjs +7 -6
  32. package/dist/index.d.cts +1 -1
  33. package/dist/index.d.ts +1 -1
  34. package/dist/index.mjs +6 -5
  35. package/dist/withdraw.cjs +5 -4
  36. package/dist/withdraw.mjs +4 -3
  37. package/package.json +3 -3
@@ -1,26 +1,27 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkAE4XTNHPcjs = require('./chunk-AE4XTNHP.cjs');
3
+ var _chunkLGB6MRI6cjs = require('./chunk-LGB6MRI6.cjs');
4
4
 
5
5
 
6
6
 
7
- var _chunkSLYLCV5Xcjs = require('./chunk-SLYLCV5X.cjs');
8
- require('./chunk-OCBV54BW.cjs');
7
+ var _chunkOCIJCL3Tcjs = require('./chunk-OCIJCL3T.cjs');
8
+ require('./chunk-NONZTRNC.cjs');
9
+ require('./chunk-PCGUB54G.cjs');
9
10
  require('./chunk-P5T4XSN2.cjs');
10
11
 
11
12
  // src/ClaimModalReown.tsx
12
13
  var _react = require('react');
13
14
  var _jsxruntime = require('react/jsx-runtime');
14
15
  function ClaimModalWithReown(props) {
15
- const reown = _chunkSLYLCV5Xcjs.useReownWallet.call(void 0, );
16
+ const reown = _chunkOCIJCL3Tcjs.useReownWallet.call(void 0, );
16
17
  const handleConnect = _react.useCallback.call(void 0, () => {
17
18
  reown.openConnect();
18
19
  }, [reown.openConnect]);
19
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAE4XTNHPcjs.ClaimModalInner, { ...props, reownWallet: reown, onConnect: handleConnect });
20
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLGB6MRI6cjs.ClaimModalInner, { ...props, reownWallet: reown, onConnect: handleConnect });
20
21
  }
21
22
  function ClaimModalReown(props) {
22
23
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
23
- _chunkSLYLCV5Xcjs.ReownWalletProvider,
24
+ _chunkOCIJCL3Tcjs.ReownWalletProvider,
24
25
  {
25
26
  projectId: props.reownAppId,
26
27
  theme: props.theme,
@@ -1,11 +1,12 @@
1
1
  import {
2
2
  ClaimModalInner
3
- } from "./chunk-ATOA3AWN.mjs";
3
+ } from "./chunk-54L44OIF.mjs";
4
4
  import {
5
5
  ReownWalletProvider,
6
6
  useReownWallet
7
- } from "./chunk-TPUOYG7X.mjs";
8
- import "./chunk-A7JT2FB3.mjs";
7
+ } from "./chunk-C2RYQFRD.mjs";
8
+ import "./chunk-VMSYOEV4.mjs";
9
+ import "./chunk-7BJR6XVG.mjs";
9
10
  import "./chunk-2O2FJYRY.mjs";
10
11
 
11
12
  // src/ClaimModalReown.tsx
@@ -1,12 +1,13 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
2
2
 
3
3
 
4
- var _chunkSLYLCV5Xcjs = require('./chunk-SLYLCV5X.cjs');
4
+ var _chunkOCIJCL3Tcjs = require('./chunk-OCIJCL3T.cjs');
5
5
 
6
6
 
7
- var _chunkYFFWDWXJcjs = require('./chunk-YFFWDWXJ.cjs');
8
- require('./chunk-QHLJJ6ZR.cjs');
9
- require('./chunk-OCBV54BW.cjs');
7
+ var _chunk3R5AAKR3cjs = require('./chunk-3R5AAKR3.cjs');
8
+ require('./chunk-CZQSKRJQ.cjs');
9
+ require('./chunk-NONZTRNC.cjs');
10
+ require('./chunk-PCGUB54G.cjs');
10
11
  require('./chunk-ORKEBFMR.cjs');
11
12
  require('./chunk-UNVVUULP.cjs');
12
13
  require('./chunk-P5T4XSN2.cjs');
@@ -17,7 +18,7 @@ var _react3 = require('@reown/appkit/react');
17
18
  var _react5 = require('@reown/appkit-adapter-solana/react');
18
19
  var _jsxruntime = require('react/jsx-runtime');
19
20
  function DepositModalWithReown(props) {
20
- const reown = _chunkSLYLCV5Xcjs.useReownWallet.call(void 0, );
21
+ const reown = _chunkOCIJCL3Tcjs.useReownWallet.call(void 0, );
21
22
  const enableSolana = _nullishCoalesce(props.enableSolana, () => ( true));
22
23
  const { walletProvider: solanaWalletProvider } = _react3.useAppKitProvider.call(void 0,
23
24
  enableSolana ? "solana" : "eip155"
@@ -38,7 +39,7 @@ function DepositModalWithReown(props) {
38
39
  reown.disconnect();
39
40
  }, [reown.disconnect]);
40
41
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
41
- _chunkYFFWDWXJcjs.DepositModalInner,
42
+ _chunk3R5AAKR3cjs.DepositModalInner,
42
43
  {
43
44
  ...props,
44
45
  reownWallet: reownWithSolana,
@@ -49,7 +50,7 @@ function DepositModalWithReown(props) {
49
50
  }
50
51
  function DepositModalReown(props) {
51
52
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
52
- _chunkSLYLCV5Xcjs.ReownWalletProvider,
53
+ _chunkOCIJCL3Tcjs.ReownWalletProvider,
53
54
  {
54
55
  projectId: props.reownAppId,
55
56
  theme: props.theme,
@@ -1,12 +1,13 @@
1
1
  import {
2
2
  ReownWalletProvider,
3
3
  useReownWallet
4
- } from "./chunk-TPUOYG7X.mjs";
4
+ } from "./chunk-C2RYQFRD.mjs";
5
5
  import {
6
6
  DepositModalInner
7
- } from "./chunk-PGDUCB7W.mjs";
8
- import "./chunk-XALKCSGJ.mjs";
9
- import "./chunk-A7JT2FB3.mjs";
7
+ } from "./chunk-2ZWIUDV2.mjs";
8
+ import "./chunk-Y3LCV7LN.mjs";
9
+ import "./chunk-VMSYOEV4.mjs";
10
+ import "./chunk-7BJR6XVG.mjs";
10
11
  import "./chunk-RARNNVZO.mjs";
11
12
  import "./chunk-RH6XQHMA.mjs";
12
13
  import "./chunk-2O2FJYRY.mjs";
@@ -1,12 +1,13 @@
1
1
  import {
2
2
  WithdrawModalInner
3
- } from "./chunk-6QIPKYCJ.mjs";
3
+ } from "./chunk-QYIHS7A4.mjs";
4
4
  import {
5
5
  ReownWalletProvider,
6
6
  useReownWallet
7
- } from "./chunk-TPUOYG7X.mjs";
8
- import "./chunk-XALKCSGJ.mjs";
9
- import "./chunk-A7JT2FB3.mjs";
7
+ } from "./chunk-C2RYQFRD.mjs";
8
+ import "./chunk-Y3LCV7LN.mjs";
9
+ import "./chunk-VMSYOEV4.mjs";
10
+ import "./chunk-7BJR6XVG.mjs";
10
11
  import "./chunk-RH6XQHMA.mjs";
11
12
  import "./chunk-2O2FJYRY.mjs";
12
13
 
@@ -1,12 +1,13 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunk3IH35DKIcjs = require('./chunk-3IH35DKI.cjs');
3
+ var _chunkUEXLROK5cjs = require('./chunk-UEXLROK5.cjs');
4
4
 
5
5
 
6
6
 
7
- var _chunkSLYLCV5Xcjs = require('./chunk-SLYLCV5X.cjs');
8
- require('./chunk-QHLJJ6ZR.cjs');
9
- require('./chunk-OCBV54BW.cjs');
7
+ var _chunkOCIJCL3Tcjs = require('./chunk-OCIJCL3T.cjs');
8
+ require('./chunk-CZQSKRJQ.cjs');
9
+ require('./chunk-NONZTRNC.cjs');
10
+ require('./chunk-PCGUB54G.cjs');
10
11
  require('./chunk-UNVVUULP.cjs');
11
12
  require('./chunk-P5T4XSN2.cjs');
12
13
 
@@ -14,7 +15,7 @@ require('./chunk-P5T4XSN2.cjs');
14
15
  var _react = require('react');
15
16
  var _jsxruntime = require('react/jsx-runtime');
16
17
  function WithdrawModalWithReown(props) {
17
- const reown = _chunkSLYLCV5Xcjs.useReownWallet.call(void 0, );
18
+ const reown = _chunkOCIJCL3Tcjs.useReownWallet.call(void 0, );
18
19
  const handleConnect = _react.useCallback.call(void 0, () => {
19
20
  reown.openConnect();
20
21
  }, [reown.openConnect]);
@@ -22,7 +23,7 @@ function WithdrawModalWithReown(props) {
22
23
  reown.disconnect();
23
24
  }, [reown.disconnect]);
24
25
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
25
- _chunk3IH35DKIcjs.WithdrawModalInner,
26
+ _chunkUEXLROK5cjs.WithdrawModalInner,
26
27
  {
27
28
  ...props,
28
29
  reownWallet: reown,
@@ -33,7 +34,7 @@ function WithdrawModalWithReown(props) {
33
34
  }
34
35
  function WithdrawModalReown(props) {
35
36
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
36
- _chunkSLYLCV5Xcjs.ReownWalletProvider,
37
+ _chunkOCIJCL3Tcjs.ReownWalletProvider,
37
38
  {
38
39
  projectId: props.reownAppId,
39
40
  theme: props.theme,
@@ -74,4 +74,4 @@ declare const HYPERCORE_USDC_ADDRESS = "0xb88339CB7199b77E23DB6E890353E22632Ba63
74
74
  */
75
75
  declare const HYPERCORE_USDT0_ADDRESS = "0xB8CE59FC3717ada4C02eaDF9682A9e934F625ebb";
76
76
 
77
- export { tokenIconUrl as A, HYPERCORE_USDT0_ADDRESS as B, CHAIN_BY_ID as C, DEFAULT_BACKEND_URL as D, HYPERCORE_CHAIN_ID as H, NATIVE_TOKEN_ADDRESS as N, SOURCE_CHAINS as S, DEFAULT_SIGNER_ADDRESS as a, HYPERCORE_USDC_ADDRESS as b, SUPPORTED_CHAINS as c, type SupportedTokenOption as d, chainRegistry as e, findChainIdForToken as f, getChainBadge as g, getChainIcon as h, getChainId as i, getChainName as j, getChainObject as k, getExplorerName as l, getExplorerTxUrl as m, getExplorerUrl as n, getSupportedChainIds as o, getSupportedTargetTokens as p, getSupportedTokenSymbolsForChain as q, getTargetTokenSymbolsForChain as r, getTokenAddress as s, getTokenDecimals as t, getTokenDecimalsByAddress as u, getTokenIcon as v, getTokenSymbol as w, getUsdcAddress as x, getUsdcDecimals as y, isSupportedTokenAddressForChain as z };
77
+ export { tokenIconUrl as A, type SupportedTokenOption as B, CHAIN_BY_ID as C, DEFAULT_BACKEND_URL as D, HYPERCORE_CHAIN_ID as H, NATIVE_TOKEN_ADDRESS as N, SOURCE_CHAINS as S, DEFAULT_SIGNER_ADDRESS as a, HYPERCORE_USDC_ADDRESS as b, HYPERCORE_USDT0_ADDRESS as c, SUPPORTED_CHAINS as d, chainRegistry as e, findChainIdForToken as f, getChainBadge as g, getChainIcon as h, getChainId as i, getChainName as j, getChainObject as k, getExplorerName as l, getExplorerTxUrl as m, getExplorerUrl as n, getSupportedChainIds as o, getSupportedTargetTokens as p, getSupportedTokenSymbolsForChain as q, getTargetTokenSymbolsForChain as r, getTokenAddress as s, getTokenDecimals as t, getTokenDecimalsByAddress as u, getTokenIcon as v, getTokenSymbol as w, getUsdcAddress as x, getUsdcDecimals as y, isSupportedTokenAddressForChain as z };
@@ -74,4 +74,4 @@ declare const HYPERCORE_USDC_ADDRESS = "0xb88339CB7199b77E23DB6E890353E22632Ba63
74
74
  */
75
75
  declare const HYPERCORE_USDT0_ADDRESS = "0xB8CE59FC3717ada4C02eaDF9682A9e934F625ebb";
76
76
 
77
- export { tokenIconUrl as A, HYPERCORE_USDT0_ADDRESS as B, CHAIN_BY_ID as C, DEFAULT_BACKEND_URL as D, HYPERCORE_CHAIN_ID as H, NATIVE_TOKEN_ADDRESS as N, SOURCE_CHAINS as S, DEFAULT_SIGNER_ADDRESS as a, HYPERCORE_USDC_ADDRESS as b, SUPPORTED_CHAINS as c, type SupportedTokenOption as d, chainRegistry as e, findChainIdForToken as f, getChainBadge as g, getChainIcon as h, getChainId as i, getChainName as j, getChainObject as k, getExplorerName as l, getExplorerTxUrl as m, getExplorerUrl as n, getSupportedChainIds as o, getSupportedTargetTokens as p, getSupportedTokenSymbolsForChain as q, getTargetTokenSymbolsForChain as r, getTokenAddress as s, getTokenDecimals as t, getTokenDecimalsByAddress as u, getTokenIcon as v, getTokenSymbol as w, getUsdcAddress as x, getUsdcDecimals as y, isSupportedTokenAddressForChain as z };
77
+ export { tokenIconUrl as A, type SupportedTokenOption as B, CHAIN_BY_ID as C, DEFAULT_BACKEND_URL as D, HYPERCORE_CHAIN_ID as H, NATIVE_TOKEN_ADDRESS as N, SOURCE_CHAINS as S, DEFAULT_SIGNER_ADDRESS as a, HYPERCORE_USDC_ADDRESS as b, HYPERCORE_USDT0_ADDRESS as c, SUPPORTED_CHAINS as d, chainRegistry as e, findChainIdForToken as f, getChainBadge as g, getChainIcon as h, getChainId as i, getChainName as j, getChainObject as k, getExplorerName as l, getExplorerTxUrl as m, getExplorerUrl as n, getSupportedChainIds as o, getSupportedTargetTokens as p, getSupportedTokenSymbolsForChain as q, getTargetTokenSymbolsForChain as r, getTokenAddress as s, getTokenDecimals as t, getTokenDecimalsByAddress as u, getTokenIcon as v, getTokenSymbol as w, getUsdcAddress as x, getUsdcDecimals as y, isSupportedTokenAddressForChain as z };
@@ -16,7 +16,7 @@ import {
16
16
  loadSessionOwnerFromStorage,
17
17
  saveSessionOwnerToStorage,
18
18
  txRefsMatch
19
- } from "./chunk-XALKCSGJ.mjs";
19
+ } from "./chunk-Y3LCV7LN.mjs";
20
20
  import {
21
21
  AlertTriangleIcon,
22
22
  ArrowUpRightIcon,
@@ -64,7 +64,7 @@ import {
64
64
  useLatestRef,
65
65
  useRpcUrls,
66
66
  useStableRpcUrls
67
- } from "./chunk-A7JT2FB3.mjs";
67
+ } from "./chunk-VMSYOEV4.mjs";
68
68
  import {
69
69
  POLYMARKET_COLLATERAL_OFFRAMP_ADDRESS,
70
70
  POLYMARKET_ICON_URL,
@@ -7826,7 +7826,7 @@ DepositHistoryPanel.displayName = "DepositHistoryPanel";
7826
7826
  // src/DepositModal.tsx
7827
7827
  import { jsx as jsx21, jsxs as jsxs19 } from "react/jsx-runtime";
7828
7828
  var ReownDepositInner = lazy2(
7829
- () => import("./DepositModalReown-3A3ZUV2A.mjs").then((m) => ({ default: m.DepositModalReown }))
7829
+ () => import("./DepositModalReown-7O3SOMPB.mjs").then((m) => ({ default: m.DepositModalReown }))
7830
7830
  );
7831
7831
  function sortByCreatedAtDesc(items) {
7832
7832
  return [...items].sort((a, b) => {