@rhinestone/deposit-modal 0.17.0 → 0.19.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 (62) hide show
  1. package/README.md +109 -0
  2. package/dist/{DepositModalReown-6CXXGQ7X.cjs → DepositModalReown-UITYXJ6W.cjs} +17 -17
  3. package/dist/{DepositModalReown-ELDSTIME.mjs → DepositModalReown-XBNY6QCI.mjs} +4 -4
  4. package/dist/{WithdrawModal-QRMDR5T4.mjs → WithdrawModal-DY6A55OA.mjs} +3 -3
  5. package/dist/WithdrawModal-V42OK7L3.cjs +11 -0
  6. package/dist/bearer-transport-CVHNBgoV.d.cts +14 -0
  7. package/dist/bearer-transport-CVHNBgoV.d.ts +14 -0
  8. package/dist/{chunk-QMGEK623.mjs → chunk-5NWLS5BQ.mjs} +536 -225
  9. package/dist/chunk-ADEWTBSN.cjs +19 -0
  10. package/dist/{chunk-ZHX4QROC.mjs → chunk-BIL4ENC3.mjs} +1 -1
  11. package/dist/{chunk-2W4BJ5I3.cjs → chunk-EG4H7OMC.cjs} +71 -71
  12. package/dist/{chunk-QGNJFDEO.cjs → chunk-HMUGY66O.cjs} +690 -379
  13. package/dist/chunk-ISLVD5HQ.cjs +41 -0
  14. package/dist/{chunk-H66WM5AO.mjs → chunk-NITKDXHR.mjs} +388 -95
  15. package/dist/{chunk-XJMDCBHS.cjs → chunk-OCWSMLOP.cjs} +862 -569
  16. package/dist/chunk-PP4QE32S.mjs +19 -0
  17. package/dist/{chunk-JCWJ6HW7.cjs → chunk-PYOC6K24.cjs} +1 -1
  18. package/dist/{chunk-XCBDJPBD.mjs → chunk-X6N2XPTO.mjs} +1 -1
  19. package/dist/chunk-ZGHVJ2XM.mjs +41 -0
  20. package/dist/compliance.cjs +14 -0
  21. package/dist/compliance.d.cts +10 -0
  22. package/dist/compliance.d.ts +10 -0
  23. package/dist/compliance.mjs +14 -0
  24. package/dist/constants.cjs +3 -3
  25. package/dist/constants.d.cts +1 -1
  26. package/dist/constants.d.ts +1 -1
  27. package/dist/constants.mjs +3 -3
  28. package/dist/deposit.cjs +4 -4
  29. package/dist/deposit.d.cts +2 -2
  30. package/dist/deposit.d.ts +2 -2
  31. package/dist/deposit.mjs +3 -3
  32. package/dist/embed.cjs +16 -16
  33. package/dist/embed.d.cts +1 -1
  34. package/dist/embed.d.ts +1 -1
  35. package/dist/embed.mjs +8 -8
  36. package/dist/index.cjs +5 -5
  37. package/dist/index.d.cts +1 -1
  38. package/dist/index.d.ts +1 -1
  39. package/dist/index.mjs +4 -4
  40. package/dist/offramp.cjs +25 -0
  41. package/dist/offramp.d.cts +28 -0
  42. package/dist/offramp.d.ts +28 -0
  43. package/dist/offramp.mjs +25 -0
  44. package/dist/onramp.cjs +40 -0
  45. package/dist/onramp.d.cts +55 -0
  46. package/dist/onramp.d.ts +55 -0
  47. package/dist/onramp.mjs +40 -0
  48. package/dist/ramp-types-C6aUz4SZ.d.cts +43 -0
  49. package/dist/ramp-types-C6aUz4SZ.d.ts +43 -0
  50. package/dist/server.cjs +54 -2
  51. package/dist/server.d.cts +13 -1
  52. package/dist/server.d.ts +13 -1
  53. package/dist/server.mjs +52 -0
  54. package/dist/styles.css +25 -0
  55. package/dist/{types-B9SbZQIG.d.ts → types-BOxa1DE-.d.ts} +40 -4
  56. package/dist/{types-SwGGf0eH.d.cts → types-BShYNpvO.d.cts} +40 -4
  57. package/dist/withdraw.cjs +4 -4
  58. package/dist/withdraw.d.cts +2 -2
  59. package/dist/withdraw.d.ts +2 -2
  60. package/dist/withdraw.mjs +3 -3
  61. package/package.json +35 -5
  62. package/dist/WithdrawModal-QB2U756L.cjs +0 -11
@@ -87,8 +87,9 @@ type RecoveryErrorCode = "DEPOSIT_NOT_RECOVERABLE" | "RECOVERY_UNSUPPORTED" | "S
87
87
  /**
88
88
  * How a `GET /deposits` row reads on screen, and which rows are on screen at
89
89
  * all. Shared rather than private to the history panel: the header's status dot
90
- * derives from the same rows the panel lists, and a second copy of either
91
- * answer would let the badge and the list disagree.
90
+ * derives from the same rows the panel lists, the arrival expectation inside a
91
+ * row is gated on the same statuses, and a second copy of any of those answers
92
+ * would let the badge, the list and the arrival line disagree.
92
93
  */
93
94
  type HistoryStatus = "pending" | "processing" | "completed" | "failed" | "refunded" | "spam";
94
95
 
@@ -198,6 +199,32 @@ interface FiatMethodsConfig {
198
199
  "bank-transfer"?: boolean;
199
200
  "apple-pay"?: boolean;
200
201
  }
202
+ /**
203
+ * Turns the modal into a checkout for one order: the amount is the merchant's
204
+ * price rather than the payer's choice, and the account is the order's rather
205
+ * than the recipient's.
206
+ *
207
+ * Every funding method stays available, and only the wallet path can hold a
208
+ * payer to the amount — a QR, exchange or card payer can still send the wrong
209
+ * one. Reconcile what arrives; `destinationAmount` on the `complete` lifecycle
210
+ * event is the delivered figure.
211
+ */
212
+ interface PaymentConfig {
213
+ /**
214
+ * The order's account salt, as the merchant's server registered it. Both sides
215
+ * must pass the same 32 bytes: the address is derived from it, so a different
216
+ * salt is a different account and the payment lands somewhere the merchant is
217
+ * not watching. It replaces the (recipient, target) derivation entirely, which
218
+ * is what lets one recipient hold many orders.
219
+ */
220
+ salt: Hex;
221
+ /**
222
+ * Required destination amount, in base units of `targetToken`. NOT a USD
223
+ * figure — the amount screen's own input is USD, and this is deliberately not
224
+ * that, since it is the quantity the merchant must receive.
225
+ */
226
+ amount: string;
227
+ }
201
228
  interface DepositModalProps {
202
229
  /**
203
230
  * A wallet the host app already has connected. Pass this to reuse the user's
@@ -226,6 +253,8 @@ interface DepositModalProps {
226
253
  */
227
254
  defaultAmount?: string;
228
255
  recipient: Address | string;
256
+ /** Renders the modal as a checkout for one order. See {@link PaymentConfig}. */
257
+ payment?: PaymentConfig;
229
258
  /**
230
259
  * The user's current in-app balance, in USD, as the consuming app displays
231
260
  * it. When provided, the amount screen shows a "Balance after deposit" row
@@ -486,6 +515,13 @@ type DepositLifecycleEvent = {
486
515
  destinationTxHash?: string;
487
516
  /** Source-token base units (e.g. "1100000" for 1.10 USDC). */
488
517
  amount: string;
518
+ /**
519
+ * What actually arrived, in `targetToken` base units, once the bridge
520
+ * reports it — the only field that answers "was the invoice paid in
521
+ * full?". `amount` is the source side and says nothing about delivery.
522
+ * Absent until the completing event carries a destination leg.
523
+ */
524
+ destinationAmount?: string;
489
525
  sourceChain: ChainId | "unknown";
490
526
  sourceToken?: string;
491
527
  /**
@@ -893,7 +929,7 @@ type WithdrawAnalyticsEvent = WithdrawAnalyticsEventPayload & AnalyticsEventEnve
893
929
  */
894
930
  type ClaimAnalyticsStep = "lookup" | "select" | "review" | "submit";
895
931
  /** Every reason has a call site in the claim flow; none is aspirational. */
896
- type ClaimAnalyticsFailureReason = RoutableAnalyticsReason<"lookup_transaction_hash_invalid" | "lookup_failed" | "lookup_no_deposits_found" | "lookup_no_eligible_deposits" | "refund_destination_invalid" | "recovery_deposit_data_incomplete" | "signature_rejected" | "signature_invalid" | "recovery_deposit_not_recoverable" | "recovery_unsupported" | "signature_verification_unavailable" | "refund_reconciliation_required" | "refund_failed" | "refund_service_unreachable" | "modal_close_refused_in_flight">;
932
+ type ClaimAnalyticsFailureReason = RoutableAnalyticsReason<"lookup_transaction_hash_invalid" | "lookup_failed" | "lookup_no_deposits_found" | "lookup_no_eligible_deposits" | "refund_destination_invalid" | "refund_destination_is_deposit_address" | "recovery_deposit_data_incomplete" | "signature_rejected" | "signature_invalid" | "recovery_deposit_not_recoverable" | "recovery_unsupported" | "signature_verification_unavailable" | "refund_reconciliation_required" | "refund_failed" | "refund_service_unreachable" | "modal_close_refused_in_flight">;
897
933
  type ClaimAnalyticsAbandonmentReason = "back" | "modal_close";
898
934
  type ClaimAnalyticsCloseSource = "header_button" | "escape" | "overlay" | "host_controlled" | "success_done" | "failure_cancel"
899
935
  /** The labelled control back to the history list a recovery was started from. */
@@ -1016,4 +1052,4 @@ interface AnalyticsIngestFailureEvent {
1016
1052
  }
1017
1053
  type ModalAnalyticsEvent = DepositAnalyticsEvent | WithdrawAnalyticsEvent | ClaimAnalyticsEvent | AnalyticsIngestFailureEvent;
1018
1054
 
1019
- export type { OutputTokenRule as $, AnalyticsEventEnvelope as A, DepositAnalyticsStep as B, ChainId as C, DepositAnalyticsAbandonmentReason as D, DepositAnalyticsTransferStep as E, DepositAnalyticsUiOutcome as F, DepositAnalyticsWalletStep as G, DepositAssetMigrationMethodIdentifiers as H, DepositCompleteEventData as I, DepositExchangeConnectMethodIdentifiers as J, DepositFailedEventData as K, DepositFiatOnrampMethodIdentifiers as L, DepositFundingMethod as M, DepositLifecycleEvent as N, DepositModalProps as O, DepositModalTheme as P, DepositModalUIConfig as Q, DepositSubmittedEventData as R, DepositTransferHandoffIdentifiers as S, DepositWalletIntegration as T, DepositWalletMethodIdentifiers as U, ErrorEventData as V, FiatMethodsConfig as W, HistoryAnalyticsBadge as X, HistoryClaimEntrySource as Y, HistoryStatus as Z, ModalAnalyticsEvent as _, AnalyticsIngestFailureEvent as a, RecoveryErrorCode as a0, RpcUrlMap as a1, SignRecovery as a2, SignRecoveryPayload as a3, WithdrawAnalyticsAbandonmentReason as a4, WithdrawAnalyticsCloseSource as a5, WithdrawAnalyticsEvent as a6, WithdrawAnalyticsEventPayload as a7, WithdrawAnalyticsFailureReason as a8, WithdrawAnalyticsSessionProperties as a9, WithdrawAnalyticsStep as aa, WithdrawAnalyticsUiOutcome as ab, WithdrawCompleteEventData as ac, WithdrawFailedEventData as ad, WithdrawLifecycleEvent as ae, WithdrawModalProps as af, WithdrawSubmittedEventData as ag, WithdrawTransferRequest as ah, 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 };
1055
+ export type { OutputTokenRule as $, AnalyticsEventEnvelope as A, DepositAnalyticsStep as B, ChainId as C, DepositAnalyticsAbandonmentReason as D, DepositAnalyticsTransferStep as E, DepositAnalyticsUiOutcome as F, DepositAnalyticsWalletStep as G, DepositAssetMigrationMethodIdentifiers as H, DepositCompleteEventData as I, DepositExchangeConnectMethodIdentifiers as J, DepositFailedEventData as K, DepositFiatOnrampMethodIdentifiers as L, DepositFundingMethod as M, DepositLifecycleEvent as N, DepositModalProps as O, DepositModalTheme as P, DepositModalUIConfig as Q, DepositSubmittedEventData as R, DepositTransferHandoffIdentifiers as S, DepositWalletIntegration as T, DepositWalletMethodIdentifiers as U, ErrorEventData as V, FiatMethodsConfig as W, HistoryAnalyticsBadge as X, HistoryClaimEntrySource as Y, HistoryStatus as Z, ModalAnalyticsEvent as _, AnalyticsIngestFailureEvent as a, PaymentConfig as a0, RecoveryErrorCode as a1, RpcUrlMap as a2, SignRecovery as a3, SignRecoveryPayload as a4, WithdrawAnalyticsAbandonmentReason as a5, WithdrawAnalyticsCloseSource as a6, WithdrawAnalyticsEvent as a7, WithdrawAnalyticsEventPayload as a8, WithdrawAnalyticsFailureReason as a9, WithdrawAnalyticsSessionProperties as aa, WithdrawAnalyticsStep as ab, WithdrawAnalyticsUiOutcome as ac, WithdrawCompleteEventData as ad, WithdrawFailedEventData as ae, WithdrawLifecycleEvent as af, WithdrawModalProps as ag, WithdrawSubmittedEventData as ah, WithdrawTransferRequest as ai, 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 };
package/dist/withdraw.cjs CHANGED
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunk2W4BJ5I3cjs = require('./chunk-2W4BJ5I3.cjs');
4
- require('./chunk-QGNJFDEO.cjs');
5
- require('./chunk-JCWJ6HW7.cjs');
3
+ var _chunkEG4H7OMCcjs = require('./chunk-EG4H7OMC.cjs');
4
+ require('./chunk-HMUGY66O.cjs');
6
5
  require('./chunk-OY5N3E6L.cjs');
6
+ require('./chunk-PYOC6K24.cjs');
7
7
 
8
8
 
9
- exports.WithdrawModal = _chunk2W4BJ5I3cjs.WithdrawModal;
9
+ exports.WithdrawModal = _chunkEG4H7OMCcjs.WithdrawModal;
@@ -1,6 +1,6 @@
1
1
  import * as react from 'react';
2
- import { af as WithdrawModalProps } from './types-SwGGf0eH.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, V as ErrorEventData, X as HistoryAnalyticsBadge, Y as HistoryClaimEntrySource, Z as HistoryStatus, a0 as RecoveryErrorCode, a1 as RpcUrlMap, a2 as SignRecovery, a3 as SignRecoveryPayload, a4 as WithdrawAnalyticsAbandonmentReason, a5 as WithdrawAnalyticsCloseSource, a6 as WithdrawAnalyticsEvent, a7 as WithdrawAnalyticsEventPayload, a8 as WithdrawAnalyticsFailureReason, a9 as WithdrawAnalyticsSessionProperties, aa as WithdrawAnalyticsStep, ab as WithdrawAnalyticsUiOutcome, ac as WithdrawCompleteEventData, ad as WithdrawFailedEventData, ag as WithdrawSubmittedEventData, ah as WithdrawTransferRequest } from './types-SwGGf0eH.cjs';
2
+ import { ag as WithdrawModalProps } from './types-BShYNpvO.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, V as ErrorEventData, X as HistoryAnalyticsBadge, Y as HistoryClaimEntrySource, Z as HistoryStatus, a1 as RecoveryErrorCode, a2 as RpcUrlMap, a3 as SignRecovery, a4 as SignRecoveryPayload, a5 as WithdrawAnalyticsAbandonmentReason, a6 as WithdrawAnalyticsCloseSource, a7 as WithdrawAnalyticsEvent, a8 as WithdrawAnalyticsEventPayload, a9 as WithdrawAnalyticsFailureReason, aa as WithdrawAnalyticsSessionProperties, ab as WithdrawAnalyticsStep, ac as WithdrawAnalyticsUiOutcome, ad as WithdrawCompleteEventData, ae as WithdrawFailedEventData, ah as WithdrawSubmittedEventData, ai as WithdrawTransferRequest } from './types-BShYNpvO.cjs';
4
4
  import './caip-BMi-9t09.cjs';
5
5
  import 'viem';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import * as react from 'react';
2
- import { af as WithdrawModalProps } from './types-B9SbZQIG.js';
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, V as ErrorEventData, X as HistoryAnalyticsBadge, Y as HistoryClaimEntrySource, Z as HistoryStatus, a0 as RecoveryErrorCode, a1 as RpcUrlMap, a2 as SignRecovery, a3 as SignRecoveryPayload, a4 as WithdrawAnalyticsAbandonmentReason, a5 as WithdrawAnalyticsCloseSource, a6 as WithdrawAnalyticsEvent, a7 as WithdrawAnalyticsEventPayload, a8 as WithdrawAnalyticsFailureReason, a9 as WithdrawAnalyticsSessionProperties, aa as WithdrawAnalyticsStep, ab as WithdrawAnalyticsUiOutcome, ac as WithdrawCompleteEventData, ad as WithdrawFailedEventData, ag as WithdrawSubmittedEventData, ah as WithdrawTransferRequest } from './types-B9SbZQIG.js';
2
+ import { ag as WithdrawModalProps } from './types-BOxa1DE-.js';
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, V as ErrorEventData, X as HistoryAnalyticsBadge, Y as HistoryClaimEntrySource, Z as HistoryStatus, a1 as RecoveryErrorCode, a2 as RpcUrlMap, a3 as SignRecovery, a4 as SignRecoveryPayload, a5 as WithdrawAnalyticsAbandonmentReason, a6 as WithdrawAnalyticsCloseSource, a7 as WithdrawAnalyticsEvent, a8 as WithdrawAnalyticsEventPayload, a9 as WithdrawAnalyticsFailureReason, aa as WithdrawAnalyticsSessionProperties, ab as WithdrawAnalyticsStep, ac as WithdrawAnalyticsUiOutcome, ad as WithdrawCompleteEventData, ae as WithdrawFailedEventData, ah as WithdrawSubmittedEventData, ai as WithdrawTransferRequest } from './types-BOxa1DE-.js';
4
4
  import './caip-BMi-9t09.js';
5
5
  import 'viem';
6
6
 
package/dist/withdraw.mjs CHANGED
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  WithdrawModal
3
- } from "./chunk-ZHX4QROC.mjs";
4
- import "./chunk-QMGEK623.mjs";
5
- import "./chunk-XCBDJPBD.mjs";
3
+ } from "./chunk-BIL4ENC3.mjs";
4
+ import "./chunk-5NWLS5BQ.mjs";
6
5
  import "./chunk-EAGMY3QE.mjs";
6
+ import "./chunk-X6N2XPTO.mjs";
7
7
  export {
8
8
  WithdrawModal
9
9
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rhinestone/deposit-modal",
3
- "version": "0.17.0",
3
+ "version": "0.19.0",
4
4
  "description": "React modal component for Rhinestone cross-chain deposits",
5
5
  "author": "Rhinestone <dev@rhinestone.wtf>",
6
6
  "bugs": {
@@ -61,6 +61,36 @@
61
61
  "default": "./dist/server.cjs"
62
62
  }
63
63
  },
64
+ "./onramp": {
65
+ "import": {
66
+ "types": "./dist/onramp.d.ts",
67
+ "default": "./dist/onramp.mjs"
68
+ },
69
+ "require": {
70
+ "types": "./dist/onramp.d.cts",
71
+ "default": "./dist/onramp.cjs"
72
+ }
73
+ },
74
+ "./offramp": {
75
+ "import": {
76
+ "types": "./dist/offramp.d.ts",
77
+ "default": "./dist/offramp.mjs"
78
+ },
79
+ "require": {
80
+ "types": "./dist/offramp.d.cts",
81
+ "default": "./dist/offramp.cjs"
82
+ }
83
+ },
84
+ "./compliance": {
85
+ "import": {
86
+ "types": "./dist/compliance.d.ts",
87
+ "default": "./dist/compliance.mjs"
88
+ },
89
+ "require": {
90
+ "types": "./dist/compliance.d.cts",
91
+ "default": "./dist/compliance.cjs"
92
+ }
93
+ },
64
94
  "./constants": {
65
95
  "import": {
66
96
  "types": "./dist/constants.d.ts",
@@ -171,7 +201,7 @@
171
201
  {
172
202
  "name": "Total Bundle (Everything)",
173
203
  "path": "dist/index.mjs",
174
- "limit": "97 kB",
204
+ "limit": "100.5 kB",
175
205
  "ignore": [
176
206
  "react",
177
207
  "react-dom",
@@ -190,7 +220,7 @@
190
220
  {
191
221
  "name": "Native Embed (deposit & withdraw)",
192
222
  "path": "dist/embed.mjs",
193
- "limit": "103.5 kB",
223
+ "limit": "107 kB",
194
224
  "ignore": [
195
225
  "react",
196
226
  "react-dom",
@@ -210,7 +240,7 @@
210
240
  "name": "Deposit & Withdraw Modals Only",
211
241
  "path": "dist/index.mjs",
212
242
  "import": "{ DepositModal, WithdrawModal }",
213
- "limit": "96.5 kB",
243
+ "limit": "100 kB",
214
244
  "ignore": [
215
245
  "react",
216
246
  "react-dom",
@@ -229,7 +259,7 @@
229
259
  {
230
260
  "name": "Withdraw Modal Only",
231
261
  "path": "dist/withdraw.mjs",
232
- "limit": "45.5 kB",
262
+ "limit": "47.1 kB",
233
263
  "ignore": [
234
264
  "react",
235
265
  "react-dom",
@@ -1,11 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
-
3
-
4
- var _chunk2W4BJ5I3cjs = require('./chunk-2W4BJ5I3.cjs');
5
- require('./chunk-QGNJFDEO.cjs');
6
- require('./chunk-JCWJ6HW7.cjs');
7
- require('./chunk-OY5N3E6L.cjs');
8
-
9
-
10
-
11
- exports.WithdrawModal = _chunk2W4BJ5I3cjs.WithdrawModal; exports.buildWithdrawAnalyticsSessionProperties = _chunk2W4BJ5I3cjs.buildWithdrawAnalyticsSessionProperties;