@rhinestone/deposit-modal 0.20.0 → 0.21.0

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 (53) hide show
  1. package/README.md +45 -17
  2. package/dist/{BankOnrampStep-JG32OCM2.mjs → BankOnrampStep-JTU7WS5R.mjs} +22 -12
  3. package/dist/{BankOnrampStep-NPGXAA7U.cjs → BankOnrampStep-QCPISCAQ.cjs} +34 -24
  4. package/dist/{DepositModalReown-3FGTPER6.mjs → DepositModalReown-FJBSF4VL.mjs} +5 -3
  5. package/dist/{DepositModalReown-ALVWADG7.cjs → DepositModalReown-QJ6O2FWY.cjs} +18 -16
  6. package/dist/{WithdrawModal-LL4Z5WZP.mjs → WithdrawModal-CB7RNEPI.mjs} +3 -3
  7. package/dist/WithdrawModal-E2BTWJV7.cjs +12 -0
  8. package/dist/{chunk-B2LZQIGB.mjs → chunk-2D3J53PX.mjs} +1 -1
  9. package/dist/{chunk-CXRH5MKO.cjs → chunk-4O2UGFFT.cjs} +385 -297
  10. package/dist/{chunk-HP7S7AD6.mjs → chunk-7CHQA2OZ.mjs} +1 -1
  11. package/dist/chunk-ADEWTBSN.cjs +19 -0
  12. package/dist/{chunk-FMUSY563.cjs → chunk-AV3SA7TW.cjs} +3 -3
  13. package/dist/{chunk-247GJH57.mjs → chunk-B2LUWNFX.mjs} +583 -533
  14. package/dist/{chunk-Z4RBTNKX.cjs → chunk-CAIRS4LK.cjs} +732 -682
  15. package/dist/{chunk-OPT5EW6L.cjs → chunk-CG3JKPUF.cjs} +2 -2
  16. package/dist/{chunk-5QUWEFD4.mjs → chunk-CXEQFRX4.mjs} +1 -1
  17. package/dist/chunk-PP4QE32S.mjs +19 -0
  18. package/dist/{chunk-XBJCZYBX.mjs → chunk-PZIKRYMO.mjs} +1 -1
  19. package/dist/{chunk-BTEG2VNZ.cjs → chunk-U7NYYT4Q.cjs} +58 -58
  20. package/dist/{chunk-32ERBFMO.mjs → chunk-UNXUOV3F.mjs} +131 -43
  21. package/dist/{chunk-EKFXUF5A.cjs → chunk-VQAV6ESI.cjs} +1 -1
  22. package/dist/{chunk-6CTJFR3T.mjs → chunk-WK2ELRL3.mjs} +5 -16
  23. package/dist/{chunk-PYRXOP2Y.cjs → chunk-X425VJFY.cjs} +10 -21
  24. package/dist/compliance.cjs +4 -4
  25. package/dist/compliance.mjs +3 -3
  26. package/dist/constants.cjs +2 -2
  27. package/dist/constants.d.cts +1 -1
  28. package/dist/constants.d.ts +1 -1
  29. package/dist/constants.mjs +1 -1
  30. package/dist/deposit.cjs +6 -4
  31. package/dist/deposit.d.cts +2 -2
  32. package/dist/deposit.d.ts +2 -2
  33. package/dist/deposit.mjs +5 -3
  34. package/dist/embed.cjs +16 -14
  35. package/dist/embed.d.cts +1 -1
  36. package/dist/embed.d.ts +1 -1
  37. package/dist/embed.mjs +6 -4
  38. package/dist/index.cjs +7 -5
  39. package/dist/index.d.cts +1 -1
  40. package/dist/index.d.ts +1 -1
  41. package/dist/index.mjs +6 -4
  42. package/dist/onramp.cjs +5 -4
  43. package/dist/onramp.mjs +4 -3
  44. package/dist/server.cjs +12 -8
  45. package/dist/server.mjs +11 -7
  46. package/dist/{types-CixUBhrM.d.cts → types-BrxDZNEr.d.cts} +23 -11
  47. package/dist/{types-BxSrazbq.d.ts → types-DCUB4DY8.d.ts} +23 -11
  48. package/dist/withdraw.cjs +4 -4
  49. package/dist/withdraw.d.cts +2 -2
  50. package/dist/withdraw.d.ts +2 -2
  51. package/dist/withdraw.mjs +3 -3
  52. package/package.json +5 -5
  53. package/dist/WithdrawModal-5YWFJSYY.cjs +0 -12
@@ -3,6 +3,7 @@ import {
3
3
  ArrowUpRightIcon,
4
4
  BankIcon,
5
5
  BodyHeader,
6
+ CardIcon,
6
7
  CheckIcon,
7
8
  ChevronDownIcon,
8
9
  ChevronLeftIcon,
@@ -45,7 +46,7 @@ import {
45
46
  import {
46
47
  MODAL_VERSION,
47
48
  serviceHeaders
48
- } from "./chunk-B2LZQIGB.mjs";
49
+ } from "./chunk-2D3J53PX.mjs";
49
50
 
50
51
  // src/components/ui/Modal.tsx
51
52
  import {
@@ -423,6 +424,54 @@ function catalogExplorerTxUrl(chain, txHash) {
423
424
  return `${chain.explorer.url}${chain.explorer.txPath}${txHash}`;
424
425
  }
425
426
 
427
+ // src/core/hosted-order.ts
428
+ var RANK = {
429
+ awaiting_payment: 0,
430
+ paying: 1,
431
+ paid: 2,
432
+ sent: 3
433
+ };
434
+ function hostedOrderState(order) {
435
+ const { receipt, conversion, delivery } = order.stages;
436
+ const deliveryTxHash = "txHash" in delivery ? delivery.txHash : null;
437
+ const outcome = order.status === "refunded" ? "refunded" : order.status === "failed" && !deliveryTxHash ? receipt.status === "failed" && receipt.reason === "cancelled" ? "cancelled" : "failed" : null;
438
+ const progress = deliveryTxHash ? "sent" : receipt.status === "completed" || conversion.status !== "not_started" ? "paid" : receipt.status === "processing" || receipt.status === "on_hold" ? "paying" : "awaiting_payment";
439
+ return { progress, outcome, deliveryTxHash };
440
+ }
441
+ function hostedOrderStateFromSwapped(status, txHash) {
442
+ const deliveryTxHash = txHash ?? null;
443
+ switch (status) {
444
+ case "payment_pending":
445
+ return { progress: "awaiting_payment", outcome: null, deliveryTxHash };
446
+ case "wallet_order_registered":
447
+ case "wallet_order_confirmed":
448
+ return { progress: "paying", outcome: null, deliveryTxHash };
449
+ case "order_completed":
450
+ return {
451
+ progress: deliveryTxHash ? "sent" : "paid",
452
+ outcome: null,
453
+ deliveryTxHash
454
+ };
455
+ case "order_broadcasted":
456
+ return { progress: "sent", outcome: null, deliveryTxHash };
457
+ case "order_cancelled":
458
+ return { progress: "awaiting_payment", outcome: "cancelled", deliveryTxHash };
459
+ default:
460
+ return null;
461
+ }
462
+ }
463
+ function mergeHostedOrderState(previous, next) {
464
+ if (!previous) return next;
465
+ return {
466
+ progress: RANK[next.progress] >= RANK[previous.progress] ? next.progress : previous.progress,
467
+ outcome: next.outcome ?? previous.outcome,
468
+ deliveryTxHash: next.deliveryTxHash ?? previous.deliveryTxHash
469
+ };
470
+ }
471
+ function hasReached(state, progress) {
472
+ return state ? RANK[state.progress] >= RANK[progress] : false;
473
+ }
474
+
426
475
  // src/core/deposit-asset-helpers.ts
427
476
  function getAssetId(asset) {
428
477
  return `${asset.chainId}:${asset.token.toLowerCase()}`;
@@ -1717,6 +1766,32 @@ function createDepositService(baseUrl, options) {
1717
1766
  }
1718
1767
  return { exchanges: exchanges.filter(isSupportedConnectExchange) };
1719
1768
  },
1769
+ async getOnrampProviders() {
1770
+ try {
1771
+ const response = await fetch(apiUrl("/onramp/providers"), {
1772
+ method: "GET",
1773
+ headers: serviceHeaders(),
1774
+ cache: "no-store"
1775
+ });
1776
+ if (!response.ok) return null;
1777
+ const body = await response.json();
1778
+ if (!Array.isArray(body.providers)) return null;
1779
+ return body.providers.flatMap((raw) => {
1780
+ const p = raw;
1781
+ return (p.provider === "swapped" || p.provider === "noah") && (p.flow === "hosted" || p.flow === "funding_account") && Array.isArray(p.kinds) ? [
1782
+ {
1783
+ provider: p.provider,
1784
+ flow: p.flow,
1785
+ kinds: p.kinds.filter(
1786
+ (k) => k === "fiat" || k === "exchange"
1787
+ )
1788
+ }
1789
+ ] : [];
1790
+ });
1791
+ } catch {
1792
+ return null;
1793
+ }
1794
+ },
1720
1795
  async getSwappedPaymentMethods() {
1721
1796
  const empty = {
1722
1797
  country: null,
@@ -1855,20 +1930,10 @@ function createDepositService(baseUrl, options) {
1855
1930
  }
1856
1931
  };
1857
1932
  }
1858
- var SWAPPED_ORDER_STATUSES = /* @__PURE__ */ new Set([
1859
- "payment_pending",
1860
- "order_completed",
1861
- "order_broadcasted",
1862
- "order_cancelled"
1863
- ]);
1864
1933
  function swappedOrderFromView(orderId, raw) {
1865
1934
  if (!raw || typeof raw !== "object") return null;
1866
1935
  const view = raw;
1867
- if (view.provider !== "swapped") return null;
1868
- const status = view.providerStatus;
1869
- if (typeof status !== "string" || !SWAPPED_ORDER_STATUSES.has(status)) {
1870
- return null;
1871
- }
1936
+ if (view.provider !== "swapped" || !isOrderShape(view)) return null;
1872
1937
  const number = (v) => {
1873
1938
  const n = typeof v === "string" && v.trim() ? Number(v) : v;
1874
1939
  return typeof n === "number" && Number.isFinite(n) ? n : null;
@@ -1882,10 +1947,9 @@ function swappedOrderFromView(orderId, raw) {
1882
1947
  const usdNet = number(view.fiat?.usd?.net);
1883
1948
  return {
1884
1949
  orderId,
1885
- status,
1950
+ ...hostedOrderState(view),
1886
1951
  orderCrypto: text(view.crypto?.asset),
1887
1952
  orderCryptoAmount: text(view.crypto?.amount),
1888
- transactionId: text(view.stages?.delivery?.txHash),
1889
1953
  receivedAt: text(view.updatedAt),
1890
1954
  paidAmountUsd: usdTotal ?? usdNet,
1891
1955
  paidAmountEur: number(view.fiat?.eur?.total) ?? number(view.fiat?.eur?.net),
@@ -1893,6 +1957,19 @@ function swappedOrderFromView(orderId, raw) {
1893
1957
  paymentMethod: railName(view.rail?.method ?? view.rail?.connection)
1894
1958
  };
1895
1959
  }
1960
+ var ORDER_STATUSES = /* @__PURE__ */ new Set([
1961
+ "pending",
1962
+ "processing",
1963
+ "completed",
1964
+ "failed",
1965
+ "refunded"
1966
+ ]);
1967
+ function isOrderShape(view) {
1968
+ const stages = view.stages;
1969
+ return ORDER_STATUSES.has(view.status) && ["receipt", "conversion", "delivery"].every(
1970
+ (name) => typeof stages?.[name]?.status === "string"
1971
+ );
1972
+ }
1896
1973
  function parseAssetItem(raw, fields) {
1897
1974
  if (!raw || typeof raw !== "object") return void 0;
1898
1975
  const record = raw;
@@ -3849,7 +3926,7 @@ function PoweredBy() {
3849
3926
  }
3850
3927
  PoweredBy.displayName = "PoweredBy";
3851
3928
 
3852
- // src/components/history/BankOrderCard.tsx
3929
+ // src/components/history/OrderCard.tsx
3853
3930
  import { useId, useState as useState3 } from "react";
3854
3931
 
3855
3932
  // src/components/history/HistoryTransactionLink.tsx
@@ -3956,7 +4033,7 @@ var BANK_ONRAMP_COPY = {
3956
4033
  }
3957
4034
  };
3958
4035
 
3959
- // src/components/history/BankOrderCard.tsx
4036
+ // src/components/history/OrderCard.tsx
3960
4037
  import { jsx as jsx11, jsxs as jsxs6 } from "react/jsx-runtime";
3961
4038
  function bankSupportHref(value) {
3962
4039
  if (!value) return void 0;
@@ -3967,7 +4044,7 @@ function bankSupportHref(value) {
3967
4044
  return void 0;
3968
4045
  }
3969
4046
  }
3970
- function BankOrderCard({
4047
+ function OrderCard({
3971
4048
  order,
3972
4049
  supportUrl,
3973
4050
  children,
@@ -3979,7 +4056,12 @@ function BankOrderCard({
3979
4056
  const subFee = [order.stages.conversion, order.stages.delivery].some(
3980
4057
  (stage) => stage.status === "failed" && stage.reason === "sub_fee"
3981
4058
  );
3982
- const support = bankSupportHref(supportUrl);
4059
+ const exchange = order.rail.kind === "exchange";
4060
+ const bank = order.provider === "noah" || order.rail.kind === "fiat" && order.rail.method === "bank-transfer";
4061
+ const title = exchange ? "Exchange transfer" : bank ? "Bank transfer" : "Card payment";
4062
+ const Icon = exchange ? CoinsIcon : bank ? BankIcon : CardIcon;
4063
+ const noun = bank ? "bank transfer" : "payment";
4064
+ const support = order.provider === "noah" ? bankSupportHref(supportUrl) : void 0;
3983
4065
  const { delivery } = order.stages;
3984
4066
  const deliveryTxHash = "txHash" in delivery ? delivery.txHash : void 0;
3985
4067
  const needsHelp = ["failed", "returned", "on_hold"].includes(view.progress);
@@ -4011,7 +4093,7 @@ function BankOrderCard({
4011
4093
  month: "short",
4012
4094
  year: "numeric"
4013
4095
  });
4014
- const description = subFee ? "The transfer was consumed by the provider\u2019s fees. No crypto was delivered." : label === "Failed" && deposit ? "Crypto arrived, but settlement to your destination could not be completed." : label === "Completed" ? "Your bank transfer has completed and the crypto reached its destination." : label === "Settled" ? "Your bank transfer has settled into crypto. Final delivery is being confirmed." : label === "Settling" ? "Your bank transfer is being settled into crypto." : label === "Detected" ? "Your bank transfer was detected and is awaiting settlement." : BANK_ONRAMP_COPY[view.progress].subtitle;
4096
+ const description = subFee ? "The transfer was consumed by the provider\u2019s fees. No crypto was delivered." : label === "Failed" && deposit ? "Crypto arrived, but settlement to your destination could not be completed." : label === "Completed" ? `Your ${noun} has completed and the crypto reached its destination.` : label === "Settled" ? `Your ${noun} has settled into crypto. Final delivery is being confirmed.` : label === "Settling" ? `Your ${noun} is being settled into crypto.` : label === "Detected" ? `Your ${noun} was detected and is awaiting settlement.` : order.provider === "noah" || label === "Under review" ? BANK_ONRAMP_COPY[view.progress].subtitle : label === "Returned" ? "The payment was refunded." : "The payment could not be completed. No crypto was delivered.";
4015
4097
  return /* @__PURE__ */ jsxs6(
4016
4098
  "div",
4017
4099
  {
@@ -4026,9 +4108,9 @@ function BankOrderCard({
4026
4108
  "aria-expanded": expanded,
4027
4109
  "aria-controls": panelId,
4028
4110
  children: /* @__PURE__ */ jsxs6("div", { className: "rs-history-card-row", children: [
4029
- /* @__PURE__ */ jsx11("div", { className: "rs-history-card-icons", children: /* @__PURE__ */ jsx11("span", { className: "rs-history-card-token", children: /* @__PURE__ */ jsx11(BankIcon, {}) }) }),
4111
+ /* @__PURE__ */ jsx11("div", { className: "rs-history-card-icons", children: /* @__PURE__ */ jsx11("span", { className: "rs-history-card-token", children: /* @__PURE__ */ jsx11(Icon, {}) }) }),
4030
4112
  /* @__PURE__ */ jsxs6("div", { className: "rs-history-card-text", children: [
4031
- /* @__PURE__ */ jsx11("span", { className: "rs-history-card-title", children: "Bank transfer" }),
4113
+ /* @__PURE__ */ jsx11("span", { className: "rs-history-card-title", children: title }),
4032
4114
  /* @__PURE__ */ jsx11("time", { className: "rs-history-card-date", dateTime: order.createdAt, children: date })
4033
4115
  ] }),
4034
4116
  /* @__PURE__ */ jsxs6("div", { className: "rs-history-card-side", children: [
@@ -4291,7 +4373,7 @@ function formatAmount(rawAmount, decimals) {
4291
4373
  }
4292
4374
  }
4293
4375
  function DepositHistoryPanel({
4294
- bankHistory,
4376
+ orderHistory,
4295
4377
  bankSupportUrl,
4296
4378
  deposits,
4297
4379
  isLoading,
@@ -4419,7 +4501,7 @@ function DepositHistoryPanel({
4419
4501
  ]
4420
4502
  }
4421
4503
  ),
4422
- (isLoading || bankHistory?.loading) && deposits.length === 0 && !bankHistory?.orders.length && /* @__PURE__ */ jsxs7("div", { className: "rs-history-empty", children: [
4504
+ (isLoading || orderHistory?.loading) && deposits.length === 0 && !orderHistory?.orders.length && /* @__PURE__ */ jsxs7("div", { className: "rs-history-empty", children: [
4423
4505
  /* @__PURE__ */ jsx13("span", { className: "rs-history-empty-glyph", "aria-hidden": "true", children: /* @__PURE__ */ jsx13(HistoryIcon, {}) }),
4424
4506
  /* @__PURE__ */ jsxs7("div", { className: "rs-history-empty-text", children: [
4425
4507
  /* @__PURE__ */ jsx13(Spinner, { className: "rs-spinner--sm" }),
@@ -4433,18 +4515,18 @@ function DepositHistoryPanel({
4433
4515
  /* @__PURE__ */ jsx13("span", { className: "rs-history-empty-hint", children: error })
4434
4516
  ] })
4435
4517
  ] }),
4436
- bankHistory?.error && /* @__PURE__ */ jsx13("p", { role: "status", children: bankHistory.error }),
4437
- !isLoading && !error && !bankHistory?.loading && !bankHistory?.error && !bankHistory?.orders.length && visibleDeposits.length === 0 && /* @__PURE__ */ jsxs7("div", { className: "rs-history-empty", children: [
4518
+ orderHistory?.error && /* @__PURE__ */ jsx13("p", { role: "status", children: orderHistory.error }),
4519
+ !isLoading && !error && !orderHistory?.loading && !orderHistory?.error && !orderHistory?.orders.length && visibleDeposits.length === 0 && /* @__PURE__ */ jsxs7("div", { className: "rs-history-empty", children: [
4438
4520
  /* @__PURE__ */ jsx13("span", { className: "rs-history-empty-glyph", "aria-hidden": "true", children: /* @__PURE__ */ jsx13(HistoryIcon, {}) }),
4439
4521
  /* @__PURE__ */ jsxs7("div", { className: "rs-history-empty-text", children: [
4440
4522
  /* @__PURE__ */ jsx13("span", { className: "rs-history-empty-title", children: "No deposits yet" }),
4441
4523
  /* @__PURE__ */ jsx13("span", { className: "rs-history-empty-hint", children: "Your deposit history will appear here" })
4442
4524
  ] })
4443
4525
  ] }),
4444
- (visibleDeposits.length > 0 || Boolean(bankHistory?.orders.length)) && /* @__PURE__ */ jsxs7("div", { className: "rs-history-list", children: [
4526
+ (visibleDeposits.length > 0 || Boolean(orderHistory?.orders.length)) && /* @__PURE__ */ jsxs7("div", { className: "rs-history-list", children: [
4445
4527
  [
4446
4528
  ...visibleDeposits.filter(
4447
- (deposit) => !bankHistory?.orders.some(
4529
+ (deposit) => !orderHistory?.orders.some(
4448
4530
  (order) => order.stages.delivery.status === "completed" && order.stages.delivery.depositId === deposit.id
4449
4531
  )
4450
4532
  ).map((deposit, i) => ({
@@ -4463,15 +4545,15 @@ function DepositHistoryPanel({
4463
4545
  deposit.txHash || i
4464
4546
  )
4465
4547
  })),
4466
- ...(bankHistory?.orders ?? []).map((order) => {
4548
+ ...(orderHistory?.orders ?? []).map((order) => {
4467
4549
  const delivery = order.stages.delivery;
4468
4550
  const linked = delivery.status === "completed" ? visibleDeposits.find(
4469
4551
  (deposit) => deposit.id === delivery.depositId
4470
4552
  ) : void 0;
4471
4553
  return {
4472
- id: `bank:${order.id}`,
4554
+ id: `order:${order.id}`,
4473
4555
  createdAt: order.createdAt,
4474
- content: /* @__PURE__ */ jsx13(BankOrderCard, { order, deposit: linked, supportUrl: bankSupportUrl, children: linked && normalizeStatus(linked.status) === "failed" && /* @__PURE__ */ jsx13(
4556
+ content: /* @__PURE__ */ jsx13(OrderCard, { order, deposit: linked, supportUrl: bankSupportUrl, children: linked && normalizeStatus(linked.status) === "failed" && /* @__PURE__ */ jsx13(
4475
4557
  HistoryCard,
4476
4558
  {
4477
4559
  deposit: linked,
@@ -4485,14 +4567,14 @@ function DepositHistoryPanel({
4485
4567
  };
4486
4568
  })
4487
4569
  ].sort((a, b) => b.createdAt.localeCompare(a.createdAt)).map((entry) => /* @__PURE__ */ jsx13("div", { children: entry.content }, entry.id)),
4488
- bankHistory?.hasMore && /* @__PURE__ */ jsx13(
4570
+ orderHistory?.hasMore && /* @__PURE__ */ jsx13(
4489
4571
  "button",
4490
4572
  {
4491
4573
  type: "button",
4492
4574
  className: "rs-history-load-more",
4493
- disabled: bankHistory.loading,
4494
- onClick: bankHistory.loadMore,
4495
- children: "Load older bank transfers"
4575
+ disabled: orderHistory.loading,
4576
+ onClick: orderHistory.loadMore,
4577
+ children: "Load older payments"
4496
4578
  }
4497
4579
  ),
4498
4580
  hasMore && /* @__PURE__ */ jsx13(
@@ -5987,7 +6069,7 @@ HistoryRecoveryFlow.displayName = "HistoryRecoveryFlow";
5987
6069
  import { Fragment as Fragment4, jsx as jsx22, jsxs as jsxs15 } from "react/jsx-runtime";
5988
6070
  function HistoryOverlay({
5989
6071
  controller,
5990
- bankHistory,
6072
+ orderHistory,
5991
6073
  bankSupportUrl,
5992
6074
  backLabel,
5993
6075
  title,
@@ -6130,7 +6212,7 @@ function HistoryOverlay({
6130
6212
  /* @__PURE__ */ jsx22(
6131
6213
  DepositHistoryPanel,
6132
6214
  {
6133
- bankHistory,
6215
+ orderHistory,
6134
6216
  bankSupportUrl,
6135
6217
  deposits: controller.deposits,
6136
6218
  isLoading: controller.isLoading,
@@ -6554,6 +6636,7 @@ var MANAGED_ACCOUNT_REMOVALS = {
6554
6636
  };
6555
6637
  var REMOVED_PROPS = {
6556
6638
  DepositModal: {
6639
+ bankOnramp: "renamed to `virtualAccountOnramp`; its session is the `getCustomerSession` prop.",
6557
6640
  ...MANAGED_ACCOUNT_REMOVALS,
6558
6641
  dappImports: "renamed to `assetMigrations`.",
6559
6642
  initialDappImport: "renamed to `initialAssetMigration`.",
@@ -6572,7 +6655,8 @@ var REMOVED_UI_CONFIG_KEYS = {
6572
6655
  checkLiquidity: "removed \u2014 the modal no longer surfaces a liquidity cap. Route capacity is enforced when the deposit is processed.",
6573
6656
  showHistoryButton: "removed \u2014 deposit history is always offered, from the modal's home screen. There is no way to hide it."
6574
6657
  };
6575
- var REMOVED_BANK_ONRAMP_KEYS = {
6658
+ var REMOVED_VIRTUAL_ACCOUNT_KEYS = {
6659
+ getSession: "use the `getCustomerSession` prop.",
6576
6660
  currency: "removed \u2014 the currency follows the residence the customer declares at verification: EUR inside SEPA, USD elsewhere."
6577
6661
  };
6578
6662
  var warned = /* @__PURE__ */ new Set();
@@ -6592,14 +6676,14 @@ function warnRemovedProps(component, props) {
6592
6676
  warnOnce(component, key, table[key]);
6593
6677
  }
6594
6678
  }
6595
- const bankOnramp = props.bankOnramp;
6596
- if (bankOnramp && typeof bankOnramp === "object") {
6597
- for (const key of Object.keys(REMOVED_BANK_ONRAMP_KEYS)) {
6598
- if (Object.prototype.hasOwnProperty.call(bankOnramp, key)) {
6679
+ const virtualAccountOnramp = props.virtualAccountOnramp;
6680
+ if (virtualAccountOnramp && typeof virtualAccountOnramp === "object") {
6681
+ for (const key of Object.keys(REMOVED_VIRTUAL_ACCOUNT_KEYS)) {
6682
+ if (Object.prototype.hasOwnProperty.call(virtualAccountOnramp, key)) {
6599
6683
  warnOnce(
6600
6684
  component,
6601
- `bankOnramp.${key}`,
6602
- REMOVED_BANK_ONRAMP_KEYS[key]
6685
+ `virtualAccountOnramp.${key}`,
6686
+ REMOVED_VIRTUAL_ACCOUNT_KEYS[key]
6603
6687
  );
6604
6688
  }
6605
6689
  }
@@ -8475,6 +8559,10 @@ export {
8475
8559
  SOLANA_TOKENS,
8476
8560
  resolveSolanaToken,
8477
8561
  isNativeSol,
8562
+ hostedOrderState,
8563
+ hostedOrderStateFromSwapped,
8564
+ mergeHostedOrderState,
8565
+ hasReached,
8478
8566
  getAssetId,
8479
8567
  chainIdsByValue,
8480
8568
  portfolioToAssets,
@@ -1,5 +1,5 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }// src/core/version.ts
2
- var MODAL_VERSION = "0.20.0";
2
+ var MODAL_VERSION = "0.21.0";
3
3
  var SERVICE_HEADERS = {
4
4
  "Content-Type": "application/json",
5
5
  "x-deposit-modal-version": MODAL_VERSION
@@ -1,21 +1,10 @@
1
+ import {
2
+ rampQuery,
3
+ rampResourceId
4
+ } from "./chunk-PP4QE32S.mjs";
1
5
  import {
2
6
  createBearerTransport
3
- } from "./chunk-XBJCZYBX.mjs";
4
-
5
- // src/core/ramp-utils.ts
6
- function rampQuery(value) {
7
- return new URLSearchParams(
8
- Object.entries(value).filter(([, value2]) => value2 !== void 0).map(([key, value2]) => [key, String(value2)])
9
- ).toString();
10
- }
11
- function rampResourceId(value) {
12
- if (!/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i.test(
13
- value
14
- )) {
15
- throw new Error("Invalid ramp resource ID");
16
- }
17
- return value;
18
- }
7
+ } from "./chunk-PZIKRYMO.mjs";
19
8
 
20
9
  // src/core/onramp-service.ts
21
10
  var RAIL_TYPES = ["BankAch", "BankFedwire", "BankSwift", "BankSepa"];
@@ -1,21 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkOPT5EW6Lcjs = require('./chunk-OPT5EW6L.cjs');
4
3
 
5
- // src/core/ramp-utils.ts
6
- function rampQuery(value) {
7
- return new URLSearchParams(
8
- Object.entries(value).filter(([, value2]) => value2 !== void 0).map(([key, value2]) => [key, String(value2)])
9
- ).toString();
10
- }
11
- function rampResourceId(value) {
12
- if (!/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i.test(
13
- value
14
- )) {
15
- throw new Error("Invalid ramp resource ID");
16
- }
17
- return value;
18
- }
4
+ var _chunkADEWTBSNcjs = require('./chunk-ADEWTBSN.cjs');
5
+
6
+
7
+ var _chunkCG3JKPUFcjs = require('./chunk-CG3JKPUF.cjs');
19
8
 
20
9
  // src/core/onramp-service.ts
21
10
  var RAIL_TYPES = ["BankAch", "BankFedwire", "BankSwift", "BankSepa"];
@@ -76,23 +65,23 @@ function projectBankDetails(input) {
76
65
  };
77
66
  }
78
67
  function createOnrampService(options) {
79
- const request = _chunkOPT5EW6Lcjs.createBearerTransport.call(void 0, options);
68
+ const request = _chunkCG3JKPUFcjs.createBearerTransport.call(void 0, options);
80
69
  return {
81
70
  // Named fields only, never a spread: this client is Noah's, whatever a
82
71
  // caller passes.
83
72
  getOptions: ({ currency } = {}) => request(
84
- `/onramp/options?${rampQuery({ provider: "noah", currency })}`
73
+ `/onramp/options?${_chunkADEWTBSNcjs.rampQuery.call(void 0, { provider: "noah", currency })}`
85
74
  ),
86
75
  createAccount: ({ currency, optionId }) => request("/onramp/accounts", {
87
76
  provider: "noah",
88
77
  currency,
89
78
  optionId
90
79
  }),
91
- listAccounts: (page = {}) => request(`/onramp/accounts?${rampQuery(page)}`),
92
- getAccount: (id) => request(`/onramp/accounts/${rampResourceId(id)}`),
80
+ listAccounts: (page = {}) => request(`/onramp/accounts?${_chunkADEWTBSNcjs.rampQuery.call(void 0, page)}`),
81
+ getAccount: (id) => request(`/onramp/accounts/${_chunkADEWTBSNcjs.rampResourceId.call(void 0, id)}`),
93
82
  getAccountDetails: async (id) => {
94
83
  const result = await request(
95
- `/onramp/accounts/${rampResourceId(id)}/details`
84
+ `/onramp/accounts/${_chunkADEWTBSNcjs.rampResourceId.call(void 0, id)}/details`
96
85
  );
97
86
  const bankDetails = result ? projectBankDetails(result.bankDetails) : null;
98
87
  if (!bankDetails) throw new Error("Invalid bank details response");
@@ -103,7 +92,7 @@ function createOnrampService(options) {
103
92
  * `limit`, so another provider's orders can never crowd one out of a page.
104
93
  */
105
94
  listOrders: ({ cursor, limit } = {}) => request(
106
- `/onramp/orders?${rampQuery({ provider: "noah", cursor, limit })}`
95
+ `/onramp/orders?${_chunkADEWTBSNcjs.rampQuery.call(void 0, { provider: "noah", cursor, limit })}`
107
96
  )
108
97
  };
109
98
  }
@@ -1,11 +1,11 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkFMUSY563cjs = require('./chunk-FMUSY563.cjs');
3
+ var _chunkAV3SA7TWcjs = require('./chunk-AV3SA7TW.cjs');
4
4
 
5
5
 
6
- var _chunkOPT5EW6Lcjs = require('./chunk-OPT5EW6L.cjs');
7
- require('./chunk-EKFXUF5A.cjs');
6
+ var _chunkCG3JKPUFcjs = require('./chunk-CG3JKPUF.cjs');
7
+ require('./chunk-VQAV6ESI.cjs');
8
8
 
9
9
 
10
10
 
11
- exports.ScopedRequestError = _chunkOPT5EW6Lcjs.ScopedRequestError; exports.getComplianceStatus = _chunkFMUSY563cjs.getComplianceStatus;
11
+ exports.ScopedRequestError = _chunkCG3JKPUFcjs.ScopedRequestError; exports.getComplianceStatus = _chunkAV3SA7TWcjs.getComplianceStatus;
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  getComplianceStatus
3
- } from "./chunk-5QUWEFD4.mjs";
3
+ } from "./chunk-CXEQFRX4.mjs";
4
4
  import {
5
5
  ScopedRequestError
6
- } from "./chunk-XBJCZYBX.mjs";
7
- import "./chunk-B2LZQIGB.mjs";
6
+ } from "./chunk-PZIKRYMO.mjs";
7
+ import "./chunk-2D3J53PX.mjs";
8
8
  export {
9
9
  ScopedRequestError,
10
10
  getComplianceStatus
@@ -15,7 +15,7 @@
15
15
  var _chunkFKJ6EJHHcjs = require('./chunk-FKJ6EJHH.cjs');
16
16
 
17
17
 
18
- var _chunkEKFXUF5Acjs = require('./chunk-EKFXUF5A.cjs');
18
+ var _chunkVQAV6ESIcjs = require('./chunk-VQAV6ESI.cjs');
19
19
 
20
20
 
21
21
 
@@ -31,4 +31,4 @@ var _chunkEKFXUF5Acjs = require('./chunk-EKFXUF5A.cjs');
31
31
 
32
32
 
33
33
 
34
- exports.HYPERCORE_CHAIN_ID = _chunkFKJ6EJHHcjs.HYPERCORE_CHAIN_ID; exports.HYPERCORE_SPOT_CAIP2 = _chunkFKJ6EJHHcjs.HYPERCORE_SPOT_CAIP2; exports.HYPERCORE_USDC_ADDRESS = _chunkFKJ6EJHHcjs.HYPERCORE_USDC_ADDRESS; exports.MODAL_VERSION = _chunkEKFXUF5Acjs.MODAL_VERSION; exports.NATIVE_TOKEN_ADDRESS = _chunkFKJ6EJHHcjs.NATIVE_TOKEN_ADDRESS; exports.SUPPORTED_CHAIN_IDS = _chunkFKJ6EJHHcjs.SUPPORTED_CHAIN_IDS; exports.getChainBadge = _chunkFKJ6EJHHcjs.getChainBadge; exports.getChainIcon = _chunkFKJ6EJHHcjs.getChainIcon; exports.getChainId = _chunkFKJ6EJHHcjs.getChainId; exports.getChainName = _chunkFKJ6EJHHcjs.getChainName; exports.getExplorerName = _chunkFKJ6EJHHcjs.getExplorerName; exports.getExplorerTxUrl = _chunkFKJ6EJHHcjs.getExplorerTxUrl; exports.getExplorerUrl = _chunkFKJ6EJHHcjs.getExplorerUrl; exports.getSupportedChainIds = _chunkFKJ6EJHHcjs.getSupportedChainIds;
34
+ exports.HYPERCORE_CHAIN_ID = _chunkFKJ6EJHHcjs.HYPERCORE_CHAIN_ID; exports.HYPERCORE_SPOT_CAIP2 = _chunkFKJ6EJHHcjs.HYPERCORE_SPOT_CAIP2; exports.HYPERCORE_USDC_ADDRESS = _chunkFKJ6EJHHcjs.HYPERCORE_USDC_ADDRESS; exports.MODAL_VERSION = _chunkVQAV6ESIcjs.MODAL_VERSION; exports.NATIVE_TOKEN_ADDRESS = _chunkFKJ6EJHHcjs.NATIVE_TOKEN_ADDRESS; exports.SUPPORTED_CHAIN_IDS = _chunkFKJ6EJHHcjs.SUPPORTED_CHAIN_IDS; exports.getChainBadge = _chunkFKJ6EJHHcjs.getChainBadge; exports.getChainIcon = _chunkFKJ6EJHHcjs.getChainIcon; exports.getChainId = _chunkFKJ6EJHHcjs.getChainId; exports.getChainName = _chunkFKJ6EJHHcjs.getChainName; exports.getExplorerName = _chunkFKJ6EJHHcjs.getExplorerName; exports.getExplorerTxUrl = _chunkFKJ6EJHHcjs.getExplorerTxUrl; exports.getExplorerUrl = _chunkFKJ6EJHHcjs.getExplorerUrl; exports.getSupportedChainIds = _chunkFKJ6EJHHcjs.getSupportedChainIds;
@@ -2,6 +2,6 @@ export { N as NATIVE_TOKEN_ADDRESS, S as SUPPORTED_CHAIN_IDS, g as getChainBadge
2
2
  export { H as HYPERCORE_CHAIN_ID, a as HYPERCORE_SPOT_CAIP2, b as HYPERCORE_USDC_ADDRESS } from './caip-nwFFL46o.cjs';
3
3
  import 'viem';
4
4
 
5
- declare const MODAL_VERSION = "0.20.0";
5
+ declare const MODAL_VERSION = "0.21.0";
6
6
 
7
7
  export { MODAL_VERSION };
@@ -2,6 +2,6 @@ export { N as NATIVE_TOKEN_ADDRESS, S as SUPPORTED_CHAIN_IDS, g as getChainBadge
2
2
  export { H as HYPERCORE_CHAIN_ID, a as HYPERCORE_SPOT_CAIP2, b as HYPERCORE_USDC_ADDRESS } from './caip-nwFFL46o.js';
3
3
  import 'viem';
4
4
 
5
- declare const MODAL_VERSION = "0.20.0";
5
+ declare const MODAL_VERSION = "0.21.0";
6
6
 
7
7
  export { MODAL_VERSION };
@@ -15,7 +15,7 @@ import {
15
15
  } from "./chunk-E7IMWVMN.mjs";
16
16
  import {
17
17
  MODAL_VERSION
18
- } from "./chunk-B2LZQIGB.mjs";
18
+ } from "./chunk-2D3J53PX.mjs";
19
19
  export {
20
20
  HYPERCORE_CHAIN_ID,
21
21
  HYPERCORE_SPOT_CAIP2,
package/dist/deposit.cjs CHANGED
@@ -1,11 +1,13 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkZ4RBTNKXcjs = require('./chunk-Z4RBTNKX.cjs');
3
+ var _chunkCAIRS4LKcjs = require('./chunk-CAIRS4LK.cjs');
4
4
  require('./chunk-FVJKUTHF.cjs');
5
- require('./chunk-CXRH5MKO.cjs');
5
+ require('./chunk-4O2UGFFT.cjs');
6
6
  require('./chunk-G264OM23.cjs');
7
+ require('./chunk-ADEWTBSN.cjs');
8
+ require('./chunk-CG3JKPUF.cjs');
7
9
  require('./chunk-FKJ6EJHH.cjs');
8
- require('./chunk-EKFXUF5A.cjs');
10
+ require('./chunk-VQAV6ESI.cjs');
9
11
 
10
12
 
11
- exports.DepositModal = _chunkZ4RBTNKXcjs.DepositModal;
13
+ exports.DepositModal = _chunkCAIRS4LKcjs.DepositModal;
@@ -1,6 +1,6 @@
1
1
  import * as react from 'react';
2
- import { P as DepositModalProps } from './types-CixUBhrM.cjs';
3
- export { A as AnalyticsEventEnvelope, a as AnalyticsIngestFailureEvent, b as AnalyticsIngestFailureReason, c as AnalyticsReasonFamily, d as AssetMigrationsConfig, e as AssetOption, B as BankOnrampConfig, f as ClaimAnalyticsAbandonmentReason, g as ClaimAnalyticsCloseSource, h as ClaimAnalyticsCorrelation, i as ClaimAnalyticsEntrySource, j as ClaimAnalyticsEvent, k as ClaimAnalyticsEventPayload, l as ClaimAnalyticsFailureReason, m as ClaimAnalyticsSessionProperties, n as ClaimAnalyticsStep, o as ClaimAnalyticsUiOutcome, p as ConnectedEventData, D as DepositAnalyticsAbandonmentReason, q as DepositAnalyticsCloseSource, r as DepositAnalyticsCorrelator, s as DepositAnalyticsEvent, t as DepositAnalyticsEventPayload, u as DepositAnalyticsExchangeStep, v as DepositAnalyticsFailureReason, w as DepositAnalyticsFiatStep, x as DepositAnalyticsMigrationStep, y as DepositAnalyticsSessionProperties, z as DepositAnalyticsSharedStep, E as DepositAnalyticsStep, F as DepositAnalyticsTransferStep, G as DepositAnalyticsUiOutcome, H as DepositAnalyticsWalletStep, I as DepositAssetMigrationMethodIdentifiers, J as DepositCompleteEventData, K as DepositExchangeConnectMethodIdentifiers, L as DepositFailedEventData, M as DepositFiatOnrampMethodIdentifiers, N as DepositFundingMethod, Q as DepositModalTheme, R as DepositModalUIConfig, S as DepositSubmittedEventData, T as DepositTransferHandoffIdentifiers, U as DepositWalletIntegration, V as DepositWalletMethodIdentifiers, W as ErrorEventData, X as FiatMethodsConfig, Y as HistoryAnalyticsBadge, Z as HistoryClaimEntrySource, _ as HistoryStatus, a1 as PaymentConfig, a2 as RecoveryErrorCode, a3 as RpcUrlMap, a4 as SignRecovery, a5 as SignRecoveryPayload } from './types-CixUBhrM.cjs';
2
+ import { P as DepositModalProps } from './types-BrxDZNEr.cjs';
3
+ export { A as AnalyticsEventEnvelope, a as AnalyticsIngestFailureEvent, b as AnalyticsIngestFailureReason, c as AnalyticsReasonFamily, d as AssetMigrationsConfig, e as AssetOption, f as ClaimAnalyticsAbandonmentReason, g as ClaimAnalyticsCloseSource, h as ClaimAnalyticsCorrelation, i as ClaimAnalyticsEntrySource, j as ClaimAnalyticsEvent, k as ClaimAnalyticsEventPayload, l as ClaimAnalyticsFailureReason, m as ClaimAnalyticsSessionProperties, n as ClaimAnalyticsStep, o as ClaimAnalyticsUiOutcome, p as ConnectedEventData, q as CustomerSessionRequest, D as DepositAnalyticsAbandonmentReason, r as DepositAnalyticsCloseSource, s as DepositAnalyticsCorrelator, t as DepositAnalyticsEvent, u as DepositAnalyticsEventPayload, v as DepositAnalyticsExchangeStep, w as DepositAnalyticsFailureReason, x as DepositAnalyticsFiatStep, y as DepositAnalyticsMigrationStep, z as DepositAnalyticsSessionProperties, B as DepositAnalyticsSharedStep, E as DepositAnalyticsStep, F as DepositAnalyticsTransferStep, G as DepositAnalyticsUiOutcome, H as DepositAnalyticsWalletStep, I as DepositAssetMigrationMethodIdentifiers, J as DepositCompleteEventData, K as DepositExchangeConnectMethodIdentifiers, L as DepositFailedEventData, M as DepositFiatOnrampMethodIdentifiers, N as DepositFundingMethod, Q as DepositModalTheme, R as DepositModalUIConfig, S as DepositSubmittedEventData, T as DepositTransferHandoffIdentifiers, U as DepositWalletIntegration, V as DepositWalletMethodIdentifiers, W as ErrorEventData, X as FiatMethodsConfig, Y as HistoryAnalyticsBadge, Z as HistoryClaimEntrySource, _ as HistoryStatus, a1 as PaymentConfig, a2 as RecoveryErrorCode, a3 as RpcUrlMap, a4 as SignRecovery, a5 as SignRecoveryPayload, a6 as VirtualAccountOnrampConfig } from './types-BrxDZNEr.cjs';
4
4
  export { a as CustomerSession } from './bearer-transport-DZyeDG64.cjs';
5
5
  export { R as RampCurrency } from './ramp-types-HYWd7CW0.cjs';
6
6
  import './caip-nwFFL46o.cjs';
package/dist/deposit.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as react from 'react';
2
- import { P as DepositModalProps } from './types-BxSrazbq.js';
3
- export { A as AnalyticsEventEnvelope, a as AnalyticsIngestFailureEvent, b as AnalyticsIngestFailureReason, c as AnalyticsReasonFamily, d as AssetMigrationsConfig, e as AssetOption, B as BankOnrampConfig, f as ClaimAnalyticsAbandonmentReason, g as ClaimAnalyticsCloseSource, h as ClaimAnalyticsCorrelation, i as ClaimAnalyticsEntrySource, j as ClaimAnalyticsEvent, k as ClaimAnalyticsEventPayload, l as ClaimAnalyticsFailureReason, m as ClaimAnalyticsSessionProperties, n as ClaimAnalyticsStep, o as ClaimAnalyticsUiOutcome, p as ConnectedEventData, D as DepositAnalyticsAbandonmentReason, q as DepositAnalyticsCloseSource, r as DepositAnalyticsCorrelator, s as DepositAnalyticsEvent, t as DepositAnalyticsEventPayload, u as DepositAnalyticsExchangeStep, v as DepositAnalyticsFailureReason, w as DepositAnalyticsFiatStep, x as DepositAnalyticsMigrationStep, y as DepositAnalyticsSessionProperties, z as DepositAnalyticsSharedStep, E as DepositAnalyticsStep, F as DepositAnalyticsTransferStep, G as DepositAnalyticsUiOutcome, H as DepositAnalyticsWalletStep, I as DepositAssetMigrationMethodIdentifiers, J as DepositCompleteEventData, K as DepositExchangeConnectMethodIdentifiers, L as DepositFailedEventData, M as DepositFiatOnrampMethodIdentifiers, N as DepositFundingMethod, Q as DepositModalTheme, R as DepositModalUIConfig, S as DepositSubmittedEventData, T as DepositTransferHandoffIdentifiers, U as DepositWalletIntegration, V as DepositWalletMethodIdentifiers, W as ErrorEventData, X as FiatMethodsConfig, Y as HistoryAnalyticsBadge, Z as HistoryClaimEntrySource, _ as HistoryStatus, a1 as PaymentConfig, a2 as RecoveryErrorCode, a3 as RpcUrlMap, a4 as SignRecovery, a5 as SignRecoveryPayload } from './types-BxSrazbq.js';
2
+ import { P as DepositModalProps } from './types-DCUB4DY8.js';
3
+ export { A as AnalyticsEventEnvelope, a as AnalyticsIngestFailureEvent, b as AnalyticsIngestFailureReason, c as AnalyticsReasonFamily, d as AssetMigrationsConfig, e as AssetOption, f as ClaimAnalyticsAbandonmentReason, g as ClaimAnalyticsCloseSource, h as ClaimAnalyticsCorrelation, i as ClaimAnalyticsEntrySource, j as ClaimAnalyticsEvent, k as ClaimAnalyticsEventPayload, l as ClaimAnalyticsFailureReason, m as ClaimAnalyticsSessionProperties, n as ClaimAnalyticsStep, o as ClaimAnalyticsUiOutcome, p as ConnectedEventData, q as CustomerSessionRequest, D as DepositAnalyticsAbandonmentReason, r as DepositAnalyticsCloseSource, s as DepositAnalyticsCorrelator, t as DepositAnalyticsEvent, u as DepositAnalyticsEventPayload, v as DepositAnalyticsExchangeStep, w as DepositAnalyticsFailureReason, x as DepositAnalyticsFiatStep, y as DepositAnalyticsMigrationStep, z as DepositAnalyticsSessionProperties, B as DepositAnalyticsSharedStep, E as DepositAnalyticsStep, F as DepositAnalyticsTransferStep, G as DepositAnalyticsUiOutcome, H as DepositAnalyticsWalletStep, I as DepositAssetMigrationMethodIdentifiers, J as DepositCompleteEventData, K as DepositExchangeConnectMethodIdentifiers, L as DepositFailedEventData, M as DepositFiatOnrampMethodIdentifiers, N as DepositFundingMethod, Q as DepositModalTheme, R as DepositModalUIConfig, S as DepositSubmittedEventData, T as DepositTransferHandoffIdentifiers, U as DepositWalletIntegration, V as DepositWalletMethodIdentifiers, W as ErrorEventData, X as FiatMethodsConfig, Y as HistoryAnalyticsBadge, Z as HistoryClaimEntrySource, _ as HistoryStatus, a1 as PaymentConfig, a2 as RecoveryErrorCode, a3 as RpcUrlMap, a4 as SignRecovery, a5 as SignRecoveryPayload, a6 as VirtualAccountOnrampConfig } from './types-DCUB4DY8.js';
4
4
  export { a as CustomerSession } from './bearer-transport-DZyeDG64.js';
5
5
  export { R as RampCurrency } from './ramp-types-HYWd7CW0.js';
6
6
  import './caip-nwFFL46o.js';
package/dist/deposit.mjs CHANGED
@@ -1,11 +1,13 @@
1
1
  import {
2
2
  DepositModal
3
- } from "./chunk-247GJH57.mjs";
3
+ } from "./chunk-B2LUWNFX.mjs";
4
4
  import "./chunk-2FOPO4N5.mjs";
5
- import "./chunk-32ERBFMO.mjs";
5
+ import "./chunk-UNXUOV3F.mjs";
6
6
  import "./chunk-YY4ZOAH5.mjs";
7
+ import "./chunk-PP4QE32S.mjs";
8
+ import "./chunk-PZIKRYMO.mjs";
7
9
  import "./chunk-E7IMWVMN.mjs";
8
- import "./chunk-B2LZQIGB.mjs";
10
+ import "./chunk-2D3J53PX.mjs";
9
11
  export {
10
12
  DepositModal
11
13
  };