@rhinestone/deposit-modal 0.1.33 → 0.1.34

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,6 +1,6 @@
1
1
  import {
2
2
  DepositModalInner
3
- } from "./chunk-HNDZ6G5K.mjs";
3
+ } from "./chunk-DL5M5QZZ.mjs";
4
4
  import {
5
5
  ReownWalletProvider,
6
6
  useReownWallet
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkSIGTZB3Ccjs = require('./chunk-SIGTZB3C.cjs');
3
+ var _chunkYCXVHPGZcjs = require('./chunk-YCXVHPGZ.cjs');
4
4
 
5
5
 
6
6
 
@@ -20,7 +20,7 @@ function DepositModalWithReown(props) {
20
20
  reown.disconnect();
21
21
  }, [reown.disconnect]);
22
22
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
23
- _chunkSIGTZB3Ccjs.DepositModalInner,
23
+ _chunkYCXVHPGZcjs.DepositModalInner,
24
24
  {
25
25
  ...props,
26
26
  reownWallet: reown,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  WithdrawModalInner
3
- } from "./chunk-ECLVABYN.mjs";
3
+ } from "./chunk-EIWNQ2MO.mjs";
4
4
  import {
5
5
  ReownWalletProvider,
6
6
  useReownWallet
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunk4WXSBBHQcjs = require('./chunk-4WXSBBHQ.cjs');
3
+ var _chunkDQO6MO27cjs = require('./chunk-DQO6MO27.cjs');
4
4
 
5
5
 
6
6
 
@@ -20,7 +20,7 @@ function WithdrawModalWithReown(props) {
20
20
  reown.disconnect();
21
21
  }, [reown.disconnect]);
22
22
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
23
- _chunk4WXSBBHQcjs.WithdrawModalInner,
23
+ _chunkDQO6MO27cjs.WithdrawModalInner,
24
24
  {
25
25
  ...props,
26
26
  reownWallet: reown,
@@ -1887,14 +1887,14 @@ function DepositFlow({
1887
1887
  }
1888
1888
  return null;
1889
1889
  }, [selectedConnectAddress, walletOptions]);
1890
- const walletOptionsKey = useMemo5(
1891
- () => walletOptions.map((option) => option.address.toLowerCase()).join(","),
1892
- [walletOptions]
1893
- );
1894
1890
  const hasNavigatedBackRef = useRef5(false);
1895
1891
  useEffect7(() => {
1896
- setIsConnectSelectionConfirmed(false);
1897
- }, [walletOptionsKey]);
1892
+ if (!showConnectStep && isConnectSelectionConfirmed && flowMode === "wallet" && !signerContext) {
1893
+ setSelectedConnectAddress(null);
1894
+ setIsConnectSelectionConfirmed(false);
1895
+ setFlowMode(null);
1896
+ }
1897
+ }, [showConnectStep, isConnectSelectionConfirmed, flowMode, signerContext]);
1898
1898
  useEffect7(() => {
1899
1899
  if (hasNavigatedBackRef.current || isConnectSelectionConfirmed || flowMode) {
1900
1900
  return;
@@ -2099,7 +2099,7 @@ function DepositFlow({
2099
2099
  // src/DepositModal.tsx
2100
2100
  import { jsx as jsx8, jsxs as jsxs8 } from "react/jsx-runtime";
2101
2101
  var ReownDepositInner = lazy(
2102
- () => import("./DepositModalReown-7ZO7HUN3.mjs").then((m) => ({ default: m.DepositModalReown }))
2102
+ () => import("./DepositModalReown-25YB4LPZ.mjs").then((m) => ({ default: m.DepositModalReown }))
2103
2103
  );
2104
2104
  function DepositModal(props) {
2105
2105
  const needsReown = !!props.reownAppId;
@@ -900,7 +900,7 @@ function WithdrawFlow({
900
900
  _optionalChain([reownWallet, 'optionalAccess', _13 => _13.walletClient]),
901
901
  _optionalChain([reownWallet, 'optionalAccess', _14 => _14.publicClient])
902
902
  ]);
903
- const canAutoLock = (_optionalChain([dappWalletClient, 'optionalAccess', _15 => _15.account]) && dappAddress || hasCustomSigner) && !reownWallet;
903
+ const canAutoLock = hasCustomSigner || Boolean(_optionalChain([dappWalletClient, 'optionalAccess', _15 => _15.account]) && dappAddress) && !reownWallet;
904
904
  const [selectedConnectAddress, setSelectedConnectAddress] = _react.useState.call(void 0, null);
905
905
  const signerContext = _react.useMemo.call(void 0, () => {
906
906
  if (canAutoLock) {
@@ -1204,14 +1204,21 @@ function WithdrawFlow({
1204
1204
  }
1205
1205
  return null;
1206
1206
  }, [selectedConnectAddress, walletOptions]);
1207
- const walletOptionsKey = _react.useMemo.call(void 0,
1208
- () => walletOptions.map((option) => option.address.toLowerCase()).join(","),
1209
- [walletOptions]
1210
- );
1211
1207
  const showConnectStep = !canAutoLock && !isConnectSelectionConfirmed;
1212
1208
  _react.useEffect.call(void 0, () => {
1213
- setIsConnectSelectionConfirmed(false);
1214
- }, [walletOptionsKey, selectedConnectAddressEffective]);
1209
+ if (!showConnectStep && isConnectSelectionConfirmed && !signerContext) {
1210
+ setSelectedConnectAddress(null);
1211
+ setIsConnectSelectionConfirmed(false);
1212
+ }
1213
+ }, [showConnectStep, isConnectSelectionConfirmed, signerContext]);
1214
+ const ownerAddress = _optionalChain([signerContext, 'optionalAccess', _30 => _30.ownerAddress]);
1215
+ const selectedWalletIcon = _react.useMemo.call(void 0, () => {
1216
+ if (!ownerAddress) return _optionalChain([reownWallet, 'optionalAccess', _31 => _31.icon]);
1217
+ const selected = walletOptions.find(
1218
+ (o) => o.address.toLowerCase() === ownerAddress.toLowerCase()
1219
+ );
1220
+ return _nullishCoalesce(_optionalChain([selected, 'optionalAccess', _32 => _32.icon]), () => ( _optionalChain([reownWallet, 'optionalAccess', _33 => _33.icon])));
1221
+ }, [walletOptions, ownerAddress, _optionalChain([reownWallet, 'optionalAccess', _34 => _34.icon])]);
1215
1222
  if (showConnectStep) {
1216
1223
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-modal-body", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1217
1224
  _chunkYIHOACM3cjs.ConnectStep,
@@ -1234,24 +1241,18 @@ function WithdrawFlow({
1234
1241
  }
1235
1242
  if (!signerContext) return null;
1236
1243
  if (!onSignTransaction && !signerContext.walletClient) return null;
1237
- const ownerAddress = signerContext.ownerAddress;
1244
+ const resolvedOwnerAddress = signerContext.ownerAddress;
1238
1245
  const formPublicClient = _nullishCoalesce(signerContext.publicClient, () => ( _chunkYIHOACM3cjs.getPublicClient.call(void 0, sourceChain)));
1239
- const selectedWalletIcon = _react.useMemo.call(void 0, () => {
1240
- const selected = walletOptions.find(
1241
- (o) => o.address.toLowerCase() === ownerAddress.toLowerCase()
1242
- );
1243
- return _nullishCoalesce(_optionalChain([selected, 'optionalAccess', _30 => _30.icon]), () => ( _optionalChain([reownWallet, 'optionalAccess', _31 => _31.icon])));
1244
- }, [walletOptions, ownerAddress, _optionalChain([reownWallet, 'optionalAccess', _32 => _32.icon])]);
1245
1246
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-modal-body", children: [
1246
1247
  step.type === "form" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1247
1248
  WithdrawFormStep,
1248
1249
  {
1249
1250
  walletClient: signerContext.walletClient,
1250
1251
  publicClient: formPublicClient,
1251
- address: ownerAddress,
1252
+ address: resolvedOwnerAddress,
1252
1253
  safeAddress,
1253
1254
  asset,
1254
- defaultRecipient: _nullishCoalesce(defaultRecipient, () => ( ownerAddress)),
1255
+ defaultRecipient: _nullishCoalesce(defaultRecipient, () => ( resolvedOwnerAddress)),
1255
1256
  defaultAmount,
1256
1257
  targetChain,
1257
1258
  targetToken,
@@ -1292,7 +1293,7 @@ function WithdrawFlow({
1292
1293
  // src/WithdrawModal.tsx
1293
1294
 
1294
1295
  var ReownWithdrawInner = _react.lazy.call(void 0,
1295
- () => Promise.resolve().then(() => _interopRequireWildcard(require("./WithdrawModalReown-YP4PEERJ.cjs"))).then((m) => ({
1296
+ () => Promise.resolve().then(() => _interopRequireWildcard(require("./WithdrawModalReown-HTPBAGPM.cjs"))).then((m) => ({
1296
1297
  default: m.WithdrawModalReown
1297
1298
  }))
1298
1299
  );
@@ -1357,7 +1358,7 @@ function WithdrawModalInner({
1357
1358
  _react.useEffect.call(void 0, () => {
1358
1359
  if (isOpen && !hasCalledReady.current) {
1359
1360
  hasCalledReady.current = true;
1360
- _optionalChain([onReady, 'optionalCall', _33 => _33()]);
1361
+ _optionalChain([onReady, 'optionalCall', _35 => _35()]);
1361
1362
  }
1362
1363
  }, [isOpen, onReady]);
1363
1364
  _react.useEffect.call(void 0, () => {
@@ -1376,14 +1377,14 @@ function WithdrawModalInner({
1376
1377
  setTotalBalanceUsd(balance2);
1377
1378
  }, []);
1378
1379
  const handleBack = _react.useCallback.call(void 0, () => {
1379
- _optionalChain([backHandlerRef, 'access', _34 => _34.current, 'optionalCall', _35 => _35()]);
1380
+ _optionalChain([backHandlerRef, 'access', _36 => _36.current, 'optionalCall', _37 => _37()]);
1380
1381
  }, []);
1381
- const showLogo = _nullishCoalesce(_optionalChain([uiConfig, 'optionalAccess', _36 => _36.showLogo]), () => ( false));
1382
- const showStepper = _nullishCoalesce(_optionalChain([uiConfig, 'optionalAccess', _37 => _37.showStepper]), () => ( false));
1383
- const showBackButton = _nullishCoalesce(_optionalChain([uiConfig, 'optionalAccess', _38 => _38.showBackButton]), () => ( true));
1384
- const balance = _optionalChain([uiConfig, 'optionalAccess', _39 => _39.balance]);
1385
- const logoUrl = _nullishCoalesce(_optionalChain([branding, 'optionalAccess', _40 => _40.logoUrl]), () => ( "https://github.com/rhinestonewtf.png"));
1386
- const title = _nullishCoalesce(_optionalChain([branding, 'optionalAccess', _41 => _41.title]), () => ( "Withdraw"));
1382
+ const showLogo = _nullishCoalesce(_optionalChain([uiConfig, 'optionalAccess', _38 => _38.showLogo]), () => ( false));
1383
+ const showStepper = _nullishCoalesce(_optionalChain([uiConfig, 'optionalAccess', _39 => _39.showStepper]), () => ( false));
1384
+ const showBackButton = _nullishCoalesce(_optionalChain([uiConfig, 'optionalAccess', _40 => _40.showBackButton]), () => ( true));
1385
+ const balance = _optionalChain([uiConfig, 'optionalAccess', _41 => _41.balance]);
1386
+ const logoUrl = _nullishCoalesce(_optionalChain([branding, 'optionalAccess', _42 => _42.logoUrl]), () => ( "https://github.com/rhinestonewtf.png"));
1387
+ const title = _nullishCoalesce(_optionalChain([branding, 'optionalAccess', _43 => _43.title]), () => ( "Withdraw"));
1387
1388
  const canGoBack = currentStepIndex > 0 && currentStepIndex < 3 && backHandlerRef.current;
1388
1389
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1389
1390
  _chunkYIHOACM3cjs.Modal,
@@ -900,7 +900,7 @@ function WithdrawFlow({
900
900
  reownWallet?.walletClient,
901
901
  reownWallet?.publicClient
902
902
  ]);
903
- const canAutoLock = (dappWalletClient?.account && dappAddress || hasCustomSigner) && !reownWallet;
903
+ const canAutoLock = hasCustomSigner || Boolean(dappWalletClient?.account && dappAddress) && !reownWallet;
904
904
  const [selectedConnectAddress, setSelectedConnectAddress] = useState2(null);
905
905
  const signerContext = useMemo2(() => {
906
906
  if (canAutoLock) {
@@ -1204,14 +1204,21 @@ function WithdrawFlow({
1204
1204
  }
1205
1205
  return null;
1206
1206
  }, [selectedConnectAddress, walletOptions]);
1207
- const walletOptionsKey = useMemo2(
1208
- () => walletOptions.map((option) => option.address.toLowerCase()).join(","),
1209
- [walletOptions]
1210
- );
1211
1207
  const showConnectStep = !canAutoLock && !isConnectSelectionConfirmed;
1212
1208
  useEffect2(() => {
1213
- setIsConnectSelectionConfirmed(false);
1214
- }, [walletOptionsKey, selectedConnectAddressEffective]);
1209
+ if (!showConnectStep && isConnectSelectionConfirmed && !signerContext) {
1210
+ setSelectedConnectAddress(null);
1211
+ setIsConnectSelectionConfirmed(false);
1212
+ }
1213
+ }, [showConnectStep, isConnectSelectionConfirmed, signerContext]);
1214
+ const ownerAddress = signerContext?.ownerAddress;
1215
+ const selectedWalletIcon = useMemo2(() => {
1216
+ if (!ownerAddress) return reownWallet?.icon;
1217
+ const selected = walletOptions.find(
1218
+ (o) => o.address.toLowerCase() === ownerAddress.toLowerCase()
1219
+ );
1220
+ return selected?.icon ?? reownWallet?.icon;
1221
+ }, [walletOptions, ownerAddress, reownWallet?.icon]);
1215
1222
  if (showConnectStep) {
1216
1223
  return /* @__PURE__ */ jsx2("div", { className: "rs-modal-body", children: /* @__PURE__ */ jsx2(
1217
1224
  ConnectStep,
@@ -1234,24 +1241,18 @@ function WithdrawFlow({
1234
1241
  }
1235
1242
  if (!signerContext) return null;
1236
1243
  if (!onSignTransaction && !signerContext.walletClient) return null;
1237
- const ownerAddress = signerContext.ownerAddress;
1244
+ const resolvedOwnerAddress = signerContext.ownerAddress;
1238
1245
  const formPublicClient = signerContext.publicClient ?? getPublicClient(sourceChain);
1239
- const selectedWalletIcon = useMemo2(() => {
1240
- const selected = walletOptions.find(
1241
- (o) => o.address.toLowerCase() === ownerAddress.toLowerCase()
1242
- );
1243
- return selected?.icon ?? reownWallet?.icon;
1244
- }, [walletOptions, ownerAddress, reownWallet?.icon]);
1245
1246
  return /* @__PURE__ */ jsxs2("div", { className: "rs-modal-body", children: [
1246
1247
  step.type === "form" && /* @__PURE__ */ jsx2(
1247
1248
  WithdrawFormStep,
1248
1249
  {
1249
1250
  walletClient: signerContext.walletClient,
1250
1251
  publicClient: formPublicClient,
1251
- address: ownerAddress,
1252
+ address: resolvedOwnerAddress,
1252
1253
  safeAddress,
1253
1254
  asset,
1254
- defaultRecipient: defaultRecipient ?? ownerAddress,
1255
+ defaultRecipient: defaultRecipient ?? resolvedOwnerAddress,
1255
1256
  defaultAmount,
1256
1257
  targetChain,
1257
1258
  targetToken,
@@ -1292,7 +1293,7 @@ function WithdrawFlow({
1292
1293
  // src/WithdrawModal.tsx
1293
1294
  import { jsx as jsx3, jsxs as jsxs3 } from "react/jsx-runtime";
1294
1295
  var ReownWithdrawInner = lazy(
1295
- () => import("./WithdrawModalReown-PMPLUJBE.mjs").then((m) => ({
1296
+ () => import("./WithdrawModalReown-E3OEW7QZ.mjs").then((m) => ({
1296
1297
  default: m.WithdrawModalReown
1297
1298
  }))
1298
1299
  );
@@ -1887,14 +1887,14 @@ function DepositFlow({
1887
1887
  }
1888
1888
  return null;
1889
1889
  }, [selectedConnectAddress, walletOptions]);
1890
- const walletOptionsKey = _react.useMemo.call(void 0,
1891
- () => walletOptions.map((option) => option.address.toLowerCase()).join(","),
1892
- [walletOptions]
1893
- );
1894
1890
  const hasNavigatedBackRef = _react.useRef.call(void 0, false);
1895
1891
  _react.useEffect.call(void 0, () => {
1896
- setIsConnectSelectionConfirmed(false);
1897
- }, [walletOptionsKey]);
1892
+ if (!showConnectStep && isConnectSelectionConfirmed && flowMode === "wallet" && !signerContext) {
1893
+ setSelectedConnectAddress(null);
1894
+ setIsConnectSelectionConfirmed(false);
1895
+ setFlowMode(null);
1896
+ }
1897
+ }, [showConnectStep, isConnectSelectionConfirmed, flowMode, signerContext]);
1898
1898
  _react.useEffect.call(void 0, () => {
1899
1899
  if (hasNavigatedBackRef.current || isConnectSelectionConfirmed || flowMode) {
1900
1900
  return;
@@ -2099,7 +2099,7 @@ function DepositFlow({
2099
2099
  // src/DepositModal.tsx
2100
2100
 
2101
2101
  var ReownDepositInner = _react.lazy.call(void 0,
2102
- () => Promise.resolve().then(() => _interopRequireWildcard(require("./DepositModalReown-VNKZT5A7.cjs"))).then((m) => ({ default: m.DepositModalReown }))
2102
+ () => Promise.resolve().then(() => _interopRequireWildcard(require("./DepositModalReown-TLKQ7Y4X.cjs"))).then((m) => ({ default: m.DepositModalReown }))
2103
2103
  );
2104
2104
  function DepositModal(props) {
2105
2105
  const needsReown = !!props.reownAppId;
package/dist/deposit.cjs CHANGED
@@ -1,8 +1,8 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkSIGTZB3Ccjs = require('./chunk-SIGTZB3C.cjs');
3
+ var _chunkYCXVHPGZcjs = require('./chunk-YCXVHPGZ.cjs');
4
4
  require('./chunk-YIHOACM3.cjs');
5
5
  require('./chunk-S4UBVD3H.cjs');
6
6
 
7
7
 
8
- exports.DepositModal = _chunkSIGTZB3Ccjs.DepositModal;
8
+ exports.DepositModal = _chunkYCXVHPGZcjs.DepositModal;
package/dist/deposit.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  DepositModal
3
- } from "./chunk-HNDZ6G5K.mjs";
3
+ } from "./chunk-DL5M5QZZ.mjs";
4
4
  import "./chunk-DLFUXLAM.mjs";
5
5
  import "./chunk-C6I5TFSL.mjs";
6
6
  export {
package/dist/index.cjs CHANGED
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkSIGTZB3Ccjs = require('./chunk-SIGTZB3C.cjs');
3
+ var _chunkYCXVHPGZcjs = require('./chunk-YCXVHPGZ.cjs');
4
4
 
5
5
 
6
- var _chunk4WXSBBHQcjs = require('./chunk-4WXSBBHQ.cjs');
6
+ var _chunkDQO6MO27cjs = require('./chunk-DQO6MO27.cjs');
7
7
  require('./chunk-YIHOACM3.cjs');
8
8
 
9
9
 
@@ -66,4 +66,4 @@ var _chunkS4UBVD3Hcjs = require('./chunk-S4UBVD3H.cjs');
66
66
 
67
67
 
68
68
 
69
- exports.CHAIN_BY_ID = _chunkS4UBVD3Hcjs.CHAIN_BY_ID; exports.DEFAULT_BACKEND_URL = _chunkS4UBVD3Hcjs.DEFAULT_BACKEND_URL; exports.DEFAULT_SIGNER_ADDRESS = _chunkS4UBVD3Hcjs.DEFAULT_SIGNER_ADDRESS; exports.DepositModal = _chunkSIGTZB3Ccjs.DepositModal; exports.NATIVE_TOKEN_ADDRESS = _chunkS4UBVD3Hcjs.NATIVE_TOKEN_ADDRESS; exports.SOURCE_CHAINS = _chunkS4UBVD3Hcjs.SOURCE_CHAINS; exports.SUPPORTED_CHAINS = _chunkS4UBVD3Hcjs.SUPPORTED_CHAINS; exports.WithdrawModal = _chunk4WXSBBHQcjs.WithdrawModal; exports.chainRegistry = _chunkS4UBVD3Hcjs.chainRegistry; exports.findChainIdForToken = _chunkS4UBVD3Hcjs.findChainIdForToken; exports.getChainBadge = _chunkS4UBVD3Hcjs.getChainBadge; exports.getChainIcon = _chunkS4UBVD3Hcjs.getChainIcon; exports.getChainId = _chunkS4UBVD3Hcjs.getChainId; exports.getChainName = _chunkS4UBVD3Hcjs.getChainName; exports.getChainObject = _chunkS4UBVD3Hcjs.getChainObject; exports.getExplorerName = _chunkS4UBVD3Hcjs.getExplorerName; exports.getExplorerTxUrl = _chunkS4UBVD3Hcjs.getExplorerTxUrl; exports.getExplorerUrl = _chunkS4UBVD3Hcjs.getExplorerUrl; exports.getSupportedChainIds = _chunkS4UBVD3Hcjs.getSupportedChainIds; exports.getSupportedTargetTokens = _chunkS4UBVD3Hcjs.getSupportedTargetTokens; exports.getSupportedTokenSymbolsForChain = _chunkS4UBVD3Hcjs.getSupportedTokenSymbolsForChain; exports.getTargetTokenSymbolsForChain = _chunkS4UBVD3Hcjs.getTargetTokenSymbolsForChain; exports.getTokenAddress = _chunkS4UBVD3Hcjs.getTokenAddress; exports.getTokenDecimals = _chunkS4UBVD3Hcjs.getTokenDecimals; exports.getTokenDecimalsByAddress = _chunkS4UBVD3Hcjs.getTokenDecimalsByAddress; exports.getTokenIcon = _chunkS4UBVD3Hcjs.getTokenIcon; exports.getTokenSymbol = _chunkS4UBVD3Hcjs.getTokenSymbol; exports.getUsdcAddress = _chunkS4UBVD3Hcjs.getUsdcAddress; exports.getUsdcDecimals = _chunkS4UBVD3Hcjs.getUsdcDecimals; exports.isSupportedTokenAddressForChain = _chunkS4UBVD3Hcjs.isSupportedTokenAddressForChain;
69
+ exports.CHAIN_BY_ID = _chunkS4UBVD3Hcjs.CHAIN_BY_ID; exports.DEFAULT_BACKEND_URL = _chunkS4UBVD3Hcjs.DEFAULT_BACKEND_URL; exports.DEFAULT_SIGNER_ADDRESS = _chunkS4UBVD3Hcjs.DEFAULT_SIGNER_ADDRESS; exports.DepositModal = _chunkYCXVHPGZcjs.DepositModal; exports.NATIVE_TOKEN_ADDRESS = _chunkS4UBVD3Hcjs.NATIVE_TOKEN_ADDRESS; exports.SOURCE_CHAINS = _chunkS4UBVD3Hcjs.SOURCE_CHAINS; exports.SUPPORTED_CHAINS = _chunkS4UBVD3Hcjs.SUPPORTED_CHAINS; exports.WithdrawModal = _chunkDQO6MO27cjs.WithdrawModal; exports.chainRegistry = _chunkS4UBVD3Hcjs.chainRegistry; exports.findChainIdForToken = _chunkS4UBVD3Hcjs.findChainIdForToken; exports.getChainBadge = _chunkS4UBVD3Hcjs.getChainBadge; exports.getChainIcon = _chunkS4UBVD3Hcjs.getChainIcon; exports.getChainId = _chunkS4UBVD3Hcjs.getChainId; exports.getChainName = _chunkS4UBVD3Hcjs.getChainName; exports.getChainObject = _chunkS4UBVD3Hcjs.getChainObject; exports.getExplorerName = _chunkS4UBVD3Hcjs.getExplorerName; exports.getExplorerTxUrl = _chunkS4UBVD3Hcjs.getExplorerTxUrl; exports.getExplorerUrl = _chunkS4UBVD3Hcjs.getExplorerUrl; exports.getSupportedChainIds = _chunkS4UBVD3Hcjs.getSupportedChainIds; exports.getSupportedTargetTokens = _chunkS4UBVD3Hcjs.getSupportedTargetTokens; exports.getSupportedTokenSymbolsForChain = _chunkS4UBVD3Hcjs.getSupportedTokenSymbolsForChain; exports.getTargetTokenSymbolsForChain = _chunkS4UBVD3Hcjs.getTargetTokenSymbolsForChain; exports.getTokenAddress = _chunkS4UBVD3Hcjs.getTokenAddress; exports.getTokenDecimals = _chunkS4UBVD3Hcjs.getTokenDecimals; exports.getTokenDecimalsByAddress = _chunkS4UBVD3Hcjs.getTokenDecimalsByAddress; exports.getTokenIcon = _chunkS4UBVD3Hcjs.getTokenIcon; exports.getTokenSymbol = _chunkS4UBVD3Hcjs.getTokenSymbol; exports.getUsdcAddress = _chunkS4UBVD3Hcjs.getUsdcAddress; exports.getUsdcDecimals = _chunkS4UBVD3Hcjs.getUsdcDecimals; exports.isSupportedTokenAddressForChain = _chunkS4UBVD3Hcjs.isSupportedTokenAddressForChain;
package/dist/index.mjs CHANGED
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  DepositModal
3
- } from "./chunk-HNDZ6G5K.mjs";
3
+ } from "./chunk-DL5M5QZZ.mjs";
4
4
  import {
5
5
  WithdrawModal
6
- } from "./chunk-ECLVABYN.mjs";
6
+ } from "./chunk-EIWNQ2MO.mjs";
7
7
  import "./chunk-DLFUXLAM.mjs";
8
8
  import {
9
9
  CHAIN_BY_ID,
package/dist/reown.cjs CHANGED
@@ -1,12 +1,12 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkSIGTZB3Ccjs = require('./chunk-SIGTZB3C.cjs');
3
+ var _chunkYCXVHPGZcjs = require('./chunk-YCXVHPGZ.cjs');
4
4
 
5
5
 
6
- var _chunk4WXSBBHQcjs = require('./chunk-4WXSBBHQ.cjs');
6
+ var _chunkDQO6MO27cjs = require('./chunk-DQO6MO27.cjs');
7
7
  require('./chunk-YIHOACM3.cjs');
8
8
  require('./chunk-S4UBVD3H.cjs');
9
9
 
10
10
 
11
11
 
12
- exports.DepositModal = _chunkSIGTZB3Ccjs.DepositModal; exports.WithdrawModal = _chunk4WXSBBHQcjs.WithdrawModal;
12
+ exports.DepositModal = _chunkYCXVHPGZcjs.DepositModal; exports.WithdrawModal = _chunkDQO6MO27cjs.WithdrawModal;
package/dist/reown.mjs CHANGED
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  DepositModal
3
- } from "./chunk-HNDZ6G5K.mjs";
3
+ } from "./chunk-DL5M5QZZ.mjs";
4
4
  import {
5
5
  WithdrawModal
6
- } from "./chunk-ECLVABYN.mjs";
6
+ } from "./chunk-EIWNQ2MO.mjs";
7
7
  import "./chunk-DLFUXLAM.mjs";
8
8
  import "./chunk-C6I5TFSL.mjs";
9
9
  export {
package/dist/withdraw.cjs CHANGED
@@ -1,8 +1,8 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunk4WXSBBHQcjs = require('./chunk-4WXSBBHQ.cjs');
3
+ var _chunkDQO6MO27cjs = require('./chunk-DQO6MO27.cjs');
4
4
  require('./chunk-YIHOACM3.cjs');
5
5
  require('./chunk-S4UBVD3H.cjs');
6
6
 
7
7
 
8
- exports.WithdrawModal = _chunk4WXSBBHQcjs.WithdrawModal;
8
+ exports.WithdrawModal = _chunkDQO6MO27cjs.WithdrawModal;
package/dist/withdraw.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  WithdrawModal
3
- } from "./chunk-ECLVABYN.mjs";
3
+ } from "./chunk-EIWNQ2MO.mjs";
4
4
  import "./chunk-DLFUXLAM.mjs";
5
5
  import "./chunk-C6I5TFSL.mjs";
6
6
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rhinestone/deposit-modal",
3
- "version": "0.1.33",
3
+ "version": "0.1.34",
4
4
  "description": "React modal component for Rhinestone cross-chain deposits",
5
5
  "author": "Rhinestone <dev@rhinestone.wtf>",
6
6
  "bugs": {