@rhinestone/deposit-modal 0.5.0 → 0.5.1

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.
@@ -32,7 +32,8 @@
32
32
 
33
33
 
34
34
 
35
- var _chunkPPFG3VBDcjs = require('./chunk-PPFG3VBD.cjs');
35
+
36
+ var _chunkPDFLALUTcjs = require('./chunk-PDFLALUT.cjs');
36
37
 
37
38
 
38
39
 
@@ -263,7 +264,7 @@ function WithdrawFormStep({
263
264
  setIsSwitching(true);
264
265
  switchChain(asset.chainId).catch((err) => {
265
266
  const raw = err instanceof Error ? err.message : "Failed to switch chain";
266
- setError(_chunkPPFG3VBDcjs.formatUserError.call(void 0, raw));
267
+ setError(_chunkPDFLALUTcjs.formatUserError.call(void 0, raw));
267
268
  }).finally(() => {
268
269
  setIsSwitching(false);
269
270
  });
@@ -283,7 +284,7 @@ function WithdrawFormStep({
283
284
  return;
284
285
  }
285
286
  try {
286
- const bal = _chunkPPFG3VBDcjs.isNativeAsset.call(void 0, asset) ? await publicClient.getBalance({ address: safeAddress }) : await publicClient.readContract({
287
+ const bal = _chunkPDFLALUTcjs.isNativeAsset.call(void 0, asset) ? await publicClient.getBalance({ address: safeAddress }) : await publicClient.readContract({
287
288
  address: asset.token,
288
289
  abi: _viem.erc20Abi,
289
290
  functionName: "balanceOf",
@@ -394,7 +395,7 @@ function WithdrawFormStep({
394
395
  await onSubmit(recipient, amount);
395
396
  } catch (err) {
396
397
  const raw = err instanceof Error ? err.message : "Withdrawal failed";
397
- setError(_chunkPPFG3VBDcjs.formatUserError.call(void 0, raw));
398
+ setError(_chunkPDFLALUTcjs.formatUserError.call(void 0, raw));
398
399
  } finally {
399
400
  setIsSubmitting(false);
400
401
  }
@@ -410,16 +411,16 @@ function WithdrawFormStep({
410
411
  if (isBalanceLoading) {
411
412
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen", children: [
412
413
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body rs-withdraw-loading", children: [
413
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPPFG3VBDcjs.Spinner, { className: "rs-spinner--lg" }),
414
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPDFLALUTcjs.Spinner, { className: "rs-spinner--lg" }),
414
415
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-withdraw-loading-title", children: "Loading on-chain balance" }),
415
416
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-withdraw-loading-subtitle", children: chainMismatch ? `Switch to ${_chunkABVRVW3Pcjs.getChainName.call(void 0, asset.chainId)} to continue.` : "Please wait before withdrawing." })
416
417
  ] }),
417
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPPFG3VBDcjs.PoweredBy, {})
418
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPDFLALUTcjs.PoweredBy, {})
418
419
  ] });
419
420
  }
420
421
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen", children: [
421
422
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body", children: [
422
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPPFG3VBDcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPPFG3VBDcjs.CircleArrowOutUpLeftIcon, {}), title: "Withdraw" }),
423
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPDFLALUTcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPDFLALUTcjs.CircleArrowOutUpLeftIcon, {}), title: "Withdraw" }),
423
424
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-withdraw-section", children: [
424
425
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
425
426
  "label",
@@ -465,7 +466,7 @@ function WithdrawFormStep({
465
466
  ),
466
467
  isRecipientConnected ? null : "Use connected"
467
468
  ] }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
468
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPPFG3VBDcjs.WalletIcon, { className: "rs-withdraw-use-connected-icon" }),
469
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPDFLALUTcjs.WalletIcon, { className: "rs-withdraw-use-connected-icon" }),
469
470
  isRecipientConnected ? null : "Use connected"
470
471
  ] })
471
472
  }
@@ -505,7 +506,7 @@ function WithdrawFormStep({
505
506
  ) })
506
507
  ] }),
507
508
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-withdraw-amount-info", children: [
508
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-withdraw-usd", children: amountUsd !== null ? _chunkPPFG3VBDcjs.currencyFormatter.format(amountUsd) : "$0.00" }),
509
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-withdraw-usd", children: amountUsd !== null ? _chunkPDFLALUTcjs.currencyFormatter.format(amountUsd) : "$0.00" }),
509
510
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "rs-withdraw-balance", children: [
510
511
  "Balance: ",
511
512
  formattedBalance,
@@ -546,7 +547,7 @@ function WithdrawFormStep({
546
547
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: targetChainName })
547
548
  ] }),
548
549
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
549
- _chunkPPFG3VBDcjs.ChevronDownIcon,
550
+ _chunkPDFLALUTcjs.ChevronDownIcon,
550
551
  {
551
552
  className: "rs-withdraw-dropdown-arrow",
552
553
  style: {
@@ -615,7 +616,7 @@ function WithdrawFormStep({
615
616
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: targetSymbol })
616
617
  ] }),
617
618
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
618
- _chunkPPFG3VBDcjs.ChevronDownIcon,
619
+ _chunkPDFLALUTcjs.ChevronDownIcon,
619
620
  {
620
621
  className: "rs-withdraw-dropdown-arrow",
621
622
  style: {
@@ -655,10 +656,10 @@ function WithdrawFormStep({
655
656
  ] })
656
657
  ] }),
657
658
  chainMismatch && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-chain-switch", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-chain-switch-text", children: isSwitching ? `Switching to ${_chunkABVRVW3Pcjs.getChainName.call(void 0, asset.chainId)}...` : `Switch to ${_chunkABVRVW3Pcjs.getChainName.call(void 0, asset.chainId)} to continue.` }) }),
658
- error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPPFG3VBDcjs.Callout, { variant: "error", children: error }),
659
- !error && registrationError && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPPFG3VBDcjs.Callout, { variant: "error", children: registrationError }),
659
+ error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPDFLALUTcjs.Callout, { variant: "error", children: error }),
660
+ !error && registrationError && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPDFLALUTcjs.Callout, { variant: "error", children: registrationError }),
660
661
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
661
- _chunkPPFG3VBDcjs.Button,
662
+ _chunkPDFLALUTcjs.Button,
662
663
  {
663
664
  onClick: handleWithdraw,
664
665
  fullWidth: true,
@@ -668,7 +669,7 @@ function WithdrawFormStep({
668
669
  }
669
670
  )
670
671
  ] }),
671
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPPFG3VBDcjs.PoweredBy, {})
672
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPDFLALUTcjs.PoweredBy, {})
672
673
  ] });
673
674
  }
674
675
  WithdrawFormStep.displayName = "WithdrawFormStep";
@@ -703,9 +704,9 @@ function WithdrawReviewStep({
703
704
  const sourceTokenIcon = _chunkABVRVW3Pcjs.getTokenIcon.call(void 0, sourceSymbol);
704
705
  const targetTokenIcon = _chunkABVRVW3Pcjs.getTokenIcon.call(void 0, targetSymbol);
705
706
  const amountNumber = Number(amount);
706
- const formattedSendAmount = _nullishCoalesce(_chunkPPFG3VBDcjs.formatTokenAmount.call(void 0, amountNumber, sourceSymbol), () => ( amount));
707
- const prices = _chunkPPFG3VBDcjs.useTokenPrices.call(void 0, service, [sourceSymbol, targetSymbol]);
708
- const receiveDisplay = _nullishCoalesce(_chunkPPFG3VBDcjs.formatReceiveEstimate.call(void 0, {
707
+ const formattedSendAmount = _nullishCoalesce(_chunkPDFLALUTcjs.formatTokenAmount.call(void 0, amountNumber, sourceSymbol), () => ( amount));
708
+ const prices = _chunkPDFLALUTcjs.useTokenPrices.call(void 0, service, [sourceSymbol, targetSymbol]);
709
+ const receiveDisplay = _nullishCoalesce(_chunkPDFLALUTcjs.formatReceiveEstimate.call(void 0, {
709
710
  sourceAmount: Number.isFinite(amountNumber) ? amountNumber : void 0,
710
711
  sourceSymbol,
711
712
  targetSymbol,
@@ -719,7 +720,7 @@ function WithdrawReviewStep({
719
720
  await onConfirm();
720
721
  } catch (err) {
721
722
  const raw = err instanceof Error ? err.message : "Withdraw failed";
722
- const message = _chunkPPFG3VBDcjs.formatUserError.call(void 0, raw);
723
+ const message = _chunkPDFLALUTcjs.formatUserError.call(void 0, raw);
723
724
  setError(message);
724
725
  _optionalChain([onError, 'optionalCall', _10 => _10(message, "WITHDRAW_REVIEW_ERROR")]);
725
726
  } finally {
@@ -730,9 +731,9 @@ function WithdrawReviewStep({
730
731
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen", children: [
731
732
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body rs-screen-body--gap-32", children: [
732
733
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
733
- _chunkPPFG3VBDcjs.BodyHeader,
734
+ _chunkPDFLALUTcjs.BodyHeader,
734
735
  {
735
- icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPPFG3VBDcjs.CircleArrowOutUpLeftIcon, {}),
736
+ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPDFLALUTcjs.CircleArrowOutUpLeftIcon, {}),
736
737
  title: "Review withdrawal"
737
738
  }
738
739
  ),
@@ -778,10 +779,10 @@ function WithdrawReviewStep({
778
779
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-value", children: estimatedTime })
779
780
  ] })
780
781
  ] }),
781
- error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPPFG3VBDcjs.Callout, { variant: "error", children: error }),
782
- !error && registrationError && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPPFG3VBDcjs.Callout, { variant: "error", children: registrationError }),
782
+ error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPDFLALUTcjs.Callout, { variant: "error", children: error }),
783
+ !error && registrationError && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPDFLALUTcjs.Callout, { variant: "error", children: registrationError }),
783
784
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
784
- _chunkPPFG3VBDcjs.Button,
785
+ _chunkPDFLALUTcjs.Button,
785
786
  {
786
787
  onClick: handleConfirm,
787
788
  loading: isSubmitting,
@@ -792,7 +793,7 @@ function WithdrawReviewStep({
792
793
  }
793
794
  )
794
795
  ] }),
795
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPPFG3VBDcjs.PoweredBy, {})
796
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPDFLALUTcjs.PoweredBy, {})
796
797
  ] });
797
798
  }
798
799
  WithdrawReviewStep.displayName = "WithdrawReviewStep";
@@ -804,15 +805,15 @@ var ADDR_REGEX = /^0x[a-fA-F0-9]{40}$/;
804
805
  var REGISTRATION_DEBOUNCE_MS = 600;
805
806
  var WITHDRAW_INDEXING_DELAY_MS = 2e3;
806
807
  function resolveSessionOwner(eoaAddress) {
807
- const localOwner = _chunkPPFG3VBDcjs.loadSessionOwnerFromStorage.call(void 0, eoaAddress);
808
+ const localOwner = _chunkPDFLALUTcjs.loadSessionOwnerFromStorage.call(void 0, eoaAddress);
808
809
  if (localOwner) {
809
810
  return {
810
- account: _chunkPPFG3VBDcjs.accountFromPrivateKey.call(void 0, localOwner.privateKey),
811
+ account: _chunkPDFLALUTcjs.accountFromPrivateKey.call(void 0, localOwner.privateKey),
811
812
  address: localOwner.address
812
813
  };
813
814
  }
814
- const created = _chunkPPFG3VBDcjs.createSessionOwnerKey.call(void 0, );
815
- _chunkPPFG3VBDcjs.saveSessionOwnerToStorage.call(void 0, eoaAddress, created.privateKey, created.address);
815
+ const created = _chunkPDFLALUTcjs.createSessionOwnerKey.call(void 0, );
816
+ _chunkPDFLALUTcjs.saveSessionOwnerToStorage.call(void 0, eoaAddress, created.privateKey, created.address);
816
817
  return { account: created.account, address: created.address };
817
818
  }
818
819
  function targetsEqual(a, b) {
@@ -847,11 +848,11 @@ function WithdrawFlow({
847
848
  onError,
848
849
  debug
849
850
  }) {
850
- const rpcUrls = _chunkPPFG3VBDcjs.useRpcUrls.call(void 0, );
851
- const onStepChangeRef = _chunkPPFG3VBDcjs.useLatestRef.call(void 0, onStepChange);
852
- const onEventRef = _chunkPPFG3VBDcjs.useLatestRef.call(void 0, onEvent);
853
- const onLifecycleRef = _chunkPPFG3VBDcjs.useLatestRef.call(void 0, onLifecycle);
854
- const onErrorRef = _chunkPPFG3VBDcjs.useLatestRef.call(void 0, onError);
851
+ const rpcUrls = _chunkPDFLALUTcjs.useRpcUrls.call(void 0, );
852
+ const onStepChangeRef = _chunkPDFLALUTcjs.useLatestRef.call(void 0, onStepChange);
853
+ const onEventRef = _chunkPDFLALUTcjs.useLatestRef.call(void 0, onEvent);
854
+ const onLifecycleRef = _chunkPDFLALUTcjs.useLatestRef.call(void 0, onLifecycle);
855
+ const onErrorRef = _chunkPDFLALUTcjs.useLatestRef.call(void 0, onError);
855
856
  const isFlowActiveRef = _react.useRef.call(void 0, true);
856
857
  const submitGenerationRef = _react.useRef.call(void 0, 0);
857
858
  _react.useEffect.call(void 0, () => {
@@ -862,13 +863,13 @@ function WithdrawFlow({
862
863
  }, []);
863
864
  const logFlow = _react.useCallback.call(void 0,
864
865
  (message, data) => {
865
- _chunkPPFG3VBDcjs.debugLog.call(void 0, debug, "withdraw-flow", message, data);
866
+ _chunkPDFLALUTcjs.debugLog.call(void 0, debug, "withdraw-flow", message, data);
866
867
  },
867
868
  [debug]
868
869
  );
869
870
  const logFlowError = _react.useCallback.call(void 0,
870
871
  (message, error, data) => {
871
- _chunkPPFG3VBDcjs.debugError.call(void 0, debug, "withdraw-flow", message, error, data);
872
+ _chunkPDFLALUTcjs.debugError.call(void 0, debug, "withdraw-flow", message, error, data);
872
873
  },
873
874
  [debug]
874
875
  );
@@ -944,14 +945,14 @@ function WithdrawFlow({
944
945
  return {
945
946
  ownerAddress: dappAddress,
946
947
  walletClient: _nullishCoalesce(dappWalletClient, () => ( void 0)),
947
- publicClient: _nullishCoalesce(dappPublicClient, () => ( _chunkPPFG3VBDcjs.getPublicClient.call(void 0, sourceChain, rpcUrls))),
948
+ publicClient: _nullishCoalesce(dappPublicClient, () => ( _chunkPDFLALUTcjs.getPublicClient.call(void 0, sourceChain, rpcUrls))),
948
949
  switchChain: dappSwitchChain
949
950
  };
950
951
  }
951
952
  return {
952
953
  ownerAddress: dappWalletClient.account.address,
953
954
  walletClient: dappWalletClient,
954
- publicClient: _nullishCoalesce(dappPublicClient, () => ( _chunkPPFG3VBDcjs.getPublicClient.call(void 0, sourceChain, rpcUrls))),
955
+ publicClient: _nullishCoalesce(dappPublicClient, () => ( _chunkPDFLALUTcjs.getPublicClient.call(void 0, sourceChain, rpcUrls))),
955
956
  switchChain: dappSwitchChain
956
957
  };
957
958
  }
@@ -962,7 +963,7 @@ function WithdrawFlow({
962
963
  return {
963
964
  ownerAddress: dappWalletClient.account.address,
964
965
  walletClient: dappWalletClient,
965
- publicClient: _nullishCoalesce(dappPublicClient, () => ( _chunkPPFG3VBDcjs.getPublicClient.call(void 0, sourceChain, rpcUrls))),
966
+ publicClient: _nullishCoalesce(dappPublicClient, () => ( _chunkPDFLALUTcjs.getPublicClient.call(void 0, sourceChain, rpcUrls))),
966
967
  switchChain: dappSwitchChain
967
968
  };
968
969
  }
@@ -1045,7 +1046,7 @@ function WithdrawFlow({
1045
1046
  message: typedData.message
1046
1047
  });
1047
1048
  if (cancelled) return;
1048
- const sessionDetails = _chunkPPFG3VBDcjs.buildSessionDetails.call(void 0,
1049
+ const sessionDetails = _chunkPDFLALUTcjs.buildSessionDetails.call(void 0,
1049
1050
  setup.sessionDetailsUnsigned,
1050
1051
  signature
1051
1052
  );
@@ -1082,7 +1083,7 @@ function WithdrawFlow({
1082
1083
  } catch (err) {
1083
1084
  if (cancelled) return;
1084
1085
  const raw = err instanceof Error ? err.message : "Registration failed";
1085
- const message = _chunkPPFG3VBDcjs.formatUserError.call(void 0, raw);
1086
+ const message = _chunkPDFLALUTcjs.formatUserError.call(void 0, raw);
1086
1087
  logFlowError("auto-register:failed", err, {
1087
1088
  ownerAddress,
1088
1089
  targetChain,
@@ -1118,7 +1119,7 @@ function WithdrawFlow({
1118
1119
  const symbol = _chunkABVRVW3Pcjs.getTokenSymbol.call(void 0, sourceToken, sourceChain);
1119
1120
  const decimals = _chunkABVRVW3Pcjs.getTokenDecimalsByAddress.call(void 0, sourceToken, sourceChain);
1120
1121
  return {
1121
- id: _chunkPPFG3VBDcjs.getAssetId.call(void 0, { chainId: sourceChain, token: sourceToken }),
1122
+ id: _chunkPDFLALUTcjs.getAssetId.call(void 0, { chainId: sourceChain, token: sourceToken }),
1122
1123
  chainId: sourceChain,
1123
1124
  token: sourceToken,
1124
1125
  symbol,
@@ -1258,7 +1259,7 @@ function WithdrawFlow({
1258
1259
  targetToken
1259
1260
  });
1260
1261
  const amountUnits = _viem.parseUnits.call(void 0, amountValue, asset.decimals);
1261
- const pc = _nullishCoalesce(_optionalChain([signerContext, 'optionalAccess', _46 => _46.publicClient]), () => ( _chunkPPFG3VBDcjs.getPublicClient.call(void 0, sourceChain, rpcUrls)));
1262
+ const pc = _nullishCoalesce(_optionalChain([signerContext, 'optionalAccess', _46 => _46.publicClient]), () => ( _chunkPDFLALUTcjs.getPublicClient.call(void 0, sourceChain, rpcUrls)));
1262
1263
  let result;
1263
1264
  if (onSignTransaction) {
1264
1265
  const transferTarget = isSameRoute ? recipient : smartAccount;
@@ -1346,7 +1347,7 @@ function WithdrawFlow({
1346
1347
  targetChain,
1347
1348
  targetToken
1348
1349
  });
1349
- handleError(_chunkPPFG3VBDcjs.formatUserError.call(void 0, raw), "WITHDRAW_FLOW_ERROR");
1350
+ handleError(_chunkPDFLALUTcjs.formatUserError.call(void 0, raw), "WITHDRAW_FLOW_ERROR");
1350
1351
  throw err;
1351
1352
  }
1352
1353
  },
@@ -1486,7 +1487,7 @@ function WithdrawFlow({
1486
1487
  state: "ready"
1487
1488
  }));
1488
1489
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-modal-body", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1489
- _chunkPPFG3VBDcjs.ConnectStep,
1490
+ _chunkPDFLALUTcjs.ConnectStep,
1490
1491
  {
1491
1492
  walletRows: withdrawRows,
1492
1493
  onConfirmWallet: (walletId) => {
@@ -1504,7 +1505,7 @@ function WithdrawFlow({
1504
1505
  if (!signerContext) return null;
1505
1506
  if (!onSignTransaction && !signerContext.walletClient) return null;
1506
1507
  const resolvedConnectedRecipient = _optionalChain([selectedWalletOption, 'optionalAccess', _63 => _63.kind]) === "external" ? selectedWalletOption.address : void 0;
1507
- const formPublicClient = _nullishCoalesce(signerContext.publicClient, () => ( _chunkPPFG3VBDcjs.getPublicClient.call(void 0, sourceChain, rpcUrls)));
1508
+ const formPublicClient = _nullishCoalesce(signerContext.publicClient, () => ( _chunkPDFLALUTcjs.getPublicClient.call(void 0, sourceChain, rpcUrls)));
1508
1509
  const depositAddress = registration.kind === "ready" || registration.kind === "stale" ? registration.smartAccount : void 0;
1509
1510
  const stepView = deriveStepView(flowStep, registration);
1510
1511
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-modal-body", children: [
@@ -1551,7 +1552,7 @@ function WithdrawFlow({
1551
1552
  }
1552
1553
  ),
1553
1554
  stepView === "processing" && registration.kind !== "idle" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1554
- _chunkPPFG3VBDcjs.ProcessingStep,
1555
+ _chunkPDFLALUTcjs.ProcessingStep,
1555
1556
  {
1556
1557
  smartAccount: registration.kind === "ready" || registration.kind === "stale" ? registration.smartAccount : "0x0",
1557
1558
  txHash: _nullishCoalesce(storeApi.getState().txHash, () => ( "0x0")),
@@ -1593,7 +1594,7 @@ function deriveStepView(step, _registration) {
1593
1594
  // src/WithdrawModal.tsx
1594
1595
 
1595
1596
  var ReownWithdrawInner = _react.lazy.call(void 0,
1596
- () => Promise.resolve().then(() => _interopRequireWildcard(require("./WithdrawModalReown-LIP6FHCB.cjs"))).then((m) => ({
1597
+ () => Promise.resolve().then(() => _interopRequireWildcard(require("./WithdrawModalReown-USNQEAEM.cjs"))).then((m) => ({
1597
1598
  default: m.WithdrawModalReown
1598
1599
  }))
1599
1600
  );
@@ -1622,7 +1623,7 @@ function WithdrawModalInner({
1622
1623
  closeOnOverlayClick,
1623
1624
  allowedRoutes,
1624
1625
  backendUrl = _chunkABVRVW3Pcjs.DEFAULT_BACKEND_URL,
1625
- rpcUrls,
1626
+ rpcUrls: rpcUrlsProp,
1626
1627
  signerAddress = _chunkABVRVW3Pcjs.DEFAULT_SIGNER_ADDRESS,
1627
1628
  sessionChainIds,
1628
1629
  forceRegister = false,
@@ -1641,18 +1642,19 @@ function WithdrawModalInner({
1641
1642
  debug
1642
1643
  }) {
1643
1644
  const modalRef = _react.useRef.call(void 0, null);
1644
- const onReadyRef = _chunkPPFG3VBDcjs.useLatestRef.call(void 0, onReady);
1645
+ const onReadyRef = _chunkPDFLALUTcjs.useLatestRef.call(void 0, onReady);
1645
1646
  const [backHandler, setBackHandler] = _react.useState.call(void 0,
1646
1647
  void 0
1647
1648
  );
1648
1649
  const targetChain = _chunkABVRVW3Pcjs.getChainId.call(void 0, targetChainProp);
1649
1650
  const sourceChain = _chunkABVRVW3Pcjs.getChainId.call(void 0, sourceChainProp);
1651
+ const rpcUrls = _chunkPDFLALUTcjs.useStableRpcUrls.call(void 0, rpcUrlsProp);
1650
1652
  const service = _react.useMemo.call(void 0,
1651
- () => _chunkPPFG3VBDcjs.createDepositService.call(void 0, backendUrl, { debug, debugScope: "service:withdraw" }),
1653
+ () => _chunkPDFLALUTcjs.createDepositService.call(void 0, backendUrl, { debug, debugScope: "service:withdraw" }),
1652
1654
  [backendUrl, debug]
1653
1655
  );
1654
1656
  const store = _react.useMemo.call(void 0, () => createWithdrawStore(), []);
1655
- const onErrorRef = _chunkPPFG3VBDcjs.useLatestRef.call(void 0, onError);
1657
+ const onErrorRef = _chunkPDFLALUTcjs.useLatestRef.call(void 0, onError);
1656
1658
  _react.useEffect.call(void 0, () => {
1657
1659
  if (isOpen && onSignTransaction && !dappAddress) {
1658
1660
  _optionalChain([onErrorRef, 'access', _64 => _64.current, 'optionalCall', _65 => _65({
@@ -1663,7 +1665,7 @@ function WithdrawModalInner({
1663
1665
  }, [isOpen, onSignTransaction, dappAddress, onErrorRef]);
1664
1666
  _react.useEffect.call(void 0, () => {
1665
1667
  if (isOpen && modalRef.current) {
1666
- _chunkPPFG3VBDcjs.applyTheme.call(void 0, modalRef.current, theme);
1668
+ _chunkPDFLALUTcjs.applyTheme.call(void 0, modalRef.current, theme);
1667
1669
  }
1668
1670
  }, [isOpen, theme]);
1669
1671
  _react.useEffect.call(void 0, () => {
@@ -1681,8 +1683,8 @@ function WithdrawModalInner({
1681
1683
  }, []);
1682
1684
  const showBackButton = _nullishCoalesce(_optionalChain([uiConfig, 'optionalAccess', _68 => _68.showBackButton]), () => ( true));
1683
1685
  const canGoBack = backHandler !== void 0;
1684
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPPFG3VBDcjs.RpcUrlsProvider, { value: rpcUrls, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, WithdrawStoreProvider, { store, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1685
- _chunkPPFG3VBDcjs.Modal,
1686
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPDFLALUTcjs.RpcUrlsProvider, { value: rpcUrls, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, WithdrawStoreProvider, { store, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1687
+ _chunkPDFLALUTcjs.Modal,
1686
1688
  {
1687
1689
  isOpen,
1688
1690
  onClose,
@@ -1698,7 +1700,7 @@ function WithdrawModalInner({
1698
1700
  className: "rs-modal-header-back",
1699
1701
  "aria-label": "Go back",
1700
1702
  onClick: backHandler,
1701
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPPFG3VBDcjs.ChevronLeftIcon, {})
1703
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPDFLALUTcjs.ChevronLeftIcon, {})
1702
1704
  }
1703
1705
  ) }),
1704
1706
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-modal-header-nav-right", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -1708,7 +1710,7 @@ function WithdrawModalInner({
1708
1710
  onClick: onClose,
1709
1711
  className: "rs-modal-close",
1710
1712
  "aria-label": "Close",
1711
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPPFG3VBDcjs.CloseIcon, {})
1713
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPDFLALUTcjs.CloseIcon, {})
1712
1714
  }
1713
1715
  ) })
1714
1716
  ] }),
@@ -66,8 +66,9 @@ import {
66
66
  tokenFormatter,
67
67
  txRefsMatch,
68
68
  useLatestRef,
69
- useRpcUrls
70
- } from "./chunk-PS7HJ62M.mjs";
69
+ useRpcUrls,
70
+ useStableRpcUrls
71
+ } from "./chunk-4YLVKTSU.mjs";
71
72
  import {
72
73
  SAFE_ABI
73
74
  } from "./chunk-F7P4MV72.mjs";
@@ -2060,7 +2061,19 @@ import { jsx as jsx7, jsxs as jsxs7 } from "react/jsx-runtime";
2060
2061
  function FinalisingDepositStep() {
2061
2062
  return /* @__PURE__ */ jsxs7("div", { className: "rs-screen rs-finalising", children: [
2062
2063
  /* @__PURE__ */ jsxs7("div", { className: "rs-screen-body rs-finalising-body", children: [
2063
- /* @__PURE__ */ jsx7("span", { className: "rs-finalising-spinner", children: /* @__PURE__ */ jsx7(Spinner, {}) }),
2064
+ /* @__PURE__ */ jsxs7(
2065
+ "svg",
2066
+ {
2067
+ className: "rs-finalising-spinner",
2068
+ viewBox: "0 0 80 80",
2069
+ fill: "none",
2070
+ "aria-hidden": "true",
2071
+ children: [
2072
+ /* @__PURE__ */ jsx7("circle", { className: "rs-finalising-spinner-track", cx: "40", cy: "40", r: "34" }),
2073
+ /* @__PURE__ */ jsx7("circle", { className: "rs-finalising-spinner-head", cx: "40", cy: "40", r: "34" })
2074
+ ]
2075
+ }
2076
+ ),
2064
2077
  /* @__PURE__ */ jsxs7("div", { className: "rs-finalising-text", children: [
2065
2078
  /* @__PURE__ */ jsx7("h2", { className: "rs-finalising-title", children: "Finalising deposit" }),
2066
2079
  /* @__PURE__ */ jsx7("p", { className: "rs-finalising-subtitle", children: "We are depositing your funds to the application." })
@@ -2082,7 +2095,6 @@ var STEP_LABELS = [
2082
2095
  function SwappedOrderTracker({
2083
2096
  amount,
2084
2097
  currency = "USDC",
2085
- chainLabel = "Base",
2086
2098
  stepStates,
2087
2099
  terminal = null,
2088
2100
  onRetry
@@ -2091,7 +2103,7 @@ function SwappedOrderTracker({
2091
2103
  const title = terminal ? terminal.kind === "cancelled" ? "Order cancelled" : "Deposit failed" : formattedAmount ? `Depositing ${formattedAmount} ${currency}` : `Depositing ${currency}`;
2092
2104
  const labels = [
2093
2105
  STEP_LABELS[0],
2094
- `${currency} received on ${chainLabel}`,
2106
+ `${currency} received`,
2095
2107
  STEP_LABELS[2],
2096
2108
  STEP_LABELS[3]
2097
2109
  ];
@@ -7357,7 +7369,7 @@ DepositHistoryPanel.displayName = "DepositHistoryPanel";
7357
7369
  // src/DepositModal.tsx
7358
7370
  import { jsx as jsx21, jsxs as jsxs19 } from "react/jsx-runtime";
7359
7371
  var ReownDepositInner = lazy2(
7360
- () => import("./DepositModalReown-6AO4QURQ.mjs").then((m) => ({ default: m.DepositModalReown }))
7372
+ () => import("./DepositModalReown-YJBDBCRA.mjs").then((m) => ({ default: m.DepositModalReown }))
7361
7373
  );
7362
7374
  function sortByCreatedAtDesc(items) {
7363
7375
  return [...items].sort((a, b) => {
@@ -7407,7 +7419,7 @@ function DepositModalInner({
7407
7419
  recipient,
7408
7420
  appBalanceUsd,
7409
7421
  backendUrl = DEFAULT_BACKEND_URL,
7410
- rpcUrls,
7422
+ rpcUrls: rpcUrlsProp,
7411
7423
  signerAddress = DEFAULT_SIGNER_ADDRESS,
7412
7424
  sessionChainIds,
7413
7425
  forceRegister = false,
@@ -7454,6 +7466,7 @@ function DepositModalInner({
7454
7466
  const historyLoadedRef = useRef9(false);
7455
7467
  const targetChain = targetChainProp === "solana" ? "solana" : getChainId(targetChainProp);
7456
7468
  const sourceChain = sourceChainProp ? getChainId(sourceChainProp) : void 0;
7469
+ const rpcUrls = useStableRpcUrls(rpcUrlsProp);
7457
7470
  const [recipientIsContract, setRecipientIsContract] = useState13(false);
7458
7471
  const onErrorRef = useLatestRef(onError);
7459
7472
  useEffect11(() => {
package/dist/deposit.cjs CHANGED
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkMXFZ6Q7Fcjs = require('./chunk-MXFZ6Q7F.cjs');
3
+ var _chunkAMEXFHB4cjs = require('./chunk-AMEXFHB4.cjs');
4
4
  require('./chunk-NRNJAQUA.cjs');
5
- require('./chunk-PPFG3VBD.cjs');
5
+ require('./chunk-PDFLALUT.cjs');
6
6
  require('./chunk-UEKPBRBY.cjs');
7
7
  require('./chunk-ABVRVW3P.cjs');
8
8
 
9
9
 
10
- exports.DepositModal = _chunkMXFZ6Q7Fcjs.DepositModal;
10
+ exports.DepositModal = _chunkAMEXFHB4cjs.DepositModal;
package/dist/deposit.mjs CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  DepositModal
3
- } from "./chunk-ZYYLKWU2.mjs";
3
+ } from "./chunk-XPJJWJPM.mjs";
4
4
  import "./chunk-FJWLC4AM.mjs";
5
- import "./chunk-PS7HJ62M.mjs";
5
+ import "./chunk-4YLVKTSU.mjs";
6
6
  import "./chunk-F7P4MV72.mjs";
7
7
  import "./chunk-WJX3TJFK.mjs";
8
8
  export {
package/dist/index.cjs CHANGED
@@ -1,11 +1,11 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkMXFZ6Q7Fcjs = require('./chunk-MXFZ6Q7F.cjs');
3
+ var _chunkAMEXFHB4cjs = require('./chunk-AMEXFHB4.cjs');
4
4
  require('./chunk-NRNJAQUA.cjs');
5
5
 
6
6
 
7
- var _chunkXQH2APMOcjs = require('./chunk-XQH2APMO.cjs');
8
- require('./chunk-PPFG3VBD.cjs');
7
+ var _chunkV4XVFT25cjs = require('./chunk-V4XVFT25.cjs');
8
+ require('./chunk-PDFLALUT.cjs');
9
9
  require('./chunk-UEKPBRBY.cjs');
10
10
 
11
11
 
@@ -85,4 +85,4 @@ async function disconnectWallet() {
85
85
 
86
86
 
87
87
 
88
- exports.CHAIN_BY_ID = _chunkABVRVW3Pcjs.CHAIN_BY_ID; exports.DEFAULT_BACKEND_URL = _chunkABVRVW3Pcjs.DEFAULT_BACKEND_URL; exports.DEFAULT_SIGNER_ADDRESS = _chunkABVRVW3Pcjs.DEFAULT_SIGNER_ADDRESS; exports.DepositModal = _chunkMXFZ6Q7Fcjs.DepositModal; exports.HYPERCORE_CHAIN_ID = _chunkABVRVW3Pcjs.HYPERCORE_CHAIN_ID; exports.HYPERCORE_USDC_ADDRESS = _chunkABVRVW3Pcjs.HYPERCORE_USDC_ADDRESS; exports.NATIVE_TOKEN_ADDRESS = _chunkABVRVW3Pcjs.NATIVE_TOKEN_ADDRESS; exports.SOURCE_CHAINS = _chunkABVRVW3Pcjs.SOURCE_CHAINS; exports.SUPPORTED_CHAINS = _chunkABVRVW3Pcjs.SUPPORTED_CHAINS; exports.WithdrawModal = _chunkXQH2APMOcjs.WithdrawModal; exports.chainRegistry = _chunkABVRVW3Pcjs.chainRegistry; exports.disconnectWallet = disconnectWallet; exports.findChainIdForToken = _chunkABVRVW3Pcjs.findChainIdForToken; exports.getChainBadge = _chunkABVRVW3Pcjs.getChainBadge; exports.getChainIcon = _chunkABVRVW3Pcjs.getChainIcon; exports.getChainId = _chunkABVRVW3Pcjs.getChainId; exports.getChainName = _chunkABVRVW3Pcjs.getChainName; exports.getChainObject = _chunkABVRVW3Pcjs.getChainObject; exports.getExplorerName = _chunkABVRVW3Pcjs.getExplorerName; exports.getExplorerTxUrl = _chunkABVRVW3Pcjs.getExplorerTxUrl; exports.getExplorerUrl = _chunkABVRVW3Pcjs.getExplorerUrl; exports.getSupportedChainIds = _chunkABVRVW3Pcjs.getSupportedChainIds; exports.getSupportedTargetTokens = _chunkABVRVW3Pcjs.getSupportedTargetTokens; exports.getSupportedTokenSymbolsForChain = _chunkABVRVW3Pcjs.getSupportedTokenSymbolsForChain; exports.getTargetTokenSymbolsForChain = _chunkABVRVW3Pcjs.getTargetTokenSymbolsForChain; exports.getTokenAddress = _chunkABVRVW3Pcjs.getTokenAddress; exports.getTokenDecimals = _chunkABVRVW3Pcjs.getTokenDecimals; exports.getTokenDecimalsByAddress = _chunkABVRVW3Pcjs.getTokenDecimalsByAddress; exports.getTokenIcon = _chunkABVRVW3Pcjs.getTokenIcon; exports.getTokenSymbol = _chunkABVRVW3Pcjs.getTokenSymbol; exports.getUsdcAddress = _chunkABVRVW3Pcjs.getUsdcAddress; exports.getUsdcDecimals = _chunkABVRVW3Pcjs.getUsdcDecimals; exports.isSupportedTokenAddressForChain = _chunkABVRVW3Pcjs.isSupportedTokenAddressForChain;
88
+ exports.CHAIN_BY_ID = _chunkABVRVW3Pcjs.CHAIN_BY_ID; exports.DEFAULT_BACKEND_URL = _chunkABVRVW3Pcjs.DEFAULT_BACKEND_URL; exports.DEFAULT_SIGNER_ADDRESS = _chunkABVRVW3Pcjs.DEFAULT_SIGNER_ADDRESS; exports.DepositModal = _chunkAMEXFHB4cjs.DepositModal; exports.HYPERCORE_CHAIN_ID = _chunkABVRVW3Pcjs.HYPERCORE_CHAIN_ID; exports.HYPERCORE_USDC_ADDRESS = _chunkABVRVW3Pcjs.HYPERCORE_USDC_ADDRESS; exports.NATIVE_TOKEN_ADDRESS = _chunkABVRVW3Pcjs.NATIVE_TOKEN_ADDRESS; exports.SOURCE_CHAINS = _chunkABVRVW3Pcjs.SOURCE_CHAINS; exports.SUPPORTED_CHAINS = _chunkABVRVW3Pcjs.SUPPORTED_CHAINS; exports.WithdrawModal = _chunkV4XVFT25cjs.WithdrawModal; exports.chainRegistry = _chunkABVRVW3Pcjs.chainRegistry; exports.disconnectWallet = disconnectWallet; exports.findChainIdForToken = _chunkABVRVW3Pcjs.findChainIdForToken; exports.getChainBadge = _chunkABVRVW3Pcjs.getChainBadge; exports.getChainIcon = _chunkABVRVW3Pcjs.getChainIcon; exports.getChainId = _chunkABVRVW3Pcjs.getChainId; exports.getChainName = _chunkABVRVW3Pcjs.getChainName; exports.getChainObject = _chunkABVRVW3Pcjs.getChainObject; exports.getExplorerName = _chunkABVRVW3Pcjs.getExplorerName; exports.getExplorerTxUrl = _chunkABVRVW3Pcjs.getExplorerTxUrl; exports.getExplorerUrl = _chunkABVRVW3Pcjs.getExplorerUrl; exports.getSupportedChainIds = _chunkABVRVW3Pcjs.getSupportedChainIds; exports.getSupportedTargetTokens = _chunkABVRVW3Pcjs.getSupportedTargetTokens; exports.getSupportedTokenSymbolsForChain = _chunkABVRVW3Pcjs.getSupportedTokenSymbolsForChain; exports.getTargetTokenSymbolsForChain = _chunkABVRVW3Pcjs.getTargetTokenSymbolsForChain; exports.getTokenAddress = _chunkABVRVW3Pcjs.getTokenAddress; exports.getTokenDecimals = _chunkABVRVW3Pcjs.getTokenDecimals; exports.getTokenDecimalsByAddress = _chunkABVRVW3Pcjs.getTokenDecimalsByAddress; exports.getTokenIcon = _chunkABVRVW3Pcjs.getTokenIcon; exports.getTokenSymbol = _chunkABVRVW3Pcjs.getTokenSymbol; exports.getUsdcAddress = _chunkABVRVW3Pcjs.getUsdcAddress; exports.getUsdcDecimals = _chunkABVRVW3Pcjs.getUsdcDecimals; exports.isSupportedTokenAddressForChain = _chunkABVRVW3Pcjs.isSupportedTokenAddressForChain;
package/dist/index.mjs CHANGED
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  DepositModal
3
- } from "./chunk-ZYYLKWU2.mjs";
3
+ } from "./chunk-XPJJWJPM.mjs";
4
4
  import "./chunk-FJWLC4AM.mjs";
5
5
  import {
6
6
  WithdrawModal
7
- } from "./chunk-V6KJKRE7.mjs";
8
- import "./chunk-PS7HJ62M.mjs";
7
+ } from "./chunk-KYHPKMTK.mjs";
8
+ import "./chunk-4YLVKTSU.mjs";
9
9
  import "./chunk-F7P4MV72.mjs";
10
10
  import {
11
11
  CHAIN_BY_ID,
package/dist/styles.css CHANGED
@@ -5018,48 +5018,60 @@
5018
5018
  flex-direction: column;
5019
5019
  align-items: center;
5020
5020
  justify-content: center;
5021
- min-height: 182px;
5022
- gap: 12px;
5021
+ flex: 1;
5022
+ min-height: 326px;
5023
+ gap: 34px;
5023
5024
  padding: 0;
5024
5025
  text-align: center;
5025
5026
  }
5026
5027
 
5027
5028
  .rs-finalising-spinner {
5028
- display: inline-flex;
5029
- align-items: center;
5030
- justify-content: center;
5031
- width: 114px;
5032
- height: 114px;
5033
- color: var(--color-blue10);
5029
+ width: 80px;
5030
+ height: 80px;
5031
+ animation: rs-spin 1s linear infinite;
5032
+ overflow: visible;
5033
+ }
5034
+
5035
+ .rs-finalising-spinner-track,
5036
+ .rs-finalising-spinner-head {
5037
+ fill: none;
5038
+ stroke-width: 4;
5039
+ vector-effect: non-scaling-stroke;
5034
5040
  }
5035
5041
 
5036
- .rs-finalising-spinner .rs-spinner {
5037
- width: 82px;
5038
- height: 82px;
5042
+ .rs-finalising-spinner-track {
5043
+ stroke: #bae6fd;
5044
+ }
5045
+
5046
+ .rs-finalising-spinner-head {
5047
+ stroke: #0ea5e9;
5048
+ stroke-linecap: round;
5049
+ stroke-dasharray: 54 214;
5050
+ stroke-dashoffset: -8;
5039
5051
  }
5040
5052
 
5041
5053
  .rs-finalising-text {
5042
5054
  display: flex;
5043
5055
  flex-direction: column;
5044
5056
  align-items: center;
5045
- gap: 6px;
5057
+ gap: 8px;
5046
5058
  }
5047
5059
 
5048
5060
  .rs-finalising-title {
5049
- font-size: 16px;
5061
+ font-size: 20px;
5050
5062
  font-weight: 700;
5051
- line-height: 1.2;
5063
+ line-height: 1.25;
5052
5064
  color: var(--rs-foreground);
5053
5065
  margin: 0;
5054
5066
  }
5055
5067
 
5056
5068
  .rs-finalising-subtitle {
5057
- font-size: 14px;
5069
+ font-size: 16px;
5058
5070
  font-weight: 500;
5059
- line-height: 1.4;
5071
+ line-height: 1.35;
5060
5072
  color: var(--rs-muted);
5061
5073
  margin: 0;
5062
- max-width: 280px;
5074
+ max-width: 410px;
5063
5075
  }
5064
5076
 
5065
5077
  .rs-fiat-onramp-loading,
package/dist/withdraw.cjs CHANGED
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkXQH2APMOcjs = require('./chunk-XQH2APMO.cjs');
4
- require('./chunk-PPFG3VBD.cjs');
3
+ var _chunkV4XVFT25cjs = require('./chunk-V4XVFT25.cjs');
4
+ require('./chunk-PDFLALUT.cjs');
5
5
  require('./chunk-UEKPBRBY.cjs');
6
6
  require('./chunk-ABVRVW3P.cjs');
7
7
 
8
8
 
9
- exports.WithdrawModal = _chunkXQH2APMOcjs.WithdrawModal;
9
+ exports.WithdrawModal = _chunkV4XVFT25cjs.WithdrawModal;
package/dist/withdraw.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  WithdrawModal
3
- } from "./chunk-V6KJKRE7.mjs";
4
- import "./chunk-PS7HJ62M.mjs";
3
+ } from "./chunk-KYHPKMTK.mjs";
4
+ import "./chunk-4YLVKTSU.mjs";
5
5
  import "./chunk-F7P4MV72.mjs";
6
6
  import "./chunk-WJX3TJFK.mjs";
7
7
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rhinestone/deposit-modal",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "description": "React modal component for Rhinestone cross-chain deposits",
5
5
  "author": "Rhinestone <dev@rhinestone.wtf>",
6
6
  "bugs": {