@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
package/dist/embed.cjs CHANGED
@@ -1,12 +1,14 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } 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
- var _chunkZ4RBTNKXcjs = require('./chunk-Z4RBTNKX.cjs');
3
+ var _chunkCAIRS4LKcjs = require('./chunk-CAIRS4LK.cjs');
4
4
  require('./chunk-FVJKUTHF.cjs');
5
5
 
6
6
 
7
7
 
8
- var _chunkCXRH5MKOcjs = require('./chunk-CXRH5MKO.cjs');
8
+ var _chunk4O2UGFFTcjs = require('./chunk-4O2UGFFT.cjs');
9
9
  require('./chunk-G264OM23.cjs');
10
+ require('./chunk-ADEWTBSN.cjs');
11
+ require('./chunk-CG3JKPUF.cjs');
10
12
 
11
13
 
12
14
 
@@ -14,7 +16,7 @@ var _chunkFKJ6EJHHcjs = require('./chunk-FKJ6EJHH.cjs');
14
16
 
15
17
 
16
18
 
17
- var _chunkEKFXUF5Acjs = require('./chunk-EKFXUF5A.cjs');
19
+ var _chunkVQAV6ESIcjs = require('./chunk-VQAV6ESI.cjs');
18
20
 
19
21
  // src/embed.tsx
20
22
  var _react = require('react');
@@ -692,7 +694,7 @@ function assertResultShape(method, result) {
692
694
  `${method}: ${detail}`
693
695
  )
694
696
  );
695
- throw SUBMITTING_WALLET_METHODS.includes(method) ? _chunkCXRH5MKOcjs.markSubmissionUncertain.call(void 0, error) : error;
697
+ throw SUBMITTING_WALLET_METHODS.includes(method) ? _chunk4O2UGFFTcjs.markSubmissionUncertain.call(void 0, error) : error;
696
698
  };
697
699
  switch (method) {
698
700
  case "eth_sendTransaction":
@@ -744,7 +746,7 @@ function createBridgedWalletSession(options) {
744
746
  );
745
747
  } catch (error) {
746
748
  if (submitting && isBridgeRequestError(error) && error.code === -32603) {
747
- throw _chunkCXRH5MKOcjs.markSubmissionUncertain.call(void 0,
749
+ throw _chunk4O2UGFFTcjs.markSubmissionUncertain.call(void 0,
748
750
  new BridgeRequestError(
749
751
  bridgeError(
750
752
  BridgeErrorCode.SUBMISSION_UNCERTAIN,
@@ -755,7 +757,7 @@ function createBridgedWalletSession(options) {
755
757
  );
756
758
  }
757
759
  if (submitting && isBridgeCode(error, BridgeErrorCode.SUBMISSION_UNCERTAIN)) {
758
- throw _chunkCXRH5MKOcjs.markSubmissionUncertain.call(void 0, error);
760
+ throw _chunk4O2UGFFTcjs.markSubmissionUncertain.call(void 0, error);
759
761
  }
760
762
  throw error;
761
763
  }
@@ -874,7 +876,7 @@ async function connectToHost(options) {
874
876
  });
875
877
  const params = {
876
878
  protocol: PROTOCOL_VERSION,
877
- modalVersion: _chunkEKFXUF5Acjs.MODAL_VERSION
879
+ modalVersion: _chunkVQAV6ESIcjs.MODAL_VERSION
878
880
  };
879
881
  let raw;
880
882
  try {
@@ -960,12 +962,12 @@ async function requestHostTransfer(transport, params) {
960
962
  );
961
963
  } catch (error) {
962
964
  if (error instanceof Error && isBridgeCode(error, BridgeErrorCode.SUBMISSION_UNCERTAIN)) {
963
- throw _chunkCXRH5MKOcjs.markSubmissionUncertain.call(void 0, error);
965
+ throw _chunk4O2UGFFTcjs.markSubmissionUncertain.call(void 0, error);
964
966
  }
965
967
  throw error;
966
968
  }
967
969
  if (!isTxHash(_optionalChain([result, 'optionalAccess', _25 => _25.txHash]))) {
968
- throw _chunkCXRH5MKOcjs.markSubmissionUncertain.call(void 0,
970
+ throw _chunk4O2UGFFTcjs.markSubmissionUncertain.call(void 0,
969
971
  new Error(
970
972
  "The app did not return a transaction hash. Check your activity before trying again."
971
973
  )
@@ -1110,7 +1112,7 @@ var UNKNOWN_SCREEN = "unknown";
1110
1112
  // src/embed.tsx
1111
1113
  var _jsxruntime = require('react/jsx-runtime');
1112
1114
  var WithdrawModal = _react.lazy.call(void 0,
1113
- () => Promise.resolve().then(() => _interopRequireWildcard(require("./WithdrawModal-5YWFJSYY.cjs"))).then((m) => ({ default: m.WithdrawModal }))
1115
+ () => Promise.resolve().then(() => _interopRequireWildcard(require("./WithdrawModal-E2BTWJV7.cjs"))).then((m) => ({ default: m.WithdrawModal }))
1114
1116
  );
1115
1117
  function missingField(config, keys) {
1116
1118
  const missing = keys.find(
@@ -1339,11 +1341,11 @@ function DepositEmbed({ target, onFatal }) {
1339
1341
  _optionalChain([back, 'optionalCall', _33 => _33()]);
1340
1342
  return { handled: Boolean(back) };
1341
1343
  });
1342
- _chunkEKFXUF5Acjs.setEmbedHost.call(void 0, next.hello.host);
1344
+ _chunkVQAV6ESIcjs.setEmbedHost.call(void 0, next.hello.host);
1343
1345
  setSession(next);
1344
1346
  setChannelScope(next.channelScope);
1345
1347
  setConfig(sanitizeConfig(next.hello.config));
1346
- void _chunkCXRH5MKOcjs.primeRuntimeChains.call(void 0, next.hello.config.backendUrl).then((result) => {
1348
+ void _chunk4O2UGFFTcjs.primeRuntimeChains.call(void 0, next.hello.config.backendUrl).then((result) => {
1347
1349
  chains = result;
1348
1350
  });
1349
1351
  } catch (error) {
@@ -1353,7 +1355,7 @@ function DepositEmbed({ target, onFatal }) {
1353
1355
  return () => {
1354
1356
  live = false;
1355
1357
  _optionalChain([opened, 'optionalAccess', _36 => _36.close, 'call', _37 => _37()]);
1356
- _chunkEKFXUF5Acjs.setEmbedHost.call(void 0, null);
1358
+ _chunkVQAV6ESIcjs.setEmbedHost.call(void 0, null);
1357
1359
  };
1358
1360
  }, [target]);
1359
1361
  const handleUiState = _react.useCallback.call(void 0,
@@ -1492,7 +1494,7 @@ function DepositEmbed({ target, onFatal }) {
1492
1494
  ) });
1493
1495
  }
1494
1496
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1495
- _chunkZ4RBTNKXcjs.DepositModalInner,
1497
+ _chunkCAIRS4LKcjs.DepositModalInner,
1496
1498
  {
1497
1499
  ...toModalProps(ready, canOpenExternally, walletWithheld),
1498
1500
  openExternally: canOpenExternally ? openExternally : void 0,
package/dist/embed.d.cts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as react from 'react';
2
2
  import { d as TargetChain } from './caip-nwFFL46o.cjs';
3
- import { a0 as OutputTokenRule, X as FiatMethodsConfig, d as AssetMigrationsConfig, Q as DepositModalTheme, R as DepositModalUIConfig } from './types-CixUBhrM.cjs';
3
+ import { a0 as OutputTokenRule, X as FiatMethodsConfig, d as AssetMigrationsConfig, Q as DepositModalTheme, R as DepositModalUIConfig } from './types-BrxDZNEr.cjs';
4
4
  import { WalletClient, PublicClient, Address } from 'viem';
5
5
  import { Transaction, Connection } from '@solana/web3.js';
6
6
  import './bearer-transport-DZyeDG64.cjs';
package/dist/embed.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as react from 'react';
2
2
  import { d as TargetChain } from './caip-nwFFL46o.js';
3
- import { a0 as OutputTokenRule, X as FiatMethodsConfig, d as AssetMigrationsConfig, Q as DepositModalTheme, R as DepositModalUIConfig } from './types-BxSrazbq.js';
3
+ import { a0 as OutputTokenRule, X as FiatMethodsConfig, d as AssetMigrationsConfig, Q as DepositModalTheme, R as DepositModalUIConfig } from './types-DCUB4DY8.js';
4
4
  import { WalletClient, PublicClient, Address } from 'viem';
5
5
  import { Transaction, Connection } from '@solana/web3.js';
6
6
  import './bearer-transport-DZyeDG64.js';
package/dist/embed.mjs CHANGED
@@ -1,12 +1,14 @@
1
1
  import {
2
2
  DepositModalInner
3
- } from "./chunk-247GJH57.mjs";
3
+ } from "./chunk-B2LUWNFX.mjs";
4
4
  import "./chunk-2FOPO4N5.mjs";
5
5
  import {
6
6
  markSubmissionUncertain,
7
7
  primeRuntimeChains
8
- } from "./chunk-32ERBFMO.mjs";
8
+ } from "./chunk-UNXUOV3F.mjs";
9
9
  import "./chunk-YY4ZOAH5.mjs";
10
+ import "./chunk-PP4QE32S.mjs";
11
+ import "./chunk-PZIKRYMO.mjs";
10
12
  import {
11
13
  getChainName,
12
14
  isTargetChain
@@ -14,7 +16,7 @@ import {
14
16
  import {
15
17
  MODAL_VERSION,
16
18
  setEmbedHost
17
- } from "./chunk-B2LZQIGB.mjs";
19
+ } from "./chunk-2D3J53PX.mjs";
18
20
 
19
21
  // src/embed.tsx
20
22
  import { Suspense, lazy, useCallback, useEffect, useRef, useState } from "react";
@@ -1110,7 +1112,7 @@ var UNKNOWN_SCREEN = "unknown";
1110
1112
  // src/embed.tsx
1111
1113
  import { jsx } from "react/jsx-runtime";
1112
1114
  var WithdrawModal = lazy(
1113
- () => import("./WithdrawModal-LL4Z5WZP.mjs").then((m) => ({ default: m.WithdrawModal }))
1115
+ () => import("./WithdrawModal-CB7RNEPI.mjs").then((m) => ({ default: m.WithdrawModal }))
1114
1116
  );
1115
1117
  function missingField(config, keys) {
1116
1118
  const missing = keys.find(
package/dist/index.cjs CHANGED
@@ -1,12 +1,14 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }
2
2
 
3
- var _chunkBTEG2VNZcjs = require('./chunk-BTEG2VNZ.cjs');
3
+ var _chunkU7NYYT4Qcjs = require('./chunk-U7NYYT4Q.cjs');
4
4
 
5
5
 
6
- var _chunkZ4RBTNKXcjs = require('./chunk-Z4RBTNKX.cjs');
6
+ var _chunkCAIRS4LKcjs = require('./chunk-CAIRS4LK.cjs');
7
7
  require('./chunk-FVJKUTHF.cjs');
8
- require('./chunk-CXRH5MKO.cjs');
8
+ require('./chunk-4O2UGFFT.cjs');
9
9
  require('./chunk-G264OM23.cjs');
10
+ require('./chunk-ADEWTBSN.cjs');
11
+ require('./chunk-CG3JKPUF.cjs');
10
12
 
11
13
 
12
14
 
@@ -25,7 +27,7 @@ require('./chunk-G264OM23.cjs');
25
27
 
26
28
 
27
29
  var _chunkFKJ6EJHHcjs = require('./chunk-FKJ6EJHH.cjs');
28
- require('./chunk-EKFXUF5A.cjs');
30
+ require('./chunk-VQAV6ESI.cjs');
29
31
 
30
32
  // src/core/reown-disconnect.ts
31
33
  async function disconnectWallet() {
@@ -66,4 +68,4 @@ async function disconnectWallet() {
66
68
 
67
69
 
68
70
 
69
- exports.DepositModal = _chunkZ4RBTNKXcjs.DepositModal; 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.HYPERCORE_USDT0_ADDRESS = _chunkFKJ6EJHHcjs.HYPERCORE_USDT0_ADDRESS; exports.NATIVE_TOKEN_ADDRESS = _chunkFKJ6EJHHcjs.NATIVE_TOKEN_ADDRESS; exports.STELLAR_PUBNET_CAIP2 = _chunkFKJ6EJHHcjs.STELLAR_PUBNET_CAIP2; exports.SUPPORTED_CHAIN_IDS = _chunkFKJ6EJHHcjs.SUPPORTED_CHAIN_IDS; exports.TRON_MAINNET_CAIP2 = _chunkFKJ6EJHHcjs.TRON_MAINNET_CAIP2; exports.WithdrawModal = _chunkBTEG2VNZcjs.WithdrawModal; exports.disconnectWallet = disconnectWallet; 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;
71
+ exports.DepositModal = _chunkCAIRS4LKcjs.DepositModal; 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.HYPERCORE_USDT0_ADDRESS = _chunkFKJ6EJHHcjs.HYPERCORE_USDT0_ADDRESS; exports.NATIVE_TOKEN_ADDRESS = _chunkFKJ6EJHHcjs.NATIVE_TOKEN_ADDRESS; exports.STELLAR_PUBNET_CAIP2 = _chunkFKJ6EJHHcjs.STELLAR_PUBNET_CAIP2; exports.SUPPORTED_CHAIN_IDS = _chunkFKJ6EJHHcjs.SUPPORTED_CHAIN_IDS; exports.TRON_MAINNET_CAIP2 = _chunkFKJ6EJHHcjs.TRON_MAINNET_CAIP2; exports.WithdrawModal = _chunkU7NYYT4Qcjs.WithdrawModal; exports.disconnectWallet = disconnectWallet; 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;
package/dist/index.d.cts CHANGED
@@ -1,6 +1,6 @@
1
1
  export { DepositModal } from './deposit.cjs';
2
2
  export { WithdrawModal } from './withdraw.cjs';
3
- export { A as AnalyticsEventEnvelope, a as AnalyticsIngestFailureEvent, b as AnalyticsIngestFailureReason, c as AnalyticsReasonFamily, d as AssetMigrationsConfig, e as AssetOption, B as BankOnrampConfig, C as ChainId, 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, O as DepositLifecycleEvent, P as DepositModalProps, 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, $ as ModalAnalyticsEvent, a0 as OutputTokenRule, a1 as PaymentConfig, a2 as RecoveryErrorCode, a3 as RpcUrlMap, a4 as SignRecovery, a5 as SignRecoveryPayload, a6 as WithdrawAnalyticsAbandonmentReason, a7 as WithdrawAnalyticsCloseSource, a8 as WithdrawAnalyticsEvent, a9 as WithdrawAnalyticsEventPayload, aa as WithdrawAnalyticsFailureReason, ab as WithdrawAnalyticsSessionProperties, ac as WithdrawAnalyticsStep, ad as WithdrawAnalyticsUiOutcome, ae as WithdrawCompleteEventData, af as WithdrawFailedEventData, ag as WithdrawLifecycleEvent, ah as WithdrawModalProps, ai as WithdrawSubmittedEventData, aj as WithdrawTransferRequest } from './types-CixUBhrM.cjs';
3
+ export { A as AnalyticsEventEnvelope, a as AnalyticsIngestFailureEvent, b as AnalyticsIngestFailureReason, c as AnalyticsReasonFamily, d as AssetMigrationsConfig, e as AssetOption, C as ChainId, 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, O as DepositLifecycleEvent, P as DepositModalProps, 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, $ as ModalAnalyticsEvent, a0 as OutputTokenRule, a1 as PaymentConfig, a2 as RecoveryErrorCode, a3 as RpcUrlMap, a4 as SignRecovery, a5 as SignRecoveryPayload, a6 as VirtualAccountOnrampConfig, a7 as WithdrawAnalyticsAbandonmentReason, a8 as WithdrawAnalyticsCloseSource, a9 as WithdrawAnalyticsEvent, aa as WithdrawAnalyticsEventPayload, ab as WithdrawAnalyticsFailureReason, ac as WithdrawAnalyticsSessionProperties, ad as WithdrawAnalyticsStep, ae as WithdrawAnalyticsUiOutcome, af as WithdrawCompleteEventData, ag as WithdrawFailedEventData, ah as WithdrawLifecycleEvent, ai as WithdrawModalProps, aj as WithdrawSubmittedEventData, ak as WithdrawTransferRequest } from './types-BrxDZNEr.cjs';
4
4
  export { PolymarketAccount, PolymarketTokenBalance } from './polymarket.cjs';
5
5
  export { N as NATIVE_TOKEN_ADDRESS, S as SUPPORTED_CHAIN_IDS, g as getChainBadge, a as getChainIcon, b as getChainId, c as getChainName, d as getExplorerName, e as getExplorerTxUrl, f as getExplorerUrl, h as getSupportedChainIds } from './constants-BQDxVNgr.cjs';
6
6
  export { D as DisplayChainId, H as HYPERCORE_CHAIN_ID, a as HYPERCORE_SPOT_CAIP2, b as HYPERCORE_USDC_ADDRESS, c as HYPERCORE_USDT0_ADDRESS, S as STELLAR_PUBNET_CAIP2, T as TRON_MAINNET_CAIP2, d as TargetChain } from './caip-nwFFL46o.cjs';
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  export { DepositModal } from './deposit.js';
2
2
  export { WithdrawModal } from './withdraw.js';
3
- export { A as AnalyticsEventEnvelope, a as AnalyticsIngestFailureEvent, b as AnalyticsIngestFailureReason, c as AnalyticsReasonFamily, d as AssetMigrationsConfig, e as AssetOption, B as BankOnrampConfig, C as ChainId, 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, O as DepositLifecycleEvent, P as DepositModalProps, 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, $ as ModalAnalyticsEvent, a0 as OutputTokenRule, a1 as PaymentConfig, a2 as RecoveryErrorCode, a3 as RpcUrlMap, a4 as SignRecovery, a5 as SignRecoveryPayload, a6 as WithdrawAnalyticsAbandonmentReason, a7 as WithdrawAnalyticsCloseSource, a8 as WithdrawAnalyticsEvent, a9 as WithdrawAnalyticsEventPayload, aa as WithdrawAnalyticsFailureReason, ab as WithdrawAnalyticsSessionProperties, ac as WithdrawAnalyticsStep, ad as WithdrawAnalyticsUiOutcome, ae as WithdrawCompleteEventData, af as WithdrawFailedEventData, ag as WithdrawLifecycleEvent, ah as WithdrawModalProps, ai as WithdrawSubmittedEventData, aj as WithdrawTransferRequest } from './types-BxSrazbq.js';
3
+ export { A as AnalyticsEventEnvelope, a as AnalyticsIngestFailureEvent, b as AnalyticsIngestFailureReason, c as AnalyticsReasonFamily, d as AssetMigrationsConfig, e as AssetOption, C as ChainId, 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, O as DepositLifecycleEvent, P as DepositModalProps, 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, $ as ModalAnalyticsEvent, a0 as OutputTokenRule, a1 as PaymentConfig, a2 as RecoveryErrorCode, a3 as RpcUrlMap, a4 as SignRecovery, a5 as SignRecoveryPayload, a6 as VirtualAccountOnrampConfig, a7 as WithdrawAnalyticsAbandonmentReason, a8 as WithdrawAnalyticsCloseSource, a9 as WithdrawAnalyticsEvent, aa as WithdrawAnalyticsEventPayload, ab as WithdrawAnalyticsFailureReason, ac as WithdrawAnalyticsSessionProperties, ad as WithdrawAnalyticsStep, ae as WithdrawAnalyticsUiOutcome, af as WithdrawCompleteEventData, ag as WithdrawFailedEventData, ah as WithdrawLifecycleEvent, ai as WithdrawModalProps, aj as WithdrawSubmittedEventData, ak as WithdrawTransferRequest } from './types-DCUB4DY8.js';
4
4
  export { PolymarketAccount, PolymarketTokenBalance } from './polymarket.js';
5
5
  export { N as NATIVE_TOKEN_ADDRESS, S as SUPPORTED_CHAIN_IDS, g as getChainBadge, a as getChainIcon, b as getChainId, c as getChainName, d as getExplorerName, e as getExplorerTxUrl, f as getExplorerUrl, h as getSupportedChainIds } from './constants-DjGQW5N5.js';
6
6
  export { D as DisplayChainId, H as HYPERCORE_CHAIN_ID, a as HYPERCORE_SPOT_CAIP2, b as HYPERCORE_USDC_ADDRESS, c as HYPERCORE_USDT0_ADDRESS, S as STELLAR_PUBNET_CAIP2, T as TRON_MAINNET_CAIP2, d as TargetChain } from './caip-nwFFL46o.js';
package/dist/index.mjs CHANGED
@@ -1,12 +1,14 @@
1
1
  import {
2
2
  WithdrawModal
3
- } from "./chunk-HP7S7AD6.mjs";
3
+ } from "./chunk-7CHQA2OZ.mjs";
4
4
  import {
5
5
  DepositModal
6
- } from "./chunk-247GJH57.mjs";
6
+ } from "./chunk-B2LUWNFX.mjs";
7
7
  import "./chunk-2FOPO4N5.mjs";
8
- import "./chunk-32ERBFMO.mjs";
8
+ import "./chunk-UNXUOV3F.mjs";
9
9
  import "./chunk-YY4ZOAH5.mjs";
10
+ import "./chunk-PP4QE32S.mjs";
11
+ import "./chunk-PZIKRYMO.mjs";
10
12
  import {
11
13
  HYPERCORE_CHAIN_ID,
12
14
  HYPERCORE_SPOT_CAIP2,
@@ -25,7 +27,7 @@ import {
25
27
  getExplorerUrl,
26
28
  getSupportedChainIds
27
29
  } from "./chunk-E7IMWVMN.mjs";
28
- import "./chunk-B2LZQIGB.mjs";
30
+ import "./chunk-2D3J53PX.mjs";
29
31
 
30
32
  // src/core/reown-disconnect.ts
31
33
  async function disconnectWallet() {
package/dist/onramp.cjs CHANGED
@@ -1,11 +1,12 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkPYRXOP2Ycjs = require('./chunk-PYRXOP2Y.cjs');
3
+ var _chunkX425VJFYcjs = require('./chunk-X425VJFY.cjs');
4
+ require('./chunk-ADEWTBSN.cjs');
4
5
 
5
6
 
6
- var _chunkOPT5EW6Lcjs = require('./chunk-OPT5EW6L.cjs');
7
- require('./chunk-EKFXUF5A.cjs');
7
+ var _chunkCG3JKPUFcjs = require('./chunk-CG3JKPUF.cjs');
8
+ require('./chunk-VQAV6ESI.cjs');
8
9
 
9
10
 
10
11
 
11
- exports.ScopedRequestError = _chunkOPT5EW6Lcjs.ScopedRequestError; exports.createOnrampService = _chunkPYRXOP2Ycjs.createOnrampService;
12
+ exports.ScopedRequestError = _chunkCG3JKPUFcjs.ScopedRequestError; exports.createOnrampService = _chunkX425VJFYcjs.createOnrampService;
package/dist/onramp.mjs CHANGED
@@ -1,10 +1,11 @@
1
1
  import {
2
2
  createOnrampService
3
- } from "./chunk-6CTJFR3T.mjs";
3
+ } from "./chunk-WK2ELRL3.mjs";
4
+ import "./chunk-PP4QE32S.mjs";
4
5
  import {
5
6
  ScopedRequestError
6
- } from "./chunk-XBJCZYBX.mjs";
7
- import "./chunk-B2LZQIGB.mjs";
7
+ } from "./chunk-PZIKRYMO.mjs";
8
+ import "./chunk-2D3J53PX.mjs";
8
9
  export {
9
10
  ScopedRequestError,
10
11
  createOnrampService
package/dist/server.cjs CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }// src/server.ts
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } async function _asyncNullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return await 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; }// src/server.ts
2
2
  var DEFAULT_PROCESSOR_URL = "https://v1.orchestrator.rhinestone.dev/deposit-processor";
3
3
  function createCustomerSessionHandler(options) {
4
4
  const url = `${(_nullishCoalesce(options.processorUrl, () => ( DEFAULT_PROCESSOR_URL))).replace(
@@ -9,13 +9,14 @@ function createCustomerSessionHandler(options) {
9
9
  "Content-Type": "application/json",
10
10
  "Cache-Control": "no-store"
11
11
  };
12
- const error = (status, message) => new Response(JSON.stringify({ error: message }), {
12
+ const error = (status, message, code) => new Response(JSON.stringify({ error: message, ...code && { code } }), {
13
13
  status,
14
14
  headers: responseHeaders
15
15
  });
16
16
  return async (request) => {
17
17
  if (request.method !== "POST") return error(405, "Method not allowed");
18
18
  try {
19
+ const { resumeOnly } = await _asyncNullishCoalesce(await request.clone().json().catch(() => null), async () => ( {}));
19
20
  const identity = await options.authorize(request);
20
21
  if (!identity) return error(401, "Unauthorized");
21
22
  const upstream = await fetch(url, {
@@ -26,17 +27,20 @@ function createCustomerSessionHandler(options) {
26
27
  },
27
28
  body: JSON.stringify({
28
29
  externalCustomerId: identity.externalCustomerId,
29
- ...identity.smartAccount ? { smartAccount: identity.smartAccount } : {}
30
+ ...identity.smartAccount ? { smartAccount: identity.smartAccount } : {},
31
+ ...resumeOnly === true ? { resumeOnly: true } : {}
30
32
  }),
31
33
  cache: "no-store",
32
34
  redirect: "manual",
33
35
  signal: AbortSignal.timeout(15e3)
34
36
  });
35
- if (!upstream.ok)
36
- return error(
37
- upstream.status >= 400 && upstream.status < 500 ? upstream.status : 502,
38
- "Customer session unavailable"
39
- );
37
+ if (!upstream.ok) {
38
+ if (upstream.status < 400 || upstream.status >= 500)
39
+ return error(502, "Customer session unavailable");
40
+ const body = await upstream.json().catch(() => null);
41
+ const code = typeof _optionalChain([body, 'optionalAccess', _ => _.code]) === "string" && /^[A-Z_]{1,64}$/.test(body.code) ? body.code : void 0;
42
+ return error(upstream.status, "Customer session unavailable", code);
43
+ }
40
44
  const value = await upstream.json();
41
45
  if (!value || typeof value !== "object")
42
46
  return error(502, "Invalid customer session");
package/dist/server.mjs CHANGED
@@ -9,13 +9,14 @@ function createCustomerSessionHandler(options) {
9
9
  "Content-Type": "application/json",
10
10
  "Cache-Control": "no-store"
11
11
  };
12
- const error = (status, message) => new Response(JSON.stringify({ error: message }), {
12
+ const error = (status, message, code) => new Response(JSON.stringify({ error: message, ...code && { code } }), {
13
13
  status,
14
14
  headers: responseHeaders
15
15
  });
16
16
  return async (request) => {
17
17
  if (request.method !== "POST") return error(405, "Method not allowed");
18
18
  try {
19
+ const { resumeOnly } = await request.clone().json().catch(() => null) ?? {};
19
20
  const identity = await options.authorize(request);
20
21
  if (!identity) return error(401, "Unauthorized");
21
22
  const upstream = await fetch(url, {
@@ -26,17 +27,20 @@ function createCustomerSessionHandler(options) {
26
27
  },
27
28
  body: JSON.stringify({
28
29
  externalCustomerId: identity.externalCustomerId,
29
- ...identity.smartAccount ? { smartAccount: identity.smartAccount } : {}
30
+ ...identity.smartAccount ? { smartAccount: identity.smartAccount } : {},
31
+ ...resumeOnly === true ? { resumeOnly: true } : {}
30
32
  }),
31
33
  cache: "no-store",
32
34
  redirect: "manual",
33
35
  signal: AbortSignal.timeout(15e3)
34
36
  });
35
- if (!upstream.ok)
36
- return error(
37
- upstream.status >= 400 && upstream.status < 500 ? upstream.status : 502,
38
- "Customer session unavailable"
39
- );
37
+ if (!upstream.ok) {
38
+ if (upstream.status < 400 || upstream.status >= 500)
39
+ return error(502, "Customer session unavailable");
40
+ const body = await upstream.json().catch(() => null);
41
+ const code = typeof body?.code === "string" && /^[A-Z_]{1,64}$/.test(body.code) ? body.code : void 0;
42
+ return error(upstream.status, "Customer session unavailable", code);
43
+ }
40
44
  const value = await upstream.json();
41
45
  if (!value || typeof value !== "object")
42
46
  return error(502, "Invalid customer session");
@@ -94,16 +94,16 @@ type RecoveryErrorCode = "DEPOSIT_NOT_RECOVERABLE" | "RECOVERY_UNSUPPORTED" | "S
94
94
  */
95
95
  type HistoryStatus = "pending" | "processing" | "completed" | "failed" | "refunded" | "spam";
96
96
 
97
+ /** Forward to your endpoint as-is; `createCustomerSessionHandler` reads it. */
98
+ interface CustomerSessionRequest {
99
+ /** History's read: never creates a customer or binds the account. */
100
+ resumeOnly?: boolean;
101
+ }
102
+
97
103
  /** Opt-in customer session and locale for hosted bank-transfer setup. */
98
- interface BankOnrampConfig {
104
+ interface VirtualAccountOnrampConfig {
99
105
  /** HTTPS support page or mailto address for bank-transfer questions. */
100
106
  supportUrl?: string;
101
- /**
102
- * Return a short-lived customer session for the registered deposit account.
103
- * The modal requests a fresh session for each backend request and never stores
104
- * its bearer token.
105
- */
106
- getSession: (smartAccount: Address) => CustomerSession | Promise<CustomerSession>;
107
107
  }
108
108
  type Caip2ChainId = `eip155:${number}` | `solana:${string}`;
109
109
  type ChainId = DisplayChainId | Caip2ChainId;
@@ -313,10 +313,20 @@ interface DepositModalProps {
313
313
  enableFiatOnramp?: boolean;
314
314
  /**
315
315
  * Use Noah for Bank transfer when provisioned; unavailable routes use Swapped.
316
+ * Needs `getCustomerSession`; without it this prop is ignored.
316
317
  * Other fiat methods continue to use Swapped. When
317
318
  * `fiatMethods` is provided, it must explicitly enable `"bank-transfer"`.
318
319
  */
319
- bankOnramp?: BankOnrampConfig;
320
+ virtualAccountOnramp?: VirtualAccountOnrampConfig;
321
+ /**
322
+ * Opt-in. A short-lived customer session for the registered deposit account,
323
+ * from your authenticated server (`createCustomerSessionHandler`). Bank
324
+ * transfer requires it; History uses it to list every provider's orders.
325
+ * Requested per backend call and never stored. Forward `options` in the body:
326
+ * History passes `{ resumeOnly: true }` so viewing orders never binds an account.
327
+ * A failure is an error on the bank step only; History then shows deposits.
328
+ */
329
+ getCustomerSession?: (smartAccount: Address, options?: CustomerSessionRequest) => CustomerSession | Promise<CustomerSession>;
320
330
  /** Show the Transfer Crypto / QR row. Default: true. */
321
331
  enableQrTransfer?: boolean;
322
332
  /**
@@ -724,13 +734,13 @@ type DepositAnalyticsFiatStep = "fiat_regional_payment_method" | "fiat_provider_
724
734
  type DepositAnalyticsExchangeStep = "exchange_selection" | "exchange_fee_acknowledgement" | "exchange_provider_mint" | "exchange_provider_handoff" | "exchange_tracking" | "exchange_finalising" | "exchange_receipt";
725
735
  type DepositAnalyticsMigrationStep = "migration_boot_resolve" | "migration_provider_selection" | "migration_asset_selection" | "migration_amount" | "migration_review" | "migration_submit" | "migration_processing";
726
736
  type DepositAnalyticsStep = DepositAnalyticsSharedStep | DepositAnalyticsWalletStep | DepositAnalyticsTransferStep | DepositAnalyticsFiatStep | DepositAnalyticsExchangeStep | DepositAnalyticsMigrationStep;
727
- type AnalyticsReasonFamily = "account_setup" | "amount" | "exchange" | "lookup" | "migration" | "modal" | "processor" | "provider" | "quote" | "recipient" | "recovery" | "refund" | "regional_methods" | "registration" | "route" | "signature" | "submission" | "swapped" | "transfer" | "wallet";
737
+ type AnalyticsReasonFamily = "account_setup" | "amount" | "bank" | "exchange" | "lookup" | "migration" | "modal" | "processor" | "provider" | "quote" | "recipient" | "recovery" | "refund" | "regional_methods" | "registration" | "route" | "signature" | "submission" | "swapped" | "transfer" | "wallet";
728
738
  /**
729
739
  * Reason prefixes are stable downstream routing keys. Multiword families are
730
740
  * matched from this declared list, not by splitting at the first underscore.
731
741
  */
732
742
  type RoutableAnalyticsReason<Reason extends `${AnalyticsReasonFamily}_${string}`> = Reason;
733
- type DepositAnalyticsFailureReason = RoutableAnalyticsReason<"account_setup_pending" | "account_setup_stale_response" | "account_setup_failed" | "wallet_connection_requested" | "wallet_connection_rejected" | "wallet_connection_failed" | "wallet_disconnected" | "wallet_portfolio_load_failed" | "wallet_no_supported_assets" | "wallet_no_funded_assets" | "amount_invalid" | "amount_insufficient_balance" | "amount_below_minimum" | "amount_above_maximum" | "quote_source_price_unavailable" | "quote_target_price_unavailable" | "quote_unavailable" | "wallet_chain_switch_rejected" | "wallet_chain_switch_failed" | "wallet_permit_preparation_unavailable" | "wallet_signature_rejected" | "submission_rejected" | "submission_failed" | "submission_missing_hash" | "submission_uncertain" | "transfer_source_unavailable" | "transfer_address_unavailable" | "transfer_clipboard_failed" | "processor_status_poll_failed" | "regional_methods_timeout" | "regional_methods_failed" | "regional_methods_fallback" | "regional_methods_empty" | "exchange_list_failed" | "exchange_list_empty" | "exchange_setup_unavailable" | "exchange_fee_changed" | "exchange_fee_not_acknowledged" | "swapped_mint_failed" | "swapped_url_untrusted" | "swapped_iframe_timeout" | "swapped_browser_open_failed" | "provider_cancelled" | "provider_failed" | "processor_failed" | "migration_wallet_required" | "migration_availability_loading" | "migration_availability_failed" | "migration_unavailable" | "migration_no_balance" | "migration_partial_availability" | "migration_coming_soon">;
743
+ type DepositAnalyticsFailureReason = RoutableAnalyticsReason<"account_setup_pending" | "account_setup_stale_response" | "account_setup_failed" | "wallet_connection_requested" | "wallet_connection_rejected" | "wallet_connection_failed" | "wallet_disconnected" | "wallet_portfolio_load_failed" | "wallet_no_supported_assets" | "wallet_no_funded_assets" | "amount_invalid" | "amount_insufficient_balance" | "amount_below_minimum" | "amount_above_maximum" | "quote_source_price_unavailable" | "quote_target_price_unavailable" | "quote_unavailable" | "wallet_chain_switch_rejected" | "wallet_chain_switch_failed" | "wallet_permit_preparation_unavailable" | "wallet_signature_rejected" | "submission_rejected" | "submission_failed" | "submission_missing_hash" | "submission_uncertain" | "transfer_source_unavailable" | "transfer_address_unavailable" | "transfer_clipboard_failed" | "processor_status_poll_failed" | "regional_methods_timeout" | "regional_methods_failed" | "regional_methods_fallback" | "regional_methods_empty" | "exchange_list_failed" | "exchange_list_empty" | "exchange_setup_unavailable" | "exchange_fee_changed" | "exchange_fee_not_acknowledged" | "swapped_mint_failed" | "swapped_url_untrusted" | "swapped_iframe_timeout" | "swapped_browser_open_failed" | "bank_options_failed" | "bank_session_refused" | "bank_setup_failed" | "bank_details_failed" | "bank_details_pending" | "provider_cancelled" | "provider_failed" | "processor_failed" | "migration_wallet_required" | "migration_availability_loading" | "migration_availability_failed" | "migration_unavailable" | "migration_no_balance" | "migration_partial_availability" | "migration_coming_soon">;
734
744
  type DepositAnalyticsAbandonmentReason = "back" | "modal_close" | "provider_back" | "wallet_disconnect" | "method_replacement" | "initial_migration_fallback";
735
745
  type DepositAnalyticsCloseSource = "header_button" | "escape" | "overlay" | "host_controlled" | "provider_back" | "native_dismiss_request" | "success_done" | "failure_cancel" | "new_deposit_reset";
736
746
  type DepositAnalyticsUiOutcome = "completed" | "failed" | "cancelled";
@@ -754,6 +764,8 @@ interface DepositWalletMethodIdentifiers {
754
764
  interface DepositFiatOnrampMethodIdentifiers {
755
765
  readonly payment_method: string;
756
766
  readonly source: "personalized" | "fallback" | "configured";
767
+ /** Who serves the row: `noah` for bank details, else `swapped`. */
768
+ readonly provider?: "swapped" | "noah";
757
769
  }
758
770
  interface DepositExchangeConnectMethodIdentifiers {
759
771
  readonly exchange: string;
@@ -1070,4 +1082,4 @@ interface AnalyticsIngestFailureEvent {
1070
1082
  }
1071
1083
  type ModalAnalyticsEvent = DepositAnalyticsEvent | WithdrawAnalyticsEvent | ClaimAnalyticsEvent | AnalyticsIngestFailureEvent;
1072
1084
 
1073
- export type { ModalAnalyticsEvent as $, AnalyticsEventEnvelope as A, BankOnrampConfig as B, ChainId as C, DepositAnalyticsAbandonmentReason as D, DepositAnalyticsStep as E, DepositAnalyticsTransferStep as F, DepositAnalyticsUiOutcome as G, DepositAnalyticsWalletStep as H, DepositAssetMigrationMethodIdentifiers as I, DepositCompleteEventData as J, DepositExchangeConnectMethodIdentifiers as K, DepositFailedEventData as L, DepositFiatOnrampMethodIdentifiers as M, DepositFundingMethod as N, DepositLifecycleEvent as O, DepositModalProps as P, DepositModalTheme as Q, DepositModalUIConfig as R, DepositSubmittedEventData as S, DepositTransferHandoffIdentifiers as T, DepositWalletIntegration as U, DepositWalletMethodIdentifiers as V, ErrorEventData as W, FiatMethodsConfig as X, HistoryAnalyticsBadge as Y, HistoryClaimEntrySource as Z, HistoryStatus as _, AnalyticsIngestFailureEvent as a, OutputTokenRule as a0, PaymentConfig as a1, RecoveryErrorCode as a2, RpcUrlMap as a3, SignRecovery as a4, SignRecoveryPayload as a5, WithdrawAnalyticsAbandonmentReason as a6, WithdrawAnalyticsCloseSource as a7, WithdrawAnalyticsEvent as a8, WithdrawAnalyticsEventPayload as a9, WithdrawAnalyticsFailureReason as aa, WithdrawAnalyticsSessionProperties as ab, WithdrawAnalyticsStep as ac, WithdrawAnalyticsUiOutcome as ad, WithdrawCompleteEventData as ae, WithdrawFailedEventData as af, WithdrawLifecycleEvent as ag, WithdrawModalProps as ah, WithdrawSubmittedEventData as ai, WithdrawTransferRequest as aj, AnalyticsIngestFailureReason as b, AnalyticsReasonFamily as c, AssetMigrationsConfig as d, AssetOption as e, ClaimAnalyticsAbandonmentReason as f, ClaimAnalyticsCloseSource as g, ClaimAnalyticsCorrelation as h, ClaimAnalyticsEntrySource as i, ClaimAnalyticsEvent as j, ClaimAnalyticsEventPayload as k, ClaimAnalyticsFailureReason as l, ClaimAnalyticsSessionProperties as m, ClaimAnalyticsStep as n, ClaimAnalyticsUiOutcome as o, ConnectedEventData as p, DepositAnalyticsCloseSource as q, DepositAnalyticsCorrelator as r, DepositAnalyticsEvent as s, DepositAnalyticsEventPayload as t, DepositAnalyticsExchangeStep as u, DepositAnalyticsFailureReason as v, DepositAnalyticsFiatStep as w, DepositAnalyticsMigrationStep as x, DepositAnalyticsSessionProperties as y, DepositAnalyticsSharedStep as z };
1085
+ export type { ModalAnalyticsEvent as $, AnalyticsEventEnvelope as A, DepositAnalyticsSharedStep as B, ChainId as C, DepositAnalyticsAbandonmentReason as D, DepositAnalyticsStep as E, DepositAnalyticsTransferStep as F, DepositAnalyticsUiOutcome as G, DepositAnalyticsWalletStep as H, DepositAssetMigrationMethodIdentifiers as I, DepositCompleteEventData as J, DepositExchangeConnectMethodIdentifiers as K, DepositFailedEventData as L, DepositFiatOnrampMethodIdentifiers as M, DepositFundingMethod as N, DepositLifecycleEvent as O, DepositModalProps as P, DepositModalTheme as Q, DepositModalUIConfig as R, DepositSubmittedEventData as S, DepositTransferHandoffIdentifiers as T, DepositWalletIntegration as U, DepositWalletMethodIdentifiers as V, ErrorEventData as W, FiatMethodsConfig as X, HistoryAnalyticsBadge as Y, HistoryClaimEntrySource as Z, HistoryStatus as _, AnalyticsIngestFailureEvent as a, OutputTokenRule as a0, PaymentConfig as a1, RecoveryErrorCode as a2, RpcUrlMap as a3, SignRecovery as a4, SignRecoveryPayload as a5, VirtualAccountOnrampConfig as a6, WithdrawAnalyticsAbandonmentReason as a7, WithdrawAnalyticsCloseSource as a8, WithdrawAnalyticsEvent as a9, WithdrawAnalyticsEventPayload as aa, WithdrawAnalyticsFailureReason as ab, WithdrawAnalyticsSessionProperties as ac, WithdrawAnalyticsStep as ad, WithdrawAnalyticsUiOutcome as ae, WithdrawCompleteEventData as af, WithdrawFailedEventData as ag, WithdrawLifecycleEvent as ah, WithdrawModalProps as ai, WithdrawSubmittedEventData as aj, WithdrawTransferRequest as ak, AnalyticsIngestFailureReason as b, AnalyticsReasonFamily as c, AssetMigrationsConfig as d, AssetOption as e, ClaimAnalyticsAbandonmentReason as f, ClaimAnalyticsCloseSource as g, ClaimAnalyticsCorrelation as h, ClaimAnalyticsEntrySource as i, ClaimAnalyticsEvent as j, ClaimAnalyticsEventPayload as k, ClaimAnalyticsFailureReason as l, ClaimAnalyticsSessionProperties as m, ClaimAnalyticsStep as n, ClaimAnalyticsUiOutcome as o, ConnectedEventData as p, CustomerSessionRequest as q, DepositAnalyticsCloseSource as r, DepositAnalyticsCorrelator as s, DepositAnalyticsEvent as t, DepositAnalyticsEventPayload as u, DepositAnalyticsExchangeStep as v, DepositAnalyticsFailureReason as w, DepositAnalyticsFiatStep as x, DepositAnalyticsMigrationStep as y, DepositAnalyticsSessionProperties as z };
@@ -94,16 +94,16 @@ type RecoveryErrorCode = "DEPOSIT_NOT_RECOVERABLE" | "RECOVERY_UNSUPPORTED" | "S
94
94
  */
95
95
  type HistoryStatus = "pending" | "processing" | "completed" | "failed" | "refunded" | "spam";
96
96
 
97
+ /** Forward to your endpoint as-is; `createCustomerSessionHandler` reads it. */
98
+ interface CustomerSessionRequest {
99
+ /** History's read: never creates a customer or binds the account. */
100
+ resumeOnly?: boolean;
101
+ }
102
+
97
103
  /** Opt-in customer session and locale for hosted bank-transfer setup. */
98
- interface BankOnrampConfig {
104
+ interface VirtualAccountOnrampConfig {
99
105
  /** HTTPS support page or mailto address for bank-transfer questions. */
100
106
  supportUrl?: string;
101
- /**
102
- * Return a short-lived customer session for the registered deposit account.
103
- * The modal requests a fresh session for each backend request and never stores
104
- * its bearer token.
105
- */
106
- getSession: (smartAccount: Address) => CustomerSession | Promise<CustomerSession>;
107
107
  }
108
108
  type Caip2ChainId = `eip155:${number}` | `solana:${string}`;
109
109
  type ChainId = DisplayChainId | Caip2ChainId;
@@ -313,10 +313,20 @@ interface DepositModalProps {
313
313
  enableFiatOnramp?: boolean;
314
314
  /**
315
315
  * Use Noah for Bank transfer when provisioned; unavailable routes use Swapped.
316
+ * Needs `getCustomerSession`; without it this prop is ignored.
316
317
  * Other fiat methods continue to use Swapped. When
317
318
  * `fiatMethods` is provided, it must explicitly enable `"bank-transfer"`.
318
319
  */
319
- bankOnramp?: BankOnrampConfig;
320
+ virtualAccountOnramp?: VirtualAccountOnrampConfig;
321
+ /**
322
+ * Opt-in. A short-lived customer session for the registered deposit account,
323
+ * from your authenticated server (`createCustomerSessionHandler`). Bank
324
+ * transfer requires it; History uses it to list every provider's orders.
325
+ * Requested per backend call and never stored. Forward `options` in the body:
326
+ * History passes `{ resumeOnly: true }` so viewing orders never binds an account.
327
+ * A failure is an error on the bank step only; History then shows deposits.
328
+ */
329
+ getCustomerSession?: (smartAccount: Address, options?: CustomerSessionRequest) => CustomerSession | Promise<CustomerSession>;
320
330
  /** Show the Transfer Crypto / QR row. Default: true. */
321
331
  enableQrTransfer?: boolean;
322
332
  /**
@@ -724,13 +734,13 @@ type DepositAnalyticsFiatStep = "fiat_regional_payment_method" | "fiat_provider_
724
734
  type DepositAnalyticsExchangeStep = "exchange_selection" | "exchange_fee_acknowledgement" | "exchange_provider_mint" | "exchange_provider_handoff" | "exchange_tracking" | "exchange_finalising" | "exchange_receipt";
725
735
  type DepositAnalyticsMigrationStep = "migration_boot_resolve" | "migration_provider_selection" | "migration_asset_selection" | "migration_amount" | "migration_review" | "migration_submit" | "migration_processing";
726
736
  type DepositAnalyticsStep = DepositAnalyticsSharedStep | DepositAnalyticsWalletStep | DepositAnalyticsTransferStep | DepositAnalyticsFiatStep | DepositAnalyticsExchangeStep | DepositAnalyticsMigrationStep;
727
- type AnalyticsReasonFamily = "account_setup" | "amount" | "exchange" | "lookup" | "migration" | "modal" | "processor" | "provider" | "quote" | "recipient" | "recovery" | "refund" | "regional_methods" | "registration" | "route" | "signature" | "submission" | "swapped" | "transfer" | "wallet";
737
+ type AnalyticsReasonFamily = "account_setup" | "amount" | "bank" | "exchange" | "lookup" | "migration" | "modal" | "processor" | "provider" | "quote" | "recipient" | "recovery" | "refund" | "regional_methods" | "registration" | "route" | "signature" | "submission" | "swapped" | "transfer" | "wallet";
728
738
  /**
729
739
  * Reason prefixes are stable downstream routing keys. Multiword families are
730
740
  * matched from this declared list, not by splitting at the first underscore.
731
741
  */
732
742
  type RoutableAnalyticsReason<Reason extends `${AnalyticsReasonFamily}_${string}`> = Reason;
733
- type DepositAnalyticsFailureReason = RoutableAnalyticsReason<"account_setup_pending" | "account_setup_stale_response" | "account_setup_failed" | "wallet_connection_requested" | "wallet_connection_rejected" | "wallet_connection_failed" | "wallet_disconnected" | "wallet_portfolio_load_failed" | "wallet_no_supported_assets" | "wallet_no_funded_assets" | "amount_invalid" | "amount_insufficient_balance" | "amount_below_minimum" | "amount_above_maximum" | "quote_source_price_unavailable" | "quote_target_price_unavailable" | "quote_unavailable" | "wallet_chain_switch_rejected" | "wallet_chain_switch_failed" | "wallet_permit_preparation_unavailable" | "wallet_signature_rejected" | "submission_rejected" | "submission_failed" | "submission_missing_hash" | "submission_uncertain" | "transfer_source_unavailable" | "transfer_address_unavailable" | "transfer_clipboard_failed" | "processor_status_poll_failed" | "regional_methods_timeout" | "regional_methods_failed" | "regional_methods_fallback" | "regional_methods_empty" | "exchange_list_failed" | "exchange_list_empty" | "exchange_setup_unavailable" | "exchange_fee_changed" | "exchange_fee_not_acknowledged" | "swapped_mint_failed" | "swapped_url_untrusted" | "swapped_iframe_timeout" | "swapped_browser_open_failed" | "provider_cancelled" | "provider_failed" | "processor_failed" | "migration_wallet_required" | "migration_availability_loading" | "migration_availability_failed" | "migration_unavailable" | "migration_no_balance" | "migration_partial_availability" | "migration_coming_soon">;
743
+ type DepositAnalyticsFailureReason = RoutableAnalyticsReason<"account_setup_pending" | "account_setup_stale_response" | "account_setup_failed" | "wallet_connection_requested" | "wallet_connection_rejected" | "wallet_connection_failed" | "wallet_disconnected" | "wallet_portfolio_load_failed" | "wallet_no_supported_assets" | "wallet_no_funded_assets" | "amount_invalid" | "amount_insufficient_balance" | "amount_below_minimum" | "amount_above_maximum" | "quote_source_price_unavailable" | "quote_target_price_unavailable" | "quote_unavailable" | "wallet_chain_switch_rejected" | "wallet_chain_switch_failed" | "wallet_permit_preparation_unavailable" | "wallet_signature_rejected" | "submission_rejected" | "submission_failed" | "submission_missing_hash" | "submission_uncertain" | "transfer_source_unavailable" | "transfer_address_unavailable" | "transfer_clipboard_failed" | "processor_status_poll_failed" | "regional_methods_timeout" | "regional_methods_failed" | "regional_methods_fallback" | "regional_methods_empty" | "exchange_list_failed" | "exchange_list_empty" | "exchange_setup_unavailable" | "exchange_fee_changed" | "exchange_fee_not_acknowledged" | "swapped_mint_failed" | "swapped_url_untrusted" | "swapped_iframe_timeout" | "swapped_browser_open_failed" | "bank_options_failed" | "bank_session_refused" | "bank_setup_failed" | "bank_details_failed" | "bank_details_pending" | "provider_cancelled" | "provider_failed" | "processor_failed" | "migration_wallet_required" | "migration_availability_loading" | "migration_availability_failed" | "migration_unavailable" | "migration_no_balance" | "migration_partial_availability" | "migration_coming_soon">;
734
744
  type DepositAnalyticsAbandonmentReason = "back" | "modal_close" | "provider_back" | "wallet_disconnect" | "method_replacement" | "initial_migration_fallback";
735
745
  type DepositAnalyticsCloseSource = "header_button" | "escape" | "overlay" | "host_controlled" | "provider_back" | "native_dismiss_request" | "success_done" | "failure_cancel" | "new_deposit_reset";
736
746
  type DepositAnalyticsUiOutcome = "completed" | "failed" | "cancelled";
@@ -754,6 +764,8 @@ interface DepositWalletMethodIdentifiers {
754
764
  interface DepositFiatOnrampMethodIdentifiers {
755
765
  readonly payment_method: string;
756
766
  readonly source: "personalized" | "fallback" | "configured";
767
+ /** Who serves the row: `noah` for bank details, else `swapped`. */
768
+ readonly provider?: "swapped" | "noah";
757
769
  }
758
770
  interface DepositExchangeConnectMethodIdentifiers {
759
771
  readonly exchange: string;
@@ -1070,4 +1082,4 @@ interface AnalyticsIngestFailureEvent {
1070
1082
  }
1071
1083
  type ModalAnalyticsEvent = DepositAnalyticsEvent | WithdrawAnalyticsEvent | ClaimAnalyticsEvent | AnalyticsIngestFailureEvent;
1072
1084
 
1073
- export type { ModalAnalyticsEvent as $, AnalyticsEventEnvelope as A, BankOnrampConfig as B, ChainId as C, DepositAnalyticsAbandonmentReason as D, DepositAnalyticsStep as E, DepositAnalyticsTransferStep as F, DepositAnalyticsUiOutcome as G, DepositAnalyticsWalletStep as H, DepositAssetMigrationMethodIdentifiers as I, DepositCompleteEventData as J, DepositExchangeConnectMethodIdentifiers as K, DepositFailedEventData as L, DepositFiatOnrampMethodIdentifiers as M, DepositFundingMethod as N, DepositLifecycleEvent as O, DepositModalProps as P, DepositModalTheme as Q, DepositModalUIConfig as R, DepositSubmittedEventData as S, DepositTransferHandoffIdentifiers as T, DepositWalletIntegration as U, DepositWalletMethodIdentifiers as V, ErrorEventData as W, FiatMethodsConfig as X, HistoryAnalyticsBadge as Y, HistoryClaimEntrySource as Z, HistoryStatus as _, AnalyticsIngestFailureEvent as a, OutputTokenRule as a0, PaymentConfig as a1, RecoveryErrorCode as a2, RpcUrlMap as a3, SignRecovery as a4, SignRecoveryPayload as a5, WithdrawAnalyticsAbandonmentReason as a6, WithdrawAnalyticsCloseSource as a7, WithdrawAnalyticsEvent as a8, WithdrawAnalyticsEventPayload as a9, WithdrawAnalyticsFailureReason as aa, WithdrawAnalyticsSessionProperties as ab, WithdrawAnalyticsStep as ac, WithdrawAnalyticsUiOutcome as ad, WithdrawCompleteEventData as ae, WithdrawFailedEventData as af, WithdrawLifecycleEvent as ag, WithdrawModalProps as ah, WithdrawSubmittedEventData as ai, WithdrawTransferRequest as aj, AnalyticsIngestFailureReason as b, AnalyticsReasonFamily as c, AssetMigrationsConfig as d, AssetOption as e, ClaimAnalyticsAbandonmentReason as f, ClaimAnalyticsCloseSource as g, ClaimAnalyticsCorrelation as h, ClaimAnalyticsEntrySource as i, ClaimAnalyticsEvent as j, ClaimAnalyticsEventPayload as k, ClaimAnalyticsFailureReason as l, ClaimAnalyticsSessionProperties as m, ClaimAnalyticsStep as n, ClaimAnalyticsUiOutcome as o, ConnectedEventData as p, DepositAnalyticsCloseSource as q, DepositAnalyticsCorrelator as r, DepositAnalyticsEvent as s, DepositAnalyticsEventPayload as t, DepositAnalyticsExchangeStep as u, DepositAnalyticsFailureReason as v, DepositAnalyticsFiatStep as w, DepositAnalyticsMigrationStep as x, DepositAnalyticsSessionProperties as y, DepositAnalyticsSharedStep as z };
1085
+ export type { ModalAnalyticsEvent as $, AnalyticsEventEnvelope as A, DepositAnalyticsSharedStep as B, ChainId as C, DepositAnalyticsAbandonmentReason as D, DepositAnalyticsStep as E, DepositAnalyticsTransferStep as F, DepositAnalyticsUiOutcome as G, DepositAnalyticsWalletStep as H, DepositAssetMigrationMethodIdentifiers as I, DepositCompleteEventData as J, DepositExchangeConnectMethodIdentifiers as K, DepositFailedEventData as L, DepositFiatOnrampMethodIdentifiers as M, DepositFundingMethod as N, DepositLifecycleEvent as O, DepositModalProps as P, DepositModalTheme as Q, DepositModalUIConfig as R, DepositSubmittedEventData as S, DepositTransferHandoffIdentifiers as T, DepositWalletIntegration as U, DepositWalletMethodIdentifiers as V, ErrorEventData as W, FiatMethodsConfig as X, HistoryAnalyticsBadge as Y, HistoryClaimEntrySource as Z, HistoryStatus as _, AnalyticsIngestFailureEvent as a, OutputTokenRule as a0, PaymentConfig as a1, RecoveryErrorCode as a2, RpcUrlMap as a3, SignRecovery as a4, SignRecoveryPayload as a5, VirtualAccountOnrampConfig as a6, WithdrawAnalyticsAbandonmentReason as a7, WithdrawAnalyticsCloseSource as a8, WithdrawAnalyticsEvent as a9, WithdrawAnalyticsEventPayload as aa, WithdrawAnalyticsFailureReason as ab, WithdrawAnalyticsSessionProperties as ac, WithdrawAnalyticsStep as ad, WithdrawAnalyticsUiOutcome as ae, WithdrawCompleteEventData as af, WithdrawFailedEventData as ag, WithdrawLifecycleEvent as ah, WithdrawModalProps as ai, WithdrawSubmittedEventData as aj, WithdrawTransferRequest as ak, AnalyticsIngestFailureReason as b, AnalyticsReasonFamily as c, AssetMigrationsConfig as d, AssetOption as e, ClaimAnalyticsAbandonmentReason as f, ClaimAnalyticsCloseSource as g, ClaimAnalyticsCorrelation as h, ClaimAnalyticsEntrySource as i, ClaimAnalyticsEvent as j, ClaimAnalyticsEventPayload as k, ClaimAnalyticsFailureReason as l, ClaimAnalyticsSessionProperties as m, ClaimAnalyticsStep as n, ClaimAnalyticsUiOutcome as o, ConnectedEventData as p, CustomerSessionRequest as q, DepositAnalyticsCloseSource as r, DepositAnalyticsCorrelator as s, DepositAnalyticsEvent as t, DepositAnalyticsEventPayload as u, DepositAnalyticsExchangeStep as v, DepositAnalyticsFailureReason as w, DepositAnalyticsFiatStep as x, DepositAnalyticsMigrationStep as y, DepositAnalyticsSessionProperties as z };
package/dist/withdraw.cjs CHANGED
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkBTEG2VNZcjs = require('./chunk-BTEG2VNZ.cjs');
4
- require('./chunk-CXRH5MKO.cjs');
3
+ var _chunkU7NYYT4Qcjs = require('./chunk-U7NYYT4Q.cjs');
4
+ require('./chunk-4O2UGFFT.cjs');
5
5
  require('./chunk-G264OM23.cjs');
6
6
  require('./chunk-FKJ6EJHH.cjs');
7
- require('./chunk-EKFXUF5A.cjs');
7
+ require('./chunk-VQAV6ESI.cjs');
8
8
 
9
9
 
10
- exports.WithdrawModal = _chunkBTEG2VNZcjs.WithdrawModal;
10
+ exports.WithdrawModal = _chunkU7NYYT4Qcjs.WithdrawModal;
@@ -1,6 +1,6 @@
1
1
  import * as react from 'react';
2
- import { ah as WithdrawModalProps } from './types-CixUBhrM.cjs';
3
- export { A as AnalyticsEventEnvelope, a as AnalyticsIngestFailureEvent, b as AnalyticsIngestFailureReason, c as AnalyticsReasonFamily, 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, W as ErrorEventData, Y as HistoryAnalyticsBadge, Z as HistoryClaimEntrySource, _ as HistoryStatus, a2 as RecoveryErrorCode, a3 as RpcUrlMap, a4 as SignRecovery, a5 as SignRecoveryPayload, a6 as WithdrawAnalyticsAbandonmentReason, a7 as WithdrawAnalyticsCloseSource, a8 as WithdrawAnalyticsEvent, a9 as WithdrawAnalyticsEventPayload, aa as WithdrawAnalyticsFailureReason, ab as WithdrawAnalyticsSessionProperties, ac as WithdrawAnalyticsStep, ad as WithdrawAnalyticsUiOutcome, ae as WithdrawCompleteEventData, af as WithdrawFailedEventData, ai as WithdrawSubmittedEventData, aj as WithdrawTransferRequest } from './types-CixUBhrM.cjs';
2
+ import { ai as WithdrawModalProps } from './types-BrxDZNEr.cjs';
3
+ export { A as AnalyticsEventEnvelope, a as AnalyticsIngestFailureEvent, b as AnalyticsIngestFailureReason, c as AnalyticsReasonFamily, 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, W as ErrorEventData, Y as HistoryAnalyticsBadge, Z as HistoryClaimEntrySource, _ as HistoryStatus, a2 as RecoveryErrorCode, a3 as RpcUrlMap, a4 as SignRecovery, a5 as SignRecoveryPayload, a7 as WithdrawAnalyticsAbandonmentReason, a8 as WithdrawAnalyticsCloseSource, a9 as WithdrawAnalyticsEvent, aa as WithdrawAnalyticsEventPayload, ab as WithdrawAnalyticsFailureReason, ac as WithdrawAnalyticsSessionProperties, ad as WithdrawAnalyticsStep, ae as WithdrawAnalyticsUiOutcome, af as WithdrawCompleteEventData, ag as WithdrawFailedEventData, aj as WithdrawSubmittedEventData, ak as WithdrawTransferRequest } from './types-BrxDZNEr.cjs';
4
4
  import './caip-nwFFL46o.cjs';
5
5
  import 'viem';
6
6
  import './bearer-transport-DZyeDG64.cjs';