@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 +42 -43
- package/dist/esm/index3.js +79 -82
- package/dist/types/index.d.ts +2 -7
- package/package.json +1 -1
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
|
|
3
|
-
import { configureCdpApiClient as
|
|
4
|
-
import { APIError as
|
|
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
|
-
|
|
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
|
-
|
|
16
|
-
|
|
15
|
+
N as EvmAddressCriterionOperator,
|
|
16
|
+
D as EvmAddressCriterionType,
|
|
17
17
|
f as EvmDataCriterionType,
|
|
18
|
-
|
|
19
|
-
|
|
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
|
-
|
|
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
|
-
|
|
71
|
-
|
|
70
|
+
Ne as SignEvmTypedDataVerifyingContractCriterionOperator,
|
|
71
|
+
De as SignEvmTypedDataVerifyingContractCriterionType,
|
|
72
72
|
fe as SignSolMessageRuleAction,
|
|
73
|
-
|
|
74
|
-
|
|
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
|
|
80
|
-
He as
|
|
81
|
-
Le as
|
|
82
|
-
qe as
|
|
83
|
-
Be as
|
|
84
|
-
Fe as
|
|
85
|
-
Ke as
|
|
86
|
-
Ge as
|
|
87
|
-
Je as
|
|
88
|
-
je as
|
|
89
|
-
ze as
|
|
90
|
-
Qe as
|
|
91
|
-
Ye as
|
|
92
|
-
Ze as
|
|
93
|
-
|
|
94
|
-
St as
|
|
95
|
-
|
|
96
|
-
$e as
|
|
97
|
-
et as
|
|
98
|
-
tt as
|
|
99
|
-
rt as
|
|
100
|
-
nt as
|
|
101
|
-
it as
|
|
102
|
-
ot as
|
|
103
|
-
at as
|
|
104
|
-
st as
|
|
105
|
-
|
|
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
|
-
|
|
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
|
-
|
|
118
|
+
mt as setAuthManager,
|
|
120
119
|
u as signEvmHashWithEndUserAccount,
|
|
121
120
|
y as signEvmMessageWithEndUserAccount,
|
|
122
121
|
S as signEvmTransactionWithEndUserAccount,
|
package/dist/esm/index3.js
CHANGED
|
@@ -115,10 +115,10 @@ const e = {
|
|
|
115
115
|
"<": "<",
|
|
116
116
|
"<=": "<=",
|
|
117
117
|
"==": "=="
|
|
118
|
-
},
|
|
118
|
+
}, b = {
|
|
119
119
|
in: "in",
|
|
120
120
|
not_in: "not in"
|
|
121
|
-
},
|
|
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
|
-
},
|
|
231
|
+
}, ne = {
|
|
234
232
|
reject: "reject",
|
|
235
233
|
accept: "accept"
|
|
236
|
-
},
|
|
234
|
+
}, ie = {
|
|
237
235
|
signSolTransaction: "signSolTransaction"
|
|
238
|
-
},
|
|
236
|
+
}, oe = {
|
|
239
237
|
reject: "reject",
|
|
240
238
|
accept: "accept"
|
|
241
|
-
},
|
|
239
|
+
}, re = {
|
|
242
240
|
sendSolTransaction: "sendSolTransaction"
|
|
243
|
-
},
|
|
241
|
+
}, se = {
|
|
244
242
|
solMessage: "solMessage"
|
|
245
|
-
},
|
|
243
|
+
}, _e = {
|
|
246
244
|
reject: "reject",
|
|
247
245
|
accept: "accept"
|
|
248
|
-
},
|
|
246
|
+
}, ce = {
|
|
249
247
|
signSolMessage: "signSolMessage"
|
|
250
|
-
},
|
|
248
|
+
}, le = {
|
|
251
249
|
reject: "reject",
|
|
252
250
|
accept: "accept"
|
|
253
|
-
},
|
|
251
|
+
}, de = {
|
|
254
252
|
signEvmHash: "signEvmHash"
|
|
255
|
-
},
|
|
253
|
+
}, pe = {
|
|
256
254
|
reject: "reject",
|
|
257
255
|
accept: "accept"
|
|
258
|
-
},
|
|
256
|
+
}, me = {
|
|
259
257
|
prepareUserOperation: "prepareUserOperation"
|
|
260
|
-
},
|
|
258
|
+
}, ve = {
|
|
261
259
|
reject: "reject",
|
|
262
260
|
accept: "accept"
|
|
263
|
-
},
|
|
261
|
+
}, ue = {
|
|
264
262
|
sendUserOperation: "sendUserOperation"
|
|
265
|
-
},
|
|
263
|
+
}, ye = {
|
|
266
264
|
project: "project",
|
|
267
265
|
account: "account"
|
|
268
|
-
},
|
|
266
|
+
}, Te = {
|
|
269
267
|
solana: "solana",
|
|
270
268
|
"solana-devnet": "solana-devnet"
|
|
271
|
-
},
|
|
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
|
-
},
|
|
290
|
+
}, Ee = {
|
|
293
291
|
NUMBER_1: 1
|
|
294
|
-
},
|
|
292
|
+
}, Se = {
|
|
295
293
|
exact: "exact"
|
|
296
|
-
},
|
|
294
|
+
}, he = {
|
|
297
295
|
"base-sepolia": "base-sepolia",
|
|
298
296
|
base: "base"
|
|
299
297
|
}, be = {
|
|
300
298
|
exact: "exact"
|
|
301
|
-
},
|
|
299
|
+
}, Ae = {
|
|
302
300
|
"base-sepolia": "base-sepolia",
|
|
303
301
|
base: "base"
|
|
304
|
-
},
|
|
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
|
-
},
|
|
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
|
-
},
|
|
331
|
+
}, Pe = {
|
|
334
332
|
exact: "exact"
|
|
335
|
-
},
|
|
333
|
+
}, Re = {
|
|
336
334
|
"base-sepolia": "base-sepolia",
|
|
337
335
|
base: "base"
|
|
338
|
-
},
|
|
336
|
+
}, xe = {
|
|
339
337
|
http: "http"
|
|
340
|
-
},
|
|
338
|
+
}, De = {
|
|
341
339
|
source: "source",
|
|
342
340
|
target: "target"
|
|
343
|
-
},
|
|
341
|
+
}, Ne = {
|
|
344
342
|
card: "card",
|
|
345
343
|
fiat_account: "fiat_account"
|
|
346
|
-
},
|
|
344
|
+
}, Ce = {
|
|
347
345
|
exchange_fee: "exchange_fee",
|
|
348
346
|
network_fee: "network_fee"
|
|
349
|
-
},
|
|
347
|
+
}, Ue = {
|
|
350
348
|
payment_method: "payment_method"
|
|
351
|
-
},
|
|
349
|
+
}, Ie = {
|
|
352
350
|
crypto_rail: "crypto_rail"
|
|
353
|
-
},
|
|
351
|
+
}, ke = {
|
|
354
352
|
created: "created",
|
|
355
353
|
pending: "pending",
|
|
356
354
|
started: "started",
|
|
357
355
|
completed: "completed",
|
|
358
356
|
failed: "failed"
|
|
359
|
-
},
|
|
357
|
+
}, we = {
|
|
360
358
|
GUEST_CHECKOUT_APPLE_PAY: "GUEST_CHECKOUT_APPLE_PAY"
|
|
361
|
-
},
|
|
359
|
+
}, Me = {
|
|
362
360
|
FEE_TYPE_NETWORK: "FEE_TYPE_NETWORK",
|
|
363
361
|
FEE_TYPE_EXCHANGE: "FEE_TYPE_EXCHANGE"
|
|
364
|
-
},
|
|
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
|
-
},
|
|
368
|
+
}, je = {
|
|
371
369
|
PAYMENT_LINK_TYPE_APPLE_PAY_BUTTON: "PAYMENT_LINK_TYPE_APPLE_PAY_BUTTON"
|
|
372
|
-
},
|
|
370
|
+
}, qe = {
|
|
373
371
|
refresh_token: "refresh_token"
|
|
374
|
-
},
|
|
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
|
-
|
|
396
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
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
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
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
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
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
|
|
457
|
-
ne as SolDataCriterionType,
|
|
454
|
+
ae as SolDataCriterionType,
|
|
458
455
|
te as SolDataParameterConditionListOperator,
|
|
459
456
|
ee as SolDataParameterConditionOperator,
|
|
460
|
-
|
|
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
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
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
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
473
|
+
fe as X402SettleErrorReason,
|
|
474
|
+
Re as X402SupportedPaymentKindNetwork,
|
|
475
|
+
Pe as X402SupportedPaymentKindScheme,
|
|
476
|
+
Oe as X402VerifyInvalidReason,
|
|
477
|
+
Ee as X402Version
|
|
481
478
|
};
|
package/dist/types/index.d.ts
CHANGED
|
@@ -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:
|
|
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 {
|