@coinbase/cdp-api-client 0.0.126 → 0.0.127

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.
@@ -1,4 +1,4 @@
1
- var r = {};
1
+ var r = { exports: {} };
2
2
  export {
3
- r as __exports
3
+ r as __module
4
4
  };
@@ -1,4 +1,4 @@
1
- var e = { exports: {} };
1
+ var r = {};
2
2
  export {
3
- e as __module
3
+ r as __exports
4
4
  };
@@ -1,4 +1,4 @@
1
- var r = { exports: {} };
1
+ var e = { exports: {} };
2
2
  export {
3
- r as __module
3
+ e as __module
4
4
  };
@@ -1,2 +1,2 @@
1
- import { __require as r } from "./index13.js";
1
+ import { __require as r } from "./index18.js";
2
2
  r();
@@ -1,4 +1,4 @@
1
- const o = "0.0.126";
1
+ const o = "0.0.127";
2
2
  export {
3
3
  o as VERSION
4
4
  };
@@ -15,18 +15,23 @@ const e = {
15
15
  faucet_limit_exceeded: "faucet_limit_exceeded",
16
16
  forbidden: "forbidden",
17
17
  idempotency_error: "idempotency_error",
18
+ incompatible_event_types: "incompatible_event_types",
18
19
  internal_server_error: "internal_server_error",
19
20
  invalid_request: "invalid_request",
21
+ invalid_webhook_headers: "invalid_webhook_headers",
22
+ invalid_webhook_url: "invalid_webhook_url",
20
23
  invalid_sql_query: "invalid_sql_query",
21
24
  invalid_signature: "invalid_signature",
22
25
  malformed_transaction: "malformed_transaction",
23
26
  not_found: "not_found",
27
+ operation_in_progress: "operation_in_progress",
24
28
  payment_method_required: "payment_method_required",
25
29
  payment_required: "payment_required",
26
30
  settlement_failed: "settlement_failed",
27
31
  rate_limit_exceeded: "rate_limit_exceeded",
28
32
  request_canceled: "request_canceled",
29
33
  service_unavailable: "service_unavailable",
34
+ subscription_limit_exceeded: "subscription_limit_exceeded",
30
35
  timed_out: "timed_out",
31
36
  unauthorized: "unauthorized",
32
37
  unsupported_tos_language: "unsupported_tos_language",
@@ -97,7 +102,13 @@ const e = {
97
102
  daily_transaction_limit_exceeded: "daily_transaction_limit_exceeded",
98
103
  daily_amount_limit_exceeded: "daily_amount_limit_exceeded",
99
104
  stale_attestation: "stale_attestation",
100
- moderation_rejected: "moderation_rejected"
105
+ moderation_rejected: "moderation_rejected",
106
+ mandate_action_pending: "mandate_action_pending",
107
+ mandate_policy_violation: "mandate_policy_violation",
108
+ mandate_expired: "mandate_expired",
109
+ mandate_canceled: "mandate_canceled",
110
+ mandate_revoked: "mandate_revoked",
111
+ mandate_invalid_status: "mandate_invalid_status"
101
112
  }, a = {
102
113
  CustodyCrypto: "custodyCrypto",
103
114
  CustodyFiat: "custodyFiat",
@@ -172,6 +183,9 @@ const e = {
172
183
  MfaVerificationScopeSession: "session",
173
184
  MfaVerificationScopeRequest: "request"
174
185
  }, S = {
186
+ private_key: "private_key",
187
+ mnemonic: "mnemonic"
188
+ }, P = {
175
189
  "base-sepolia": "base-sepolia",
176
190
  base: "base",
177
191
  arbitrum: "arbitrum",
@@ -179,7 +193,7 @@ const e = {
179
193
  polygon: "polygon",
180
194
  ethereum: "ethereum",
181
195
  "ethereum-sepolia": "ethereum-sepolia"
182
- }, P = {
196
+ }, w = {
183
197
  UNSPECIFIED: "UNSPECIFIED",
184
198
  PENDING: "PENDING",
185
199
  SUBMITTED: "SUBMITTED",
@@ -192,11 +206,11 @@ const e = {
192
206
  complete: "complete",
193
207
  dropped: "dropped",
194
208
  failed: "failed"
195
- }, w = {
209
+ }, N = {
196
210
  no_debt: "no_debt",
197
211
  healthy: "healthy",
198
212
  undercollateralized: "undercollateralized"
199
- }, N = {
213
+ }, k = {
200
214
  morpho_blue: "morpho_blue"
201
215
  }, x = {
202
216
  base: "base",
@@ -207,16 +221,16 @@ const e = {
207
221
  arbitrum: "arbitrum",
208
222
  avalanche: "avalanche",
209
223
  polygon: "polygon"
210
- }, k = {
224
+ }, q = {
211
225
  base: "base",
212
226
  ethereum: "ethereum",
213
227
  arbitrum: "arbitrum",
214
228
  optimism: "optimism",
215
229
  polygon: "polygon"
216
- }, q = {
230
+ }, O = {
217
231
  NUMBER_1: 1,
218
232
  NUMBER_2: 2
219
- }, O = {
233
+ }, U = {
220
234
  "eip155:8453": "eip155:8453",
221
235
  "eip155:84532": "eip155:84532",
222
236
  "eip155:137": "eip155:137",
@@ -225,30 +239,30 @@ const e = {
225
239
  "eip155:4801": "eip155:4801",
226
240
  "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
227
241
  "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1": "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1"
228
- }, U = {
242
+ }, D = {
229
243
  exact: "exact",
230
244
  upto: "upto",
231
245
  "batch-settlement": "batch-settlement"
232
- }, D = {
246
+ }, M = {
233
247
  base: "base",
234
248
  "base-sepolia": "base-sepolia",
235
249
  solana: "solana",
236
250
  "solana-devnet": "solana-devnet"
237
- }, M = {
238
- exact: "exact"
239
251
  }, B = {
240
- deposit: "deposit"
252
+ exact: "exact"
241
253
  }, C = {
242
- voucher: "voucher"
254
+ deposit: "deposit"
243
255
  }, I = {
244
- refund: "refund"
256
+ voucher: "voucher"
245
257
  }, L = {
246
- claim: "claim"
258
+ refund: "refund"
247
259
  }, F = {
248
- settle: "settle"
260
+ claim: "claim"
249
261
  }, Y = {
250
- exact: "exact"
262
+ settle: "settle"
251
263
  }, z = {
264
+ exact: "exact"
265
+ }, W = {
252
266
  base: "base",
253
267
  ethereum: "ethereum",
254
268
  solana: "solana",
@@ -259,39 +273,39 @@ const e = {
259
273
  polygon: "polygon",
260
274
  world: "world",
261
275
  "world-sepolia": "world-sepolia"
262
- }, W = {
276
+ }, V = {
263
277
  FEE_TYPE_NETWORK: "FEE_TYPE_NETWORK",
264
278
  FEE_TYPE_EXCHANGE: "FEE_TYPE_EXCHANGE"
265
- }, V = {
279
+ }, X = {
266
280
  ONRAMP_ORDER_STATUS_PENDING_AUTH: "ONRAMP_ORDER_STATUS_PENDING_AUTH",
267
281
  ONRAMP_ORDER_STATUS_PENDING_PAYMENT: "ONRAMP_ORDER_STATUS_PENDING_PAYMENT",
268
282
  ONRAMP_ORDER_STATUS_PROCESSING: "ONRAMP_ORDER_STATUS_PROCESSING",
269
283
  ONRAMP_ORDER_STATUS_COMPLETED: "ONRAMP_ORDER_STATUS_COMPLETED",
270
284
  ONRAMP_ORDER_STATUS_FAILED: "ONRAMP_ORDER_STATUS_FAILED"
271
- }, X = {
285
+ }, G = {
272
286
  totp: "totp",
273
287
  sms: "sms",
274
288
  passkey: "passkey"
275
- }, G = {
276
- totp: "totp"
277
289
  }, H = {
278
- sms: "sms"
290
+ totp: "totp"
279
291
  }, K = {
280
- passkey: "passkey"
292
+ sms: "sms"
281
293
  }, j = {
282
294
  passkey: "passkey"
283
295
  }, Z = {
284
296
  passkey: "passkey"
285
297
  }, J = {
298
+ passkey: "passkey"
299
+ }, Q = {
286
300
  CARD: "CARD",
287
301
  ACH: "ACH",
288
302
  APPLE_PAY: "APPLE_PAY",
289
303
  PAYPAL: "PAYPAL",
290
304
  FIAT_WALLET: "FIAT_WALLET",
291
305
  CRYPTO_WALLET: "CRYPTO_WALLET"
292
- }, Q = {
293
- refresh_token: "refresh_token"
294
306
  }, $ = {
307
+ refresh_token: "refresh_token"
308
+ }, ee = {
295
309
  base: "base",
296
310
  "base-sepolia": "base-sepolia",
297
311
  ethereum: "ethereum",
@@ -303,7 +317,7 @@ const e = {
303
317
  "arbitrum-sepolia": "arbitrum-sepolia",
304
318
  world: "world",
305
319
  "world-sepolia": "world-sepolia"
306
- }, ee = {
320
+ }, te = {
307
321
  base: "base",
308
322
  "base-sepolia": "base-sepolia",
309
323
  ethereum: "ethereum",
@@ -315,9 +329,6 @@ const e = {
315
329
  "arbitrum-sepolia": "arbitrum-sepolia",
316
330
  world: "world",
317
331
  "world-sepolia": "world-sepolia"
318
- }, te = {
319
- solana: "solana",
320
- "solana-devnet": "solana-devnet"
321
332
  }, ae = {
322
333
  solana: "solana",
323
334
  "solana-devnet": "solana-devnet"
@@ -325,74 +336,78 @@ const e = {
325
336
  solana: "solana",
326
337
  "solana-devnet": "solana-devnet"
327
338
  }, ie = {
328
- segwit: "segwit"
339
+ solana: "solana",
340
+ "solana-devnet": "solana-devnet"
329
341
  }, ne = {
342
+ segwit: "segwit"
343
+ }, re = {
330
344
  bitcoin: "bitcoin",
331
345
  "bitcoin-testnet": "bitcoin-testnet"
332
- }, re = {
346
+ }, se = {
333
347
  NUMBER_0: 0,
334
348
  NUMBER_1: 1
335
349
  };
336
350
  export {
337
- w as BorrowPositionHealthStatus,
351
+ N as BorrowPositionHealthStatus,
338
352
  h as BorrowProductAssetCapabilityType,
339
353
  b as BorrowProductNetwork,
340
354
  f as BorrowProductProtocol,
341
355
  a as CapabilityName,
342
- ie as CreateEndUserBtcAccountBodyAddressType,
343
- ne as CreateEndUserBtcAccountBodyNetwork,
356
+ ne as CreateEndUserBtcAccountBodyAddressType,
357
+ re as CreateEndUserBtcAccountBodyNetwork,
344
358
  c as DeveloperJWTAuthenticationType,
345
359
  l as EmailAuthenticationType,
360
+ S as EndUserAccountExportFormat,
346
361
  m as EndUserBtcAccountAddressType,
347
362
  y as EndUserBtcAccountNetwork,
348
- W as EndUserOnrampFeeType,
349
- V as EndUserOnrampOrderStatus,
363
+ V as EndUserOnrampFeeType,
364
+ X as EndUserOnrampOrderStatus,
350
365
  t as ErrorType,
351
- S as EvmEip7702DelegationNetwork,
352
- P as EvmEip7702DelegationOperationStatus,
353
- k as EvmSwapsNetwork,
366
+ P as EvmEip7702DelegationNetwork,
367
+ w as EvmEip7702DelegationOperationStatus,
368
+ q as EvmSwapsNetwork,
354
369
  E as EvmUserOperationNetwork,
355
370
  R as EvmUserOperationStatus,
356
371
  s as InitiateEmailAuthenticationNextStepType,
357
372
  i as InitiateEmailAuthenticationRequestType,
358
- K as InitiatePasskeyMfaEnrollmentType,
373
+ j as InitiatePasskeyMfaEnrollmentType,
359
374
  r as InitiateSiweAuthenticationRequestType,
360
375
  _ as InitiateSmsAuthenticationNextStepType,
361
376
  n as InitiateSmsAuthenticationRequestType,
362
- H as InitiateSmsMfaEnrollmentType,
363
- G as InitiateTotpMfaEnrollmentType,
377
+ K as InitiateSmsMfaEnrollmentType,
378
+ H as InitiateTotpMfaEnrollmentType,
364
379
  o as IosAttestationRegistrationResponsePlatform,
365
- X as MfaMethod,
380
+ G as MfaMethod,
366
381
  A as MfaVerificationScope,
367
- N as MorphoBlueOnchainStateType,
382
+ k as MorphoBlueOnchainStateType,
368
383
  v as MorphoBlueProtocolDetailsType,
369
- z as Network,
384
+ W as Network,
370
385
  e as OAuth2ProviderType,
371
- J as OnrampQuotePaymentMethodTypeId,
386
+ Q as OnrampQuotePaymentMethodTypeId,
372
387
  g as OtpEmailLogoStatus,
373
388
  u as PasskeySummaryTransportsItem,
374
389
  T as PasskeyUserVerification,
375
- Q as RefreshAccessTokenBodyGrantType,
376
- ee as SendEvmAssetWithEndUserAccountBodyNetwork,
377
- $ as SendEvmTransactionWithEndUserAccountBodyNetwork,
378
- oe as SendSolanaAssetWithEndUserAccountBodyNetwork,
379
- ae as SendSolanaTransactionWithEndUserAccountBodyNetwork,
380
- re as SignBtcHashWithEndUserAccountBodyChange,
381
- te as SignSolanaTransactionWithEndUserAccountBodyNetwork,
390
+ $ as RefreshAccessTokenBodyGrantType,
391
+ te as SendEvmAssetWithEndUserAccountBodyNetwork,
392
+ ee as SendEvmTransactionWithEndUserAccountBodyNetwork,
393
+ ie as SendSolanaAssetWithEndUserAccountBodyNetwork,
394
+ oe as SendSolanaTransactionWithEndUserAccountBodyNetwork,
395
+ se as SignBtcHashWithEndUserAccountBodyChange,
396
+ ae as SignSolanaTransactionWithEndUserAccountBodyNetwork,
382
397
  p as SiweAuthenticationType,
383
398
  d as SmsAuthenticationType,
384
399
  x as SpendPermissionNetwork,
385
- j as SubmitPasskeyRegistrationType,
386
- Z as SubmitPasskeyVerificationType,
387
- L as X402BatchSettlementClaimPayloadType,
388
- B as X402BatchSettlementDepositPayloadType,
389
- I as X402BatchSettlementRefundPayloadType,
390
- F as X402BatchSettlementSettlePayloadType,
391
- C as X402BatchSettlementVoucherPayloadType,
392
- D as X402V1Network,
393
- Y as X402V1PaymentPayloadScheme,
394
- M as X402V1PaymentRequirementsScheme,
395
- O as X402V2Network,
396
- U as X402V2PaymentRequirementsScheme,
397
- q as X402Version
400
+ Z as SubmitPasskeyRegistrationType,
401
+ J as SubmitPasskeyVerificationType,
402
+ F as X402BatchSettlementClaimPayloadType,
403
+ C as X402BatchSettlementDepositPayloadType,
404
+ L as X402BatchSettlementRefundPayloadType,
405
+ Y as X402BatchSettlementSettlePayloadType,
406
+ I as X402BatchSettlementVoucherPayloadType,
407
+ M as X402V1Network,
408
+ z as X402V1PaymentPayloadScheme,
409
+ B as X402V1PaymentRequirementsScheme,
410
+ U as X402V2Network,
411
+ D as X402V2PaymentRequirementsScheme,
412
+ O as X402Version
398
413
  };