@rhinestone/deposit-modal 0.0.0-dev-20260922141536 → 0.0.0-dev-20260923170217

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 (41) hide show
  1. package/dist/{BankOnrampStep-JE6A7M3S.mjs → BankOnrampStep-7KLRGLIK.mjs} +24 -56
  2. package/dist/{BankOnrampStep-UUEEXVC4.cjs → BankOnrampStep-7RKADD55.cjs} +28 -60
  3. package/dist/{DepositModalReown-KJDMI4OG.mjs → DepositModalReown-FSW7QECS.mjs} +3 -3
  4. package/dist/{DepositModalReown-WHHCPHXQ.cjs → DepositModalReown-O3FGTPSB.cjs} +16 -16
  5. package/dist/{WithdrawModal-GDNVB7V2.mjs → WithdrawModal-BYDTRTI6.mjs} +3 -3
  6. package/dist/WithdrawModal-HQ2NDHA7.cjs +12 -0
  7. package/dist/{chunk-6FYGKPNA.cjs → chunk-6PTR3TBE.cjs} +3 -3
  8. package/dist/{chunk-7AQT3LM2.cjs → chunk-7BTJYIB6.cjs} +54 -54
  9. package/dist/{chunk-CPDJBIUW.mjs → chunk-7RZM44B5.mjs} +12 -4
  10. package/dist/{chunk-NSLF23LA.mjs → chunk-C3LZ5WA2.mjs} +1 -1
  11. package/dist/{chunk-6LFSKMRO.cjs → chunk-EVVIDGHG.cjs} +2 -2
  12. package/dist/{chunk-N73JOITO.mjs → chunk-GDQBQBCR.mjs} +1 -1
  13. package/dist/{chunk-WDK4BIQL.mjs → chunk-JBYUAECX.mjs} +1 -1
  14. package/dist/{chunk-74E3BIML.mjs → chunk-KYWGMKXP.mjs} +1 -1
  15. package/dist/{chunk-K47XA224.cjs → chunk-MIJGM6BI.cjs} +33 -33
  16. package/dist/{chunk-XULBAFR6.mjs → chunk-NE2OP6HI.mjs} +1 -1
  17. package/dist/{chunk-KTJQCK6W.cjs → chunk-OZL6CFUA.cjs} +226 -218
  18. package/dist/{chunk-4JBA3JIS.mjs → chunk-QPVJI3T7.mjs} +1 -1
  19. package/dist/{chunk-YODWHUQR.cjs → chunk-TRDIY7S7.cjs} +2 -2
  20. package/dist/{chunk-ZO3VFQAA.cjs → chunk-YT42KOJA.cjs} +1 -1
  21. package/dist/compliance.cjs +4 -4
  22. package/dist/compliance.mjs +3 -3
  23. package/dist/constants.cjs +2 -2
  24. package/dist/constants.d.cts +1 -1
  25. package/dist/constants.d.ts +1 -1
  26. package/dist/constants.mjs +1 -1
  27. package/dist/deposit.cjs +4 -4
  28. package/dist/deposit.mjs +3 -3
  29. package/dist/embed.cjs +14 -14
  30. package/dist/embed.mjs +4 -4
  31. package/dist/index.cjs +5 -5
  32. package/dist/index.mjs +4 -4
  33. package/dist/offramp.cjs +4 -4
  34. package/dist/offramp.mjs +2 -2
  35. package/dist/onramp.cjs +4 -4
  36. package/dist/onramp.mjs +3 -3
  37. package/dist/styles.css +20 -3
  38. package/dist/withdraw.cjs +4 -4
  39. package/dist/withdraw.mjs +3 -3
  40. package/package.json +2 -2
  41. package/dist/WithdrawModal-PHEIBQPL.cjs +0 -12
@@ -6,14 +6,14 @@ import {
6
6
  } from "./chunk-YY4ZOAH5.mjs";
7
7
  import {
8
8
  createOnrampService
9
- } from "./chunk-N73JOITO.mjs";
9
+ } from "./chunk-GDQBQBCR.mjs";
10
10
  import "./chunk-PP4QE32S.mjs";
11
11
  import {
12
12
  getComplianceStatus,
13
13
  startComplianceVerification
14
- } from "./chunk-4JBA3JIS.mjs";
15
- import "./chunk-74E3BIML.mjs";
16
- import "./chunk-XULBAFR6.mjs";
14
+ } from "./chunk-QPVJI3T7.mjs";
15
+ import "./chunk-KYWGMKXP.mjs";
16
+ import "./chunk-NE2OP6HI.mjs";
17
17
 
18
18
  // src/components/steps/BankOnrampStep.tsx
19
19
  import { useCallback, useEffect, useMemo, useRef, useState } from "react";
@@ -139,6 +139,7 @@ function BankOnrampStep({
139
139
  smartAccount,
140
140
  bankOnramp,
141
141
  onGoBack,
142
+ onInternalBack,
142
143
  onError,
143
144
  openExternally
144
145
  }) {
@@ -322,7 +323,13 @@ function BankOnrampStep({
322
323
  setHostedUrl(null);
323
324
  setExternalOpened(false);
324
325
  setError(null);
326
+ setLoading(false);
325
327
  }, []);
328
+ useEffect(() => {
329
+ if (!onInternalBack) return;
330
+ onInternalBack(selectedAccount ? backToCurrencies : null);
331
+ return () => onInternalBack(null);
332
+ }, [backToCurrencies, onInternalBack, selectedAccount]);
326
333
  useEffect(() => {
327
334
  if (verifying !== "action_required" || !hostedUrl) return;
328
335
  const remaining = hostedSessionRemainingMs(
@@ -406,8 +413,9 @@ function BankOnrampStep({
406
413
  ]
407
414
  }
408
415
  ) : null;
416
+ const hostedFrameMounted = Boolean(hostedUrl) && !verificationExpired;
409
417
  return /* @__PURE__ */ jsx("div", { className: "rs-screen rs-bank-onramp", children: /* @__PURE__ */ jsxs("div", { className: "rs-screen-body rs-screen-body--gap-32", children: [
410
- /* @__PURE__ */ jsx(
418
+ !hostedFrameMounted && /* @__PURE__ */ jsx(
411
419
  BodyHeader,
412
420
  {
413
421
  icon: /* @__PURE__ */ jsx(BankIcon, {}),
@@ -483,26 +491,15 @@ function BankOnrampStep({
483
491
  !loading && !error && verifying === "action_required" && verificationExpired && /* @__PURE__ */ jsxs("div", { className: "rs-loading-state", "aria-live": "polite", children: [
484
492
  /* @__PURE__ */ jsx("div", { className: "rs-loading-title", children: "Verification expired" }),
485
493
  /* @__PURE__ */ jsx("div", { className: "rs-loading-subtitle", children: "That verification session timed out. Start a new one to pick up where you left off." }),
486
- /* @__PURE__ */ jsxs("div", { className: "rs-screen-button-row", children: [
487
- /* @__PURE__ */ jsx(
488
- "button",
489
- {
490
- type: "button",
491
- className: "rs-button rs-button--primary",
492
- onClick: restartVerification,
493
- children: "Start again"
494
- }
495
- ),
496
- /* @__PURE__ */ jsx(
497
- "button",
498
- {
499
- type: "button",
500
- className: "rs-button rs-button--default",
501
- onClick: leaveStep,
502
- children: "Back"
503
- }
504
- )
505
- ] })
494
+ /* @__PURE__ */ jsx("div", { className: "rs-screen-button-row", children: /* @__PURE__ */ jsx(
495
+ "button",
496
+ {
497
+ type: "button",
498
+ className: "rs-button rs-button--primary",
499
+ onClick: restartVerification,
500
+ children: "Start again"
501
+ }
502
+ ) })
506
503
  ] }),
507
504
  !loading && !error && verifying === "action_required" && !verificationExpired && hostedUrl && /* @__PURE__ */ jsxs("div", { className: "rs-bank-onramp-hosted", children: [
508
505
  !iframeLoaded && /* @__PURE__ */ jsx("div", { className: "rs-bank-onramp-frame-loading", "aria-live": "polite", children: /* @__PURE__ */ jsx(Spinner, {}) }),
@@ -516,16 +513,7 @@ function BankOnrampStep({
516
513
  allow: "camera; microphone; clipboard-write",
517
514
  onLoad: () => setIframeLoaded(true)
518
515
  }
519
- ),
520
- /* @__PURE__ */ jsx("div", { className: "rs-screen-button-row", children: /* @__PURE__ */ jsx(
521
- "button",
522
- {
523
- type: "button",
524
- className: "rs-button rs-button--default",
525
- onClick: leaveStep,
526
- children: "Back"
527
- }
528
- ) })
516
+ )
529
517
  ] }),
530
518
  !loading && !error && !verifying && !selectedAccount && /* @__PURE__ */ jsxs("div", { className: "rs-list", children: [
531
519
  options.map((option) => {
@@ -579,27 +567,7 @@ function BankOnrampStep({
579
567
  onLoad: () => setIframeLoaded(true)
580
568
  }
581
569
  ),
582
- paymentStatus,
583
- /* @__PURE__ */ jsxs("div", { className: "rs-screen-button-row", children: [
584
- /* @__PURE__ */ jsx(
585
- "button",
586
- {
587
- type: "button",
588
- className: "rs-button rs-button--default",
589
- onClick: retry,
590
- children: "Retry"
591
- }
592
- ),
593
- /* @__PURE__ */ jsx(
594
- "button",
595
- {
596
- type: "button",
597
- className: "rs-button rs-button--default",
598
- onClick: backToCurrencies,
599
- children: "Back"
600
- }
601
- )
602
- ] })
570
+ paymentStatus
603
571
  ] }),
604
572
  !loading && !error && !verifying && externalOpened && /* @__PURE__ */ jsxs("div", { className: "rs-loading-state", "aria-live": "polite", children: [
605
573
  /* @__PURE__ */ jsx("div", { className: "rs-loading-title", children: "Bank details opened" }),
@@ -6,14 +6,14 @@
6
6
  var _chunkG264OM23cjs = require('./chunk-G264OM23.cjs');
7
7
 
8
8
 
9
- var _chunkYODWHUQRcjs = require('./chunk-YODWHUQR.cjs');
9
+ var _chunkTRDIY7S7cjs = require('./chunk-TRDIY7S7.cjs');
10
10
  require('./chunk-ADEWTBSN.cjs');
11
11
 
12
12
 
13
13
 
14
- var _chunk6FYGKPNAcjs = require('./chunk-6FYGKPNA.cjs');
15
- require('./chunk-6LFSKMRO.cjs');
16
- require('./chunk-ZO3VFQAA.cjs');
14
+ var _chunk6PTR3TBEcjs = require('./chunk-6PTR3TBE.cjs');
15
+ require('./chunk-EVVIDGHG.cjs');
16
+ require('./chunk-YT42KOJA.cjs');
17
17
 
18
18
  // src/components/steps/BankOnrampStep.tsx
19
19
  var _react = require('react');
@@ -139,6 +139,7 @@ function BankOnrampStep({
139
139
  smartAccount,
140
140
  bankOnramp,
141
141
  onGoBack,
142
+ onInternalBack,
142
143
  onError,
143
144
  openExternally
144
145
  }) {
@@ -151,7 +152,7 @@ function BankOnrampStep({
151
152
  [backendUrl, getSessionRef, smartAccount]
152
153
  );
153
154
  const service = _react.useMemo.call(void 0,
154
- () => _chunkYODWHUQRcjs.createOnrampService.call(void 0, sessionOptions),
155
+ () => _chunkTRDIY7S7cjs.createOnrampService.call(void 0, sessionOptions),
155
156
  [sessionOptions]
156
157
  );
157
158
  const [options, setOptions] = _react.useState.call(void 0, []);
@@ -172,10 +173,10 @@ function BankOnrampStep({
172
173
  []
173
174
  );
174
175
  const ensureVerified = _react.useCallback.call(void 0, async () => {
175
- const current = await _chunk6FYGKPNAcjs.getComplianceStatus.call(void 0, sessionOptions);
176
+ const current = await _chunk6PTR3TBEcjs.getComplianceStatus.call(void 0, sessionOptions);
176
177
  if (current.status === "approved") return "approved";
177
178
  if (current.status === "declined") return "declined";
178
- const session = await _chunk6FYGKPNAcjs.startComplianceVerification.call(void 0, sessionOptions, {
179
+ const session = await _chunk6PTR3TBEcjs.startComplianceVerification.call(void 0, sessionOptions, {
179
180
  // Verification is per fiat currency. Without an explicit choice the US
180
181
  // dollar journey is the one every configured country can complete.
181
182
  currency: _nullishCoalesce(bankOnramp.currency, () => ( "USD"))
@@ -322,7 +323,13 @@ function BankOnrampStep({
322
323
  setHostedUrl(null);
323
324
  setExternalOpened(false);
324
325
  setError(null);
326
+ setLoading(false);
325
327
  }, []);
328
+ _react.useEffect.call(void 0, () => {
329
+ if (!onInternalBack) return;
330
+ onInternalBack(selectedAccount ? backToCurrencies : null);
331
+ return () => onInternalBack(null);
332
+ }, [backToCurrencies, onInternalBack, selectedAccount]);
326
333
  _react.useEffect.call(void 0, () => {
327
334
  if (verifying !== "action_required" || !hostedUrl) return;
328
335
  const remaining = hostedSessionRemainingMs(
@@ -339,7 +346,7 @@ function BankOnrampStep({
339
346
  const timer = setInterval(() => {
340
347
  void (async () => {
341
348
  try {
342
- const status = await _chunk6FYGKPNAcjs.getComplianceStatus.call(void 0, sessionOptions);
349
+ const status = await _chunk6PTR3TBEcjs.getComplianceStatus.call(void 0, sessionOptions);
343
350
  if (!active) return;
344
351
  if (status.status === "approved") {
345
352
  setHostedUrl(null);
@@ -406,8 +413,9 @@ function BankOnrampStep({
406
413
  ]
407
414
  }
408
415
  ) : null;
416
+ const hostedFrameMounted = Boolean(hostedUrl) && !verificationExpired;
409
417
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-screen rs-bank-onramp", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body rs-screen-body--gap-32", children: [
410
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
418
+ !hostedFrameMounted && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
411
419
  _chunkG264OM23cjs.BodyHeader,
412
420
  {
413
421
  icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkG264OM23cjs.BankIcon, {}),
@@ -483,26 +491,15 @@ function BankOnrampStep({
483
491
  !loading && !error && verifying === "action_required" && verificationExpired && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-loading-state", "aria-live": "polite", children: [
484
492
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-loading-title", children: "Verification expired" }),
485
493
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-loading-subtitle", children: "That verification session timed out. Start a new one to pick up where you left off." }),
486
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-button-row", children: [
487
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
488
- "button",
489
- {
490
- type: "button",
491
- className: "rs-button rs-button--primary",
492
- onClick: restartVerification,
493
- children: "Start again"
494
- }
495
- ),
496
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
497
- "button",
498
- {
499
- type: "button",
500
- className: "rs-button rs-button--default",
501
- onClick: leaveStep,
502
- children: "Back"
503
- }
504
- )
505
- ] })
494
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-screen-button-row", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
495
+ "button",
496
+ {
497
+ type: "button",
498
+ className: "rs-button rs-button--primary",
499
+ onClick: restartVerification,
500
+ children: "Start again"
501
+ }
502
+ ) })
506
503
  ] }),
507
504
  !loading && !error && verifying === "action_required" && !verificationExpired && hostedUrl && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-bank-onramp-hosted", children: [
508
505
  !iframeLoaded && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-bank-onramp-frame-loading", "aria-live": "polite", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkG264OM23cjs.Spinner, {}) }),
@@ -516,16 +513,7 @@ function BankOnrampStep({
516
513
  allow: "camera; microphone; clipboard-write",
517
514
  onLoad: () => setIframeLoaded(true)
518
515
  }
519
- ),
520
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-screen-button-row", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
521
- "button",
522
- {
523
- type: "button",
524
- className: "rs-button rs-button--default",
525
- onClick: leaveStep,
526
- children: "Back"
527
- }
528
- ) })
516
+ )
529
517
  ] }),
530
518
  !loading && !error && !verifying && !selectedAccount && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-list", children: [
531
519
  options.map((option) => {
@@ -579,27 +567,7 @@ function BankOnrampStep({
579
567
  onLoad: () => setIframeLoaded(true)
580
568
  }
581
569
  ),
582
- paymentStatus,
583
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-button-row", children: [
584
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
585
- "button",
586
- {
587
- type: "button",
588
- className: "rs-button rs-button--default",
589
- onClick: retry,
590
- children: "Retry"
591
- }
592
- ),
593
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
594
- "button",
595
- {
596
- type: "button",
597
- className: "rs-button rs-button--default",
598
- onClick: backToCurrencies,
599
- children: "Back"
600
- }
601
- )
602
- ] })
570
+ paymentStatus
603
571
  ] }),
604
572
  !loading && !error && !verifying && externalOpened && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-loading-state", "aria-live": "polite", children: [
605
573
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-loading-title", children: "Bank details opened" }),
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  DepositModalInner,
3
3
  getReownDependencies
4
- } from "./chunk-CPDJBIUW.mjs";
4
+ } from "./chunk-7RZM44B5.mjs";
5
5
  import "./chunk-FTWKAJGN.mjs";
6
6
  import {
7
7
  followSystemAppearance,
@@ -11,13 +11,13 @@ import {
11
11
  resolveThemeMode,
12
12
  rpcUrlFor,
13
13
  useStableRpcUrls
14
- } from "./chunk-NSLF23LA.mjs";
14
+ } from "./chunk-C3LZ5WA2.mjs";
15
15
  import {
16
16
  SUPPORTED_CHAIN_IDS,
17
17
  getChainName
18
18
  } from "./chunk-EAGMY3QE.mjs";
19
19
  import "./chunk-YY4ZOAH5.mjs";
20
- import "./chunk-XULBAFR6.mjs";
20
+ import "./chunk-NE2OP6HI.mjs";
21
21
 
22
22
  // src/DepositModalReown.tsx
23
23
  import { useCallback, useMemo as useMemo2 } from "react";
@@ -1,7 +1,7 @@
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 _chunkKTJQCK6Wcjs = require('./chunk-KTJQCK6W.cjs');
4
+ var _chunkOZL6CFUAcjs = require('./chunk-OZL6CFUA.cjs');
5
5
  require('./chunk-LVCD6RHF.cjs');
6
6
 
7
7
 
@@ -11,13 +11,13 @@ require('./chunk-LVCD6RHF.cjs');
11
11
 
12
12
 
13
13
 
14
- var _chunkK47XA224cjs = require('./chunk-K47XA224.cjs');
14
+ var _chunkMIJGM6BIcjs = require('./chunk-MIJGM6BI.cjs');
15
15
 
16
16
 
17
17
 
18
18
  var _chunkOY5N3E6Lcjs = require('./chunk-OY5N3E6L.cjs');
19
19
  require('./chunk-G264OM23.cjs');
20
- require('./chunk-ZO3VFQAA.cjs');
20
+ require('./chunk-YT42KOJA.cjs');
21
21
 
22
22
  // src/DepositModalReown.tsx
23
23
  var _react = require('react');
@@ -45,7 +45,7 @@ var {
45
45
  unichain,
46
46
  katana,
47
47
  hyperEvm
48
- } = _chunkKTJQCK6Wcjs.getReownDependencies.call(void 0, )[1];
48
+ } = _chunkOZL6CFUAcjs.getReownDependencies.call(void 0, )[1];
49
49
  var APPKIT_NETWORK_BY_ID = {
50
50
  [mainnet.id]: mainnet,
51
51
  [optimism.id]: optimism,
@@ -77,7 +77,7 @@ function getAppKitNetwork(chainId) {
77
77
 
78
78
  // src/core/reown-theme.ts
79
79
  function mapTheme(theme) {
80
- const themeMode = _chunkK47XA224cjs.resolveThemeMode.call(void 0, _optionalChain([theme, 'optionalAccess', _ => _.mode])) === "light" ? "light" : "dark";
80
+ const themeMode = _chunkMIJGM6BIcjs.resolveThemeMode.call(void 0, _optionalChain([theme, 'optionalAccess', _ => _.mode])) === "light" ? "light" : "dark";
81
81
  const themeVariables = {
82
82
  "--apkt-accent": _optionalChain([theme, 'optionalAccess', _2 => _2.ctaColor])
83
83
  };
@@ -94,7 +94,7 @@ function setAppKitTheme(appKit, theme) {
94
94
 
95
95
  // src/core/reown.tsx
96
96
  var _jsxruntime = require('react/jsx-runtime');
97
- var [appKitReact, appKitNetworks, wagmiAdapter, solanaAdapter] = _chunkKTJQCK6Wcjs.getReownDependencies.call(void 0, );
97
+ var [appKitReact, appKitNetworks, wagmiAdapter, solanaAdapter] = _chunkOZL6CFUAcjs.getReownDependencies.call(void 0, );
98
98
  var {
99
99
  createAppKit,
100
100
  useAppKit,
@@ -110,14 +110,14 @@ function buildTransports(rpcUrls, networks = EVM_NETWORKS) {
110
110
  const transports = {};
111
111
  for (const network of networks) {
112
112
  const id = Number(network.id);
113
- transports[id] = _viem.http.call(void 0, _chunkK47XA224cjs.rpcUrlFor.call(void 0, rpcUrls, id));
113
+ transports[id] = _viem.http.call(void 0, _chunkMIJGM6BIcjs.rpcUrlFor.call(void 0, rpcUrls, id));
114
114
  }
115
115
  return transports;
116
116
  }
117
117
  function getEvmRpcFingerprint(rpcUrls, networks) {
118
118
  return networks.map((network) => {
119
119
  const id = Number(network.id);
120
- return `${id}=${_nullishCoalesce(_chunkK47XA224cjs.rpcUrlFor.call(void 0, rpcUrls, id), () => ( ""))}`;
120
+ return `${id}=${_nullishCoalesce(_chunkMIJGM6BIcjs.rpcUrlFor.call(void 0, rpcUrls, id), () => ( ""))}`;
121
121
  }).join("|");
122
122
  }
123
123
  var cachedAdapter = null;
@@ -188,7 +188,7 @@ function ReownWalletProvider({
188
188
  backendUrl,
189
189
  children
190
190
  }) {
191
- const rpcUrls = _chunkK47XA224cjs.useStableRpcUrls.call(void 0, rpcUrlsProp);
191
+ const rpcUrls = _chunkMIJGM6BIcjs.useStableRpcUrls.call(void 0, rpcUrlsProp);
192
192
  const [queryClient] = _react.useState.call(void 0, () => new (0, _reactquery.QueryClient)());
193
193
  const overrides = _react.useMemo.call(void 0, () => {
194
194
  if (!rpcUrls) return void 0;
@@ -200,14 +200,14 @@ function ReownWalletProvider({
200
200
  return out;
201
201
  }, [rpcUrls]);
202
202
  const [state, setState] = _react.useState.call(void 0, () => {
203
- const primed = _chunkK47XA224cjs.peekRuntimeChains.call(void 0, backendUrl, overrides);
203
+ const primed = _chunkMIJGM6BIcjs.peekRuntimeChains.call(void 0, backendUrl, overrides);
204
204
  return { ready: primed !== null, chains: _nullishCoalesce(primed, () => ( [])) };
205
205
  });
206
206
  _react.useEffect.call(void 0, () => {
207
207
  let active = true;
208
- const primed = _chunkK47XA224cjs.peekRuntimeChains.call(void 0, backendUrl, overrides);
208
+ const primed = _chunkMIJGM6BIcjs.peekRuntimeChains.call(void 0, backendUrl, overrides);
209
209
  setState({ ready: primed !== null, chains: _nullishCoalesce(primed, () => ( [])) });
210
- _chunkK47XA224cjs.primeRuntimeChains.call(void 0, backendUrl, overrides).then((chains) => {
210
+ _chunkMIJGM6BIcjs.primeRuntimeChains.call(void 0, backendUrl, overrides).then((chains) => {
211
211
  if (active) setState({ ready: true, chains });
212
212
  });
213
213
  return () => {
@@ -216,7 +216,7 @@ function ReownWalletProvider({
216
216
  }, [backendUrl, overrides]);
217
217
  _react.useEffect.call(void 0, () => {
218
218
  setAppKitTheme(appKitReact.modal, theme);
219
- return _chunkK47XA224cjs.followSystemAppearance.call(void 0,
219
+ return _chunkMIJGM6BIcjs.followSystemAppearance.call(void 0,
220
220
  _optionalChain([theme, 'optionalAccess', _7 => _7.mode]),
221
221
  () => setAppKitTheme(appKitReact.modal, theme)
222
222
  );
@@ -280,7 +280,7 @@ function useReownWalletSession() {
280
280
  await switchChainAsync({ chainId });
281
281
  }
282
282
  } catch (err) {
283
- if (_chunkK47XA224cjs.isUnsupportedChainSwitchError.call(void 0, err)) {
283
+ if (_chunkMIJGM6BIcjs.isUnsupportedChainSwitchError.call(void 0, err)) {
284
284
  throw new Error(
285
285
  `Switch to ${chainDisplayName(chainId)} in your wallet to continue`
286
286
  );
@@ -293,7 +293,7 @@ function useReownWalletSession() {
293
293
 
294
294
  // src/DepositModalReown.tsx
295
295
 
296
- var [appKitReact2, , , , solanaAdapterReact] = _chunkKTJQCK6Wcjs.getReownDependencies.call(void 0, );
296
+ var [appKitReact2, , , , solanaAdapterReact] = _chunkOZL6CFUAcjs.getReownDependencies.call(void 0, );
297
297
  var { useAppKitProvider } = appKitReact2;
298
298
  var { useAppKitConnection } = solanaAdapterReact;
299
299
  function DepositModalWithReown(props) {
@@ -315,7 +315,7 @@ function DepositModalWithReown(props) {
315
315
  reown.disconnect();
316
316
  }, [reown.disconnect]);
317
317
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
318
- _chunkKTJQCK6Wcjs.DepositModalInner,
318
+ _chunkOZL6CFUAcjs.DepositModalInner,
319
319
  {
320
320
  ...props,
321
321
  walletSession: reownWithSolana,
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  WithdrawModal,
3
3
  buildWithdrawAnalyticsSessionProperties
4
- } from "./chunk-WDK4BIQL.mjs";
5
- import "./chunk-NSLF23LA.mjs";
4
+ } from "./chunk-JBYUAECX.mjs";
5
+ import "./chunk-C3LZ5WA2.mjs";
6
6
  import "./chunk-EAGMY3QE.mjs";
7
7
  import "./chunk-YY4ZOAH5.mjs";
8
- import "./chunk-XULBAFR6.mjs";
8
+ import "./chunk-NE2OP6HI.mjs";
9
9
  export {
10
10
  WithdrawModal,
11
11
  buildWithdrawAnalyticsSessionProperties
@@ -0,0 +1,12 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+ var _chunk7BTJYIB6cjs = require('./chunk-7BTJYIB6.cjs');
5
+ require('./chunk-MIJGM6BI.cjs');
6
+ require('./chunk-OY5N3E6L.cjs');
7
+ require('./chunk-G264OM23.cjs');
8
+ require('./chunk-YT42KOJA.cjs');
9
+
10
+
11
+
12
+ exports.WithdrawModal = _chunk7BTJYIB6cjs.WithdrawModal; exports.buildWithdrawAnalyticsSessionProperties = _chunk7BTJYIB6cjs.buildWithdrawAnalyticsSessionProperties;
@@ -1,13 +1,13 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunk6LFSKMROcjs = require('./chunk-6LFSKMRO.cjs');
3
+ var _chunkEVVIDGHGcjs = require('./chunk-EVVIDGHG.cjs');
4
4
 
5
5
  // src/core/compliance-service.ts
6
6
  function getComplianceStatus(options) {
7
- return _chunk6LFSKMROcjs.createBearerTransport.call(void 0, options)("/compliance/status");
7
+ return _chunkEVVIDGHGcjs.createBearerTransport.call(void 0, options)("/compliance/status");
8
8
  }
9
9
  function startComplianceVerification(options, body) {
10
- return _chunk6LFSKMROcjs.createBearerTransport.call(void 0, options)(
10
+ return _chunkEVVIDGHGcjs.createBearerTransport.call(void 0, options)(
11
11
  "/compliance/verification",
12
12
  body
13
13
  );