@coinbase/cdp-api-client 0.0.123 → 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.
@@ -1,4 +1,4 @@
1
- var r = { exports: {} };
1
+ var r = {};
2
2
  export {
3
- r as __module
3
+ r as __exports
4
4
  };
@@ -1,4 +1,4 @@
1
- var r = {};
1
+ var e = { exports: {} };
2
2
  export {
3
- r as __exports
3
+ e as __module
4
4
  };
@@ -1,4 +1,4 @@
1
- var e = { exports: {} };
1
+ var r = { exports: {} };
2
2
  export {
3
- e as __module
3
+ r as __module
4
4
  };
@@ -1,2 +1,2 @@
1
- import { __require as r } from "./index18.js";
1
+ import { __require as r } from "./index13.js";
2
2
  r();
@@ -1,4 +1,4 @@
1
- const o = "0.0.123";
1
+ const o = "0.0.125";
2
2
  export {
3
3
  o as VERSION
4
4
  };
@@ -69,6 +69,7 @@ const e = {
69
69
  asset_mismatch: "asset_mismatch",
70
70
  mfa_already_enrolled: "mfa_already_enrolled",
71
71
  mfa_invalid_code: "mfa_invalid_code",
72
+ mfa_challenge_not_found: "mfa_challenge_not_found",
72
73
  mfa_flow_expired: "mfa_flow_expired",
73
74
  mfa_required: "mfa_required",
74
75
  mfa_not_enrolled: "mfa_not_enrolled",
@@ -98,17 +99,17 @@ const e = {
98
99
  stale_attestation: "stale_attestation",
99
100
  moderation_rejected: "moderation_rejected"
100
101
  }, a = {
101
- custodyCrypto: "custodyCrypto",
102
- custodyFiat: "custodyFiat",
103
- custodyStablecoin: "custodyStablecoin",
104
- tradeCrypto: "tradeCrypto",
105
- tradeStablecoin: "tradeStablecoin",
106
- transferCrypto: "transferCrypto",
107
- transferFiat: "transferFiat",
108
- transferStablecoin: "transferStablecoin"
109
- }, i = {
110
- ios: "ios"
102
+ CustodyCrypto: "custodyCrypto",
103
+ CustodyFiat: "custodyFiat",
104
+ CustodyStablecoin: "custodyStablecoin",
105
+ TradeCrypto: "tradeCrypto",
106
+ TradeStablecoin: "tradeStablecoin",
107
+ TransferCrypto: "transferCrypto",
108
+ TransferFiat: "transferFiat",
109
+ TransferStablecoin: "transferStablecoin"
111
110
  }, o = {
111
+ ios: "ios"
112
+ }, i = {
112
113
  email: "email"
113
114
  }, n = {
114
115
  sms: "sms"
@@ -140,6 +141,15 @@ const e = {
140
141
  bitcoin: "bitcoin",
141
142
  "bitcoin-testnet": "bitcoin-testnet"
142
143
  }, b = {
144
+ base: "base"
145
+ }, f = {
146
+ morpho_blue: "morpho_blue"
147
+ }, h = {
148
+ collateral: "collateral",
149
+ debt: "debt"
150
+ }, v = {
151
+ morpho_blue: "morpho_blue"
152
+ }, E = {
143
153
  "base-sepolia": "base-sepolia",
144
154
  base: "base",
145
155
  arbitrum: "arbitrum",
@@ -150,15 +160,18 @@ const e = {
150
160
  avalanche: "avalanche",
151
161
  ethereum: "ethereum",
152
162
  "ethereum-sepolia": "ethereum-sepolia"
153
- }, f = {
163
+ }, g = {
154
164
  approved: "approved",
155
165
  pending: "pending",
156
166
  rejected: "rejected"
157
- }, v = {
167
+ }, T = {
158
168
  required: "required",
159
169
  preferred: "preferred",
160
170
  discouraged: "discouraged"
161
- }, E = {
171
+ }, A = {
172
+ MfaVerificationScopeSession: "session",
173
+ MfaVerificationScopeRequest: "request"
174
+ }, S = {
162
175
  "base-sepolia": "base-sepolia",
163
176
  base: "base",
164
177
  arbitrum: "arbitrum",
@@ -166,20 +179,26 @@ const e = {
166
179
  polygon: "polygon",
167
180
  ethereum: "ethereum",
168
181
  "ethereum-sepolia": "ethereum-sepolia"
169
- }, h = {
182
+ }, P = {
170
183
  UNSPECIFIED: "UNSPECIFIED",
171
184
  PENDING: "PENDING",
172
185
  SUBMITTED: "SUBMITTED",
173
186
  COMPLETED: "COMPLETED",
174
187
  FAILED: "FAILED"
175
- }, g = {
188
+ }, R = {
176
189
  pending: "pending",
177
190
  signed: "signed",
178
191
  broadcast: "broadcast",
179
192
  complete: "complete",
180
193
  dropped: "dropped",
181
194
  failed: "failed"
182
- }, T = {
195
+ }, w = {
196
+ no_debt: "no_debt",
197
+ healthy: "healthy",
198
+ undercollateralized: "undercollateralized"
199
+ }, N = {
200
+ morpho_blue: "morpho_blue"
201
+ }, x = {
183
202
  base: "base",
184
203
  "base-sepolia": "base-sepolia",
185
204
  ethereum: "ethereum",
@@ -188,16 +207,16 @@ const e = {
188
207
  arbitrum: "arbitrum",
189
208
  avalanche: "avalanche",
190
209
  polygon: "polygon"
191
- }, A = {
210
+ }, k = {
192
211
  base: "base",
193
212
  ethereum: "ethereum",
194
213
  arbitrum: "arbitrum",
195
214
  optimism: "optimism",
196
215
  polygon: "polygon"
197
- }, S = {
216
+ }, q = {
198
217
  NUMBER_1: 1,
199
218
  NUMBER_2: 2
200
- }, P = {
219
+ }, O = {
201
220
  "eip155:8453": "eip155:8453",
202
221
  "eip155:84532": "eip155:84532",
203
222
  "eip155:137": "eip155:137",
@@ -206,30 +225,30 @@ const e = {
206
225
  "eip155:4801": "eip155:4801",
207
226
  "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
208
227
  "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1": "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1"
209
- }, R = {
228
+ }, U = {
210
229
  exact: "exact",
211
230
  upto: "upto",
212
231
  "batch-settlement": "batch-settlement"
213
- }, N = {
232
+ }, D = {
214
233
  base: "base",
215
234
  "base-sepolia": "base-sepolia",
216
235
  solana: "solana",
217
236
  "solana-devnet": "solana-devnet"
218
- }, w = {
237
+ }, M = {
219
238
  exact: "exact"
220
- }, x = {
239
+ }, B = {
221
240
  deposit: "deposit"
222
- }, k = {
241
+ }, C = {
223
242
  voucher: "voucher"
224
- }, q = {
243
+ }, I = {
225
244
  refund: "refund"
226
- }, O = {
245
+ }, L = {
227
246
  claim: "claim"
228
- }, U = {
247
+ }, F = {
229
248
  settle: "settle"
230
- }, D = {
249
+ }, Y = {
231
250
  exact: "exact"
232
- }, I = {
251
+ }, z = {
233
252
  base: "base",
234
253
  ethereum: "ethereum",
235
254
  solana: "solana",
@@ -240,39 +259,39 @@ const e = {
240
259
  polygon: "polygon",
241
260
  world: "world",
242
261
  "world-sepolia": "world-sepolia"
243
- }, M = {
262
+ }, W = {
244
263
  FEE_TYPE_NETWORK: "FEE_TYPE_NETWORK",
245
264
  FEE_TYPE_EXCHANGE: "FEE_TYPE_EXCHANGE"
246
- }, C = {
265
+ }, V = {
247
266
  ONRAMP_ORDER_STATUS_PENDING_AUTH: "ONRAMP_ORDER_STATUS_PENDING_AUTH",
248
267
  ONRAMP_ORDER_STATUS_PENDING_PAYMENT: "ONRAMP_ORDER_STATUS_PENDING_PAYMENT",
249
268
  ONRAMP_ORDER_STATUS_PROCESSING: "ONRAMP_ORDER_STATUS_PROCESSING",
250
269
  ONRAMP_ORDER_STATUS_COMPLETED: "ONRAMP_ORDER_STATUS_COMPLETED",
251
270
  ONRAMP_ORDER_STATUS_FAILED: "ONRAMP_ORDER_STATUS_FAILED"
252
- }, B = {
271
+ }, X = {
253
272
  totp: "totp",
254
273
  sms: "sms",
255
274
  passkey: "passkey"
256
- }, L = {
275
+ }, G = {
257
276
  totp: "totp"
258
- }, F = {
277
+ }, H = {
259
278
  sms: "sms"
260
- }, Y = {
279
+ }, K = {
261
280
  passkey: "passkey"
262
- }, z = {
281
+ }, j = {
263
282
  passkey: "passkey"
264
- }, W = {
283
+ }, Z = {
265
284
  passkey: "passkey"
266
- }, X = {
285
+ }, J = {
267
286
  CARD: "CARD",
268
287
  ACH: "ACH",
269
288
  APPLE_PAY: "APPLE_PAY",
270
289
  PAYPAL: "PAYPAL",
271
290
  FIAT_WALLET: "FIAT_WALLET",
272
291
  CRYPTO_WALLET: "CRYPTO_WALLET"
273
- }, G = {
292
+ }, Q = {
274
293
  refresh_token: "refresh_token"
275
- }, V = {
294
+ }, $ = {
276
295
  base: "base",
277
296
  "base-sepolia": "base-sepolia",
278
297
  ethereum: "ethereum",
@@ -284,7 +303,7 @@ const e = {
284
303
  "arbitrum-sepolia": "arbitrum-sepolia",
285
304
  world: "world",
286
305
  "world-sepolia": "world-sepolia"
287
- }, K = {
306
+ }, ee = {
288
307
  base: "base",
289
308
  "base-sepolia": "base-sepolia",
290
309
  ethereum: "ethereum",
@@ -296,73 +315,84 @@ const e = {
296
315
  "arbitrum-sepolia": "arbitrum-sepolia",
297
316
  world: "world",
298
317
  "world-sepolia": "world-sepolia"
299
- }, H = {
318
+ }, te = {
300
319
  solana: "solana",
301
320
  "solana-devnet": "solana-devnet"
302
- }, j = {
321
+ }, ae = {
303
322
  solana: "solana",
304
323
  "solana-devnet": "solana-devnet"
305
- }, Z = {
324
+ }, oe = {
325
+ solana: "solana",
326
+ "solana-devnet": "solana-devnet"
327
+ }, ie = {
306
328
  segwit: "segwit"
307
- }, J = {
329
+ }, ne = {
308
330
  bitcoin: "bitcoin",
309
331
  "bitcoin-testnet": "bitcoin-testnet"
310
- }, Q = {
332
+ }, re = {
311
333
  NUMBER_0: 0,
312
334
  NUMBER_1: 1
313
335
  };
314
336
  export {
337
+ w as BorrowPositionHealthStatus,
338
+ h as BorrowProductAssetCapabilityType,
339
+ b as BorrowProductNetwork,
340
+ f as BorrowProductProtocol,
315
341
  a as CapabilityName,
316
- Z as CreateEndUserBtcAccountBodyAddressType,
317
- J as CreateEndUserBtcAccountBodyNetwork,
342
+ ie as CreateEndUserBtcAccountBodyAddressType,
343
+ ne as CreateEndUserBtcAccountBodyNetwork,
318
344
  c as DeveloperJWTAuthenticationType,
319
345
  l as EmailAuthenticationType,
320
346
  m as EndUserBtcAccountAddressType,
321
347
  y as EndUserBtcAccountNetwork,
322
- M as EndUserOnrampFeeType,
323
- C as EndUserOnrampOrderStatus,
348
+ W as EndUserOnrampFeeType,
349
+ V as EndUserOnrampOrderStatus,
324
350
  t as ErrorType,
325
- E as EvmEip7702DelegationNetwork,
326
- h as EvmEip7702DelegationOperationStatus,
327
- A as EvmSwapsNetwork,
328
- b as EvmUserOperationNetwork,
329
- g as EvmUserOperationStatus,
351
+ S as EvmEip7702DelegationNetwork,
352
+ P as EvmEip7702DelegationOperationStatus,
353
+ k as EvmSwapsNetwork,
354
+ E as EvmUserOperationNetwork,
355
+ R as EvmUserOperationStatus,
330
356
  s as InitiateEmailAuthenticationNextStepType,
331
- o as InitiateEmailAuthenticationRequestType,
332
- Y as InitiatePasskeyMfaEnrollmentType,
357
+ i as InitiateEmailAuthenticationRequestType,
358
+ K as InitiatePasskeyMfaEnrollmentType,
333
359
  r as InitiateSiweAuthenticationRequestType,
334
360
  _ as InitiateSmsAuthenticationNextStepType,
335
361
  n as InitiateSmsAuthenticationRequestType,
336
- F as InitiateSmsMfaEnrollmentType,
337
- L as InitiateTotpMfaEnrollmentType,
338
- i as IosAttestationRegistrationResponsePlatform,
339
- B as MfaMethod,
340
- I as Network,
362
+ H as InitiateSmsMfaEnrollmentType,
363
+ G as InitiateTotpMfaEnrollmentType,
364
+ o as IosAttestationRegistrationResponsePlatform,
365
+ X as MfaMethod,
366
+ A as MfaVerificationScope,
367
+ N as MorphoBlueOnchainStateType,
368
+ v as MorphoBlueProtocolDetailsType,
369
+ z as Network,
341
370
  e as OAuth2ProviderType,
342
- X as OnrampQuotePaymentMethodTypeId,
343
- f as OtpEmailLogoStatus,
371
+ J as OnrampQuotePaymentMethodTypeId,
372
+ g as OtpEmailLogoStatus,
344
373
  u as PasskeySummaryTransportsItem,
345
- v as PasskeyUserVerification,
346
- G as RefreshAccessTokenBodyGrantType,
347
- K as SendEvmAssetWithEndUserAccountBodyNetwork,
348
- V as SendEvmTransactionWithEndUserAccountBodyNetwork,
349
- j as SendSolanaAssetWithEndUserAccountBodyNetwork,
350
- H as SendSolanaTransactionWithEndUserAccountBodyNetwork,
351
- Q as SignBtcHashWithEndUserAccountBodyChange,
374
+ 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,
352
382
  p as SiweAuthenticationType,
353
383
  d as SmsAuthenticationType,
354
- T as SpendPermissionNetwork,
355
- z as SubmitPasskeyRegistrationType,
356
- W as SubmitPasskeyVerificationType,
357
- O as X402BatchSettlementClaimPayloadType,
358
- x as X402BatchSettlementDepositPayloadType,
359
- q as X402BatchSettlementRefundPayloadType,
360
- U as X402BatchSettlementSettlePayloadType,
361
- k as X402BatchSettlementVoucherPayloadType,
362
- N as X402V1Network,
363
- D as X402V1PaymentPayloadScheme,
364
- w as X402V1PaymentRequirementsScheme,
365
- P as X402V2Network,
366
- R as X402V2PaymentRequirementsScheme,
367
- S as X402Version
384
+ 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
368
398
  };