@coinbase/cdp-api-client 0.0.106 → 0.0.107

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.
@@ -18,7 +18,7 @@ const i = (e, t) => d(
18
18
  data: t
19
19
  },
20
20
  n
21
- ), u = (e, t, n) => d(
21
+ ), c = (e, t, n) => d(
22
22
  {
23
23
  url: `/v2/embedded-wallet-api/projects/${e}/auth/verify/email`,
24
24
  method: "POST",
@@ -26,7 +26,7 @@ const i = (e, t) => d(
26
26
  data: t
27
27
  },
28
28
  n
29
- ), c = (e, t, n) => d(
29
+ ), u = (e, t, n) => d(
30
30
  {
31
31
  url: `/v2/embedded-wallet-api/projects/${e}/auth/verify/sms`,
32
32
  method: "POST",
@@ -50,7 +50,7 @@ const i = (e, t) => d(
50
50
  data: n
51
51
  },
52
52
  a
53
- ), v = (e, t, n) => d(
53
+ ), T = (e, t, n) => d(
54
54
  {
55
55
  url: `/v2/embedded-wallet-api/projects/${e}/auth/verify/siwe`,
56
56
  method: "POST",
@@ -58,7 +58,7 @@ const i = (e, t) => d(
58
58
  data: t
59
59
  },
60
60
  n
61
- ), T = (e, t, n) => d(
61
+ ), v = (e, t, n) => d(
62
62
  {
63
63
  url: `/v2/embedded-wallet-api/projects/${e}/auth/refresh`,
64
64
  method: "POST",
@@ -225,14 +225,14 @@ const i = (e, t) => d(
225
225
  params: n
226
226
  },
227
227
  a
228
- ), H = (e, t, n, a) => d(
228
+ ), B = (e, t, n, a) => d(
229
229
  {
230
230
  url: `/v2/embedded-wallet-api/end-users/${e}/evm/eip7702/delegation-operations/${t}`,
231
231
  method: "GET",
232
232
  params: n
233
233
  },
234
234
  a
235
- ), I = (e, t, n, a) => d(
235
+ ), H = (e, t, n, a) => d(
236
236
  {
237
237
  url: `/v2/embedded-wallet-api/end-users/${e}/evm/smart-accounts`,
238
238
  method: "POST",
@@ -241,14 +241,14 @@ const i = (e, t) => d(
241
241
  params: n
242
242
  },
243
243
  a
244
- ), L = (e, t, n, a, r) => d(
244
+ ), I = (e, t, n, a, r) => d(
245
245
  {
246
246
  url: `/v2/embedded-wallet-api/end-users/${e}/evm/smart-accounts/${t}/user-operations/${n}`,
247
247
  method: "GET",
248
248
  params: a
249
249
  },
250
250
  r
251
- ), V = (e, t, n, a, r) => d(
251
+ ), L = (e, t, n, a, r) => d(
252
252
  {
253
253
  url: `/v2/embedded-wallet-api/end-users/${e}/evm/smart-accounts/${t}/send`,
254
254
  method: "POST",
@@ -257,7 +257,7 @@ const i = (e, t) => d(
257
257
  params: a
258
258
  },
259
259
  r
260
- ), B = (e, t, n, a, r) => d(
260
+ ), V = (e, t, n, a, r) => d(
261
261
  {
262
262
  url: `/v2/embedded-wallet-api/end-users/${e}/evm/smart-accounts/${t}/spend-permissions`,
263
263
  method: "POST",
@@ -359,7 +359,7 @@ const i = (e, t) => d(
359
359
  s
360
360
  ), ee = (e, t, n, a) => d(
361
361
  {
362
- url: `/v2/embedded-wallet-api/end-users/${e}/onramp/orders`,
362
+ url: `/v2/embedded-wallet-api/end-users/${e}/btc`,
363
363
  method: "POST",
364
364
  headers: { "Content-Type": "application/json" },
365
365
  data: t,
@@ -367,13 +367,31 @@ const i = (e, t) => d(
367
367
  },
368
368
  a
369
369
  ), te = (e, t, n, a) => d(
370
+ {
371
+ url: `/v2/embedded-wallet-api/end-users/${e}/btc/sign`,
372
+ method: "POST",
373
+ headers: { "Content-Type": "application/json" },
374
+ data: t,
375
+ params: n
376
+ },
377
+ a
378
+ ), ne = (e, t, n, a) => d(
379
+ {
380
+ url: `/v2/embedded-wallet-api/end-users/${e}/onramp/orders`,
381
+ method: "POST",
382
+ headers: { "Content-Type": "application/json" },
383
+ data: t,
384
+ params: n
385
+ },
386
+ a
387
+ ), ae = (e, t, n, a) => d(
370
388
  {
371
389
  url: `/v2/embedded-wallet-api/end-users/${e}/mfa/enroll/${t}/init`,
372
390
  method: "POST",
373
391
  params: n
374
392
  },
375
393
  a
376
- ), ne = (e, t, n, a, r) => d(
394
+ ), de = (e, t, n, a, r) => d(
377
395
  {
378
396
  url: `/v2/embedded-wallet-api/end-users/${e}/mfa/enroll/${t}/initiate`,
379
397
  method: "POST",
@@ -382,7 +400,7 @@ const i = (e, t) => d(
382
400
  params: a
383
401
  },
384
402
  r
385
- ), ae = (e, t, n, a, r) => d(
403
+ ), re = (e, t, n, a, r) => d(
386
404
  {
387
405
  url: `/v2/embedded-wallet-api/end-users/${e}/mfa/enroll/${t}/submit`,
388
406
  method: "POST",
@@ -391,14 +409,14 @@ const i = (e, t) => d(
391
409
  params: a
392
410
  },
393
411
  r
394
- ), de = (e, t, n, a) => d(
412
+ ), se = (e, t, n, a) => d(
395
413
  {
396
414
  url: `/v2/embedded-wallet-api/end-users/${e}/mfa/verify/${t}/init`,
397
415
  method: "POST",
398
416
  params: n
399
417
  },
400
418
  a
401
- ), re = (e, t, n, a, r) => d(
419
+ ), oe = (e, t, n, a, r) => d(
402
420
  {
403
421
  url: `/v2/embedded-wallet-api/end-users/${e}/mfa/verify/${t}/submit`,
404
422
  method: "POST",
@@ -407,7 +425,7 @@ const i = (e, t) => d(
407
425
  params: a
408
426
  },
409
427
  r
410
- ), se = (e, t, n) => d(
428
+ ), ie = (e, t, n) => d(
411
429
  { url: `/v2/embedded-wallet-api/end-users/${e}/mfa/prompt`, method: "PUT", params: t },
412
430
  n
413
431
  );
@@ -415,13 +433,14 @@ export {
415
433
  E as authenticateUserWithCustomAuth,
416
434
  W as createDelegationForEndUser,
417
435
  M as createDelegationForEndUserAccount,
418
- ee as createEndUserApplePayOnrampOrder,
436
+ ne as createEndUserApplePayOnrampOrder,
437
+ ee as createEndUserBtcAccount,
419
438
  g as createEndUserEvmAccount,
420
- I as createEndUserEvmSmartAccount,
439
+ H as createEndUserEvmSmartAccount,
421
440
  K as createEndUserEvmSwap,
422
441
  N as createEndUserSolanaAccount,
423
442
  x as createEvmEip7702DelegationWithEndUserAccount,
424
- B as createSpendPermissionWithEndUserAccount,
443
+ V as createSpendPermissionWithEndUserAccount,
425
444
  f as exportEndUserEvmAccount,
426
445
  Q as exportEndUserSolanaAccount,
427
446
  i as generateAttestationChallenge,
@@ -429,18 +448,18 @@ export {
429
448
  D as getDelegationForEndUser,
430
449
  F as getDelegationForEndUserAccount,
431
450
  J as getEndUserEvmSwapPrice,
432
- H as getEvmEip7702DelegationOperationByIdWithEndUserAccount,
451
+ B as getEvmEip7702DelegationOperationByIdWithEndUserAccount,
433
452
  b as getMfaConfig,
434
453
  w as getProjectConfig,
435
- L as getUserOperationWithEndUserAccount,
454
+ I as getUserOperationWithEndUserAccount,
436
455
  p as initiateAuthentication,
437
- te as initiateMfaEnrollment,
438
- ne as initiateMfaEnrollment2,
439
- de as initiateMfaVerification,
456
+ ae as initiateMfaEnrollment,
457
+ de as initiateMfaEnrollment2,
458
+ se as initiateMfaVerification,
440
459
  q as listSpendPermissionsWithEndUserAccount,
441
460
  $ as logOutEndUser,
442
- se as recordMfaEnrollmentPrompted,
443
- T as refreshAccessToken,
461
+ ie as recordMfaEnrollmentPrompted,
462
+ v as refreshAccessToken,
444
463
  l as registerAttestation,
445
464
  S as registerTemporaryWalletSecret,
446
465
  G as revokeDelegationForEndUser,
@@ -450,7 +469,8 @@ export {
450
469
  O as sendEvmTransactionWithEndUserAccount,
451
470
  _ as sendSolanaAssetWithEndUserAccount,
452
471
  Z as sendSolanaTransactionWithEndUserAccount,
453
- V as sendUserOperationWithEndUserAccount,
472
+ L as sendUserOperationWithEndUserAccount,
473
+ te as signBtcHashWithEndUserAccount,
454
474
  j as signEvmHashWithEndUserAccount,
455
475
  A as signEvmMessageWithEndUserAccount,
456
476
  P as signEvmTransactionWithEndUserAccount,
@@ -458,11 +478,11 @@ export {
458
478
  R as signSolanaHashWithEndUserAccount,
459
479
  X as signSolanaMessageWithEndUserAccount,
460
480
  Y as signSolanaTransactionWithEndUserAccount,
461
- ae as submitMfaEnrollment,
462
- re as submitMfaVerification,
463
- u as verifyEmailAuthentication,
481
+ re as submitMfaEnrollment,
482
+ oe as submitMfaVerification,
483
+ c as verifyEmailAuthentication,
464
484
  m as verifyOAuthCode,
465
485
  h as verifyOAuthEndUserIdentity,
466
- v as verifySiweAuthentication,
467
- c as verifySmsAuthentication
486
+ T as verifySiweAuthentication,
487
+ u as verifySmsAuthentication
468
488
  };