@coinbase/cdp-api-client 0.0.110 → 0.0.111
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 +106 -102
- package/dist/esm/index4.js +1 -1
- package/dist/esm/index5.js +111 -78
- package/dist/esm/index6.js +260 -496
- package/dist/esm/index7.js +71 -257
- package/dist/esm/index8.js +512 -74
- package/dist/types/index.d.ts +194 -39
- package/package.json +1 -1
package/dist/esm/index8.js
CHANGED
|
@@ -1,76 +1,514 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
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
|
-
|
|
69
|
-
}
|
|
1
|
+
import { cdpApiClient as d } from "./index6.js";
|
|
2
|
+
const i = (t, e, n) => d(
|
|
3
|
+
{ url: `/v2/end-users/auth/oauth/${t}/callback`, method: "GET", params: e },
|
|
4
|
+
n
|
|
5
|
+
), l = (t, e, n) => {
|
|
6
|
+
const a = new URLSearchParams();
|
|
7
|
+
return e.code !== void 0 && e.code !== null && a.append("code", e.code), e.scope !== void 0 && e.scope !== null && a.append("scope", e.scope), e.state !== void 0 && a.append("state", e.state), e.error !== void 0 && e.error !== null && a.append("error", e.error), e.error_description !== void 0 && e.error_description !== null && a.append("error_description", e.error_description), d(
|
|
8
|
+
{
|
|
9
|
+
url: `/v2/end-users/auth/oauth/${t}/callback`,
|
|
10
|
+
method: "POST",
|
|
11
|
+
headers: { "Content-Type": "application/x-www-form-urlencoded" },
|
|
12
|
+
data: a
|
|
13
|
+
},
|
|
14
|
+
n
|
|
15
|
+
);
|
|
16
|
+
}, p = (t, e) => d(
|
|
17
|
+
{ url: `/v2/embedded-wallet-api/projects/${t}/attestation/challenge`, method: "POST" },
|
|
18
|
+
e
|
|
19
|
+
), c = (t, e, n) => d(
|
|
20
|
+
{
|
|
21
|
+
url: `/v2/embedded-wallet-api/projects/${t}/attestation/register`,
|
|
22
|
+
method: "POST",
|
|
23
|
+
headers: { "Content-Type": "application/json" },
|
|
24
|
+
data: e
|
|
25
|
+
},
|
|
26
|
+
n
|
|
27
|
+
), u = (t, e, n) => d(
|
|
28
|
+
{
|
|
29
|
+
url: `/v2/embedded-wallet-api/projects/${t}/auth/init`,
|
|
30
|
+
method: "POST",
|
|
31
|
+
headers: { "Content-Type": "application/json" },
|
|
32
|
+
data: e
|
|
33
|
+
},
|
|
34
|
+
n
|
|
35
|
+
), m = (t, e, n) => d(
|
|
36
|
+
{
|
|
37
|
+
url: `/v2/embedded-wallet-api/projects/${t}/auth/verify/email`,
|
|
38
|
+
method: "POST",
|
|
39
|
+
headers: { "Content-Type": "application/json" },
|
|
40
|
+
data: e
|
|
41
|
+
},
|
|
42
|
+
n
|
|
43
|
+
), h = (t, e, n) => d(
|
|
44
|
+
{
|
|
45
|
+
url: `/v2/embedded-wallet-api/projects/${t}/auth/verify/sms`,
|
|
46
|
+
method: "POST",
|
|
47
|
+
headers: { "Content-Type": "application/json" },
|
|
48
|
+
data: e
|
|
49
|
+
},
|
|
50
|
+
n
|
|
51
|
+
), T = (t, e, n, a) => d(
|
|
52
|
+
{
|
|
53
|
+
url: `/v2/embedded-wallet-api/projects/${t}/auth/verify/oauth/${e}`,
|
|
54
|
+
method: "POST",
|
|
55
|
+
headers: { "Content-Type": "application/json" },
|
|
56
|
+
data: n
|
|
57
|
+
},
|
|
58
|
+
a
|
|
59
|
+
), v = (t, e, n, a) => d(
|
|
60
|
+
{
|
|
61
|
+
url: `/v2/embedded-wallet-api/projects/${t}/auth/verify/oauth/${e}`,
|
|
62
|
+
method: "PUT",
|
|
63
|
+
headers: { "Content-Type": "application/json" },
|
|
64
|
+
data: n
|
|
65
|
+
},
|
|
66
|
+
a
|
|
67
|
+
), $ = (t, e, n) => d(
|
|
68
|
+
{
|
|
69
|
+
url: `/v2/embedded-wallet-api/projects/${t}/auth/verify/siwe`,
|
|
70
|
+
method: "POST",
|
|
71
|
+
headers: { "Content-Type": "application/json" },
|
|
72
|
+
data: e
|
|
73
|
+
},
|
|
74
|
+
n
|
|
75
|
+
), E = (t, e, n) => d(
|
|
76
|
+
{
|
|
77
|
+
url: `/v2/embedded-wallet-api/projects/${t}/auth/refresh`,
|
|
78
|
+
method: "POST",
|
|
79
|
+
headers: { "Content-Type": "application/json" },
|
|
80
|
+
data: e
|
|
81
|
+
},
|
|
82
|
+
n
|
|
83
|
+
), w = (t, e, n) => d(
|
|
84
|
+
{
|
|
85
|
+
url: `/v2/embedded-wallet-api/projects/${t}/auth/logout`,
|
|
86
|
+
method: "POST",
|
|
87
|
+
headers: { "Content-Type": "application/json" },
|
|
88
|
+
data: e
|
|
89
|
+
},
|
|
90
|
+
n
|
|
91
|
+
), S = (t, e) => d(
|
|
92
|
+
{
|
|
93
|
+
url: `/v2/embedded-wallet-api/projects/${t}/auth/custom/authenticate`,
|
|
94
|
+
method: "POST"
|
|
95
|
+
},
|
|
96
|
+
e
|
|
97
|
+
), j = (t, e) => d(
|
|
98
|
+
{ url: `/v2/embedded-wallet-api/projects/${t}/config`, method: "GET" },
|
|
99
|
+
e
|
|
100
|
+
), b = (t, e) => d(
|
|
101
|
+
{ url: `/v2/embedded-wallet-api/projects/${t}/auth/mfa`, method: "GET" },
|
|
102
|
+
e
|
|
103
|
+
), g = (t, e, n) => d(
|
|
104
|
+
{ url: `/v2/embedded-wallet-api/end-users/${t}`, method: "GET", params: e },
|
|
105
|
+
n
|
|
106
|
+
), y = (t, e, n, a) => d(
|
|
107
|
+
{
|
|
108
|
+
url: `/v2/embedded-wallet-api/end-users/${t}/wallet-secrets`,
|
|
109
|
+
method: "PUT",
|
|
110
|
+
headers: { "Content-Type": "application/json" },
|
|
111
|
+
data: e,
|
|
112
|
+
params: n
|
|
113
|
+
},
|
|
114
|
+
a
|
|
115
|
+
), U = (t, e, n, a) => d(
|
|
116
|
+
{
|
|
117
|
+
url: `/v2/embedded-wallet-api/end-users/${t}/evm`,
|
|
118
|
+
method: "POST",
|
|
119
|
+
headers: { "Content-Type": "application/json" },
|
|
120
|
+
data: e,
|
|
121
|
+
params: n
|
|
122
|
+
},
|
|
123
|
+
a
|
|
124
|
+
), P = (t, e, n, a) => d(
|
|
125
|
+
{
|
|
126
|
+
url: `/v2/embedded-wallet-api/end-users/${t}/evm/sign`,
|
|
127
|
+
method: "POST",
|
|
128
|
+
headers: { "Content-Type": "application/json" },
|
|
129
|
+
data: e,
|
|
130
|
+
params: n
|
|
131
|
+
},
|
|
132
|
+
a
|
|
133
|
+
), f = (t, e, n, a) => d(
|
|
134
|
+
{
|
|
135
|
+
url: `/v2/embedded-wallet-api/end-users/${t}/evm/sign/transaction`,
|
|
136
|
+
method: "POST",
|
|
137
|
+
headers: { "Content-Type": "application/json" },
|
|
138
|
+
data: e,
|
|
139
|
+
params: n
|
|
140
|
+
},
|
|
141
|
+
a
|
|
142
|
+
), O = (t, e, n, a) => d(
|
|
143
|
+
{
|
|
144
|
+
url: `/v2/embedded-wallet-api/end-users/${t}/evm/send/transaction`,
|
|
145
|
+
method: "POST",
|
|
146
|
+
headers: { "Content-Type": "application/json" },
|
|
147
|
+
data: e,
|
|
148
|
+
params: n
|
|
149
|
+
},
|
|
150
|
+
a
|
|
151
|
+
), C = (t, e, n, a, r, s) => d(
|
|
152
|
+
{
|
|
153
|
+
url: `/v2/embedded-wallet-api/end-users/${t}/evm/${e}/send/${n}`,
|
|
154
|
+
method: "POST",
|
|
155
|
+
headers: { "Content-Type": "application/json" },
|
|
156
|
+
data: a,
|
|
157
|
+
params: r
|
|
158
|
+
},
|
|
159
|
+
s
|
|
160
|
+
), A = (t, e, n, a) => d(
|
|
161
|
+
{
|
|
162
|
+
url: `/v2/embedded-wallet-api/end-users/${t}/evm/sign/message`,
|
|
163
|
+
method: "POST",
|
|
164
|
+
headers: { "Content-Type": "application/json" },
|
|
165
|
+
data: e,
|
|
166
|
+
params: n
|
|
167
|
+
},
|
|
168
|
+
a
|
|
169
|
+
), W = (t, e, n, a) => d(
|
|
170
|
+
{
|
|
171
|
+
url: `/v2/embedded-wallet-api/end-users/${t}/evm/sign/typed-data`,
|
|
172
|
+
method: "POST",
|
|
173
|
+
headers: { "Content-Type": "application/json" },
|
|
174
|
+
data: e,
|
|
175
|
+
params: n
|
|
176
|
+
},
|
|
177
|
+
a
|
|
178
|
+
), D = (t, e, n, a) => d(
|
|
179
|
+
{
|
|
180
|
+
url: `/v2/embedded-wallet-api/end-users/${t}/evm/export`,
|
|
181
|
+
method: "POST",
|
|
182
|
+
headers: { "Content-Type": "application/json" },
|
|
183
|
+
data: e,
|
|
184
|
+
params: n
|
|
185
|
+
},
|
|
186
|
+
a
|
|
187
|
+
), G = (t, e, n, a) => d(
|
|
188
|
+
{
|
|
189
|
+
url: `/v2/embedded-wallet-api/end-users/${t}/delegation`,
|
|
190
|
+
method: "POST",
|
|
191
|
+
headers: { "Content-Type": "application/json" },
|
|
192
|
+
data: e,
|
|
193
|
+
params: n
|
|
194
|
+
},
|
|
195
|
+
a
|
|
196
|
+
), M = (t, e, n) => d(
|
|
197
|
+
{ url: `/v2/embedded-wallet-api/end-users/${t}/delegation`, method: "GET", params: e },
|
|
198
|
+
n
|
|
199
|
+
), x = (t, e, n, a) => d(
|
|
200
|
+
{
|
|
201
|
+
url: `/v2/embedded-wallet-api/end-users/${t}/delegation`,
|
|
202
|
+
method: "DELETE",
|
|
203
|
+
headers: { "Content-Type": "application/json" },
|
|
204
|
+
data: e,
|
|
205
|
+
params: n
|
|
206
|
+
},
|
|
207
|
+
a
|
|
208
|
+
), F = (t, e, n, a, r) => d(
|
|
209
|
+
{
|
|
210
|
+
url: `/v2/embedded-wallet-api/end-users/${t}/address/${e}/delegation`,
|
|
211
|
+
method: "POST",
|
|
212
|
+
headers: { "Content-Type": "application/json" },
|
|
213
|
+
data: n,
|
|
214
|
+
params: a
|
|
215
|
+
},
|
|
216
|
+
r
|
|
217
|
+
), _ = (t, e, n, a) => d(
|
|
218
|
+
{
|
|
219
|
+
url: `/v2/embedded-wallet-api/end-users/${t}/address/${e}/delegation`,
|
|
220
|
+
method: "GET",
|
|
221
|
+
params: n
|
|
222
|
+
},
|
|
223
|
+
a
|
|
224
|
+
), H = (t, e, n, a, r) => d(
|
|
225
|
+
{
|
|
226
|
+
url: `/v2/embedded-wallet-api/end-users/${t}/address/${e}/delegation`,
|
|
227
|
+
method: "DELETE",
|
|
228
|
+
headers: { "Content-Type": "application/json" },
|
|
229
|
+
data: n,
|
|
230
|
+
params: a
|
|
231
|
+
},
|
|
232
|
+
r
|
|
233
|
+
), L = (t, e, n, a) => d(
|
|
234
|
+
{
|
|
235
|
+
url: `/v2/embedded-wallet-api/end-users/${t}/evm/eip7702/delegation`,
|
|
236
|
+
method: "POST",
|
|
237
|
+
headers: { "Content-Type": "application/json" },
|
|
238
|
+
data: e,
|
|
239
|
+
params: n
|
|
240
|
+
},
|
|
241
|
+
a
|
|
242
|
+
), I = (t, e, n, a) => d(
|
|
243
|
+
{
|
|
244
|
+
url: `/v2/embedded-wallet-api/end-users/${t}/evm/eip7702/delegation-operations/${e}`,
|
|
245
|
+
method: "GET",
|
|
246
|
+
params: n
|
|
247
|
+
},
|
|
248
|
+
a
|
|
249
|
+
), V = (t, e, n, a) => d(
|
|
250
|
+
{
|
|
251
|
+
url: `/v2/embedded-wallet-api/end-users/${t}/evm/smart-accounts`,
|
|
252
|
+
method: "POST",
|
|
253
|
+
headers: { "Content-Type": "application/json" },
|
|
254
|
+
data: e,
|
|
255
|
+
params: n
|
|
256
|
+
},
|
|
257
|
+
a
|
|
258
|
+
), R = (t, e, n, a, r) => d(
|
|
259
|
+
{
|
|
260
|
+
url: `/v2/embedded-wallet-api/end-users/${t}/evm/smart-accounts/${e}/user-operations/${n}`,
|
|
261
|
+
method: "GET",
|
|
262
|
+
params: a
|
|
263
|
+
},
|
|
264
|
+
r
|
|
265
|
+
), q = (t, e, n, a, r) => d(
|
|
266
|
+
{
|
|
267
|
+
url: `/v2/embedded-wallet-api/end-users/${t}/evm/smart-accounts/${e}/send`,
|
|
268
|
+
method: "POST",
|
|
269
|
+
headers: { "Content-Type": "application/json" },
|
|
270
|
+
data: n,
|
|
271
|
+
params: a
|
|
272
|
+
},
|
|
273
|
+
r
|
|
274
|
+
), z = (t, e, n, a, r) => d(
|
|
275
|
+
{
|
|
276
|
+
url: `/v2/embedded-wallet-api/end-users/${t}/evm/smart-accounts/${e}/spend-permissions`,
|
|
277
|
+
method: "POST",
|
|
278
|
+
headers: { "Content-Type": "application/json" },
|
|
279
|
+
data: n,
|
|
280
|
+
params: a
|
|
281
|
+
},
|
|
282
|
+
r
|
|
283
|
+
), J = (t, e, n, a) => d(
|
|
284
|
+
{
|
|
285
|
+
url: `/v2/embedded-wallet-api/end-users/${t}/evm/smart-accounts/${e}/spend-permissions/list`,
|
|
286
|
+
method: "GET",
|
|
287
|
+
params: n
|
|
288
|
+
},
|
|
289
|
+
a
|
|
290
|
+
), K = (t, e, n, a, r) => d(
|
|
291
|
+
{
|
|
292
|
+
url: `/v2/embedded-wallet-api/end-users/${t}/evm/smart-accounts/${e}/spend-permissions/revoke`,
|
|
293
|
+
method: "POST",
|
|
294
|
+
headers: { "Content-Type": "application/json" },
|
|
295
|
+
data: n,
|
|
296
|
+
params: a
|
|
297
|
+
},
|
|
298
|
+
r
|
|
299
|
+
), N = (t, e, n, a, r) => d(
|
|
300
|
+
{
|
|
301
|
+
url: `/v2/embedded-wallet-api/end-users/${t}/evm/smart-accounts/${e}/spend-permissions/enable`,
|
|
302
|
+
method: "POST",
|
|
303
|
+
headers: { "Content-Type": "application/json" },
|
|
304
|
+
data: n,
|
|
305
|
+
params: a
|
|
306
|
+
},
|
|
307
|
+
r
|
|
308
|
+
), Q = (t, e, n) => d(
|
|
309
|
+
{ url: `/v2/embedded-wallet-api/end-users/${t}/evm/swaps/price`, method: "GET", params: e },
|
|
310
|
+
n
|
|
311
|
+
), X = (t, e, n, a) => d(
|
|
312
|
+
{
|
|
313
|
+
url: `/v2/embedded-wallet-api/end-users/${t}/evm/swaps`,
|
|
314
|
+
method: "POST",
|
|
315
|
+
headers: { "Content-Type": "application/json" },
|
|
316
|
+
data: e,
|
|
317
|
+
params: n
|
|
318
|
+
},
|
|
319
|
+
a
|
|
320
|
+
), Y = (t, e, n, a) => d(
|
|
321
|
+
{
|
|
322
|
+
url: `/v2/embedded-wallet-api/end-users/${t}/solana`,
|
|
323
|
+
method: "POST",
|
|
324
|
+
headers: { "Content-Type": "application/json" },
|
|
325
|
+
data: e,
|
|
326
|
+
params: n
|
|
327
|
+
},
|
|
328
|
+
a
|
|
329
|
+
), Z = (t, e, n, a) => d(
|
|
330
|
+
{
|
|
331
|
+
url: `/v2/embedded-wallet-api/end-users/${t}/solana/export`,
|
|
332
|
+
method: "POST",
|
|
333
|
+
headers: { "Content-Type": "application/json" },
|
|
334
|
+
data: e,
|
|
335
|
+
params: n
|
|
336
|
+
},
|
|
337
|
+
a
|
|
338
|
+
), k = (t, e, n, a) => d(
|
|
339
|
+
{
|
|
340
|
+
url: `/v2/embedded-wallet-api/end-users/${t}/solana/sign`,
|
|
341
|
+
method: "POST",
|
|
342
|
+
headers: { "Content-Type": "application/json" },
|
|
343
|
+
data: e,
|
|
344
|
+
params: n
|
|
345
|
+
},
|
|
346
|
+
a
|
|
347
|
+
), B = (t, e, n, a) => d(
|
|
348
|
+
{
|
|
349
|
+
url: `/v2/embedded-wallet-api/end-users/${t}/solana/sign/message`,
|
|
350
|
+
method: "POST",
|
|
351
|
+
headers: { "Content-Type": "application/json" },
|
|
352
|
+
data: e,
|
|
353
|
+
params: n
|
|
354
|
+
},
|
|
355
|
+
a
|
|
356
|
+
), ee = (t, e, n, a) => d(
|
|
357
|
+
{
|
|
358
|
+
url: `/v2/embedded-wallet-api/end-users/${t}/solana/sign/transaction`,
|
|
359
|
+
method: "POST",
|
|
360
|
+
headers: { "Content-Type": "application/json" },
|
|
361
|
+
data: e,
|
|
362
|
+
params: n
|
|
363
|
+
},
|
|
364
|
+
a
|
|
365
|
+
), te = (t, e, n, a) => d(
|
|
366
|
+
{
|
|
367
|
+
url: `/v2/embedded-wallet-api/end-users/${t}/solana/send/transaction`,
|
|
368
|
+
method: "POST",
|
|
369
|
+
headers: { "Content-Type": "application/json" },
|
|
370
|
+
data: e,
|
|
371
|
+
params: n
|
|
372
|
+
},
|
|
373
|
+
a
|
|
374
|
+
), ne = (t, e, n, a, r, s) => d(
|
|
375
|
+
{
|
|
376
|
+
url: `/v2/embedded-wallet-api/end-users/${t}/solana/${e}/send/${n}`,
|
|
377
|
+
method: "POST",
|
|
378
|
+
headers: { "Content-Type": "application/json" },
|
|
379
|
+
data: a,
|
|
380
|
+
params: r
|
|
381
|
+
},
|
|
382
|
+
s
|
|
383
|
+
), ae = (t, e, n, a) => d(
|
|
384
|
+
{
|
|
385
|
+
url: `/v2/embedded-wallet-api/end-users/${t}/btc`,
|
|
386
|
+
method: "POST",
|
|
387
|
+
headers: { "Content-Type": "application/json" },
|
|
388
|
+
data: e,
|
|
389
|
+
params: n
|
|
390
|
+
},
|
|
391
|
+
a
|
|
392
|
+
), de = (t, e, n, a) => d(
|
|
393
|
+
{
|
|
394
|
+
url: `/v2/embedded-wallet-api/end-users/${t}/btc/sign`,
|
|
395
|
+
method: "POST",
|
|
396
|
+
headers: { "Content-Type": "application/json" },
|
|
397
|
+
data: e,
|
|
398
|
+
params: n
|
|
399
|
+
},
|
|
400
|
+
a
|
|
401
|
+
), re = (t, e, n, a) => d(
|
|
402
|
+
{
|
|
403
|
+
url: `/v2/embedded-wallet-api/end-users/${t}/onramp/orders`,
|
|
404
|
+
method: "POST",
|
|
405
|
+
headers: { "Content-Type": "application/json" },
|
|
406
|
+
data: e,
|
|
407
|
+
params: n
|
|
408
|
+
},
|
|
409
|
+
a
|
|
410
|
+
), se = (t, e, n, a) => d(
|
|
411
|
+
{
|
|
412
|
+
url: `/v2/embedded-wallet-api/end-users/${t}/mfa/enroll/${e}/init`,
|
|
413
|
+
method: "POST",
|
|
414
|
+
params: n
|
|
415
|
+
},
|
|
416
|
+
a
|
|
417
|
+
), oe = (t, e, n, a, r) => d(
|
|
418
|
+
{
|
|
419
|
+
url: `/v2/embedded-wallet-api/end-users/${t}/mfa/enroll/${e}/initiate`,
|
|
420
|
+
method: "POST",
|
|
421
|
+
headers: { "Content-Type": "application/json" },
|
|
422
|
+
data: n,
|
|
423
|
+
params: a
|
|
424
|
+
},
|
|
425
|
+
r
|
|
426
|
+
), ie = (t, e, n, a, r) => d(
|
|
427
|
+
{
|
|
428
|
+
url: `/v2/embedded-wallet-api/end-users/${t}/mfa/enroll/${e}/submit`,
|
|
429
|
+
method: "POST",
|
|
430
|
+
headers: { "Content-Type": "application/json" },
|
|
431
|
+
data: n,
|
|
432
|
+
params: a
|
|
433
|
+
},
|
|
434
|
+
r
|
|
435
|
+
), le = (t, e, n, a) => d(
|
|
436
|
+
{
|
|
437
|
+
url: `/v2/embedded-wallet-api/end-users/${t}/mfa/verify/${e}/init`,
|
|
438
|
+
method: "POST",
|
|
439
|
+
params: n
|
|
440
|
+
},
|
|
441
|
+
a
|
|
442
|
+
), pe = (t, e, n, a, r) => d(
|
|
443
|
+
{
|
|
444
|
+
url: `/v2/embedded-wallet-api/end-users/${t}/mfa/verify/${e}/submit`,
|
|
445
|
+
method: "POST",
|
|
446
|
+
headers: { "Content-Type": "application/json" },
|
|
447
|
+
data: n,
|
|
448
|
+
params: a
|
|
449
|
+
},
|
|
450
|
+
r
|
|
451
|
+
), ce = (t, e, n) => d(
|
|
452
|
+
{ url: `/v2/embedded-wallet-api/end-users/${t}/mfa/prompt`, method: "PUT", params: e },
|
|
453
|
+
n
|
|
454
|
+
);
|
|
70
455
|
export {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
456
|
+
S as authenticateUserWithCustomAuth,
|
|
457
|
+
G as createDelegationForEndUser,
|
|
458
|
+
F as createDelegationForEndUserAccount,
|
|
459
|
+
re as createEndUserApplePayOnrampOrder,
|
|
460
|
+
ae as createEndUserBtcAccount,
|
|
461
|
+
U as createEndUserEvmAccount,
|
|
462
|
+
V as createEndUserEvmSmartAccount,
|
|
463
|
+
X as createEndUserEvmSwap,
|
|
464
|
+
Y as createEndUserSolanaAccount,
|
|
465
|
+
L as createEvmEip7702DelegationWithEndUserAccount,
|
|
466
|
+
z as createSpendPermissionWithEndUserAccount,
|
|
467
|
+
N as enableSpendPermissionWithEndUserAccount,
|
|
468
|
+
D as exportEndUserEvmAccount,
|
|
469
|
+
Z as exportEndUserSolanaAccount,
|
|
470
|
+
p as generateAttestationChallenge,
|
|
471
|
+
g as getAuthenticatedEndUser,
|
|
472
|
+
M as getDelegationForEndUser,
|
|
473
|
+
_ as getDelegationForEndUserAccount,
|
|
474
|
+
Q as getEndUserEvmSwapPrice,
|
|
475
|
+
I as getEvmEip7702DelegationOperationByIdWithEndUserAccount,
|
|
476
|
+
b as getMfaConfig,
|
|
477
|
+
j as getProjectConfig,
|
|
478
|
+
R as getUserOperationWithEndUserAccount,
|
|
479
|
+
u as initiateAuthentication,
|
|
480
|
+
se as initiateMfaEnrollment,
|
|
481
|
+
oe as initiateMfaEnrollment2,
|
|
482
|
+
le as initiateMfaVerification,
|
|
483
|
+
J as listSpendPermissionsWithEndUserAccount,
|
|
484
|
+
w as logOutEndUser,
|
|
485
|
+
i as receiveOAuthCallback,
|
|
486
|
+
l as receiveOAuthCallbackPost,
|
|
487
|
+
ce as recordMfaEnrollmentPrompted,
|
|
488
|
+
E as refreshAccessToken,
|
|
489
|
+
c as registerAttestation,
|
|
490
|
+
y as registerTemporaryWalletSecret,
|
|
491
|
+
x as revokeDelegationForEndUser,
|
|
492
|
+
H as revokeDelegationForEndUserAccount,
|
|
493
|
+
K as revokeSpendPermissionWithEndUserAccount,
|
|
494
|
+
C as sendEvmAssetWithEndUserAccount,
|
|
495
|
+
O as sendEvmTransactionWithEndUserAccount,
|
|
496
|
+
ne as sendSolanaAssetWithEndUserAccount,
|
|
497
|
+
te as sendSolanaTransactionWithEndUserAccount,
|
|
498
|
+
q as sendUserOperationWithEndUserAccount,
|
|
499
|
+
de as signBtcHashWithEndUserAccount,
|
|
500
|
+
P as signEvmHashWithEndUserAccount,
|
|
501
|
+
A as signEvmMessageWithEndUserAccount,
|
|
502
|
+
f as signEvmTransactionWithEndUserAccount,
|
|
503
|
+
W as signEvmTypedDataWithEndUserAccount,
|
|
504
|
+
k as signSolanaHashWithEndUserAccount,
|
|
505
|
+
B as signSolanaMessageWithEndUserAccount,
|
|
506
|
+
ee as signSolanaTransactionWithEndUserAccount,
|
|
507
|
+
ie as submitMfaEnrollment,
|
|
508
|
+
pe as submitMfaVerification,
|
|
509
|
+
m as verifyEmailAuthentication,
|
|
510
|
+
T as verifyOAuthCode,
|
|
511
|
+
v as verifyOAuthEndUserIdentity,
|
|
512
|
+
$ as verifySiweAuthentication,
|
|
513
|
+
h as verifySmsAuthentication
|
|
76
514
|
};
|