@coinbase/cdp-api-client 0.0.124 → 0.0.125
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/dist/esm/index.js +124 -121
- package/dist/esm/index11.js +1 -1
- package/dist/esm/index15.js +1 -1
- package/dist/esm/index16.js +1 -1
- package/dist/esm/index17.js +39 -2
- package/dist/esm/index19.js +67 -36
- package/dist/esm/index20.js +35 -2
- package/dist/esm/index21.js +14 -69
- package/dist/esm/index22.js +2 -35
- package/dist/esm/index23.js +2 -15
- package/dist/esm/index4.js +1 -1
- package/dist/esm/index5.js +99 -90
- package/dist/esm/index6.js +220 -199
- package/dist/esm/index7.js +22 -15
- package/dist/esm/index8.js +116 -106
- package/dist/types/index.d.ts +202 -23
- package/package.json +1 -1
package/dist/esm/index7.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
1
|
+
const d = {
|
|
2
2
|
unexpected_error: "unexpected_error",
|
|
3
3
|
unauthorized: "unauthorized",
|
|
4
4
|
not_found: "not_found",
|
|
@@ -6,12 +6,18 @@ const u = {
|
|
|
6
6
|
service_unavailable: "service_unavailable",
|
|
7
7
|
unknown: "unknown"
|
|
8
8
|
};
|
|
9
|
-
class
|
|
9
|
+
class c extends Error {
|
|
10
10
|
statusCode;
|
|
11
11
|
errorType;
|
|
12
12
|
errorMessage;
|
|
13
13
|
correlationId;
|
|
14
14
|
errorLink;
|
|
15
|
+
/**
|
|
16
|
+
* Response headers, lowercase-keyed (e.g. `x-mfa-challenge-id`). Never included in
|
|
17
|
+
* {@link toJSON}. Multi-value headers (e.g. `set-cookie`) come back as arrays; callers
|
|
18
|
+
* must guard with `Array.isArray` before treating a value as a string.
|
|
19
|
+
*/
|
|
20
|
+
headers;
|
|
15
21
|
/**
|
|
16
22
|
* Constructor for the APIError class
|
|
17
23
|
*
|
|
@@ -21,9 +27,10 @@ class a extends Error {
|
|
|
21
27
|
* @param correlationId - The correlation ID
|
|
22
28
|
* @param errorLink - URL to documentation about this error
|
|
23
29
|
* @param cause - The cause of the error
|
|
30
|
+
* @param headers - The response headers, lowercase-keyed
|
|
24
31
|
*/
|
|
25
|
-
constructor(e, o, n, t,
|
|
26
|
-
super(n, { cause:
|
|
32
|
+
constructor(e, o, n, s, t, a, i) {
|
|
33
|
+
super(n, { cause: a }), this.name = "APIError", this.statusCode = e, this.errorType = o, this.errorMessage = n, s !== void 0 && (this.correlationId = s), t !== void 0 && (this.errorLink = t), i !== void 0 && (this.headers = i);
|
|
27
34
|
}
|
|
28
35
|
/**
|
|
29
36
|
* Convert the error to a JSON object, excluding undefined properties
|
|
@@ -41,7 +48,7 @@ class a extends Error {
|
|
|
41
48
|
};
|
|
42
49
|
}
|
|
43
50
|
}
|
|
44
|
-
class
|
|
51
|
+
class l extends c {
|
|
45
52
|
/**
|
|
46
53
|
* Constructor for the UnknownApiError class
|
|
47
54
|
*
|
|
@@ -53,7 +60,7 @@ class d extends a {
|
|
|
53
60
|
super(0, e, o, void 0, void 0, n), this.name = "UnknownApiError";
|
|
54
61
|
}
|
|
55
62
|
}
|
|
56
|
-
class
|
|
63
|
+
class h extends Error {
|
|
57
64
|
/**
|
|
58
65
|
* Constructor for the UnknownError class
|
|
59
66
|
*
|
|
@@ -67,7 +74,7 @@ class l extends Error {
|
|
|
67
74
|
function E(r) {
|
|
68
75
|
return r !== null && typeof r == "object" && "errorType" in r && typeof r.errorType == "string" && "errorMessage" in r && typeof r.errorMessage == "string";
|
|
69
76
|
}
|
|
70
|
-
class
|
|
77
|
+
class p extends Error {
|
|
71
78
|
/** Stable discriminator used for cross-package detection. */
|
|
72
79
|
code = "CDP_REFRESH_TOKEN_UNAVAILABLE";
|
|
73
80
|
/**
|
|
@@ -86,14 +93,14 @@ class h extends Error {
|
|
|
86
93
|
super(o ?? `Refresh token unavailable in local storage (${e})`), this.name = "RefreshTokenUnavailableError", this.outcome = e;
|
|
87
94
|
}
|
|
88
95
|
}
|
|
89
|
-
const
|
|
96
|
+
const T = (r) => typeof r == "object" && r !== null && r.code === "CDP_REFRESH_TOKEN_UNAVAILABLE", u = /user interaction is not allowed/i, _ = (r) => r.outcome === "error" && u.test(r.message ?? "");
|
|
90
97
|
export {
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
98
|
+
c as APIError,
|
|
99
|
+
d as HttpErrorType,
|
|
100
|
+
p as RefreshTokenUnavailableError,
|
|
101
|
+
l as UnknownApiError,
|
|
102
|
+
h as UnknownError,
|
|
96
103
|
E as isOpenAPIError,
|
|
97
|
-
|
|
98
|
-
|
|
104
|
+
T as isRefreshTokenUnavailableError,
|
|
105
|
+
_ as isTransientTokenReadError
|
|
99
106
|
};
|
package/dist/esm/index8.js
CHANGED
|
@@ -16,7 +16,7 @@ const i = (t, e, n) => r(
|
|
|
16
16
|
}, p = (t, e) => r(
|
|
17
17
|
{ url: `/v2/embedded-wallet-api/projects/${t}/attestation/challenge`, method: "POST" },
|
|
18
18
|
e
|
|
19
|
-
),
|
|
19
|
+
), c = (t, e, n) => r(
|
|
20
20
|
{
|
|
21
21
|
url: `/v2/embedded-wallet-api/projects/${t}/attestation/register`,
|
|
22
22
|
method: "POST",
|
|
@@ -24,7 +24,7 @@ const i = (t, e, n) => r(
|
|
|
24
24
|
data: e
|
|
25
25
|
},
|
|
26
26
|
n
|
|
27
|
-
),
|
|
27
|
+
), u = (t, e, n) => r(
|
|
28
28
|
{
|
|
29
29
|
url: `/v2/embedded-wallet-api/projects/${t}/auth/init`,
|
|
30
30
|
method: "POST",
|
|
@@ -104,50 +104,16 @@ const i = (t, e, n) => r(
|
|
|
104
104
|
params: e
|
|
105
105
|
},
|
|
106
106
|
n
|
|
107
|
-
),
|
|
108
|
-
{
|
|
109
|
-
url: `/v2/embedded-wallet-api/end-users/${t}/evm/smart-accounts/${e}/borrow-positions`,
|
|
110
|
-
method: "POST",
|
|
111
|
-
headers: { "Content-Type": "application/json" },
|
|
112
|
-
data: n,
|
|
113
|
-
params: a
|
|
114
|
-
},
|
|
115
|
-
d
|
|
116
|
-
), y = (t, e, n, a) => r(
|
|
117
|
-
{
|
|
118
|
-
url: `/v2/embedded-wallet-api/end-users/${t}/evm/smart-accounts/${e}/borrow-positions`,
|
|
119
|
-
method: "GET",
|
|
120
|
-
params: n
|
|
121
|
-
},
|
|
122
|
-
a
|
|
123
|
-
), P = (t, e, n, a, d) => r(
|
|
124
|
-
{
|
|
125
|
-
url: `/v2/embedded-wallet-api/end-users/${t}/evm/smart-accounts/${e}/borrow-positions/adjust`,
|
|
126
|
-
method: "POST",
|
|
127
|
-
headers: { "Content-Type": "application/json" },
|
|
128
|
-
data: n,
|
|
129
|
-
params: a
|
|
130
|
-
},
|
|
131
|
-
d
|
|
132
|
-
), U = (t, e, n, a, d) => r(
|
|
133
|
-
{
|
|
134
|
-
url: `/v2/embedded-wallet-api/end-users/${t}/evm/smart-accounts/${e}/borrow-positions/close`,
|
|
135
|
-
method: "POST",
|
|
136
|
-
headers: { "Content-Type": "application/json" },
|
|
137
|
-
data: n,
|
|
138
|
-
params: a
|
|
139
|
-
},
|
|
140
|
-
d
|
|
141
|
-
), O = (t, e) => r(
|
|
107
|
+
), y = (t, e) => r(
|
|
142
108
|
{ url: `/v2/embedded-wallet-api/projects/${t}/config`, method: "GET" },
|
|
143
109
|
e
|
|
144
|
-
),
|
|
110
|
+
), g = (t, e) => r(
|
|
145
111
|
{ url: `/v2/embedded-wallet-api/projects/${t}/auth/mfa`, method: "GET" },
|
|
146
112
|
e
|
|
147
|
-
),
|
|
113
|
+
), P = (t, e, n) => r(
|
|
148
114
|
{ url: `/v2/embedded-wallet-api/end-users/${t}`, method: "GET", params: e },
|
|
149
115
|
n
|
|
150
|
-
),
|
|
116
|
+
), U = (t, e, n, a) => r(
|
|
151
117
|
{
|
|
152
118
|
url: `/v2/embedded-wallet-api/end-users/${t}/wallet-secrets`,
|
|
153
119
|
method: "PUT",
|
|
@@ -156,7 +122,7 @@ const i = (t, e, n) => r(
|
|
|
156
122
|
params: n
|
|
157
123
|
},
|
|
158
124
|
a
|
|
159
|
-
),
|
|
125
|
+
), O = (t, e, n, a) => r(
|
|
160
126
|
{
|
|
161
127
|
url: `/v2/embedded-wallet-api/end-users/${t}/evm`,
|
|
162
128
|
method: "POST",
|
|
@@ -165,7 +131,7 @@ const i = (t, e, n) => r(
|
|
|
165
131
|
params: n
|
|
166
132
|
},
|
|
167
133
|
a
|
|
168
|
-
),
|
|
134
|
+
), f = (t, e, n, a) => r(
|
|
169
135
|
{
|
|
170
136
|
url: `/v2/embedded-wallet-api/end-users/${t}/evm/sign`,
|
|
171
137
|
method: "POST",
|
|
@@ -174,7 +140,7 @@ const i = (t, e, n) => r(
|
|
|
174
140
|
params: n
|
|
175
141
|
},
|
|
176
142
|
a
|
|
177
|
-
),
|
|
143
|
+
), C = (t, e, n, a) => r(
|
|
178
144
|
{
|
|
179
145
|
url: `/v2/embedded-wallet-api/end-users/${t}/evm/sign/transaction`,
|
|
180
146
|
method: "POST",
|
|
@@ -183,7 +149,7 @@ const i = (t, e, n) => r(
|
|
|
183
149
|
params: n
|
|
184
150
|
},
|
|
185
151
|
a
|
|
186
|
-
),
|
|
152
|
+
), A = (t, e, n, a) => r(
|
|
187
153
|
{
|
|
188
154
|
url: `/v2/embedded-wallet-api/end-users/${t}/evm/send/transaction`,
|
|
189
155
|
method: "POST",
|
|
@@ -192,7 +158,7 @@ const i = (t, e, n) => r(
|
|
|
192
158
|
params: n
|
|
193
159
|
},
|
|
194
160
|
a
|
|
195
|
-
),
|
|
161
|
+
), W = (t, e, n, a, d, s) => r(
|
|
196
162
|
{
|
|
197
163
|
url: `/v2/embedded-wallet-api/end-users/${t}/evm/${e}/send/${n}`,
|
|
198
164
|
method: "POST",
|
|
@@ -201,7 +167,7 @@ const i = (t, e, n) => r(
|
|
|
201
167
|
params: d
|
|
202
168
|
},
|
|
203
169
|
s
|
|
204
|
-
),
|
|
170
|
+
), G = (t, e, n, a) => r(
|
|
205
171
|
{
|
|
206
172
|
url: `/v2/embedded-wallet-api/end-users/${t}/evm/sign/message`,
|
|
207
173
|
method: "POST",
|
|
@@ -210,7 +176,7 @@ const i = (t, e, n) => r(
|
|
|
210
176
|
params: n
|
|
211
177
|
},
|
|
212
178
|
a
|
|
213
|
-
),
|
|
179
|
+
), D = (t, e, n, a) => r(
|
|
214
180
|
{
|
|
215
181
|
url: `/v2/embedded-wallet-api/end-users/${t}/evm/sign/typed-data`,
|
|
216
182
|
method: "POST",
|
|
@@ -219,7 +185,7 @@ const i = (t, e, n) => r(
|
|
|
219
185
|
params: n
|
|
220
186
|
},
|
|
221
187
|
a
|
|
222
|
-
),
|
|
188
|
+
), x = (t, e, n, a) => r(
|
|
223
189
|
{
|
|
224
190
|
url: `/v2/embedded-wallet-api/end-users/${t}/evm/export`,
|
|
225
191
|
method: "POST",
|
|
@@ -228,7 +194,7 @@ const i = (t, e, n) => r(
|
|
|
228
194
|
params: n
|
|
229
195
|
},
|
|
230
196
|
a
|
|
231
|
-
),
|
|
197
|
+
), M = (t, e, n, a) => r(
|
|
232
198
|
{
|
|
233
199
|
url: `/v2/embedded-wallet-api/end-users/${t}/delegation`,
|
|
234
200
|
method: "POST",
|
|
@@ -237,10 +203,10 @@ const i = (t, e, n) => r(
|
|
|
237
203
|
params: n
|
|
238
204
|
},
|
|
239
205
|
a
|
|
240
|
-
),
|
|
206
|
+
), F = (t, e, n) => r(
|
|
241
207
|
{ url: `/v2/embedded-wallet-api/end-users/${t}/delegation`, method: "GET", params: e },
|
|
242
208
|
n
|
|
243
|
-
),
|
|
209
|
+
), L = (t, e, n, a) => r(
|
|
244
210
|
{
|
|
245
211
|
url: `/v2/embedded-wallet-api/end-users/${t}/delegation`,
|
|
246
212
|
method: "DELETE",
|
|
@@ -249,7 +215,7 @@ const i = (t, e, n) => r(
|
|
|
249
215
|
params: n
|
|
250
216
|
},
|
|
251
217
|
a
|
|
252
|
-
),
|
|
218
|
+
), _ = (t, e, n, a, d) => r(
|
|
253
219
|
{
|
|
254
220
|
url: `/v2/embedded-wallet-api/end-users/${t}/address/${e}/delegation`,
|
|
255
221
|
method: "POST",
|
|
@@ -258,14 +224,14 @@ const i = (t, e, n) => r(
|
|
|
258
224
|
params: a
|
|
259
225
|
},
|
|
260
226
|
d
|
|
261
|
-
),
|
|
227
|
+
), H = (t, e, n, a) => r(
|
|
262
228
|
{
|
|
263
229
|
url: `/v2/embedded-wallet-api/end-users/${t}/address/${e}/delegation`,
|
|
264
230
|
method: "GET",
|
|
265
231
|
params: n
|
|
266
232
|
},
|
|
267
233
|
a
|
|
268
|
-
),
|
|
234
|
+
), I = (t, e, n, a, d) => r(
|
|
269
235
|
{
|
|
270
236
|
url: `/v2/embedded-wallet-api/end-users/${t}/address/${e}/delegation`,
|
|
271
237
|
method: "DELETE",
|
|
@@ -274,7 +240,7 @@ const i = (t, e, n) => r(
|
|
|
274
240
|
params: a
|
|
275
241
|
},
|
|
276
242
|
d
|
|
277
|
-
),
|
|
243
|
+
), V = (t, e, n, a) => r(
|
|
278
244
|
{
|
|
279
245
|
url: `/v2/embedded-wallet-api/end-users/${t}/evm/eip7702/delegation`,
|
|
280
246
|
method: "POST",
|
|
@@ -283,14 +249,14 @@ const i = (t, e, n) => r(
|
|
|
283
249
|
params: n
|
|
284
250
|
},
|
|
285
251
|
a
|
|
286
|
-
),
|
|
252
|
+
), R = (t, e, n, a) => r(
|
|
287
253
|
{
|
|
288
254
|
url: `/v2/embedded-wallet-api/end-users/${t}/evm/eip7702/delegation-operations/${e}`,
|
|
289
255
|
method: "GET",
|
|
290
256
|
params: n
|
|
291
257
|
},
|
|
292
258
|
a
|
|
293
|
-
),
|
|
259
|
+
), X = (t, e, n, a) => r(
|
|
294
260
|
{
|
|
295
261
|
url: `/v2/embedded-wallet-api/end-users/${t}/evm/smart-accounts`,
|
|
296
262
|
method: "POST",
|
|
@@ -299,14 +265,14 @@ const i = (t, e, n) => r(
|
|
|
299
265
|
params: n
|
|
300
266
|
},
|
|
301
267
|
a
|
|
302
|
-
),
|
|
268
|
+
), k = (t, e, n, a, d) => r(
|
|
303
269
|
{
|
|
304
270
|
url: `/v2/embedded-wallet-api/end-users/${t}/evm/smart-accounts/${e}/user-operations/${n}`,
|
|
305
271
|
method: "GET",
|
|
306
272
|
params: a
|
|
307
273
|
},
|
|
308
274
|
d
|
|
309
|
-
),
|
|
275
|
+
), q = (t, e, n, a, d) => r(
|
|
310
276
|
{
|
|
311
277
|
url: `/v2/embedded-wallet-api/end-users/${t}/evm/smart-accounts/${e}/send`,
|
|
312
278
|
method: "POST",
|
|
@@ -315,6 +281,40 @@ const i = (t, e, n) => r(
|
|
|
315
281
|
params: a
|
|
316
282
|
},
|
|
317
283
|
d
|
|
284
|
+
), z = (t, e, n, a) => r(
|
|
285
|
+
{
|
|
286
|
+
url: `/v2/embedded-wallet-api/end-users/${t}/evm/smart-accounts/${e}/borrow-positions`,
|
|
287
|
+
method: "GET",
|
|
288
|
+
params: n
|
|
289
|
+
},
|
|
290
|
+
a
|
|
291
|
+
), J = (t, e, n, a, d) => r(
|
|
292
|
+
{
|
|
293
|
+
url: `/v2/embedded-wallet-api/end-users/${t}/evm/smart-accounts/${e}/borrow-positions`,
|
|
294
|
+
method: "POST",
|
|
295
|
+
headers: { "Content-Type": "application/json" },
|
|
296
|
+
data: n,
|
|
297
|
+
params: a
|
|
298
|
+
},
|
|
299
|
+
d
|
|
300
|
+
), K = (t, e, n, a, d) => r(
|
|
301
|
+
{
|
|
302
|
+
url: `/v2/embedded-wallet-api/end-users/${t}/evm/smart-accounts/${e}/borrow-positions/adjust`,
|
|
303
|
+
method: "POST",
|
|
304
|
+
headers: { "Content-Type": "application/json" },
|
|
305
|
+
data: n,
|
|
306
|
+
params: a
|
|
307
|
+
},
|
|
308
|
+
d
|
|
309
|
+
), N = (t, e, n, a, d) => r(
|
|
310
|
+
{
|
|
311
|
+
url: `/v2/embedded-wallet-api/end-users/${t}/evm/smart-accounts/${e}/borrow-positions/close`,
|
|
312
|
+
method: "POST",
|
|
313
|
+
headers: { "Content-Type": "application/json" },
|
|
314
|
+
data: n,
|
|
315
|
+
params: a
|
|
316
|
+
},
|
|
317
|
+
d
|
|
318
318
|
), Q = (t, e, n, a, d) => r(
|
|
319
319
|
{
|
|
320
320
|
url: `/v2/embedded-wallet-api/end-users/${t}/evm/smart-accounts/${e}/spend-permissions`,
|
|
@@ -442,6 +442,15 @@ const i = (t, e, n) => r(
|
|
|
442
442
|
params: n
|
|
443
443
|
},
|
|
444
444
|
a
|
|
445
|
+
), ce = (t, e, n, a) => r(
|
|
446
|
+
{
|
|
447
|
+
url: `/v2/embedded-wallet-api/end-users/${t}/btc/export`,
|
|
448
|
+
method: "POST",
|
|
449
|
+
headers: { "Content-Type": "application/json" },
|
|
450
|
+
data: e,
|
|
451
|
+
params: n
|
|
452
|
+
},
|
|
453
|
+
a
|
|
445
454
|
), ue = (t, e, n, a) => r(
|
|
446
455
|
{
|
|
447
456
|
url: `/v2/embedded-wallet-api/end-users/${t}/btc/sign`,
|
|
@@ -451,7 +460,7 @@ const i = (t, e, n) => r(
|
|
|
451
460
|
params: n
|
|
452
461
|
},
|
|
453
462
|
a
|
|
454
|
-
),
|
|
463
|
+
), me = (t, e, n, a) => r(
|
|
455
464
|
{
|
|
456
465
|
url: `/v2/embedded-wallet-api/end-users/${t}/onramp/orders`,
|
|
457
466
|
method: "POST",
|
|
@@ -460,14 +469,14 @@ const i = (t, e, n) => r(
|
|
|
460
469
|
params: n
|
|
461
470
|
},
|
|
462
471
|
a
|
|
463
|
-
),
|
|
472
|
+
), he = (t, e, n, a) => r(
|
|
464
473
|
{
|
|
465
474
|
url: `/v2/embedded-wallet-api/end-users/${t}/mfa/enroll/${e}/init`,
|
|
466
475
|
method: "POST",
|
|
467
476
|
params: n
|
|
468
477
|
},
|
|
469
478
|
a
|
|
470
|
-
),
|
|
479
|
+
), Te = (t, e, n, a, d) => r(
|
|
471
480
|
{
|
|
472
481
|
url: `/v2/embedded-wallet-api/end-users/${t}/mfa/enroll/${e}/initiate`,
|
|
473
482
|
method: "POST",
|
|
@@ -476,7 +485,7 @@ const i = (t, e, n) => r(
|
|
|
476
485
|
params: a
|
|
477
486
|
},
|
|
478
487
|
d
|
|
479
|
-
),
|
|
488
|
+
), ve = (t, e, n, a, d) => r(
|
|
480
489
|
{
|
|
481
490
|
url: `/v2/embedded-wallet-api/end-users/${t}/mfa/enroll/${e}/submit`,
|
|
482
491
|
method: "POST",
|
|
@@ -485,14 +494,14 @@ const i = (t, e, n) => r(
|
|
|
485
494
|
params: a
|
|
486
495
|
},
|
|
487
496
|
d
|
|
488
|
-
),
|
|
497
|
+
), $e = (t, e, n, a) => r(
|
|
489
498
|
{
|
|
490
499
|
url: `/v2/embedded-wallet-api/end-users/${t}/mfa/verify/${e}/init`,
|
|
491
500
|
method: "POST",
|
|
492
501
|
params: n
|
|
493
502
|
},
|
|
494
503
|
a
|
|
495
|
-
),
|
|
504
|
+
), Ee = (t, e, n, a, d) => r(
|
|
496
505
|
{
|
|
497
506
|
url: `/v2/embedded-wallet-api/end-users/${t}/mfa/verify/${e}/submit`,
|
|
498
507
|
method: "POST",
|
|
@@ -501,13 +510,13 @@ const i = (t, e, n) => r(
|
|
|
501
510
|
params: a
|
|
502
511
|
},
|
|
503
512
|
d
|
|
504
|
-
),
|
|
513
|
+
), we = (t, e, n) => r(
|
|
505
514
|
{ url: `/v2/embedded-wallet-api/end-users/${t}/mfa/prompt`, method: "PUT", params: e },
|
|
506
515
|
n
|
|
507
|
-
),
|
|
516
|
+
), be = (t, e, n) => r(
|
|
508
517
|
{ url: `/v2/embedded-wallet-api/end-users/${t}/mfa/passkeys`, method: "GET", params: e },
|
|
509
518
|
n
|
|
510
|
-
),
|
|
519
|
+
), Se = (t, e, n, a) => r(
|
|
511
520
|
{
|
|
512
521
|
url: `/v2/embedded-wallet-api/end-users/${t}/mfa/passkeys/${e}`,
|
|
513
522
|
method: "DELETE",
|
|
@@ -516,68 +525,69 @@ const i = (t, e, n) => r(
|
|
|
516
525
|
a
|
|
517
526
|
);
|
|
518
527
|
export {
|
|
519
|
-
|
|
528
|
+
K as adjustBorrowPositionWithEndUserAccount,
|
|
520
529
|
b as authenticateUserWithCustomAuth,
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
530
|
+
N as closeBorrowPositionWithEndUserAccount,
|
|
531
|
+
J as createBorrowPositionWithEndUserAccount,
|
|
532
|
+
M as createDelegationForEndUser,
|
|
533
|
+
_ as createDelegationForEndUserAccount,
|
|
534
|
+
me as createEndUserApplePayOnrampOrder,
|
|
526
535
|
pe as createEndUserBtcAccount,
|
|
527
|
-
|
|
528
|
-
|
|
536
|
+
O as createEndUserEvmAccount,
|
|
537
|
+
X as createEndUserEvmSmartAccount,
|
|
529
538
|
te as createEndUserEvmSwap,
|
|
530
539
|
ne as createEndUserSolanaAccount,
|
|
531
|
-
|
|
540
|
+
V as createEvmEip7702DelegationWithEndUserAccount,
|
|
532
541
|
Q as createSpendPermissionWithEndUserAccount,
|
|
533
|
-
|
|
542
|
+
Se as deletePasskey,
|
|
534
543
|
B as enableSpendPermissionWithEndUserAccount,
|
|
535
|
-
|
|
544
|
+
ce as exportEndUserBtcAccount,
|
|
545
|
+
x as exportEndUserEvmAccount,
|
|
536
546
|
ae as exportEndUserSolanaAccount,
|
|
537
547
|
p as generateAttestationChallenge,
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
548
|
+
P as getAuthenticatedEndUser,
|
|
549
|
+
F as getDelegationForEndUser,
|
|
550
|
+
H as getDelegationForEndUserAccount,
|
|
541
551
|
ee as getEndUserEvmSwapPrice,
|
|
542
552
|
j as getEvmBorrowProduct,
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
553
|
+
R as getEvmEip7702DelegationOperationByIdWithEndUserAccount,
|
|
554
|
+
g as getMfaConfig,
|
|
555
|
+
y as getProjectConfig,
|
|
556
|
+
k as getUserOperationWithEndUserAccount,
|
|
557
|
+
u as initiateAuthentication,
|
|
558
|
+
he as initiateMfaEnrollment,
|
|
559
|
+
Te as initiateMfaEnrollment2,
|
|
560
|
+
$e as initiateMfaVerification,
|
|
561
|
+
z as listBorrowPositionsWithEndUserAccount,
|
|
552
562
|
S as listEvmBorrowProducts,
|
|
553
|
-
|
|
563
|
+
be as listPasskeys,
|
|
554
564
|
Y as listSpendPermissionsWithEndUserAccount,
|
|
555
565
|
w as logOutEndUser,
|
|
556
566
|
i as receiveOAuthCallback,
|
|
557
567
|
l as receiveOAuthCallbackPost,
|
|
558
|
-
|
|
568
|
+
we as recordMfaEnrollmentPrompted,
|
|
559
569
|
E as refreshAccessToken,
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
570
|
+
c as registerAttestation,
|
|
571
|
+
U as registerTemporaryWalletSecret,
|
|
572
|
+
L as revokeDelegationForEndUser,
|
|
573
|
+
I as revokeDelegationForEndUserAccount,
|
|
564
574
|
Z as revokeSpendPermissionWithEndUserAccount,
|
|
565
|
-
|
|
566
|
-
|
|
575
|
+
W as sendEvmAssetWithEndUserAccount,
|
|
576
|
+
A as sendEvmTransactionWithEndUserAccount,
|
|
567
577
|
le as sendSolanaAssetWithEndUserAccount,
|
|
568
578
|
ie as sendSolanaTransactionWithEndUserAccount,
|
|
569
|
-
|
|
579
|
+
q as sendUserOperationWithEndUserAccount,
|
|
570
580
|
ue as signBtcHashWithEndUserAccount,
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
581
|
+
f as signEvmHashWithEndUserAccount,
|
|
582
|
+
G as signEvmMessageWithEndUserAccount,
|
|
583
|
+
C as signEvmTransactionWithEndUserAccount,
|
|
584
|
+
D as signEvmTypedDataWithEndUserAccount,
|
|
575
585
|
re as signSolanaHashWithEndUserAccount,
|
|
576
586
|
de as signSolanaMessageWithEndUserAccount,
|
|
577
587
|
se as signSolanaTransactionWithEndUserAccount,
|
|
578
588
|
oe as signSolanaX402PaymentWithEndUserAccount,
|
|
579
|
-
|
|
580
|
-
|
|
589
|
+
ve as submitMfaEnrollment,
|
|
590
|
+
Ee as submitMfaVerification,
|
|
581
591
|
m as verifyEmailAuthentication,
|
|
582
592
|
T as verifyOAuthCode,
|
|
583
593
|
v as verifyOAuthEndUserIdentity,
|