@rhinestone/deposit-modal 0.19.0 → 0.20.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +154 -61
- package/dist/BankOnrampStep-3SNUX6V2.cjs +435 -0
- package/dist/BankOnrampStep-4D24HVHV.mjs +435 -0
- package/dist/{DepositModalReown-UITYXJ6W.cjs → DepositModalReown-7EHOJTFW.cjs} +21 -20
- package/dist/{DepositModalReown-XBNY6QCI.mjs → DepositModalReown-SYQ2SCHC.mjs} +6 -5
- package/dist/WithdrawModal-LLJLEYXZ.cjs +12 -0
- package/dist/WithdrawModal-LXDIT4UV.mjs +12 -0
- package/dist/{bearer-transport-CVHNBgoV.d.cts → bearer-transport-DZyeDG64.d.cts} +5 -1
- package/dist/{bearer-transport-CVHNBgoV.d.ts → bearer-transport-DZyeDG64.d.ts} +5 -1
- package/dist/{caip-BMi-9t09.d.cts → caip-nwFFL46o.d.cts} +2 -2
- package/dist/{caip-BMi-9t09.d.ts → caip-nwFFL46o.d.ts} +2 -2
- package/dist/{chunk-FTWKAJGN.mjs → chunk-2FOPO4N5.mjs} +1 -1
- package/dist/{chunk-EG4H7OMC.cjs → chunk-CIVFT5KR.cjs} +171 -130
- package/dist/{chunk-PYOC6K24.cjs → chunk-D3R3O4CY.cjs} +1 -1
- package/dist/chunk-E7IMWVMN.mjs +346 -0
- package/dist/chunk-EJDBIWNH.mjs +113 -0
- package/dist/chunk-FKJ6EJHH.cjs +346 -0
- package/dist/{chunk-LVCD6RHF.cjs → chunk-FVJKUTHF.cjs} +2 -2
- package/dist/{chunk-NITKDXHR.mjs → chunk-FW7ZMXQS.mjs} +849 -674
- package/dist/chunk-G264OM23.cjs +224 -0
- package/dist/chunk-IPHKBBUV.cjs +113 -0
- package/dist/{chunk-BIL4ENC3.mjs → chunk-IPKT3FU6.mjs} +73 -32
- package/dist/chunk-JPX4MEHV.mjs +19 -0
- package/dist/{chunk-HMUGY66O.cjs → chunk-KXSU24RU.cjs} +1569 -1019
- package/dist/{chunk-ISLVD5HQ.cjs → chunk-LVMNNMOZ.cjs} +10 -5
- package/dist/chunk-O5OW4S7L.cjs +19 -0
- package/dist/{chunk-5NWLS5BQ.mjs → chunk-OZPMRTW3.mjs} +1511 -961
- package/dist/{chunk-OCWSMLOP.cjs → chunk-PVFEZ3UG.cjs} +1164 -989
- package/dist/{chunk-ZGHVJ2XM.mjs → chunk-YQCRXJIL.mjs} +8 -3
- package/dist/chunk-YY4ZOAH5.mjs +224 -0
- package/dist/{chunk-X6N2XPTO.mjs → chunk-ZOJMB5TZ.mjs} +1 -1
- package/dist/compliance.cjs +4 -7
- package/dist/compliance.d.cts +26 -3
- package/dist/compliance.d.ts +26 -3
- package/dist/compliance.mjs +6 -9
- package/dist/constants-BQDxVNgr.d.cts +29 -0
- package/dist/constants-DjGQW5N5.d.ts +29 -0
- package/dist/constants.cjs +3 -37
- package/dist/constants.d.cts +4 -20
- package/dist/constants.d.ts +4 -20
- package/dist/constants.mjs +4 -38
- package/dist/deposit.cjs +7 -6
- package/dist/deposit.d.cts +5 -3
- package/dist/deposit.d.ts +5 -3
- package/dist/deposit.mjs +6 -5
- package/dist/embed.cjs +21 -20
- package/dist/embed.d.cts +3 -2
- package/dist/embed.d.ts +3 -2
- package/dist/embed.mjs +7 -6
- package/dist/index.cjs +8 -35
- package/dist/index.d.cts +5 -3
- package/dist/index.d.ts +5 -3
- package/dist/index.mjs +9 -36
- package/dist/onramp.cjs +4 -33
- package/dist/onramp.d.cts +51 -33
- package/dist/onramp.d.ts +51 -33
- package/dist/onramp.mjs +5 -34
- package/dist/polymarket.cjs +6 -6
- package/dist/polymarket.mjs +2 -2
- package/dist/ramp-types-HYWd7CW0.d.cts +108 -0
- package/dist/ramp-types-HYWd7CW0.d.ts +108 -0
- package/dist/styles.css +255 -0
- package/dist/{types-BOxa1DE-.d.ts → types-BEEMfNi2.d.cts} +24 -4
- package/dist/{types-BShYNpvO.d.cts → types-DQDUqzsZ.d.ts} +24 -4
- package/dist/withdraw.cjs +6 -5
- package/dist/withdraw.d.cts +4 -3
- package/dist/withdraw.d.ts +4 -3
- package/dist/withdraw.mjs +5 -4
- package/package.json +9 -17
- package/dist/WithdrawModal-DY6A55OA.mjs +0 -11
- package/dist/WithdrawModal-V42OK7L3.cjs +0 -11
- package/dist/chunk-ADEWTBSN.cjs +0 -19
- package/dist/chunk-EAGMY3QE.mjs +0 -962
- package/dist/chunk-OY5N3E6L.cjs +0 -962
- package/dist/chunk-PP4QE32S.mjs +0 -19
- package/dist/constants-BT4ctuHo.d.cts +0 -64
- package/dist/constants-D21ZdNOP.d.ts +0 -64
- package/dist/offramp.cjs +0 -25
- package/dist/offramp.d.cts +0 -28
- package/dist/offramp.d.ts +0 -28
- package/dist/offramp.mjs +0 -25
- package/dist/ramp-types-C6aUz4SZ.d.cts +0 -43
- package/dist/ramp-types-C6aUz4SZ.d.ts +0 -43
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
serviceHeaders
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ZOJMB5TZ.mjs";
|
|
4
4
|
|
|
5
5
|
// src/core/bearer-transport.ts
|
|
6
6
|
var ScopedRequestError = class extends Error {
|
|
7
|
-
constructor(status) {
|
|
7
|
+
constructor(status, code) {
|
|
8
8
|
super(
|
|
9
9
|
status === 404 ? "Route unavailable; upgrade the proxy before using this API" : `Scoped request failed (${status})`
|
|
10
10
|
);
|
|
11
11
|
this.status = status;
|
|
12
|
+
this.code = code;
|
|
12
13
|
}
|
|
13
14
|
};
|
|
14
15
|
function createBearerTransport(options) {
|
|
@@ -30,7 +31,11 @@ function createBearerTransport(options) {
|
|
|
30
31
|
cache: "no-store",
|
|
31
32
|
redirect: "error"
|
|
32
33
|
});
|
|
33
|
-
if (!response.ok)
|
|
34
|
+
if (!response.ok) {
|
|
35
|
+
const body2 = await response.json().catch(() => null);
|
|
36
|
+
const code = typeof body2?.code === "string" && /^[A-Z_]{1,64}$/.test(body2.code) ? body2.code : void 0;
|
|
37
|
+
throw new ScopedRequestError(response.status, code);
|
|
38
|
+
}
|
|
34
39
|
return response.json();
|
|
35
40
|
};
|
|
36
41
|
}
|
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
// src/components/ui/Icons.tsx
|
|
2
|
+
import {
|
|
3
|
+
Wallet,
|
|
4
|
+
ExternalLink,
|
|
5
|
+
Coins,
|
|
6
|
+
Check,
|
|
7
|
+
ChevronRight,
|
|
8
|
+
ChevronLeft,
|
|
9
|
+
ChevronDown,
|
|
10
|
+
X,
|
|
11
|
+
HandCoins,
|
|
12
|
+
History,
|
|
13
|
+
Info,
|
|
14
|
+
Copy,
|
|
15
|
+
ArrowRight,
|
|
16
|
+
ArrowUpRight,
|
|
17
|
+
AlertTriangle,
|
|
18
|
+
CircleArrowOutUpLeft,
|
|
19
|
+
CreditCard,
|
|
20
|
+
Landmark,
|
|
21
|
+
Unplug
|
|
22
|
+
} from "lucide-react";
|
|
23
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
24
|
+
var WalletIcon = Wallet;
|
|
25
|
+
var ExternalLinkIcon = ExternalLink;
|
|
26
|
+
var CheckIcon = Check;
|
|
27
|
+
function TransferCryptoIcon() {
|
|
28
|
+
return /* @__PURE__ */ jsx(
|
|
29
|
+
"svg",
|
|
30
|
+
{
|
|
31
|
+
width: "24",
|
|
32
|
+
height: "24",
|
|
33
|
+
viewBox: "8 8 24 24",
|
|
34
|
+
fill: "none",
|
|
35
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
36
|
+
"aria-hidden": "true",
|
|
37
|
+
children: /* @__PURE__ */ jsx(
|
|
38
|
+
"path",
|
|
39
|
+
{
|
|
40
|
+
d: "M26.08 18.37C27.03 18.72 27.87 19.30 28.53 20.07C29.19 20.83 29.65 21.75 29.86 22.73C30.07 23.72 30.03 24.74 29.74 25.71C29.45 26.68 28.92 27.55 28.20 28.26C27.48 28.97 26.59 29.49 25.62 29.76C24.65 30.04 23.63 30.06 22.64 29.83C21.66 29.61 20.75 29.14 20.00 28.47C19.24 27.80 18.67 26.95 18.33 26.00M15 14H16V18M24.70 21.87L25.40 22.58L22.58 25.40M22 16C22 19.31 19.31 22 16 22C12.68 22 10 19.31 10 16C10 12.68 12.68 10 16 10C19.31 10 22 12.68 22 16Z",
|
|
41
|
+
stroke: "currentColor",
|
|
42
|
+
strokeWidth: "2",
|
|
43
|
+
strokeLinecap: "round",
|
|
44
|
+
strokeLinejoin: "round"
|
|
45
|
+
}
|
|
46
|
+
)
|
|
47
|
+
}
|
|
48
|
+
);
|
|
49
|
+
}
|
|
50
|
+
var ChevronRightIcon = ChevronRight;
|
|
51
|
+
var ChevronLeftIcon = ChevronLeft;
|
|
52
|
+
var ChevronDownIcon = ChevronDown;
|
|
53
|
+
var CloseIcon = X;
|
|
54
|
+
var HandCoinsIcon = HandCoins;
|
|
55
|
+
var CoinsIcon = Coins;
|
|
56
|
+
var HistoryIcon = History;
|
|
57
|
+
var InfoIcon = Info;
|
|
58
|
+
var CopyIcon = Copy;
|
|
59
|
+
var ArrowUpRightIcon = ArrowUpRight;
|
|
60
|
+
var AlertTriangleIcon = AlertTriangle;
|
|
61
|
+
var CircleArrowOutUpLeftIcon = CircleArrowOutUpLeft;
|
|
62
|
+
var CardIcon = CreditCard;
|
|
63
|
+
var BankIcon = Landmark;
|
|
64
|
+
var UnplugIcon = Unplug;
|
|
65
|
+
function MigrateAssetsIcon() {
|
|
66
|
+
return /* @__PURE__ */ jsx(
|
|
67
|
+
"svg",
|
|
68
|
+
{
|
|
69
|
+
width: "24",
|
|
70
|
+
height: "24",
|
|
71
|
+
viewBox: "0 0 24 24",
|
|
72
|
+
fill: "none",
|
|
73
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
74
|
+
"aria-hidden": "true",
|
|
75
|
+
children: /* @__PURE__ */ jsxs(
|
|
76
|
+
"g",
|
|
77
|
+
{
|
|
78
|
+
stroke: "currentColor",
|
|
79
|
+
strokeWidth: "2",
|
|
80
|
+
strokeLinecap: "round",
|
|
81
|
+
strokeLinejoin: "round",
|
|
82
|
+
children: [
|
|
83
|
+
/* @__PURE__ */ jsx(
|
|
84
|
+
"path",
|
|
85
|
+
{
|
|
86
|
+
d: "M19 4.344V3C19 2.46957 18.7893 1.96086 18.4142 1.58579C18.0391 1.21071 17.5304 1 17 1H3C2.46957 1 1.96086 1.21071 1.58579 1.58579C1.21071 1.96086 1 2.46957 1 3V17C1 17.5304 1.21071 18.0391 1.58579 18.4142C1.96086 18.7893 2.46957 19 3 19H17C17.5304 19 18.0391 18.7893 18.4142 18.4142C18.7893 18.0391 19 17.5304 19 17V15.656",
|
|
87
|
+
transform: "translate(2 2)"
|
|
88
|
+
}
|
|
89
|
+
),
|
|
90
|
+
/* @__PURE__ */ jsx("path", { d: "M1 1H12", transform: "translate(9 11)" }),
|
|
91
|
+
/* @__PURE__ */ jsx("path", { d: "M1 9L5 5L1 1", transform: "translate(16 7)" })
|
|
92
|
+
]
|
|
93
|
+
}
|
|
94
|
+
)
|
|
95
|
+
}
|
|
96
|
+
);
|
|
97
|
+
}
|
|
98
|
+
function AppleIcon() {
|
|
99
|
+
return /* @__PURE__ */ jsxs(
|
|
100
|
+
"svg",
|
|
101
|
+
{
|
|
102
|
+
width: "24",
|
|
103
|
+
height: "24",
|
|
104
|
+
viewBox: "0 0 24 24",
|
|
105
|
+
fill: "none",
|
|
106
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
107
|
+
"aria-hidden": "true",
|
|
108
|
+
children: [
|
|
109
|
+
/* @__PURE__ */ jsx(
|
|
110
|
+
"path",
|
|
111
|
+
{
|
|
112
|
+
d: "M16.36 1.43c0 1.14-.49 2.27-1.18 3.08-.74.9-1.99 1.57-2.98 1.57-.12 0-.23-.02-.3-.03-.01-.06-.04-.22-.04-.39 0-1.15.57-2.27 1.2-2.98.8-.94 2.15-1.64 3.25-1.68.03.13.05.28.05.43z",
|
|
113
|
+
stroke: "currentColor",
|
|
114
|
+
strokeWidth: "1.6",
|
|
115
|
+
strokeLinejoin: "round"
|
|
116
|
+
}
|
|
117
|
+
),
|
|
118
|
+
/* @__PURE__ */ jsx(
|
|
119
|
+
"path",
|
|
120
|
+
{
|
|
121
|
+
d: "M20.93 17.14c-.03.07-.46 1.58-1.52 3.12-.94 1.34-1.94 2.71-3.43 2.71-1.51 0-1.9-.88-3.63-.88-1.7 0-2.3.91-3.67.91-1.38 0-2.33-1.26-3.43-2.8-1.29-1.82-2.32-4.63-2.32-7.28 0-4.28 2.8-6.55 5.55-6.55 1.45 0 2.68.95 3.6.95.86 0 2.22-1.01 3.9-1.01.61 0 2.89.06 4.37 2.19-.13.09-2.38 1.37-2.38 4.19 0 3.26 2.85 4.42 2.96 4.45z",
|
|
122
|
+
stroke: "currentColor",
|
|
123
|
+
strokeWidth: "1.6",
|
|
124
|
+
strokeLinejoin: "round"
|
|
125
|
+
}
|
|
126
|
+
)
|
|
127
|
+
]
|
|
128
|
+
}
|
|
129
|
+
);
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
// src/components/ui/BodyHeader.tsx
|
|
133
|
+
import { jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
134
|
+
function BodyHeader({
|
|
135
|
+
icon,
|
|
136
|
+
title,
|
|
137
|
+
subtitle,
|
|
138
|
+
variant = "default",
|
|
139
|
+
aside
|
|
140
|
+
}) {
|
|
141
|
+
const iconClasses = [
|
|
142
|
+
"rs-body-header-icon",
|
|
143
|
+
variant === "success" ? "rs-body-header-icon--success" : "",
|
|
144
|
+
variant === "error" ? "rs-body-header-icon--error" : ""
|
|
145
|
+
].filter(Boolean).join(" ");
|
|
146
|
+
return /* @__PURE__ */ jsxs2("div", { className: "rs-body-header", children: [
|
|
147
|
+
/* @__PURE__ */ jsx2("div", { className: iconClasses, children: icon }),
|
|
148
|
+
/* @__PURE__ */ jsxs2("div", { className: "rs-body-header-main", children: [
|
|
149
|
+
/* @__PURE__ */ jsxs2("div", { className: "rs-body-header-text", children: [
|
|
150
|
+
/* @__PURE__ */ jsx2("h2", { className: "rs-body-header-title", children: title }),
|
|
151
|
+
subtitle && /* @__PURE__ */ jsx2("p", { className: "rs-body-header-subtitle", children: subtitle })
|
|
152
|
+
] }),
|
|
153
|
+
aside && /* @__PURE__ */ jsx2("div", { className: "rs-body-header-aside", children: aside })
|
|
154
|
+
] })
|
|
155
|
+
] });
|
|
156
|
+
}
|
|
157
|
+
BodyHeader.displayName = "BodyHeader";
|
|
158
|
+
|
|
159
|
+
// src/components/ui/Spinner.tsx
|
|
160
|
+
import { jsx as jsx3, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
161
|
+
function Spinner({ className }) {
|
|
162
|
+
return /* @__PURE__ */ jsxs3(
|
|
163
|
+
"svg",
|
|
164
|
+
{
|
|
165
|
+
className: `rs-spinner ${className || ""}`,
|
|
166
|
+
fill: "none",
|
|
167
|
+
viewBox: "0 0 20 21",
|
|
168
|
+
children: [
|
|
169
|
+
/* @__PURE__ */ jsx3(
|
|
170
|
+
"path",
|
|
171
|
+
{
|
|
172
|
+
d: "M10 0.5C8.02 0.5 6.08 1.08 4.44 2.18C2.79 3.28 1.51 4.84 0.76 6.67C0.00 8.50 -0.19 10.51 0.19 12.45C0.57 14.39 1.53 16.17 2.92 17.57C4.32 18.96 6.10 19.92 8.04 20.30C9.98 20.69 11.99 20.49 13.82 19.73C15.65 18.98 17.21 17.70 18.31 16.05C19.41 14.41 20 12.47 20 10.5C20 7.84 18.94 5.30 17.07 3.42C15.19 1.55 12.65 0.5 10 0.5ZM10 17.77C8.56 17.77 7.15 17.34 5.95 16.54C4.76 15.74 3.83 14.61 3.28 13.28C2.73 11.95 2.58 10.49 2.86 9.08C3.14 7.67 3.84 6.37 4.85 5.35C5.87 4.34 7.17 3.64 8.58 3.36C9.99 3.08 11.45 3.23 12.78 3.78C14.11 4.33 15.24 5.26 16.04 6.45C16.84 7.65 17.27 9.06 17.27 10.5C17.27 12.42 16.50 14.27 15.14 15.64C13.77 17.00 11.92 17.77 10 17.77Z",
|
|
173
|
+
fill: "currentColor",
|
|
174
|
+
opacity: 0.3
|
|
175
|
+
}
|
|
176
|
+
),
|
|
177
|
+
/* @__PURE__ */ jsx3(
|
|
178
|
+
"path",
|
|
179
|
+
{
|
|
180
|
+
d: "M10 3.22C11.74 3.22 13.42 3.84 14.75 4.95C16.08 6.07 16.96 7.61 17.25 9.31C17.30 9.64 17.46 9.94 17.71 10.15C17.96 10.37 18.28 10.49 18.62 10.5C18.82 10.50 19.01 10.45 19.20 10.37C19.38 10.29 19.54 10.16 19.67 10.01C19.80 9.86 19.89 9.68 19.95 9.49C20.00 9.30 20.01 9.10 19.98 8.90C19.59 6.56 18.38 4.42 16.55 2.88C14.72 1.34 12.40 0.5 10 0.5C7.59 0.5 5.27 1.34 3.44 2.88C1.61 4.42 0.40 6.56 0.01 8.90C-0.01 9.10 -0.00 9.30 0.04 9.49C0.10 9.68 0.19 9.86 0.32 10.01C0.45 10.16 0.61 10.29 0.79 10.37C0.98 10.45 1.17 10.50 1.37 10.5C1.71 10.49 2.03 10.37 2.28 10.15C2.53 9.94 2.69 9.64 2.74 9.31C3.03 7.61 3.91 6.07 5.24 4.95C6.57 3.84 8.25 3.22 10 3.22Z",
|
|
181
|
+
fill: "currentColor"
|
|
182
|
+
}
|
|
183
|
+
)
|
|
184
|
+
]
|
|
185
|
+
}
|
|
186
|
+
);
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
// src/core/useLatestRef.ts
|
|
190
|
+
import { useEffect, useRef } from "react";
|
|
191
|
+
function useLatestRef(value) {
|
|
192
|
+
const ref = useRef(value);
|
|
193
|
+
useEffect(() => {
|
|
194
|
+
ref.current = value;
|
|
195
|
+
}, [value]);
|
|
196
|
+
return ref;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
export {
|
|
200
|
+
WalletIcon,
|
|
201
|
+
ExternalLinkIcon,
|
|
202
|
+
CheckIcon,
|
|
203
|
+
TransferCryptoIcon,
|
|
204
|
+
ChevronRightIcon,
|
|
205
|
+
ChevronLeftIcon,
|
|
206
|
+
ChevronDownIcon,
|
|
207
|
+
CloseIcon,
|
|
208
|
+
HandCoinsIcon,
|
|
209
|
+
CoinsIcon,
|
|
210
|
+
HistoryIcon,
|
|
211
|
+
InfoIcon,
|
|
212
|
+
CopyIcon,
|
|
213
|
+
ArrowUpRightIcon,
|
|
214
|
+
AlertTriangleIcon,
|
|
215
|
+
CircleArrowOutUpLeftIcon,
|
|
216
|
+
CardIcon,
|
|
217
|
+
BankIcon,
|
|
218
|
+
UnplugIcon,
|
|
219
|
+
MigrateAssetsIcon,
|
|
220
|
+
AppleIcon,
|
|
221
|
+
BodyHeader,
|
|
222
|
+
Spinner,
|
|
223
|
+
useLatestRef
|
|
224
|
+
};
|
package/dist/compliance.cjs
CHANGED
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
+
var _chunkO5OW4S7Lcjs = require('./chunk-O5OW4S7L.cjs');
|
|
3
4
|
|
|
4
|
-
var _chunkISLVD5HQcjs = require('./chunk-ISLVD5HQ.cjs');
|
|
5
|
-
require('./chunk-PYOC6K24.cjs');
|
|
6
5
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
return _chunkISLVD5HQcjs.createBearerTransport.call(void 0, options)("/compliance/status");
|
|
10
|
-
}
|
|
6
|
+
var _chunkLVMNNMOZcjs = require('./chunk-LVMNNMOZ.cjs');
|
|
7
|
+
require('./chunk-D3R3O4CY.cjs');
|
|
11
8
|
|
|
12
9
|
|
|
13
10
|
|
|
14
|
-
exports.ScopedRequestError =
|
|
11
|
+
exports.ScopedRequestError = _chunkLVMNNMOZcjs.ScopedRequestError; exports.getComplianceStatus = _chunkO5OW4S7Lcjs.getComplianceStatus;
|
package/dist/compliance.d.cts
CHANGED
|
@@ -1,9 +1,32 @@
|
|
|
1
|
-
import { C as CustomerSessionOptions } from './bearer-transport-
|
|
2
|
-
export { a as CustomerSession, S as ScopedRequestError } from './bearer-transport-
|
|
1
|
+
import { C as CustomerSessionOptions } from './bearer-transport-DZyeDG64.cjs';
|
|
2
|
+
export { a as CustomerSession, S as ScopedRequestError } from './bearer-transport-DZyeDG64.cjs';
|
|
3
3
|
|
|
4
|
+
/**
|
|
5
|
+
* Where the customer stands with the provider.
|
|
6
|
+
*
|
|
7
|
+
* `pending` covers both "submitted, provider deciding" and "provider asked for
|
|
8
|
+
* something more" — `verification.actionsRequired` is what distinguishes them,
|
|
9
|
+
* and a non-empty list means resuming the hosted flow will ask for it.
|
|
10
|
+
*/
|
|
11
|
+
type ComplianceVerificationStatus = "not_started" | "pending" | "approved" | "declined";
|
|
4
12
|
interface ComplianceStatus {
|
|
5
|
-
status:
|
|
13
|
+
status: ComplianceVerificationStatus;
|
|
6
14
|
updatedAt: string;
|
|
15
|
+
/** Present once hosted verification has been started. Carries no identity data. */
|
|
16
|
+
verification?: {
|
|
17
|
+
actionsRequired: string[];
|
|
18
|
+
entities: {
|
|
19
|
+
entity: string;
|
|
20
|
+
status: "Pending" | "Approved" | "Declined";
|
|
21
|
+
model: string;
|
|
22
|
+
rejectType?: "Final" | "Retry";
|
|
23
|
+
}[];
|
|
24
|
+
agreements: {
|
|
25
|
+
name: string;
|
|
26
|
+
version: number;
|
|
27
|
+
accepted: boolean;
|
|
28
|
+
}[];
|
|
29
|
+
};
|
|
7
30
|
}
|
|
8
31
|
declare function getComplianceStatus(options: CustomerSessionOptions): Promise<ComplianceStatus>;
|
|
9
32
|
|
package/dist/compliance.d.ts
CHANGED
|
@@ -1,9 +1,32 @@
|
|
|
1
|
-
import { C as CustomerSessionOptions } from './bearer-transport-
|
|
2
|
-
export { a as CustomerSession, S as ScopedRequestError } from './bearer-transport-
|
|
1
|
+
import { C as CustomerSessionOptions } from './bearer-transport-DZyeDG64.js';
|
|
2
|
+
export { a as CustomerSession, S as ScopedRequestError } from './bearer-transport-DZyeDG64.js';
|
|
3
3
|
|
|
4
|
+
/**
|
|
5
|
+
* Where the customer stands with the provider.
|
|
6
|
+
*
|
|
7
|
+
* `pending` covers both "submitted, provider deciding" and "provider asked for
|
|
8
|
+
* something more" — `verification.actionsRequired` is what distinguishes them,
|
|
9
|
+
* and a non-empty list means resuming the hosted flow will ask for it.
|
|
10
|
+
*/
|
|
11
|
+
type ComplianceVerificationStatus = "not_started" | "pending" | "approved" | "declined";
|
|
4
12
|
interface ComplianceStatus {
|
|
5
|
-
status:
|
|
13
|
+
status: ComplianceVerificationStatus;
|
|
6
14
|
updatedAt: string;
|
|
15
|
+
/** Present once hosted verification has been started. Carries no identity data. */
|
|
16
|
+
verification?: {
|
|
17
|
+
actionsRequired: string[];
|
|
18
|
+
entities: {
|
|
19
|
+
entity: string;
|
|
20
|
+
status: "Pending" | "Approved" | "Declined";
|
|
21
|
+
model: string;
|
|
22
|
+
rejectType?: "Final" | "Retry";
|
|
23
|
+
}[];
|
|
24
|
+
agreements: {
|
|
25
|
+
name: string;
|
|
26
|
+
version: number;
|
|
27
|
+
accepted: boolean;
|
|
28
|
+
}[];
|
|
29
|
+
};
|
|
7
30
|
}
|
|
8
31
|
declare function getComplianceStatus(options: CustomerSessionOptions): Promise<ComplianceStatus>;
|
|
9
32
|
|
package/dist/compliance.mjs
CHANGED
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
function getComplianceStatus(options) {
|
|
9
|
-
return createBearerTransport(options)("/compliance/status");
|
|
10
|
-
}
|
|
2
|
+
getComplianceStatus
|
|
3
|
+
} from "./chunk-JPX4MEHV.mjs";
|
|
4
|
+
import {
|
|
5
|
+
ScopedRequestError
|
|
6
|
+
} from "./chunk-YQCRXJIL.mjs";
|
|
7
|
+
import "./chunk-ZOJMB5TZ.mjs";
|
|
11
8
|
export {
|
|
12
9
|
ScopedRequestError,
|
|
13
10
|
getComplianceStatus
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { D as DisplayChainId } from './caip-nwFFL46o.cjs';
|
|
2
|
+
import { Address } from 'viem';
|
|
3
|
+
|
|
4
|
+
declare function getChainIcon(chainId: DisplayChainId): string | undefined;
|
|
5
|
+
|
|
6
|
+
declare const NATIVE_TOKEN_ADDRESS: Address;
|
|
7
|
+
/**
|
|
8
|
+
* Source chains this release knows by name, in picker order.
|
|
9
|
+
*
|
|
10
|
+
* Ids, not viem `Chain` objects: `/chains` is the source of truth for what a
|
|
11
|
+
* chain IS — its name, RPC, explorer, gas token — and which tokens it takes;
|
|
12
|
+
* this is only the curated subset with a display order.
|
|
13
|
+
*/
|
|
14
|
+
declare const SUPPORTED_CHAIN_IDS: readonly number[];
|
|
15
|
+
declare function getChainId(chain: {
|
|
16
|
+
id: number;
|
|
17
|
+
} | number): number;
|
|
18
|
+
declare function getSupportedChainIds(): number[];
|
|
19
|
+
declare function getChainName(chainId: DisplayChainId): string;
|
|
20
|
+
declare function getChainBadge(chainId: DisplayChainId): {
|
|
21
|
+
shortLabel: string;
|
|
22
|
+
color: string;
|
|
23
|
+
bg: string;
|
|
24
|
+
};
|
|
25
|
+
declare function getExplorerUrl(chainId: DisplayChainId): string | undefined;
|
|
26
|
+
declare function getExplorerTxUrl(chainId: DisplayChainId, txHash: string): string | undefined;
|
|
27
|
+
declare function getExplorerName(chainId: DisplayChainId): string;
|
|
28
|
+
|
|
29
|
+
export { NATIVE_TOKEN_ADDRESS as N, SUPPORTED_CHAIN_IDS as S, getChainIcon as a, getChainId as b, getChainName as c, getExplorerName as d, getExplorerTxUrl as e, getExplorerUrl as f, getChainBadge as g, getSupportedChainIds as h };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { D as DisplayChainId } from './caip-nwFFL46o.js';
|
|
2
|
+
import { Address } from 'viem';
|
|
3
|
+
|
|
4
|
+
declare function getChainIcon(chainId: DisplayChainId): string | undefined;
|
|
5
|
+
|
|
6
|
+
declare const NATIVE_TOKEN_ADDRESS: Address;
|
|
7
|
+
/**
|
|
8
|
+
* Source chains this release knows by name, in picker order.
|
|
9
|
+
*
|
|
10
|
+
* Ids, not viem `Chain` objects: `/chains` is the source of truth for what a
|
|
11
|
+
* chain IS — its name, RPC, explorer, gas token — and which tokens it takes;
|
|
12
|
+
* this is only the curated subset with a display order.
|
|
13
|
+
*/
|
|
14
|
+
declare const SUPPORTED_CHAIN_IDS: readonly number[];
|
|
15
|
+
declare function getChainId(chain: {
|
|
16
|
+
id: number;
|
|
17
|
+
} | number): number;
|
|
18
|
+
declare function getSupportedChainIds(): number[];
|
|
19
|
+
declare function getChainName(chainId: DisplayChainId): string;
|
|
20
|
+
declare function getChainBadge(chainId: DisplayChainId): {
|
|
21
|
+
shortLabel: string;
|
|
22
|
+
color: string;
|
|
23
|
+
bg: string;
|
|
24
|
+
};
|
|
25
|
+
declare function getExplorerUrl(chainId: DisplayChainId): string | undefined;
|
|
26
|
+
declare function getExplorerTxUrl(chainId: DisplayChainId, txHash: string): string | undefined;
|
|
27
|
+
declare function getExplorerName(chainId: DisplayChainId): string;
|
|
28
|
+
|
|
29
|
+
export { NATIVE_TOKEN_ADDRESS as N, SUPPORTED_CHAIN_IDS as S, getChainIcon as a, getChainId as b, getChainName as c, getExplorerName as d, getExplorerTxUrl as e, getExplorerUrl as f, getChainBadge as g, getSupportedChainIds as h };
|
package/dist/constants.cjs
CHANGED
|
@@ -12,8 +12,10 @@
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
+
var _chunkFKJ6EJHHcjs = require('./chunk-FKJ6EJHH.cjs');
|
|
15
16
|
|
|
16
17
|
|
|
18
|
+
var _chunkD3R3O4CYcjs = require('./chunk-D3R3O4CY.cjs');
|
|
17
19
|
|
|
18
20
|
|
|
19
21
|
|
|
@@ -29,40 +31,4 @@
|
|
|
29
31
|
|
|
30
32
|
|
|
31
33
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
var _chunkPYOC6K24cjs = require('./chunk-PYOC6K24.cjs');
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
exports.HYPERCORE_CHAIN_ID = _chunkOY5N3E6Lcjs.HYPERCORE_CHAIN_ID; exports.HYPERCORE_SPOT_CAIP2 = _chunkOY5N3E6Lcjs.HYPERCORE_SPOT_CAIP2; exports.HYPERCORE_USDC_ADDRESS = _chunkOY5N3E6Lcjs.HYPERCORE_USDC_ADDRESS; exports.MODAL_VERSION = _chunkPYOC6K24cjs.MODAL_VERSION; exports.NATIVE_TOKEN_ADDRESS = _chunkOY5N3E6Lcjs.NATIVE_TOKEN_ADDRESS; exports.SOLANA_TOKENS = _chunkOY5N3E6Lcjs.SOLANA_TOKENS; exports.SUPPORTED_CHAIN_IDS = _chunkOY5N3E6Lcjs.SUPPORTED_CHAIN_IDS; exports.chainRegistry = _chunkOY5N3E6Lcjs.chainRegistry; exports.findChainIdForToken = _chunkOY5N3E6Lcjs.findChainIdForToken; exports.getChainBadge = _chunkOY5N3E6Lcjs.getChainBadge; exports.getChainIcon = _chunkOY5N3E6Lcjs.getChainIcon; exports.getChainId = _chunkOY5N3E6Lcjs.getChainId; exports.getChainName = _chunkOY5N3E6Lcjs.getChainName; exports.getExplorerName = _chunkOY5N3E6Lcjs.getExplorerName; exports.getExplorerTxUrl = _chunkOY5N3E6Lcjs.getExplorerTxUrl; exports.getExplorerUrl = _chunkOY5N3E6Lcjs.getExplorerUrl; exports.getSolanaTokenByMint = _chunkOY5N3E6Lcjs.getSolanaTokenByMint; exports.getSolanaTokenBySymbol = _chunkOY5N3E6Lcjs.getSolanaTokenBySymbol; exports.getSupportedChainIds = _chunkOY5N3E6Lcjs.getSupportedChainIds; exports.getSupportedTargetTokens = _chunkOY5N3E6Lcjs.getSupportedTargetTokens; exports.getSupportedTokenSymbolsForChain = _chunkOY5N3E6Lcjs.getSupportedTokenSymbolsForChain; exports.getTargetTokenSymbolsForChain = _chunkOY5N3E6Lcjs.getTargetTokenSymbolsForChain; exports.getTokenAddress = _chunkOY5N3E6Lcjs.getTokenAddress; exports.getTokenDecimals = _chunkOY5N3E6Lcjs.getTokenDecimals; exports.getTokenDecimalsByAddress = _chunkOY5N3E6Lcjs.getTokenDecimalsByAddress; exports.getTokenIcon = _chunkOY5N3E6Lcjs.getTokenIcon; exports.getTokenSymbol = _chunkOY5N3E6Lcjs.getTokenSymbol; exports.getUsdcAddress = _chunkOY5N3E6Lcjs.getUsdcAddress; exports.getUsdcDecimals = _chunkOY5N3E6Lcjs.getUsdcDecimals; exports.isSupportedTokenAddressForChain = _chunkOY5N3E6Lcjs.isSupportedTokenAddressForChain; exports.tokenIconUrl = _chunkOY5N3E6Lcjs.tokenIconUrl;
|
|
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 = _chunkD3R3O4CYcjs.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;
|
package/dist/constants.d.cts
CHANGED
|
@@ -1,23 +1,7 @@
|
|
|
1
|
-
export { N as NATIVE_TOKEN_ADDRESS, S as SUPPORTED_CHAIN_IDS,
|
|
2
|
-
export { H as HYPERCORE_CHAIN_ID, a as HYPERCORE_SPOT_CAIP2, b as HYPERCORE_USDC_ADDRESS } from './caip-
|
|
1
|
+
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';
|
|
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.
|
|
5
|
+
declare const MODAL_VERSION = "0.20.1";
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
* Lightweight Solana token registry — no `@solana/web3.js` dependency, so it
|
|
9
|
-
* can be imported from EVM code paths (e.g. `constants.ts`) without pulling
|
|
10
|
-
* the heavy Solana runtime into EVM-only bundles. The web3.js-backed runtime
|
|
11
|
-
* helpers (connections, transfers) live in `./solana`; import the token
|
|
12
|
-
* registry directly from this module, never via `./solana`.
|
|
13
|
-
*/
|
|
14
|
-
interface SolanaToken {
|
|
15
|
-
symbol: string;
|
|
16
|
-
mint: string;
|
|
17
|
-
decimals: number;
|
|
18
|
-
}
|
|
19
|
-
declare const SOLANA_TOKENS: SolanaToken[];
|
|
20
|
-
declare function getSolanaTokenBySymbol(symbol: string): SolanaToken | undefined;
|
|
21
|
-
declare function getSolanaTokenByMint(mint: string): SolanaToken | undefined;
|
|
22
|
-
|
|
23
|
-
export { MODAL_VERSION, SOLANA_TOKENS, type SolanaToken, getSolanaTokenByMint, getSolanaTokenBySymbol };
|
|
7
|
+
export { MODAL_VERSION };
|
package/dist/constants.d.ts
CHANGED
|
@@ -1,23 +1,7 @@
|
|
|
1
|
-
export { N as NATIVE_TOKEN_ADDRESS, S as SUPPORTED_CHAIN_IDS,
|
|
2
|
-
export { H as HYPERCORE_CHAIN_ID, a as HYPERCORE_SPOT_CAIP2, b as HYPERCORE_USDC_ADDRESS } from './caip-
|
|
1
|
+
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';
|
|
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.
|
|
5
|
+
declare const MODAL_VERSION = "0.20.1";
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
* Lightweight Solana token registry — no `@solana/web3.js` dependency, so it
|
|
9
|
-
* can be imported from EVM code paths (e.g. `constants.ts`) without pulling
|
|
10
|
-
* the heavy Solana runtime into EVM-only bundles. The web3.js-backed runtime
|
|
11
|
-
* helpers (connections, transfers) live in `./solana`; import the token
|
|
12
|
-
* registry directly from this module, never via `./solana`.
|
|
13
|
-
*/
|
|
14
|
-
interface SolanaToken {
|
|
15
|
-
symbol: string;
|
|
16
|
-
mint: string;
|
|
17
|
-
decimals: number;
|
|
18
|
-
}
|
|
19
|
-
declare const SOLANA_TOKENS: SolanaToken[];
|
|
20
|
-
declare function getSolanaTokenBySymbol(symbol: string): SolanaToken | undefined;
|
|
21
|
-
declare function getSolanaTokenByMint(mint: string): SolanaToken | undefined;
|
|
22
|
-
|
|
23
|
-
export { MODAL_VERSION, SOLANA_TOKENS, type SolanaToken, getSolanaTokenByMint, getSolanaTokenBySymbol };
|
|
7
|
+
export { MODAL_VERSION };
|
package/dist/constants.mjs
CHANGED
|
@@ -3,10 +3,7 @@ import {
|
|
|
3
3
|
HYPERCORE_SPOT_CAIP2,
|
|
4
4
|
HYPERCORE_USDC_ADDRESS,
|
|
5
5
|
NATIVE_TOKEN_ADDRESS,
|
|
6
|
-
SOLANA_TOKENS,
|
|
7
6
|
SUPPORTED_CHAIN_IDS,
|
|
8
|
-
chainRegistry,
|
|
9
|
-
findChainIdForToken,
|
|
10
7
|
getChainBadge,
|
|
11
8
|
getChainIcon,
|
|
12
9
|
getChainId,
|
|
@@ -14,35 +11,18 @@ import {
|
|
|
14
11
|
getExplorerName,
|
|
15
12
|
getExplorerTxUrl,
|
|
16
13
|
getExplorerUrl,
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
getSupportedChainIds,
|
|
20
|
-
getSupportedTargetTokens,
|
|
21
|
-
getSupportedTokenSymbolsForChain,
|
|
22
|
-
getTargetTokenSymbolsForChain,
|
|
23
|
-
getTokenAddress,
|
|
24
|
-
getTokenDecimals,
|
|
25
|
-
getTokenDecimalsByAddress,
|
|
26
|
-
getTokenIcon,
|
|
27
|
-
getTokenSymbol,
|
|
28
|
-
getUsdcAddress,
|
|
29
|
-
getUsdcDecimals,
|
|
30
|
-
isSupportedTokenAddressForChain,
|
|
31
|
-
tokenIconUrl
|
|
32
|
-
} from "./chunk-EAGMY3QE.mjs";
|
|
14
|
+
getSupportedChainIds
|
|
15
|
+
} from "./chunk-E7IMWVMN.mjs";
|
|
33
16
|
import {
|
|
34
17
|
MODAL_VERSION
|
|
35
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-ZOJMB5TZ.mjs";
|
|
36
19
|
export {
|
|
37
20
|
HYPERCORE_CHAIN_ID,
|
|
38
21
|
HYPERCORE_SPOT_CAIP2,
|
|
39
22
|
HYPERCORE_USDC_ADDRESS,
|
|
40
23
|
MODAL_VERSION,
|
|
41
24
|
NATIVE_TOKEN_ADDRESS,
|
|
42
|
-
SOLANA_TOKENS,
|
|
43
25
|
SUPPORTED_CHAIN_IDS,
|
|
44
|
-
chainRegistry,
|
|
45
|
-
findChainIdForToken,
|
|
46
26
|
getChainBadge,
|
|
47
27
|
getChainIcon,
|
|
48
28
|
getChainId,
|
|
@@ -50,19 +30,5 @@ export {
|
|
|
50
30
|
getExplorerName,
|
|
51
31
|
getExplorerTxUrl,
|
|
52
32
|
getExplorerUrl,
|
|
53
|
-
|
|
54
|
-
getSolanaTokenBySymbol,
|
|
55
|
-
getSupportedChainIds,
|
|
56
|
-
getSupportedTargetTokens,
|
|
57
|
-
getSupportedTokenSymbolsForChain,
|
|
58
|
-
getTargetTokenSymbolsForChain,
|
|
59
|
-
getTokenAddress,
|
|
60
|
-
getTokenDecimals,
|
|
61
|
-
getTokenDecimalsByAddress,
|
|
62
|
-
getTokenIcon,
|
|
63
|
-
getTokenSymbol,
|
|
64
|
-
getUsdcAddress,
|
|
65
|
-
getUsdcDecimals,
|
|
66
|
-
isSupportedTokenAddressForChain,
|
|
67
|
-
tokenIconUrl
|
|
33
|
+
getSupportedChainIds
|
|
68
34
|
};
|
package/dist/deposit.cjs
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
5
|
-
require('./chunk-
|
|
6
|
-
require('./chunk-
|
|
7
|
-
require('./chunk-
|
|
3
|
+
var _chunkPVFEZ3UGcjs = require('./chunk-PVFEZ3UG.cjs');
|
|
4
|
+
require('./chunk-FVJKUTHF.cjs');
|
|
5
|
+
require('./chunk-KXSU24RU.cjs');
|
|
6
|
+
require('./chunk-G264OM23.cjs');
|
|
7
|
+
require('./chunk-FKJ6EJHH.cjs');
|
|
8
|
+
require('./chunk-D3R3O4CY.cjs');
|
|
8
9
|
|
|
9
10
|
|
|
10
|
-
exports.DepositModal =
|
|
11
|
+
exports.DepositModal = _chunkPVFEZ3UGcjs.DepositModal;
|
package/dist/deposit.d.cts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
|
-
import {
|
|
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, 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,
|
|
4
|
-
|
|
2
|
+
import { P as DepositModalProps } from './types-BEEMfNi2.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-BEEMfNi2.cjs';
|
|
4
|
+
export { a as CustomerSession } from './bearer-transport-DZyeDG64.cjs';
|
|
5
|
+
export { R as RampCurrency } from './ramp-types-HYWd7CW0.cjs';
|
|
6
|
+
import './caip-nwFFL46o.cjs';
|
|
5
7
|
import 'viem';
|
|
6
8
|
|
|
7
9
|
declare function DepositModal(props: DepositModalProps): react.JSX.Element;
|