@coinbase/cdp-api-client 0.0.18 → 0.0.19

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,8 +1,10 @@
1
1
  const e = {
2
2
  email: "email"
3
+ }, t = {
4
+ sms: "sms"
3
5
  }, a = {
4
6
  jwt: "jwt"
5
- }, t = {
7
+ }, n = {
6
8
  already_exists: "already_exists",
7
9
  bad_gateway: "bad_gateway",
8
10
  faucet_limit_exceeded: "faucet_limit_exceeded",
@@ -10,6 +12,7 @@ const e = {
10
12
  idempotency_error: "idempotency_error",
11
13
  internal_server_error: "internal_server_error",
12
14
  invalid_request: "invalid_request",
15
+ invalid_sql_query: "invalid_sql_query",
13
16
  invalid_signature: "invalid_signature",
14
17
  malformed_transaction: "malformed_transaction",
15
18
  not_found: "not_found",
@@ -27,147 +30,215 @@ const e = {
27
30
  guest_region_forbidden: "guest_region_forbidden",
28
31
  guest_transaction_limit: "guest_transaction_limit",
29
32
  guest_transaction_count: "guest_transaction_count",
30
- guest_phone_number_verification_expired: "guest_phone_number_verification_expired"
31
- }, n = {
32
- email: "email"
33
+ phone_number_verification_expired: "phone_number_verification_expired"
33
34
  }, i = {
34
- "verify-otp": "verify-otp"
35
+ email: "email"
35
36
  }, o = {
36
- "base-sepolia": "base-sepolia",
37
- base: "base"
37
+ sms: "sms"
38
38
  }, r = {
39
+ "verify-otp": "verify-otp"
40
+ }, s = {
41
+ "verify-otp": "verify-otp"
42
+ }, _ = {
43
+ "base-sepolia": "base-sepolia",
44
+ base: "base",
45
+ arbitrum: "arbitrum",
46
+ optimism: "optimism",
47
+ zora: "zora",
48
+ polygon: "polygon",
49
+ bnb: "bnb",
50
+ avalanche: "avalanche",
51
+ ethereum: "ethereum",
52
+ "ethereum-sepolia": "ethereum-sepolia"
53
+ }, c = {
39
54
  pending: "pending",
40
55
  signed: "signed",
41
56
  broadcast: "broadcast",
42
57
  complete: "complete",
43
58
  dropped: "dropped",
44
59
  failed: "failed"
45
- }, _ = {
60
+ }, d = {
46
61
  base: "base",
47
- ethereum: "ethereum"
48
- }, s = {
62
+ ethereum: "ethereum",
63
+ arbitrum: "arbitrum",
64
+ optimism: "optimism"
65
+ }, l = {
49
66
  base: "base",
50
67
  "base-sepolia": "base-sepolia",
51
68
  ethereum: "ethereum"
52
- }, c = {
69
+ }, p = {
53
70
  ethValue: "ethValue"
54
- }, d = {
71
+ }, m = {
55
72
  ">": ">",
56
73
  ">=": ">=",
57
74
  "<": "<",
58
75
  "<=": "<=",
59
76
  "==": "=="
60
- }, l = {
77
+ }, v = {
61
78
  evmAddress: "evmAddress"
62
- }, p = {
79
+ }, u = {
63
80
  in: "in",
64
81
  not_in: "not in"
65
- }, v = {
82
+ }, y = {
66
83
  erc20: "erc20",
67
84
  erc721: "erc721",
68
85
  erc1155: "erc1155"
69
- }, m = {
86
+ }, T = {
70
87
  pure: "pure",
71
88
  view: "view",
72
89
  nonpayable: "nonpayable",
73
90
  payable: "payable"
74
- }, u = {
91
+ }, E = {
75
92
  function: "function"
76
- }, y = {
93
+ }, S = {
77
94
  constructor: "constructor",
78
95
  error: "error",
79
96
  event: "event",
80
97
  fallback: "fallback",
81
98
  receive: "receive"
82
- }, T = {
99
+ }, g = {
83
100
  ">": ">",
84
101
  ">=": ">=",
85
102
  "<": "<",
86
103
  "<=": "<=",
87
104
  "==": "=="
88
- }, E = {
105
+ }, h = {
89
106
  in: "in",
90
107
  not_in: "not in"
91
- }, g = {
108
+ }, A = {
92
109
  evmData: "evmData"
93
- }, S = {
110
+ }, b = {
111
+ netUSDChange: "netUSDChange"
112
+ }, O = {
113
+ ">": ">",
114
+ ">=": ">=",
115
+ "<": "<",
116
+ "<=": "<=",
117
+ "==": "=="
118
+ }, f = {
94
119
  reject: "reject",
95
120
  accept: "accept"
96
- }, A = {
121
+ }, R = {
97
122
  signEvmTransaction: "signEvmTransaction"
98
- }, h = {
99
- evmNetwork: "evmNetwork"
100
123
  }, P = {
124
+ evmNetwork: "evmNetwork"
125
+ }, x = {
101
126
  "base-sepolia": "base-sepolia",
102
- base: "base"
103
- }, f = {
127
+ base: "base",
128
+ ethereum: "ethereum",
129
+ "ethereum-sepolia": "ethereum-sepolia",
130
+ avalanche: "avalanche",
131
+ polygon: "polygon",
132
+ optimism: "optimism",
133
+ arbitrum: "arbitrum",
134
+ zora: "zora",
135
+ bnb: "bnb"
136
+ }, N = {
104
137
  in: "in",
105
138
  not_in: "not in"
106
- }, O = {
139
+ }, U = {
107
140
  reject: "reject",
108
141
  accept: "accept"
109
- }, R = {
142
+ }, D = {
110
143
  sendEvmTransaction: "sendEvmTransaction"
111
- }, b = {
144
+ }, C = {
112
145
  evmMessage: "evmMessage"
113
- }, x = {
146
+ }, I = {
114
147
  reject: "reject",
115
148
  accept: "accept"
116
- }, N = {
149
+ }, k = {
117
150
  signEvmMessage: "signEvmMessage"
118
- }, I = {
151
+ }, M = {
119
152
  in: "in",
120
153
  not_in: "not in"
121
- }, U = {
154
+ }, w = {
122
155
  ">": ">",
123
156
  ">=": ">=",
124
157
  "<": "<",
125
158
  "<=": "<=",
126
159
  "==": "=="
127
- }, D = {
160
+ }, z = {
128
161
  evmTypedDataField: "evmTypedDataField"
129
- }, k = {
162
+ }, j = {
130
163
  evmTypedDataVerifyingContract: "evmTypedDataVerifyingContract"
131
- }, C = {
164
+ }, q = {
132
165
  in: "in",
133
166
  not_in: "not in"
134
- }, w = {
167
+ }, V = {
135
168
  reject: "reject",
136
169
  accept: "accept"
137
- }, M = {
170
+ }, F = {
138
171
  signEvmTypedData: "signEvmTypedData"
139
- }, z = {
172
+ }, L = {
140
173
  solAddress: "solAddress"
141
- }, j = {
174
+ }, Y = {
142
175
  in: "in",
143
176
  not_in: "not in"
144
- }, F = {
177
+ }, X = {
178
+ solValue: "solValue"
179
+ }, G = {
180
+ ">": ">",
181
+ ">=": ">=",
182
+ "<": "<",
183
+ "<=": "<=",
184
+ "==": "=="
185
+ }, H = {
186
+ splAddress: "splAddress"
187
+ }, B = {
188
+ in: "in",
189
+ not_in: "not in"
190
+ }, K = {
191
+ splValue: "splValue"
192
+ }, W = {
193
+ ">": ">",
194
+ ">=": ">=",
195
+ "<": "<",
196
+ "<=": "<=",
197
+ "==": "=="
198
+ }, J = {
199
+ mintAddress: "mintAddress"
200
+ }, Q = {
201
+ in: "in",
202
+ not_in: "not in"
203
+ }, Z = {
145
204
  reject: "reject",
146
205
  accept: "accept"
147
- }, L = {
206
+ }, $ = {
148
207
  signSolTransaction: "signSolTransaction"
149
- }, X = {
208
+ }, ee = {
150
209
  reject: "reject",
151
210
  accept: "accept"
152
- }, Y = {
211
+ }, te = {
212
+ sendSolTransaction: "sendSolTransaction"
213
+ }, ae = {
214
+ solMessage: "solMessage"
215
+ }, ne = {
216
+ reject: "reject",
217
+ accept: "accept"
218
+ }, ie = {
219
+ signSolMessage: "signSolMessage"
220
+ }, oe = {
221
+ reject: "reject",
222
+ accept: "accept"
223
+ }, re = {
153
224
  signEvmHash: "signEvmHash"
154
- }, q = {
225
+ }, se = {
155
226
  reject: "reject",
156
227
  accept: "accept"
157
- }, G = {
228
+ }, _e = {
158
229
  prepareUserOperation: "prepareUserOperation"
159
- }, V = {
230
+ }, ce = {
160
231
  reject: "reject",
161
232
  accept: "accept"
162
- }, B = {
233
+ }, de = {
163
234
  sendUserOperation: "sendUserOperation"
164
- }, H = {
235
+ }, le = {
165
236
  project: "project",
166
237
  account: "account"
167
- }, K = {
238
+ }, pe = {
168
239
  solana: "solana",
169
240
  "solana-devnet": "solana-devnet"
170
- }, W = {
241
+ }, me = {
171
242
  String: "String",
172
243
  UInt8: "UInt8",
173
244
  UInt16: "UInt16",
@@ -187,22 +258,20 @@ const e = {
187
258
  Date: "Date",
188
259
  DateTime: "DateTime",
189
260
  DateTime64: "DateTime64",
190
- UUID: "UUID",
191
- IPv4: "IPv4",
192
- IPv6: "IPv6"
193
- }, J = {
261
+ UUID: "UUID"
262
+ }, ve = {
194
263
  NUMBER_1: 1
195
- }, Q = {
264
+ }, ue = {
196
265
  exact: "exact"
197
- }, Z = {
266
+ }, ye = {
198
267
  "base-sepolia": "base-sepolia",
199
268
  base: "base"
200
- }, $ = {
269
+ }, Te = {
201
270
  exact: "exact"
202
- }, ee = {
271
+ }, Ee = {
203
272
  "base-sepolia": "base-sepolia",
204
273
  base: "base"
205
- }, ae = {
274
+ }, Se = {
206
275
  insufficient_funds: "insufficient_funds",
207
276
  invalid_scheme: "invalid_scheme",
208
277
  invalid_network: "invalid_network",
@@ -217,7 +286,7 @@ const e = {
217
286
  invalid_exact_evm_payload_authorization_to_address_kyt: "invalid_exact_evm_payload_authorization_to_address_kyt",
218
287
  invalid_exact_evm_payload_signature: "invalid_exact_evm_payload_signature",
219
288
  invalid_exact_evm_payload_signature_address: "invalid_exact_evm_payload_signature_address"
220
- }, te = {
289
+ }, ge = {
221
290
  insufficient_funds: "insufficient_funds",
222
291
  invalid_scheme: "invalid_scheme",
223
292
  invalid_network: "invalid_network",
@@ -231,122 +300,140 @@ const e = {
231
300
  invalid_exact_evm_payload_authorization_from_address_kyt: "invalid_exact_evm_payload_authorization_from_address_kyt",
232
301
  invalid_exact_evm_payload_authorization_to_address_kyt: "invalid_exact_evm_payload_authorization_to_address_kyt",
233
302
  invalid_exact_evm_payload_signature_address: "invalid_exact_evm_payload_signature_address"
234
- }, ne = {
235
- NUMBER_1: 1
236
- }, ie = {
303
+ }, he = {
237
304
  exact: "exact"
238
- }, oe = {
305
+ }, Ae = {
239
306
  "base-sepolia": "base-sepolia",
240
307
  base: "base"
241
- }, re = {
308
+ }, be = {
309
+ http: "http"
310
+ }, Oe = {
242
311
  source: "source",
243
312
  target: "target"
244
- }, _e = {
313
+ }, fe = {
245
314
  card: "card",
246
315
  fiat_account: "fiat_account"
247
- }, se = {
316
+ }, Re = {
248
317
  exchange_fee: "exchange_fee",
249
318
  network_fee: "network_fee"
250
- }, ce = {
319
+ }, Pe = {
251
320
  payment_method: "payment_method"
252
- }, de = {
321
+ }, xe = {
253
322
  crypto_rail: "crypto_rail"
254
- }, le = {
323
+ }, Ne = {
255
324
  created: "created",
256
325
  pending: "pending",
257
326
  started: "started",
258
327
  completed: "completed",
259
328
  failed: "failed"
260
- }, pe = {
329
+ }, Ue = {
261
330
  GUEST_CHECKOUT_APPLE_PAY: "GUEST_CHECKOUT_APPLE_PAY"
262
- }, ve = {
331
+ }, De = {
263
332
  FEE_TYPE_NETWORK: "FEE_TYPE_NETWORK",
264
333
  FEE_TYPE_EXCHANGE: "FEE_TYPE_EXCHANGE"
265
- }, me = {
334
+ }, Ce = {
266
335
  ONRAMP_ORDER_STATUS_PENDING_AUTH: "ONRAMP_ORDER_STATUS_PENDING_AUTH",
267
336
  ONRAMP_ORDER_STATUS_PENDING_PAYMENT: "ONRAMP_ORDER_STATUS_PENDING_PAYMENT",
268
337
  ONRAMP_ORDER_STATUS_PROCESSING: "ONRAMP_ORDER_STATUS_PROCESSING",
269
338
  ONRAMP_ORDER_STATUS_COMPLETED: "ONRAMP_ORDER_STATUS_COMPLETED",
270
339
  ONRAMP_ORDER_STATUS_FAILED: "ONRAMP_ORDER_STATUS_FAILED"
271
- }, ue = {
340
+ }, Ie = {
272
341
  PAYMENT_LINK_TYPE_APPLE_PAY_BUTTON: "PAYMENT_LINK_TYPE_APPLE_PAY_BUTTON"
273
- }, ye = {
342
+ }, ke = {
274
343
  refresh_token: "refresh_token"
275
- }, Te = {
344
+ }, Me = {
276
345
  base: "base",
277
346
  "base-sepolia": "base-sepolia"
278
347
  };
279
348
  export {
280
- u as AbiFunctionType,
281
- y as AbiInputType,
282
- m as AbiStateMutability,
349
+ E as AbiFunctionType,
350
+ S as AbiInputType,
351
+ T as AbiStateMutability,
283
352
  a as DeveloperJWTAuthenticationType,
284
353
  e as EmailAuthenticationType,
285
- t as ErrorType,
286
- d as EthValueCriterionOperator,
287
- c as EthValueCriterionType,
288
- p as EvmAddressCriterionOperator,
289
- l as EvmAddressCriterionType,
290
- g as EvmDataCriterionType,
291
- E as EvmDataParameterConditionListOperator,
292
- T as EvmDataParameterConditionOperator,
293
- b as EvmMessageCriterionType,
294
- P as EvmNetworkCriterionNetworksItem,
295
- f as EvmNetworkCriterionOperator,
296
- h as EvmNetworkCriterionType,
297
- _ as EvmSwapsNetwork,
298
- I as EvmTypedAddressConditionOperator,
299
- U as EvmTypedNumericalConditionOperator,
300
- o as EvmUserOperationNetwork,
301
- r as EvmUserOperationStatus,
302
- se as FeeType,
303
- i as InitiateEmailAuthenticationNextStepType,
304
- n as InitiateEmailAuthenticationRequestType,
305
- v as KnownAbiType,
306
- s as ListEvmTokenBalancesNetwork,
307
- K as ListSolanaTokenBalancesNetwork,
308
- ve as OnrampOrderFeeType,
309
- me as OnrampOrderStatus,
310
- ue as OnrampPaymentLinkType,
311
- pe as OnrampPaymentMethodTypeId,
312
- _e as PaymentMethodType,
313
- re as PaymentRailAction,
314
- H as PolicyScope,
315
- q as PrepareUserOperationRuleAction,
316
- G as PrepareUserOperationRuleOperation,
317
- W as QueryResultSchemaColumnsItemType,
318
- ye as RefreshAccessTokenBodyGrantType,
319
- O as SendEvmTransactionRuleAction,
320
- R as SendEvmTransactionRuleOperation,
321
- Te as SendEvmTransactionWithEndUserAccountBodyNetwork,
322
- V as SendUserOperationRuleAction,
323
- B as SendUserOperationRuleOperation,
324
- X as SignEvmHashRuleAction,
325
- Y as SignEvmHashRuleOperation,
326
- x as SignEvmMessageRuleAction,
327
- N as SignEvmMessageRuleOperation,
328
- S as SignEvmTransactionRuleAction,
329
- A as SignEvmTransactionRuleOperation,
330
- D as SignEvmTypedDataFieldCriterionType,
331
- w as SignEvmTypedDataRuleAction,
332
- M as SignEvmTypedDataRuleOperation,
333
- C as SignEvmTypedDataVerifyingContractCriterionOperator,
334
- k as SignEvmTypedDataVerifyingContractCriterionType,
335
- F as SignSolTransactionRuleAction,
336
- L as SignSolTransactionRuleOperation,
337
- j as SolAddressCriterionOperator,
338
- z as SolAddressCriterionType,
339
- ce as TransferSourceType,
340
- le as TransferStatus,
341
- de as TransferTargetType,
342
- Z as X402PaymentPayloadNetwork,
343
- Q as X402PaymentPayloadScheme,
344
- J as X402PaymentPayloadX402Version,
345
- ee as X402PaymentRequirementsNetwork,
346
- $ as X402PaymentRequirementsScheme,
347
- te as X402SettleErrorReason,
348
- oe as X402SupportedPaymentKindNetwork,
349
- ie as X402SupportedPaymentKindScheme,
350
- ne as X402SupportedPaymentKindX402Version,
351
- ae as X402VerifyInvalidReason
354
+ n as ErrorType,
355
+ m as EthValueCriterionOperator,
356
+ p as EthValueCriterionType,
357
+ u as EvmAddressCriterionOperator,
358
+ v as EvmAddressCriterionType,
359
+ A as EvmDataCriterionType,
360
+ h as EvmDataParameterConditionListOperator,
361
+ g as EvmDataParameterConditionOperator,
362
+ C as EvmMessageCriterionType,
363
+ x as EvmNetworkCriterionNetworksItem,
364
+ N as EvmNetworkCriterionOperator,
365
+ P as EvmNetworkCriterionType,
366
+ d as EvmSwapsNetwork,
367
+ M as EvmTypedAddressConditionOperator,
368
+ w as EvmTypedNumericalConditionOperator,
369
+ _ as EvmUserOperationNetwork,
370
+ c as EvmUserOperationStatus,
371
+ Re as FeeType,
372
+ r as InitiateEmailAuthenticationNextStepType,
373
+ i as InitiateEmailAuthenticationRequestType,
374
+ s as InitiateSmsAuthenticationNextStepType,
375
+ o as InitiateSmsAuthenticationRequestType,
376
+ y as KnownAbiType,
377
+ l as ListEvmTokenBalancesNetwork,
378
+ pe as ListSolanaTokenBalancesNetwork,
379
+ Q as MintAddressCriterionOperator,
380
+ J as MintAddressCriterionType,
381
+ O as NetUSDChangeCriterionOperator,
382
+ b as NetUSDChangeCriterionType,
383
+ me as OnchainDataResultSchemaColumnsItemType,
384
+ De as OnrampOrderFeeType,
385
+ Ce as OnrampOrderStatus,
386
+ Ie as OnrampPaymentLinkType,
387
+ Ue as OnrampPaymentMethodTypeId,
388
+ fe as PaymentMethodType,
389
+ Oe as PaymentRailAction,
390
+ le as PolicyScope,
391
+ se as PrepareUserOperationRuleAction,
392
+ _e as PrepareUserOperationRuleOperation,
393
+ ke as RefreshAccessTokenBodyGrantType,
394
+ U as SendEvmTransactionRuleAction,
395
+ D as SendEvmTransactionRuleOperation,
396
+ Me as SendEvmTransactionWithEndUserAccountBodyNetwork,
397
+ ee as SendSolTransactionRuleAction,
398
+ te as SendSolTransactionRuleOperation,
399
+ ce as SendUserOperationRuleAction,
400
+ de as SendUserOperationRuleOperation,
401
+ oe as SignEvmHashRuleAction,
402
+ re as SignEvmHashRuleOperation,
403
+ I as SignEvmMessageRuleAction,
404
+ k as SignEvmMessageRuleOperation,
405
+ f as SignEvmTransactionRuleAction,
406
+ R as SignEvmTransactionRuleOperation,
407
+ z as SignEvmTypedDataFieldCriterionType,
408
+ V as SignEvmTypedDataRuleAction,
409
+ F as SignEvmTypedDataRuleOperation,
410
+ q as SignEvmTypedDataVerifyingContractCriterionOperator,
411
+ j as SignEvmTypedDataVerifyingContractCriterionType,
412
+ ne as SignSolMessageRuleAction,
413
+ ie as SignSolMessageRuleOperation,
414
+ Z as SignSolTransactionRuleAction,
415
+ $ as SignSolTransactionRuleOperation,
416
+ t as SmsAuthenticationType,
417
+ Y as SolAddressCriterionOperator,
418
+ L as SolAddressCriterionType,
419
+ ae as SolMessageCriterionType,
420
+ G as SolValueCriterionOperator,
421
+ X as SolValueCriterionType,
422
+ B as SplAddressCriterionOperator,
423
+ H as SplAddressCriterionType,
424
+ W as SplValueCriterionOperator,
425
+ K as SplValueCriterionType,
426
+ Pe as TransferSourceType,
427
+ Ne as TransferStatus,
428
+ xe as TransferTargetType,
429
+ be as X402DiscoveryResourceType,
430
+ ye as X402PaymentPayloadNetwork,
431
+ ue as X402PaymentPayloadScheme,
432
+ Ee as X402PaymentRequirementsNetwork,
433
+ Te as X402PaymentRequirementsScheme,
434
+ ge as X402SettleErrorReason,
435
+ Ae as X402SupportedPaymentKindNetwork,
436
+ he as X402SupportedPaymentKindScheme,
437
+ Se as X402VerifyInvalidReason,
438
+ ve as X402Version
352
439
  };