@coinbase/cdp-api-client 0.0.20 → 0.0.21

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 CHANGED
@@ -1,9 +1,9 @@
1
1
  import { createEndUserEvmAccount as r, createEndUserEvmSmartAccount as n, exportEndUserEvmAccount as i, getAuthenticatedEndUser as o, getUserOperationWithEndUserAccount as a, initiateAuthentication as s, logOutEndUser as p, refreshAccessToken as c, registerTemporaryWalletSecret as m, sendEvmTransactionWithEndUserAccount as d, sendUserOperationWithEndUserAccount as l, signEvmHashWithEndUserAccount as u, signEvmMessageWithEndUserAccount as y, signEvmTransactionWithEndUserAccount as S, signEvmTypedDataWithEndUserAccount as T, signSolanaHashWithEndUserAccount as E, verifyEmailAuthentication as A, verifySmsAuthentication as O } from "./index2.js";
2
- import { AbiFunctionType as C, AbiInputType as g, AbiStateMutability as h, DeveloperJWTAuthenticationType as R, EmailAuthenticationType as U, ErrorType as P, EthValueCriterionOperator as k, EthValueCriterionType as w, EvmAddressCriterionOperator as D, EvmAddressCriterionType as N, EvmDataCriterionType as f, EvmDataParameterConditionListOperator as I, EvmDataParameterConditionOperator as M, EvmMessageCriterionType as W, EvmNetworkCriterionNetworksItem as V, EvmNetworkCriterionOperator as X, EvmNetworkCriterionType as x, EvmSwapsNetwork as b, EvmTypedAddressConditionOperator as H, EvmTypedNumericalConditionOperator as L, EvmUserOperationNetwork as q, EvmUserOperationStatus as B, FeeType as F, InitiateEmailAuthenticationNextStepType as K, InitiateEmailAuthenticationRequestType as G, InitiateSmsAuthenticationNextStepType as J, InitiateSmsAuthenticationRequestType as j, KnownAbiType as z, KnownIdlType as Q, ListEvmTokenBalancesNetwork as Y, ListSolanaTokenBalancesNetwork as Z, MintAddressCriterionOperator as _, MintAddressCriterionType as $, NetUSDChangeCriterionOperator as ee, NetUSDChangeCriterionType as te, OnchainDataResultSchemaColumnsItemType as re, OnrampOrderFeeType as ne, OnrampOrderStatus as ie, OnrampPaymentLinkType as oe, OnrampPaymentMethodTypeId as ae, PaymentMethodType as se, PaymentRailAction as pe, PolicyScope as ce, PrepareUserOperationRuleAction as me, PrepareUserOperationRuleOperation as de, RefreshAccessTokenBodyGrantType as le, SendEvmTransactionRuleAction as ue, SendEvmTransactionRuleOperation as ye, SendEvmTransactionWithEndUserAccountBodyNetwork as Se, SendSolTransactionRuleAction as Te, SendSolTransactionRuleOperation as Ee, SendUserOperationRuleAction as Ae, SendUserOperationRuleOperation as Oe, SignEvmHashRuleAction as ve, SignEvmHashRuleOperation as Ce, SignEvmMessageRuleAction as ge, SignEvmMessageRuleOperation as he, SignEvmTransactionRuleAction as Re, SignEvmTransactionRuleOperation as Ue, SignEvmTypedDataFieldCriterionType as Pe, SignEvmTypedDataRuleAction as ke, SignEvmTypedDataRuleOperation as we, SignEvmTypedDataVerifyingContractCriterionOperator as De, SignEvmTypedDataVerifyingContractCriterionType as Ne, SignSolMessageRuleAction as fe, SignSolMessageRuleOperation as Ie, SignSolTransactionRuleAction as Me, SignSolTransactionRuleOperation as We, SmsAuthenticationType as Ve, SolAddressCriterionOperator as Xe, SolAddressCriterionType as xe, SolDataConditionInstruction as be, SolDataCriterionType as He, SolDataParameterConditionListOperator as Le, SolDataParameterConditionOperator as qe, SolMessageCriterionType as Be, SolValueCriterionOperator as Fe, SolValueCriterionType as Ke, SpendPermissionNetwork as Ge, SplAddressCriterionOperator as Je, SplAddressCriterionType as je, SplValueCriterionOperator as ze, SplValueCriterionType as Qe, TransferSourceType as Ye, TransferStatus as Ze, TransferTargetType as _e, X402DiscoveryResourceType as $e, X402PaymentPayloadNetwork as et, X402PaymentPayloadScheme as tt, X402PaymentRequirementsNetwork as rt, X402PaymentRequirementsScheme as nt, X402SettleErrorReason as it, X402SupportedPaymentKindNetwork as ot, X402SupportedPaymentKindScheme as at, X402VerifyInvalidReason as st, X402Version as pt } from "./index3.js";
3
- import { configureCdpApiClient as mt, setAuthManager as dt } from "./index4.js";
4
- import { APIError as ut, HttpErrorType as yt, UnknownApiError as St, UnknownError as Tt, isOpenAPIError as Et } from "./index5.js";
2
+ import { AbiFunctionType as C, AbiInputType as g, AbiStateMutability as h, DeveloperJWTAuthenticationType as R, EmailAuthenticationType as U, ErrorType as P, EthValueCriterionOperator as k, EthValueCriterionType as w, EvmAddressCriterionOperator as N, EvmAddressCriterionType as D, EvmDataCriterionType as f, EvmDataParameterConditionListOperator as M, EvmDataParameterConditionOperator as I, EvmMessageCriterionType as W, EvmNetworkCriterionNetworksItem as V, EvmNetworkCriterionOperator as X, EvmNetworkCriterionType as x, EvmSwapsNetwork as b, EvmTypedAddressConditionOperator as H, EvmTypedNumericalConditionOperator as L, EvmUserOperationNetwork as q, EvmUserOperationStatus as B, FeeType as F, InitiateEmailAuthenticationNextStepType as K, InitiateEmailAuthenticationRequestType as G, InitiateSmsAuthenticationNextStepType as J, InitiateSmsAuthenticationRequestType as j, KnownAbiType as z, KnownIdlType as Q, ListEvmTokenBalancesNetwork as Y, ListSolanaTokenBalancesNetwork as Z, MintAddressCriterionOperator as _, MintAddressCriterionType as $, NetUSDChangeCriterionOperator as ee, NetUSDChangeCriterionType as te, OnchainDataResultSchemaColumnsItemType as re, OnrampOrderFeeType as ne, OnrampOrderStatus as ie, OnrampPaymentLinkType as oe, OnrampPaymentMethodTypeId as ae, PaymentMethodType as se, PaymentRailAction as pe, PolicyScope as ce, PrepareUserOperationRuleAction as me, PrepareUserOperationRuleOperation as de, RefreshAccessTokenBodyGrantType as le, SendEvmTransactionRuleAction as ue, SendEvmTransactionRuleOperation as ye, SendEvmTransactionWithEndUserAccountBodyNetwork as Se, SendSolTransactionRuleAction as Te, SendSolTransactionRuleOperation as Ee, SendUserOperationRuleAction as Ae, SendUserOperationRuleOperation as Oe, SignEvmHashRuleAction as ve, SignEvmHashRuleOperation as Ce, SignEvmMessageRuleAction as ge, SignEvmMessageRuleOperation as he, SignEvmTransactionRuleAction as Re, SignEvmTransactionRuleOperation as Ue, SignEvmTypedDataFieldCriterionType as Pe, SignEvmTypedDataRuleAction as ke, SignEvmTypedDataRuleOperation as we, SignEvmTypedDataVerifyingContractCriterionOperator as Ne, SignEvmTypedDataVerifyingContractCriterionType as De, SignSolMessageRuleAction as fe, SignSolMessageRuleOperation as Me, SignSolTransactionRuleAction as Ie, SignSolTransactionRuleOperation as We, SmsAuthenticationType as Ve, SolAddressCriterionOperator as Xe, SolAddressCriterionType as xe, SolDataCriterionType as be, SolDataParameterConditionListOperator as He, SolDataParameterConditionOperator as Le, SolMessageCriterionType as qe, SolValueCriterionOperator as Be, SolValueCriterionType as Fe, SpendPermissionNetwork as Ke, SplAddressCriterionOperator as Ge, SplAddressCriterionType as Je, SplValueCriterionOperator as je, SplValueCriterionType as ze, TransferSourceType as Qe, TransferStatus as Ye, TransferTargetType as Ze, X402DiscoveryResourceType as _e, X402PaymentPayloadNetwork as $e, X402PaymentPayloadScheme as et, X402PaymentRequirementsNetwork as tt, X402PaymentRequirementsScheme as rt, X402SettleErrorReason as nt, X402SupportedPaymentKindNetwork as it, X402SupportedPaymentKindScheme as ot, X402VerifyInvalidReason as at, X402Version as st } from "./index3.js";
3
+ import { configureCdpApiClient as ct, setAuthManager as mt } from "./index4.js";
4
+ import { APIError as lt, HttpErrorType as ut, UnknownApiError as yt, UnknownError as St, isOpenAPIError as Tt } from "./index5.js";
5
5
  export {
6
- ut as APIError,
6
+ lt as APIError,
7
7
  C as AbiFunctionType,
8
8
  g as AbiInputType,
9
9
  h as AbiStateMutability,
@@ -12,11 +12,11 @@ export {
12
12
  P as ErrorType,
13
13
  k as EthValueCriterionOperator,
14
14
  w as EthValueCriterionType,
15
- D as EvmAddressCriterionOperator,
16
- N as EvmAddressCriterionType,
15
+ N as EvmAddressCriterionOperator,
16
+ D as EvmAddressCriterionType,
17
17
  f as EvmDataCriterionType,
18
- I as EvmDataParameterConditionListOperator,
19
- M as EvmDataParameterConditionOperator,
18
+ M as EvmDataParameterConditionListOperator,
19
+ I as EvmDataParameterConditionOperator,
20
20
  W as EvmMessageCriterionType,
21
21
  V as EvmNetworkCriterionNetworksItem,
22
22
  X as EvmNetworkCriterionOperator,
@@ -27,7 +27,7 @@ export {
27
27
  q as EvmUserOperationNetwork,
28
28
  B as EvmUserOperationStatus,
29
29
  F as FeeType,
30
- yt as HttpErrorType,
30
+ ut as HttpErrorType,
31
31
  K as InitiateEmailAuthenticationNextStepType,
32
32
  G as InitiateEmailAuthenticationRequestType,
33
33
  J as InitiateSmsAuthenticationNextStepType,
@@ -67,56 +67,55 @@ export {
67
67
  Pe as SignEvmTypedDataFieldCriterionType,
68
68
  ke as SignEvmTypedDataRuleAction,
69
69
  we as SignEvmTypedDataRuleOperation,
70
- De as SignEvmTypedDataVerifyingContractCriterionOperator,
71
- Ne as SignEvmTypedDataVerifyingContractCriterionType,
70
+ Ne as SignEvmTypedDataVerifyingContractCriterionOperator,
71
+ De as SignEvmTypedDataVerifyingContractCriterionType,
72
72
  fe as SignSolMessageRuleAction,
73
- Ie as SignSolMessageRuleOperation,
74
- Me as SignSolTransactionRuleAction,
73
+ Me as SignSolMessageRuleOperation,
74
+ Ie as SignSolTransactionRuleAction,
75
75
  We as SignSolTransactionRuleOperation,
76
76
  Ve as SmsAuthenticationType,
77
77
  Xe as SolAddressCriterionOperator,
78
78
  xe as SolAddressCriterionType,
79
- be as SolDataConditionInstruction,
80
- He as SolDataCriterionType,
81
- Le as SolDataParameterConditionListOperator,
82
- qe as SolDataParameterConditionOperator,
83
- Be as SolMessageCriterionType,
84
- Fe as SolValueCriterionOperator,
85
- Ke as SolValueCriterionType,
86
- Ge as SpendPermissionNetwork,
87
- Je as SplAddressCriterionOperator,
88
- je as SplAddressCriterionType,
89
- ze as SplValueCriterionOperator,
90
- Qe as SplValueCriterionType,
91
- Ye as TransferSourceType,
92
- Ze as TransferStatus,
93
- _e as TransferTargetType,
94
- St as UnknownApiError,
95
- Tt as UnknownError,
96
- $e as X402DiscoveryResourceType,
97
- et as X402PaymentPayloadNetwork,
98
- tt as X402PaymentPayloadScheme,
99
- rt as X402PaymentRequirementsNetwork,
100
- nt as X402PaymentRequirementsScheme,
101
- it as X402SettleErrorReason,
102
- ot as X402SupportedPaymentKindNetwork,
103
- at as X402SupportedPaymentKindScheme,
104
- st as X402VerifyInvalidReason,
105
- pt as X402Version,
106
- mt as configureCdpApiClient,
79
+ be as SolDataCriterionType,
80
+ He as SolDataParameterConditionListOperator,
81
+ Le as SolDataParameterConditionOperator,
82
+ qe as SolMessageCriterionType,
83
+ Be as SolValueCriterionOperator,
84
+ Fe as SolValueCriterionType,
85
+ Ke as SpendPermissionNetwork,
86
+ Ge as SplAddressCriterionOperator,
87
+ Je as SplAddressCriterionType,
88
+ je as SplValueCriterionOperator,
89
+ ze as SplValueCriterionType,
90
+ Qe as TransferSourceType,
91
+ Ye as TransferStatus,
92
+ Ze as TransferTargetType,
93
+ yt as UnknownApiError,
94
+ St as UnknownError,
95
+ _e as X402DiscoveryResourceType,
96
+ $e as X402PaymentPayloadNetwork,
97
+ et as X402PaymentPayloadScheme,
98
+ tt as X402PaymentRequirementsNetwork,
99
+ rt as X402PaymentRequirementsScheme,
100
+ nt as X402SettleErrorReason,
101
+ it as X402SupportedPaymentKindNetwork,
102
+ ot as X402SupportedPaymentKindScheme,
103
+ at as X402VerifyInvalidReason,
104
+ st as X402Version,
105
+ ct as configureCdpApiClient,
107
106
  r as createEndUserEvmAccount,
108
107
  n as createEndUserEvmSmartAccount,
109
108
  i as exportEndUserEvmAccount,
110
109
  o as getAuthenticatedEndUser,
111
110
  a as getUserOperationWithEndUserAccount,
112
111
  s as initiateAuthentication,
113
- Et as isOpenAPIError,
112
+ Tt as isOpenAPIError,
114
113
  p as logOutEndUser,
115
114
  c as refreshAccessToken,
116
115
  m as registerTemporaryWalletSecret,
117
116
  d as sendEvmTransactionWithEndUserAccount,
118
117
  l as sendUserOperationWithEndUserAccount,
119
- dt as setAuthManager,
118
+ mt as setAuthManager,
120
119
  u as signEvmHashWithEndUserAccount,
121
120
  y as signEvmMessageWithEndUserAccount,
122
121
  S as signEvmTransactionWithEndUserAccount,
@@ -115,10 +115,10 @@ const e = {
115
115
  "<": "<",
116
116
  "<=": "<=",
117
117
  "==": "=="
118
- }, A = {
118
+ }, b = {
119
119
  in: "in",
120
120
  not_in: "not in"
121
- }, b = {
121
+ }, A = {
122
122
  evmData: "evmData"
123
123
  }, O = {
124
124
  netUSDChange: "netUSDChange"
@@ -227,48 +227,46 @@ const e = {
227
227
  in: "in",
228
228
  not_in: "not in"
229
229
  }, ae = {
230
- createAccount: "createAccount"
231
- }, ne = {
232
230
  solData: "solData"
233
- }, ie = {
231
+ }, ne = {
234
232
  reject: "reject",
235
233
  accept: "accept"
236
- }, oe = {
234
+ }, ie = {
237
235
  signSolTransaction: "signSolTransaction"
238
- }, re = {
236
+ }, oe = {
239
237
  reject: "reject",
240
238
  accept: "accept"
241
- }, se = {
239
+ }, re = {
242
240
  sendSolTransaction: "sendSolTransaction"
243
- }, _e = {
241
+ }, se = {
244
242
  solMessage: "solMessage"
245
- }, ce = {
243
+ }, _e = {
246
244
  reject: "reject",
247
245
  accept: "accept"
248
- }, le = {
246
+ }, ce = {
249
247
  signSolMessage: "signSolMessage"
250
- }, de = {
248
+ }, le = {
251
249
  reject: "reject",
252
250
  accept: "accept"
253
- }, pe = {
251
+ }, de = {
254
252
  signEvmHash: "signEvmHash"
255
- }, me = {
253
+ }, pe = {
256
254
  reject: "reject",
257
255
  accept: "accept"
258
- }, ve = {
256
+ }, me = {
259
257
  prepareUserOperation: "prepareUserOperation"
260
- }, ue = {
258
+ }, ve = {
261
259
  reject: "reject",
262
260
  accept: "accept"
263
- }, ye = {
261
+ }, ue = {
264
262
  sendUserOperation: "sendUserOperation"
265
- }, Te = {
263
+ }, ye = {
266
264
  project: "project",
267
265
  account: "account"
268
- }, ge = {
266
+ }, Te = {
269
267
  solana: "solana",
270
268
  "solana-devnet": "solana-devnet"
271
- }, Ee = {
269
+ }, ge = {
272
270
  String: "String",
273
271
  UInt8: "UInt8",
274
272
  UInt16: "UInt16",
@@ -289,19 +287,19 @@ const e = {
289
287
  DateTime: "DateTime",
290
288
  DateTime64: "DateTime64",
291
289
  UUID: "UUID"
292
- }, Se = {
290
+ }, Ee = {
293
291
  NUMBER_1: 1
294
- }, he = {
292
+ }, Se = {
295
293
  exact: "exact"
296
- }, Ae = {
294
+ }, he = {
297
295
  "base-sepolia": "base-sepolia",
298
296
  base: "base"
299
297
  }, be = {
300
298
  exact: "exact"
301
- }, Oe = {
299
+ }, Ae = {
302
300
  "base-sepolia": "base-sepolia",
303
301
  base: "base"
304
- }, fe = {
302
+ }, Oe = {
305
303
  insufficient_funds: "insufficient_funds",
306
304
  invalid_scheme: "invalid_scheme",
307
305
  invalid_network: "invalid_network",
@@ -316,7 +314,7 @@ const e = {
316
314
  invalid_exact_evm_payload_authorization_to_address_kyt: "invalid_exact_evm_payload_authorization_to_address_kyt",
317
315
  invalid_exact_evm_payload_signature: "invalid_exact_evm_payload_signature",
318
316
  invalid_exact_evm_payload_signature_address: "invalid_exact_evm_payload_signature_address"
319
- }, Pe = {
317
+ }, fe = {
320
318
  insufficient_funds: "insufficient_funds",
321
319
  invalid_scheme: "invalid_scheme",
322
320
  invalid_network: "invalid_network",
@@ -330,48 +328,48 @@ const e = {
330
328
  invalid_exact_evm_payload_authorization_from_address_kyt: "invalid_exact_evm_payload_authorization_from_address_kyt",
331
329
  invalid_exact_evm_payload_authorization_to_address_kyt: "invalid_exact_evm_payload_authorization_to_address_kyt",
332
330
  invalid_exact_evm_payload_signature_address: "invalid_exact_evm_payload_signature_address"
333
- }, Re = {
331
+ }, Pe = {
334
332
  exact: "exact"
335
- }, xe = {
333
+ }, Re = {
336
334
  "base-sepolia": "base-sepolia",
337
335
  base: "base"
338
- }, De = {
336
+ }, xe = {
339
337
  http: "http"
340
- }, Ne = {
338
+ }, De = {
341
339
  source: "source",
342
340
  target: "target"
343
- }, Ce = {
341
+ }, Ne = {
344
342
  card: "card",
345
343
  fiat_account: "fiat_account"
346
- }, Ue = {
344
+ }, Ce = {
347
345
  exchange_fee: "exchange_fee",
348
346
  network_fee: "network_fee"
349
- }, Ie = {
347
+ }, Ue = {
350
348
  payment_method: "payment_method"
351
- }, ke = {
349
+ }, Ie = {
352
350
  crypto_rail: "crypto_rail"
353
- }, we = {
351
+ }, ke = {
354
352
  created: "created",
355
353
  pending: "pending",
356
354
  started: "started",
357
355
  completed: "completed",
358
356
  failed: "failed"
359
- }, Me = {
357
+ }, we = {
360
358
  GUEST_CHECKOUT_APPLE_PAY: "GUEST_CHECKOUT_APPLE_PAY"
361
- }, ze = {
359
+ }, Me = {
362
360
  FEE_TYPE_NETWORK: "FEE_TYPE_NETWORK",
363
361
  FEE_TYPE_EXCHANGE: "FEE_TYPE_EXCHANGE"
364
- }, je = {
362
+ }, ze = {
365
363
  ONRAMP_ORDER_STATUS_PENDING_AUTH: "ONRAMP_ORDER_STATUS_PENDING_AUTH",
366
364
  ONRAMP_ORDER_STATUS_PENDING_PAYMENT: "ONRAMP_ORDER_STATUS_PENDING_PAYMENT",
367
365
  ONRAMP_ORDER_STATUS_PROCESSING: "ONRAMP_ORDER_STATUS_PROCESSING",
368
366
  ONRAMP_ORDER_STATUS_COMPLETED: "ONRAMP_ORDER_STATUS_COMPLETED",
369
367
  ONRAMP_ORDER_STATUS_FAILED: "ONRAMP_ORDER_STATUS_FAILED"
370
- }, qe = {
368
+ }, je = {
371
369
  PAYMENT_LINK_TYPE_APPLE_PAY_BUTTON: "PAYMENT_LINK_TYPE_APPLE_PAY_BUTTON"
372
- }, Ve = {
370
+ }, qe = {
373
371
  refresh_token: "refresh_token"
374
- }, Fe = {
372
+ }, Ve = {
375
373
  base: "base",
376
374
  "base-sepolia": "base-sepolia",
377
375
  ethereum: "ethereum",
@@ -392,8 +390,8 @@ export {
392
390
  m as EthValueCriterionType,
393
391
  y as EvmAddressCriterionOperator,
394
392
  u as EvmAddressCriterionType,
395
- b as EvmDataCriterionType,
396
- A as EvmDataParameterConditionListOperator,
393
+ A as EvmDataCriterionType,
394
+ b as EvmDataParameterConditionListOperator,
397
395
  h as EvmDataParameterConditionOperator,
398
396
  I as EvmMessageCriterionType,
399
397
  D as EvmNetworkCriterionNetworksItem,
@@ -404,7 +402,7 @@ export {
404
402
  z as EvmTypedNumericalConditionOperator,
405
403
  _ as EvmUserOperationNetwork,
406
404
  c as EvmUserOperationStatus,
407
- Ue as FeeType,
405
+ Ce as FeeType,
408
406
  r as InitiateEmailAuthenticationNextStepType,
409
407
  i as InitiateEmailAuthenticationRequestType,
410
408
  s as InitiateSmsAuthenticationNextStepType,
@@ -412,31 +410,31 @@ export {
412
410
  T as KnownAbiType,
413
411
  $ as KnownIdlType,
414
412
  p as ListEvmTokenBalancesNetwork,
415
- ge as ListSolanaTokenBalancesNetwork,
413
+ Te as ListSolanaTokenBalancesNetwork,
416
414
  Z as MintAddressCriterionOperator,
417
415
  Q as MintAddressCriterionType,
418
416
  f as NetUSDChangeCriterionOperator,
419
417
  O as NetUSDChangeCriterionType,
420
- Ee as OnchainDataResultSchemaColumnsItemType,
421
- ze as OnrampOrderFeeType,
422
- je as OnrampOrderStatus,
423
- qe as OnrampPaymentLinkType,
424
- Me as OnrampPaymentMethodTypeId,
425
- Ce as PaymentMethodType,
426
- Ne as PaymentRailAction,
427
- Te as PolicyScope,
428
- me as PrepareUserOperationRuleAction,
429
- ve as PrepareUserOperationRuleOperation,
430
- Ve as RefreshAccessTokenBodyGrantType,
418
+ ge as OnchainDataResultSchemaColumnsItemType,
419
+ Me as OnrampOrderFeeType,
420
+ ze as OnrampOrderStatus,
421
+ je as OnrampPaymentLinkType,
422
+ we as OnrampPaymentMethodTypeId,
423
+ Ne as PaymentMethodType,
424
+ De as PaymentRailAction,
425
+ ye as PolicyScope,
426
+ pe as PrepareUserOperationRuleAction,
427
+ me as PrepareUserOperationRuleOperation,
428
+ qe as RefreshAccessTokenBodyGrantType,
431
429
  C as SendEvmTransactionRuleAction,
432
430
  U as SendEvmTransactionRuleOperation,
433
- Fe as SendEvmTransactionWithEndUserAccountBodyNetwork,
434
- re as SendSolTransactionRuleAction,
435
- se as SendSolTransactionRuleOperation,
436
- ue as SendUserOperationRuleAction,
437
- ye as SendUserOperationRuleOperation,
438
- de as SignEvmHashRuleAction,
439
- pe as SignEvmHashRuleOperation,
431
+ Ve as SendEvmTransactionWithEndUserAccountBodyNetwork,
432
+ oe as SendSolTransactionRuleAction,
433
+ re as SendSolTransactionRuleOperation,
434
+ ve as SendUserOperationRuleAction,
435
+ ue as SendUserOperationRuleOperation,
436
+ le as SignEvmHashRuleAction,
437
+ de as SignEvmHashRuleOperation,
440
438
  k as SignEvmMessageRuleAction,
441
439
  w as SignEvmMessageRuleOperation,
442
440
  P as SignEvmTransactionRuleAction,
@@ -446,18 +444,17 @@ export {
446
444
  L as SignEvmTypedDataRuleOperation,
447
445
  V as SignEvmTypedDataVerifyingContractCriterionOperator,
448
446
  q as SignEvmTypedDataVerifyingContractCriterionType,
449
- ce as SignSolMessageRuleAction,
450
- le as SignSolMessageRuleOperation,
451
- ie as SignSolTransactionRuleAction,
452
- oe as SignSolTransactionRuleOperation,
447
+ _e as SignSolMessageRuleAction,
448
+ ce as SignSolMessageRuleOperation,
449
+ ne as SignSolTransactionRuleAction,
450
+ ie as SignSolTransactionRuleOperation,
453
451
  t as SmsAuthenticationType,
454
452
  X as SolAddressCriterionOperator,
455
453
  Y as SolAddressCriterionType,
456
- ae as SolDataConditionInstruction,
457
- ne as SolDataCriterionType,
454
+ ae as SolDataCriterionType,
458
455
  te as SolDataParameterConditionListOperator,
459
456
  ee as SolDataParameterConditionOperator,
460
- _e as SolMessageCriterionType,
457
+ se as SolMessageCriterionType,
461
458
  H as SolValueCriterionOperator,
462
459
  G as SolValueCriterionType,
463
460
  l as SpendPermissionNetwork,
@@ -465,17 +462,17 @@ export {
465
462
  K as SplAddressCriterionType,
466
463
  J as SplValueCriterionOperator,
467
464
  W as SplValueCriterionType,
468
- Ie as TransferSourceType,
469
- we as TransferStatus,
470
- ke as TransferTargetType,
471
- De as X402DiscoveryResourceType,
472
- Ae as X402PaymentPayloadNetwork,
473
- he as X402PaymentPayloadScheme,
474
- Oe as X402PaymentRequirementsNetwork,
465
+ Ue as TransferSourceType,
466
+ ke as TransferStatus,
467
+ Ie as TransferTargetType,
468
+ xe as X402DiscoveryResourceType,
469
+ he as X402PaymentPayloadNetwork,
470
+ Se as X402PaymentPayloadScheme,
471
+ Ae as X402PaymentRequirementsNetwork,
475
472
  be as X402PaymentRequirementsScheme,
476
- Pe as X402SettleErrorReason,
477
- xe as X402SupportedPaymentKindNetwork,
478
- Re as X402SupportedPaymentKindScheme,
479
- fe as X402VerifyInvalidReason,
480
- Se as X402Version
473
+ fe as X402SettleErrorReason,
474
+ Re as X402SupportedPaymentKindNetwork,
475
+ Pe as X402SupportedPaymentKindScheme,
476
+ Oe as X402VerifyInvalidReason,
477
+ Ee as X402Version
481
478
  };
@@ -1143,6 +1143,7 @@ export declare const sendUserOperationWithEndUserAccount: (projectId: string, us
1143
1143
  export declare type SendUserOperationWithEndUserAccountBody = {
1144
1144
  network: EvmUserOperationNetwork;
1145
1145
  calls: EvmCall[];
1146
+ useCdpPaymaster: boolean;
1146
1147
  paymasterUrl?: string;
1147
1148
  walletSecretId: string;
1148
1149
  };
@@ -1458,16 +1459,10 @@ export declare interface SolanaTokenBalance {
1458
1459
  }
1459
1460
 
1460
1461
  export declare interface SolDataCondition {
1461
- instruction: SolDataConditionInstruction;
1462
+ instruction: string;
1462
1463
  params?: SolDataConditionParamsItem[];
1463
1464
  }
1464
1465
 
1465
- export declare type SolDataConditionInstruction = (typeof SolDataConditionInstruction)[keyof typeof SolDataConditionInstruction];
1466
-
1467
- export declare const SolDataConditionInstruction: {
1468
- readonly createAccount: "createAccount";
1469
- };
1470
-
1471
1466
  export declare type SolDataConditionParamsItem = SolDataParameterCondition | SolDataParameterConditionList;
1472
1467
 
1473
1468
  export declare interface SolDataCriterion {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coinbase/cdp-api-client",
3
- "version": "0.0.20",
3
+ "version": "0.0.21",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist/**",