@coinbase/cdp-api-client 0.0.19 → 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,20 +1,20 @@
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 u, signEvmHashWithEndUserAccount as y, signEvmMessageWithEndUserAccount as l, signEvmTransactionWithEndUserAccount as T, signEvmTypedDataWithEndUserAccount as E, signSolanaHashWithEndUserAccount as S, verifyEmailAuthentication as A, verifySmsAuthentication as v } from "./index2.js";
2
- import { AbiFunctionType as g, AbiInputType as h, AbiStateMutability as C, DeveloperJWTAuthenticationType as R, EmailAuthenticationType as U, ErrorType as k, EthValueCriterionOperator as P, EthValueCriterionType as N, EvmAddressCriterionOperator as w, EvmAddressCriterionType as f, EvmDataCriterionType as D, 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 q, EvmUserOperationNetwork as B, EvmUserOperationStatus as F, FeeType as L, InitiateEmailAuthenticationNextStepType as K, InitiateEmailAuthenticationRequestType as G, InitiateSmsAuthenticationNextStepType as J, InitiateSmsAuthenticationRequestType as j, KnownAbiType as z, ListEvmTokenBalancesNetwork as Q, ListSolanaTokenBalancesNetwork as Y, MintAddressCriterionOperator as Z, MintAddressCriterionType as _, NetUSDChangeCriterionOperator as $, NetUSDChangeCriterionType as ee, OnchainDataResultSchemaColumnsItemType as te, OnrampOrderFeeType as re, OnrampOrderStatus as ne, OnrampPaymentLinkType as ie, OnrampPaymentMethodTypeId as oe, PaymentMethodType as ae, PaymentRailAction as se, PolicyScope as pe, PrepareUserOperationRuleAction as ce, PrepareUserOperationRuleOperation as me, RefreshAccessTokenBodyGrantType as de, SendEvmTransactionRuleAction as ue, SendEvmTransactionRuleOperation as ye, SendEvmTransactionWithEndUserAccountBodyNetwork as le, SendSolTransactionRuleAction as Te, SendSolTransactionRuleOperation as Ee, SendUserOperationRuleAction as Se, SendUserOperationRuleOperation as Ae, SignEvmHashRuleAction as ve, SignEvmHashRuleOperation as Oe, SignEvmMessageRuleAction as ge, SignEvmMessageRuleOperation as he, SignEvmTransactionRuleAction as Ce, SignEvmTransactionRuleOperation as Re, SignEvmTypedDataFieldCriterionType as Ue, SignEvmTypedDataRuleAction as ke, SignEvmTypedDataRuleOperation as Pe, SignEvmTypedDataVerifyingContractCriterionOperator as Ne, SignEvmTypedDataVerifyingContractCriterionType as we, SignSolMessageRuleAction as fe, SignSolMessageRuleOperation as De, SignSolTransactionRuleAction as Me, SignSolTransactionRuleOperation as Ie, SmsAuthenticationType as We, SolAddressCriterionOperator as Ve, SolAddressCriterionType as Xe, SolMessageCriterionType as xe, SolValueCriterionOperator as be, SolValueCriterionType as He, SplAddressCriterionOperator as qe, SplAddressCriterionType as Be, SplValueCriterionOperator as Fe, SplValueCriterionType as Le, TransferSourceType as Ke, TransferStatus as Ge, TransferTargetType as Je, X402DiscoveryResourceType as je, X402PaymentPayloadNetwork as ze, X402PaymentPayloadScheme as Qe, X402PaymentRequirementsNetwork as Ye, X402PaymentRequirementsScheme as Ze, X402SettleErrorReason as _e, X402SupportedPaymentKindNetwork as $e, X402SupportedPaymentKindScheme as et, X402VerifyInvalidReason as tt, X402Version as rt } from "./index3.js";
3
- import { configureCdpApiClient as it, setAuthManager as ot } from "./index4.js";
4
- import { APIError as st, HttpErrorType as pt, UnknownApiError as ct, UnknownError as mt, isOpenAPIError as dt } from "./index5.js";
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 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
- st as APIError,
7
- g as AbiFunctionType,
8
- h as AbiInputType,
9
- C as AbiStateMutability,
6
+ lt as APIError,
7
+ C as AbiFunctionType,
8
+ g as AbiInputType,
9
+ h as AbiStateMutability,
10
10
  R as DeveloperJWTAuthenticationType,
11
11
  U as EmailAuthenticationType,
12
- k as ErrorType,
13
- P as EthValueCriterionOperator,
14
- N as EthValueCriterionType,
15
- w as EvmAddressCriterionOperator,
16
- f as EvmAddressCriterionType,
17
- D as EvmDataCriterionType,
12
+ P as ErrorType,
13
+ k as EthValueCriterionOperator,
14
+ w as EthValueCriterionType,
15
+ N as EvmAddressCriterionOperator,
16
+ D as EvmAddressCriterionType,
17
+ f as EvmDataCriterionType,
18
18
  M as EvmDataParameterConditionListOperator,
19
19
  I as EvmDataParameterConditionOperator,
20
20
  W as EvmMessageCriterionType,
@@ -23,99 +23,104 @@ export {
23
23
  x as EvmNetworkCriterionType,
24
24
  b as EvmSwapsNetwork,
25
25
  H as EvmTypedAddressConditionOperator,
26
- q as EvmTypedNumericalConditionOperator,
27
- B as EvmUserOperationNetwork,
28
- F as EvmUserOperationStatus,
29
- L as FeeType,
30
- pt as HttpErrorType,
26
+ L as EvmTypedNumericalConditionOperator,
27
+ q as EvmUserOperationNetwork,
28
+ B as EvmUserOperationStatus,
29
+ F as FeeType,
30
+ ut as HttpErrorType,
31
31
  K as InitiateEmailAuthenticationNextStepType,
32
32
  G as InitiateEmailAuthenticationRequestType,
33
33
  J as InitiateSmsAuthenticationNextStepType,
34
34
  j as InitiateSmsAuthenticationRequestType,
35
35
  z as KnownAbiType,
36
- Q as ListEvmTokenBalancesNetwork,
37
- Y as ListSolanaTokenBalancesNetwork,
38
- Z as MintAddressCriterionOperator,
39
- _ as MintAddressCriterionType,
40
- $ as NetUSDChangeCriterionOperator,
41
- ee as NetUSDChangeCriterionType,
42
- te as OnchainDataResultSchemaColumnsItemType,
43
- re as OnrampOrderFeeType,
44
- ne as OnrampOrderStatus,
45
- ie as OnrampPaymentLinkType,
46
- oe as OnrampPaymentMethodTypeId,
47
- ae as PaymentMethodType,
48
- se as PaymentRailAction,
49
- pe as PolicyScope,
50
- ce as PrepareUserOperationRuleAction,
51
- me as PrepareUserOperationRuleOperation,
52
- de as RefreshAccessTokenBodyGrantType,
36
+ Q as KnownIdlType,
37
+ Y as ListEvmTokenBalancesNetwork,
38
+ Z as ListSolanaTokenBalancesNetwork,
39
+ _ as MintAddressCriterionOperator,
40
+ $ as MintAddressCriterionType,
41
+ ee as NetUSDChangeCriterionOperator,
42
+ te as NetUSDChangeCriterionType,
43
+ re as OnchainDataResultSchemaColumnsItemType,
44
+ ne as OnrampOrderFeeType,
45
+ ie as OnrampOrderStatus,
46
+ oe as OnrampPaymentLinkType,
47
+ ae as OnrampPaymentMethodTypeId,
48
+ se as PaymentMethodType,
49
+ pe as PaymentRailAction,
50
+ ce as PolicyScope,
51
+ me as PrepareUserOperationRuleAction,
52
+ de as PrepareUserOperationRuleOperation,
53
+ le as RefreshAccessTokenBodyGrantType,
53
54
  ue as SendEvmTransactionRuleAction,
54
55
  ye as SendEvmTransactionRuleOperation,
55
- le as SendEvmTransactionWithEndUserAccountBodyNetwork,
56
+ Se as SendEvmTransactionWithEndUserAccountBodyNetwork,
56
57
  Te as SendSolTransactionRuleAction,
57
58
  Ee as SendSolTransactionRuleOperation,
58
- Se as SendUserOperationRuleAction,
59
- Ae as SendUserOperationRuleOperation,
59
+ Ae as SendUserOperationRuleAction,
60
+ Oe as SendUserOperationRuleOperation,
60
61
  ve as SignEvmHashRuleAction,
61
- Oe as SignEvmHashRuleOperation,
62
+ Ce as SignEvmHashRuleOperation,
62
63
  ge as SignEvmMessageRuleAction,
63
64
  he as SignEvmMessageRuleOperation,
64
- Ce as SignEvmTransactionRuleAction,
65
- Re as SignEvmTransactionRuleOperation,
66
- Ue as SignEvmTypedDataFieldCriterionType,
65
+ Re as SignEvmTransactionRuleAction,
66
+ Ue as SignEvmTransactionRuleOperation,
67
+ Pe as SignEvmTypedDataFieldCriterionType,
67
68
  ke as SignEvmTypedDataRuleAction,
68
- Pe as SignEvmTypedDataRuleOperation,
69
+ we as SignEvmTypedDataRuleOperation,
69
70
  Ne as SignEvmTypedDataVerifyingContractCriterionOperator,
70
- we as SignEvmTypedDataVerifyingContractCriterionType,
71
+ De as SignEvmTypedDataVerifyingContractCriterionType,
71
72
  fe as SignSolMessageRuleAction,
72
- De as SignSolMessageRuleOperation,
73
- Me as SignSolTransactionRuleAction,
74
- Ie as SignSolTransactionRuleOperation,
75
- We as SmsAuthenticationType,
76
- Ve as SolAddressCriterionOperator,
77
- Xe as SolAddressCriterionType,
78
- xe as SolMessageCriterionType,
79
- be as SolValueCriterionOperator,
80
- He as SolValueCriterionType,
81
- qe as SplAddressCriterionOperator,
82
- Be as SplAddressCriterionType,
83
- Fe as SplValueCriterionOperator,
84
- Le as SplValueCriterionType,
85
- Ke as TransferSourceType,
86
- Ge as TransferStatus,
87
- Je as TransferTargetType,
88
- ct as UnknownApiError,
89
- mt as UnknownError,
90
- je as X402DiscoveryResourceType,
91
- ze as X402PaymentPayloadNetwork,
92
- Qe as X402PaymentPayloadScheme,
93
- Ye as X402PaymentRequirementsNetwork,
94
- Ze as X402PaymentRequirementsScheme,
95
- _e as X402SettleErrorReason,
96
- $e as X402SupportedPaymentKindNetwork,
97
- et as X402SupportedPaymentKindScheme,
98
- tt as X402VerifyInvalidReason,
99
- rt as X402Version,
100
- it as configureCdpApiClient,
73
+ Me as SignSolMessageRuleOperation,
74
+ Ie as SignSolTransactionRuleAction,
75
+ We as SignSolTransactionRuleOperation,
76
+ Ve as SmsAuthenticationType,
77
+ Xe as SolAddressCriterionOperator,
78
+ xe as SolAddressCriterionType,
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,
101
106
  r as createEndUserEvmAccount,
102
107
  n as createEndUserEvmSmartAccount,
103
108
  i as exportEndUserEvmAccount,
104
109
  o as getAuthenticatedEndUser,
105
110
  a as getUserOperationWithEndUserAccount,
106
111
  s as initiateAuthentication,
107
- dt as isOpenAPIError,
112
+ Tt as isOpenAPIError,
108
113
  p as logOutEndUser,
109
114
  c as refreshAccessToken,
110
115
  m as registerTemporaryWalletSecret,
111
116
  d as sendEvmTransactionWithEndUserAccount,
112
- u as sendUserOperationWithEndUserAccount,
113
- ot as setAuthManager,
114
- y as signEvmHashWithEndUserAccount,
115
- l as signEvmMessageWithEndUserAccount,
116
- T as signEvmTransactionWithEndUserAccount,
117
- E as signEvmTypedDataWithEndUserAccount,
118
- S as signSolanaHashWithEndUserAccount,
117
+ l as sendUserOperationWithEndUserAccount,
118
+ mt as setAuthManager,
119
+ u as signEvmHashWithEndUserAccount,
120
+ y as signEvmMessageWithEndUserAccount,
121
+ S as signEvmTransactionWithEndUserAccount,
122
+ T as signEvmTypedDataWithEndUserAccount,
123
+ E as signSolanaHashWithEndUserAccount,
119
124
  A as verifyEmailAuthentication,
120
- v as verifySmsAuthentication
125
+ O as verifySmsAuthentication
121
126
  };
@@ -30,7 +30,11 @@ const e = {
30
30
  guest_region_forbidden: "guest_region_forbidden",
31
31
  guest_transaction_limit: "guest_transaction_limit",
32
32
  guest_transaction_count: "guest_transaction_count",
33
- phone_number_verification_expired: "phone_number_verification_expired"
33
+ phone_number_verification_expired: "phone_number_verification_expired",
34
+ document_verification_failed: "document_verification_failed",
35
+ recipient_allowlist_violation: "recipient_allowlist_violation",
36
+ recipient_allowlist_pending: "recipient_allowlist_pending",
37
+ travel_rules_recipient_violation: "travel_rules_recipient_violation"
34
38
  }, i = {
35
39
  email: "email"
36
40
  }, o = {
@@ -57,33 +61,42 @@ const e = {
57
61
  complete: "complete",
58
62
  dropped: "dropped",
59
63
  failed: "failed"
64
+ }, l = {
65
+ base: "base",
66
+ "base-sepolia": "base-sepolia",
67
+ ethereum: "ethereum",
68
+ "ethereum-sepolia": "ethereum-sepolia",
69
+ optimism: "optimism",
70
+ arbitrum: "arbitrum",
71
+ avalanche: "avalanche",
72
+ polygon: "polygon"
60
73
  }, d = {
61
74
  base: "base",
62
75
  ethereum: "ethereum",
63
76
  arbitrum: "arbitrum",
64
77
  optimism: "optimism"
65
- }, l = {
78
+ }, p = {
66
79
  base: "base",
67
80
  "base-sepolia": "base-sepolia",
68
81
  ethereum: "ethereum"
69
- }, p = {
70
- ethValue: "ethValue"
71
82
  }, m = {
83
+ ethValue: "ethValue"
84
+ }, v = {
72
85
  ">": ">",
73
86
  ">=": ">=",
74
87
  "<": "<",
75
88
  "<=": "<=",
76
89
  "==": "=="
77
- }, v = {
78
- evmAddress: "evmAddress"
79
90
  }, u = {
91
+ evmAddress: "evmAddress"
92
+ }, y = {
80
93
  in: "in",
81
94
  not_in: "not in"
82
- }, y = {
95
+ }, T = {
83
96
  erc20: "erc20",
84
97
  erc721: "erc721",
85
98
  erc1155: "erc1155"
86
- }, T = {
99
+ }, g = {
87
100
  pure: "pure",
88
101
  view: "view",
89
102
  nonpayable: "nonpayable",
@@ -96,33 +109,33 @@ const e = {
96
109
  event: "event",
97
110
  fallback: "fallback",
98
111
  receive: "receive"
99
- }, g = {
112
+ }, h = {
100
113
  ">": ">",
101
114
  ">=": ">=",
102
115
  "<": "<",
103
116
  "<=": "<=",
104
117
  "==": "=="
105
- }, h = {
118
+ }, b = {
106
119
  in: "in",
107
120
  not_in: "not in"
108
121
  }, A = {
109
122
  evmData: "evmData"
110
- }, b = {
111
- netUSDChange: "netUSDChange"
112
123
  }, O = {
124
+ netUSDChange: "netUSDChange"
125
+ }, f = {
113
126
  ">": ">",
114
127
  ">=": ">=",
115
128
  "<": "<",
116
129
  "<=": "<=",
117
130
  "==": "=="
118
- }, f = {
131
+ }, P = {
119
132
  reject: "reject",
120
133
  accept: "accept"
121
134
  }, R = {
122
135
  signEvmTransaction: "signEvmTransaction"
123
- }, P = {
124
- evmNetwork: "evmNetwork"
125
136
  }, x = {
137
+ evmNetwork: "evmNetwork"
138
+ }, D = {
126
139
  "base-sepolia": "base-sepolia",
127
140
  base: "base",
128
141
  ethereum: "ethereum",
@@ -136,109 +149,124 @@ const e = {
136
149
  }, N = {
137
150
  in: "in",
138
151
  not_in: "not in"
139
- }, U = {
152
+ }, C = {
140
153
  reject: "reject",
141
154
  accept: "accept"
142
- }, D = {
155
+ }, U = {
143
156
  sendEvmTransaction: "sendEvmTransaction"
144
- }, C = {
145
- evmMessage: "evmMessage"
146
157
  }, I = {
158
+ evmMessage: "evmMessage"
159
+ }, k = {
147
160
  reject: "reject",
148
161
  accept: "accept"
149
- }, k = {
162
+ }, w = {
150
163
  signEvmMessage: "signEvmMessage"
151
164
  }, M = {
152
165
  in: "in",
153
166
  not_in: "not in"
154
- }, w = {
167
+ }, z = {
155
168
  ">": ">",
156
169
  ">=": ">=",
157
170
  "<": "<",
158
171
  "<=": "<=",
159
172
  "==": "=="
160
- }, z = {
161
- evmTypedDataField: "evmTypedDataField"
162
173
  }, j = {
163
- evmTypedDataVerifyingContract: "evmTypedDataVerifyingContract"
174
+ evmTypedDataField: "evmTypedDataField"
164
175
  }, q = {
176
+ evmTypedDataVerifyingContract: "evmTypedDataVerifyingContract"
177
+ }, V = {
165
178
  in: "in",
166
179
  not_in: "not in"
167
- }, V = {
180
+ }, F = {
168
181
  reject: "reject",
169
182
  accept: "accept"
170
- }, F = {
171
- signEvmTypedData: "signEvmTypedData"
172
183
  }, L = {
173
- solAddress: "solAddress"
184
+ signEvmTypedData: "signEvmTypedData"
174
185
  }, Y = {
186
+ solAddress: "solAddress"
187
+ }, X = {
175
188
  in: "in",
176
189
  not_in: "not in"
177
- }, X = {
178
- solValue: "solValue"
179
190
  }, G = {
191
+ solValue: "solValue"
192
+ }, H = {
180
193
  ">": ">",
181
194
  ">=": ">=",
182
195
  "<": "<",
183
196
  "<=": "<=",
184
197
  "==": "=="
185
- }, H = {
198
+ }, K = {
186
199
  splAddress: "splAddress"
187
200
  }, B = {
188
201
  in: "in",
189
202
  not_in: "not in"
190
- }, K = {
191
- splValue: "splValue"
192
203
  }, W = {
204
+ splValue: "splValue"
205
+ }, J = {
193
206
  ">": ">",
194
207
  ">=": ">=",
195
208
  "<": "<",
196
209
  "<=": "<=",
197
210
  "==": "=="
198
- }, J = {
199
- mintAddress: "mintAddress"
200
211
  }, Q = {
212
+ mintAddress: "mintAddress"
213
+ }, Z = {
201
214
  in: "in",
202
215
  not_in: "not in"
203
- }, Z = {
204
- reject: "reject",
205
- accept: "accept"
206
216
  }, $ = {
207
- signSolTransaction: "signSolTransaction"
217
+ SystemProgram: "SystemProgram",
218
+ TokenProgram: "TokenProgram",
219
+ AssociatedTokenProgram: "AssociatedTokenProgram"
208
220
  }, ee = {
209
- reject: "reject",
210
- accept: "accept"
221
+ ">": ">",
222
+ ">=": ">=",
223
+ "<": "<",
224
+ "<=": "<=",
225
+ "==": "=="
211
226
  }, te = {
212
- sendSolTransaction: "sendSolTransaction"
227
+ in: "in",
228
+ not_in: "not in"
213
229
  }, ae = {
214
- solMessage: "solMessage"
230
+ solData: "solData"
215
231
  }, ne = {
216
232
  reject: "reject",
217
233
  accept: "accept"
218
234
  }, ie = {
219
- signSolMessage: "signSolMessage"
235
+ signSolTransaction: "signSolTransaction"
220
236
  }, oe = {
221
237
  reject: "reject",
222
238
  accept: "accept"
223
239
  }, re = {
224
- signEvmHash: "signEvmHash"
240
+ sendSolTransaction: "sendSolTransaction"
225
241
  }, se = {
242
+ solMessage: "solMessage"
243
+ }, _e = {
226
244
  reject: "reject",
227
245
  accept: "accept"
228
- }, _e = {
229
- prepareUserOperation: "prepareUserOperation"
230
246
  }, ce = {
247
+ signSolMessage: "signSolMessage"
248
+ }, le = {
231
249
  reject: "reject",
232
250
  accept: "accept"
233
251
  }, de = {
252
+ signEvmHash: "signEvmHash"
253
+ }, pe = {
254
+ reject: "reject",
255
+ accept: "accept"
256
+ }, me = {
257
+ prepareUserOperation: "prepareUserOperation"
258
+ }, ve = {
259
+ reject: "reject",
260
+ accept: "accept"
261
+ }, ue = {
234
262
  sendUserOperation: "sendUserOperation"
235
- }, le = {
263
+ }, ye = {
236
264
  project: "project",
237
265
  account: "account"
238
- }, pe = {
266
+ }, Te = {
239
267
  solana: "solana",
240
268
  "solana-devnet": "solana-devnet"
241
- }, me = {
269
+ }, ge = {
242
270
  String: "String",
243
271
  UInt8: "UInt8",
244
272
  UInt16: "UInt16",
@@ -259,19 +287,19 @@ const e = {
259
287
  DateTime: "DateTime",
260
288
  DateTime64: "DateTime64",
261
289
  UUID: "UUID"
262
- }, ve = {
290
+ }, Ee = {
263
291
  NUMBER_1: 1
264
- }, ue = {
292
+ }, Se = {
265
293
  exact: "exact"
266
- }, ye = {
294
+ }, he = {
267
295
  "base-sepolia": "base-sepolia",
268
296
  base: "base"
269
- }, Te = {
297
+ }, be = {
270
298
  exact: "exact"
271
- }, Ee = {
299
+ }, Ae = {
272
300
  "base-sepolia": "base-sepolia",
273
301
  base: "base"
274
- }, Se = {
302
+ }, Oe = {
275
303
  insufficient_funds: "insufficient_funds",
276
304
  invalid_scheme: "invalid_scheme",
277
305
  invalid_network: "invalid_network",
@@ -286,7 +314,7 @@ const e = {
286
314
  invalid_exact_evm_payload_authorization_to_address_kyt: "invalid_exact_evm_payload_authorization_to_address_kyt",
287
315
  invalid_exact_evm_payload_signature: "invalid_exact_evm_payload_signature",
288
316
  invalid_exact_evm_payload_signature_address: "invalid_exact_evm_payload_signature_address"
289
- }, ge = {
317
+ }, fe = {
290
318
  insufficient_funds: "insufficient_funds",
291
319
  invalid_scheme: "invalid_scheme",
292
320
  invalid_network: "invalid_network",
@@ -300,140 +328,151 @@ const e = {
300
328
  invalid_exact_evm_payload_authorization_from_address_kyt: "invalid_exact_evm_payload_authorization_from_address_kyt",
301
329
  invalid_exact_evm_payload_authorization_to_address_kyt: "invalid_exact_evm_payload_authorization_to_address_kyt",
302
330
  invalid_exact_evm_payload_signature_address: "invalid_exact_evm_payload_signature_address"
303
- }, he = {
331
+ }, Pe = {
304
332
  exact: "exact"
305
- }, Ae = {
333
+ }, Re = {
306
334
  "base-sepolia": "base-sepolia",
307
335
  base: "base"
308
- }, be = {
336
+ }, xe = {
309
337
  http: "http"
310
- }, Oe = {
338
+ }, De = {
311
339
  source: "source",
312
340
  target: "target"
313
- }, fe = {
341
+ }, Ne = {
314
342
  card: "card",
315
343
  fiat_account: "fiat_account"
316
- }, Re = {
344
+ }, Ce = {
317
345
  exchange_fee: "exchange_fee",
318
346
  network_fee: "network_fee"
319
- }, Pe = {
347
+ }, Ue = {
320
348
  payment_method: "payment_method"
321
- }, xe = {
349
+ }, Ie = {
322
350
  crypto_rail: "crypto_rail"
323
- }, Ne = {
351
+ }, ke = {
324
352
  created: "created",
325
353
  pending: "pending",
326
354
  started: "started",
327
355
  completed: "completed",
328
356
  failed: "failed"
329
- }, Ue = {
357
+ }, we = {
330
358
  GUEST_CHECKOUT_APPLE_PAY: "GUEST_CHECKOUT_APPLE_PAY"
331
- }, De = {
359
+ }, Me = {
332
360
  FEE_TYPE_NETWORK: "FEE_TYPE_NETWORK",
333
361
  FEE_TYPE_EXCHANGE: "FEE_TYPE_EXCHANGE"
334
- }, Ce = {
362
+ }, ze = {
335
363
  ONRAMP_ORDER_STATUS_PENDING_AUTH: "ONRAMP_ORDER_STATUS_PENDING_AUTH",
336
364
  ONRAMP_ORDER_STATUS_PENDING_PAYMENT: "ONRAMP_ORDER_STATUS_PENDING_PAYMENT",
337
365
  ONRAMP_ORDER_STATUS_PROCESSING: "ONRAMP_ORDER_STATUS_PROCESSING",
338
366
  ONRAMP_ORDER_STATUS_COMPLETED: "ONRAMP_ORDER_STATUS_COMPLETED",
339
367
  ONRAMP_ORDER_STATUS_FAILED: "ONRAMP_ORDER_STATUS_FAILED"
340
- }, Ie = {
368
+ }, je = {
341
369
  PAYMENT_LINK_TYPE_APPLE_PAY_BUTTON: "PAYMENT_LINK_TYPE_APPLE_PAY_BUTTON"
342
- }, ke = {
370
+ }, qe = {
343
371
  refresh_token: "refresh_token"
344
- }, Me = {
372
+ }, Ve = {
345
373
  base: "base",
346
- "base-sepolia": "base-sepolia"
374
+ "base-sepolia": "base-sepolia",
375
+ ethereum: "ethereum",
376
+ "ethereum-sepolia": "ethereum-sepolia",
377
+ avalanche: "avalanche",
378
+ polygon: "polygon",
379
+ optimism: "optimism",
380
+ arbitrum: "arbitrum"
347
381
  };
348
382
  export {
349
383
  E as AbiFunctionType,
350
384
  S as AbiInputType,
351
- T as AbiStateMutability,
385
+ g as AbiStateMutability,
352
386
  a as DeveloperJWTAuthenticationType,
353
387
  e as EmailAuthenticationType,
354
388
  n as ErrorType,
355
- m as EthValueCriterionOperator,
356
- p as EthValueCriterionType,
357
- u as EvmAddressCriterionOperator,
358
- v as EvmAddressCriterionType,
389
+ v as EthValueCriterionOperator,
390
+ m as EthValueCriterionType,
391
+ y as EvmAddressCriterionOperator,
392
+ u as EvmAddressCriterionType,
359
393
  A as EvmDataCriterionType,
360
- h as EvmDataParameterConditionListOperator,
361
- g as EvmDataParameterConditionOperator,
362
- C as EvmMessageCriterionType,
363
- x as EvmNetworkCriterionNetworksItem,
394
+ b as EvmDataParameterConditionListOperator,
395
+ h as EvmDataParameterConditionOperator,
396
+ I as EvmMessageCriterionType,
397
+ D as EvmNetworkCriterionNetworksItem,
364
398
  N as EvmNetworkCriterionOperator,
365
- P as EvmNetworkCriterionType,
399
+ x as EvmNetworkCriterionType,
366
400
  d as EvmSwapsNetwork,
367
401
  M as EvmTypedAddressConditionOperator,
368
- w as EvmTypedNumericalConditionOperator,
402
+ z as EvmTypedNumericalConditionOperator,
369
403
  _ as EvmUserOperationNetwork,
370
404
  c as EvmUserOperationStatus,
371
- Re as FeeType,
405
+ Ce as FeeType,
372
406
  r as InitiateEmailAuthenticationNextStepType,
373
407
  i as InitiateEmailAuthenticationRequestType,
374
408
  s as InitiateSmsAuthenticationNextStepType,
375
409
  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,
410
+ T as KnownAbiType,
411
+ $ as KnownIdlType,
412
+ p as ListEvmTokenBalancesNetwork,
413
+ Te as ListSolanaTokenBalancesNetwork,
414
+ Z as MintAddressCriterionOperator,
415
+ Q as MintAddressCriterionType,
416
+ f as NetUSDChangeCriterionOperator,
417
+ O as NetUSDChangeCriterionType,
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,
429
+ C as SendEvmTransactionRuleAction,
430
+ U as SendEvmTransactionRuleOperation,
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,
438
+ k as SignEvmMessageRuleAction,
439
+ w as SignEvmMessageRuleOperation,
440
+ P as SignEvmTransactionRuleAction,
406
441
  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,
442
+ j as SignEvmTypedDataFieldCriterionType,
443
+ F as SignEvmTypedDataRuleAction,
444
+ L as SignEvmTypedDataRuleOperation,
445
+ V as SignEvmTypedDataVerifyingContractCriterionOperator,
446
+ q as SignEvmTypedDataVerifyingContractCriterionType,
447
+ _e as SignSolMessageRuleAction,
448
+ ce as SignSolMessageRuleOperation,
449
+ ne as SignSolTransactionRuleAction,
450
+ ie as SignSolTransactionRuleOperation,
416
451
  t as SmsAuthenticationType,
417
- Y as SolAddressCriterionOperator,
418
- L as SolAddressCriterionType,
419
- ae as SolMessageCriterionType,
420
- G as SolValueCriterionOperator,
421
- X as SolValueCriterionType,
452
+ X as SolAddressCriterionOperator,
453
+ Y as SolAddressCriterionType,
454
+ ae as SolDataCriterionType,
455
+ te as SolDataParameterConditionListOperator,
456
+ ee as SolDataParameterConditionOperator,
457
+ se as SolMessageCriterionType,
458
+ H as SolValueCriterionOperator,
459
+ G as SolValueCriterionType,
460
+ l as SpendPermissionNetwork,
422
461
  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
462
+ K as SplAddressCriterionType,
463
+ J as SplValueCriterionOperator,
464
+ W as SplValueCriterionType,
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,
472
+ be as X402PaymentRequirementsScheme,
473
+ fe as X402SettleErrorReason,
474
+ Re as X402SupportedPaymentKindNetwork,
475
+ Pe as X402SupportedPaymentKindScheme,
476
+ Oe as X402VerifyInvalidReason,
477
+ Ee as X402Version
439
478
  };
@@ -154,12 +154,13 @@ export declare const createEndUserEvmSmartAccount: (projectId: string, userId: s
154
154
 
155
155
  export declare type CreateEndUserEvmSmartAccountBody = {
156
156
  owner: string;
157
+ enableSpendPermissions: boolean;
157
158
  };
158
159
 
159
160
  export declare type CreateEndUserEvmSmartAccountResult = NonNullable<Awaited<ReturnType<typeof createEndUserEvmSmartAccount>>>;
160
161
 
161
162
  export declare interface CreateSpendPermissionRequest {
162
- network: string;
163
+ network: SpendPermissionNetwork;
163
164
  spender: string;
164
165
  token: string;
165
166
  allowance: string;
@@ -303,6 +304,10 @@ export declare const ErrorType: {
303
304
  readonly guest_transaction_limit: "guest_transaction_limit";
304
305
  readonly guest_transaction_count: "guest_transaction_count";
305
306
  readonly phone_number_verification_expired: "phone_number_verification_expired";
307
+ readonly document_verification_failed: "document_verification_failed";
308
+ readonly recipient_allowlist_violation: "recipient_allowlist_violation";
309
+ readonly recipient_allowlist_pending: "recipient_allowlist_pending";
310
+ readonly travel_rules_recipient_violation: "travel_rules_recipient_violation";
306
311
  };
307
312
 
308
313
  export declare interface EthValueCriterion {
@@ -608,6 +613,22 @@ export declare type IdempotencyErrorResponse = Error_2;
608
613
 
609
614
  export declare type IdempotencyKeyParameter = string;
610
615
 
616
+ export declare interface Idl {
617
+ address: string;
618
+ instructions: IdlInstructionsItem[];
619
+ }
620
+
621
+ export declare type IdlInstructionsItem = {
622
+ name: string;
623
+ discriminator: number[];
624
+ args: IdlInstructionsItemArgsItem[];
625
+ };
626
+
627
+ export declare type IdlInstructionsItemArgsItem = {
628
+ name: string;
629
+ type: string;
630
+ };
631
+
611
632
  export declare const initiateAuthentication: (projectId: string, initiateAuthenticationRequest: InitiateAuthenticationRequest, options?: SecondParameter<typeof cdpApiClient>) => Promise<InitiateAuthenticationResponseWrapper>;
612
633
 
613
634
  export declare type InitiateAuthenticationRequest = InitiateEmailAuthenticationRequest | InitiateSmsAuthenticationRequest;
@@ -686,6 +707,14 @@ export declare const KnownAbiType: {
686
707
  readonly erc1155: "erc1155";
687
708
  };
688
709
 
710
+ export declare type KnownIdlType = (typeof KnownIdlType)[keyof typeof KnownIdlType];
711
+
712
+ export declare const KnownIdlType: {
713
+ readonly SystemProgram: "SystemProgram";
714
+ readonly TokenProgram: "TokenProgram";
715
+ readonly AssociatedTokenProgram: "AssociatedTokenProgram";
716
+ };
717
+
689
718
  export declare type ListEvmTokenBalancesNetwork = (typeof ListEvmTokenBalancesNetwork)[keyof typeof ListEvmTokenBalancesNetwork];
690
719
 
691
720
  export declare const ListEvmTokenBalancesNetwork: {
@@ -1001,7 +1030,7 @@ export declare type RegisterTemporaryWalletSecretBody = {
1001
1030
  export declare type RegisterTemporaryWalletSecretResult = NonNullable<Awaited<ReturnType<typeof registerTemporaryWalletSecret>>>;
1002
1031
 
1003
1032
  export declare interface RevokeSpendPermissionRequest {
1004
- network: string;
1033
+ network: SpendPermissionNetwork;
1005
1034
  permissionHash: string;
1006
1035
  paymasterUrl?: string;
1007
1036
  }
@@ -1053,13 +1082,19 @@ export declare type SendEvmTransactionWithEndUserAccountBodyNetwork = (typeof Se
1053
1082
  export declare const SendEvmTransactionWithEndUserAccountBodyNetwork: {
1054
1083
  readonly base: "base";
1055
1084
  readonly "base-sepolia": "base-sepolia";
1085
+ readonly ethereum: "ethereum";
1086
+ readonly "ethereum-sepolia": "ethereum-sepolia";
1087
+ readonly avalanche: "avalanche";
1088
+ readonly polygon: "polygon";
1089
+ readonly optimism: "optimism";
1090
+ readonly arbitrum: "arbitrum";
1056
1091
  };
1057
1092
 
1058
1093
  export declare type SendEvmTransactionWithEndUserAccountResult = NonNullable<Awaited<ReturnType<typeof sendEvmTransactionWithEndUserAccount>>>;
1059
1094
 
1060
1095
  export declare type SendSolTransactionCriteria = SendSolTransactionCriteriaItem[];
1061
1096
 
1062
- export declare type SendSolTransactionCriteriaItem = SolAddressCriterion | SolValueCriterion | SplAddressCriterion | SplValueCriterion | MintAddressCriterion;
1097
+ export declare type SendSolTransactionCriteriaItem = SolAddressCriterion | SolValueCriterion | SplAddressCriterion | SplValueCriterion | MintAddressCriterion | SolDataCriterion;
1063
1098
 
1064
1099
  export declare interface SendSolTransactionRule {
1065
1100
  action: SendSolTransactionRuleAction;
@@ -1108,6 +1143,7 @@ export declare const sendUserOperationWithEndUserAccount: (projectId: string, us
1108
1143
  export declare type SendUserOperationWithEndUserAccountBody = {
1109
1144
  network: EvmUserOperationNetwork;
1110
1145
  calls: EvmCall[];
1146
+ useCdpPaymaster: boolean;
1111
1147
  paymasterUrl?: string;
1112
1148
  walletSecretId: string;
1113
1149
  };
@@ -1345,7 +1381,7 @@ export declare const SignSolMessageRuleOperation: {
1345
1381
 
1346
1382
  export declare type SignSolTransactionCriteria = SignSolTransactionCriteriaItem[];
1347
1383
 
1348
- export declare type SignSolTransactionCriteriaItem = SolAddressCriterion | SolValueCriterion | SplAddressCriterion | SplValueCriterion | MintAddressCriterion;
1384
+ export declare type SignSolTransactionCriteriaItem = SolAddressCriterion | SolValueCriterion | SplAddressCriterion | SplValueCriterion | MintAddressCriterion | SolDataCriterion;
1349
1385
 
1350
1386
  export declare interface SignSolTransactionRule {
1351
1387
  action: SignSolTransactionRuleAction;
@@ -1422,6 +1458,56 @@ export declare interface SolanaTokenBalance {
1422
1458
  token: SolanaToken;
1423
1459
  }
1424
1460
 
1461
+ export declare interface SolDataCondition {
1462
+ instruction: string;
1463
+ params?: SolDataConditionParamsItem[];
1464
+ }
1465
+
1466
+ export declare type SolDataConditionParamsItem = SolDataParameterCondition | SolDataParameterConditionList;
1467
+
1468
+ export declare interface SolDataCriterion {
1469
+ type: SolDataCriterionType;
1470
+ idls: SolDataCriterionIdlsItem[];
1471
+ conditions: SolDataCondition[];
1472
+ }
1473
+
1474
+ export declare type SolDataCriterionIdlsItem = KnownIdlType | Idl;
1475
+
1476
+ export declare type SolDataCriterionType = (typeof SolDataCriterionType)[keyof typeof SolDataCriterionType];
1477
+
1478
+ export declare const SolDataCriterionType: {
1479
+ readonly solData: "solData";
1480
+ };
1481
+
1482
+ export declare interface SolDataParameterCondition {
1483
+ name: string;
1484
+ operator: SolDataParameterConditionOperator;
1485
+ value: string;
1486
+ }
1487
+
1488
+ export declare interface SolDataParameterConditionList {
1489
+ name: string;
1490
+ operator: SolDataParameterConditionListOperator;
1491
+ values: string[];
1492
+ }
1493
+
1494
+ export declare type SolDataParameterConditionListOperator = (typeof SolDataParameterConditionListOperator)[keyof typeof SolDataParameterConditionListOperator];
1495
+
1496
+ export declare const SolDataParameterConditionListOperator: {
1497
+ readonly in: "in";
1498
+ readonly not_in: "not in";
1499
+ };
1500
+
1501
+ export declare type SolDataParameterConditionOperator = (typeof SolDataParameterConditionOperator)[keyof typeof SolDataParameterConditionOperator];
1502
+
1503
+ export declare const SolDataParameterConditionOperator: {
1504
+ readonly ">": ">";
1505
+ readonly ">=": ">=";
1506
+ readonly "<": "<";
1507
+ readonly "<=": "<=";
1508
+ readonly "==": "==";
1509
+ };
1510
+
1425
1511
  export declare interface SolMessageCriterion {
1426
1512
  type: SolMessageCriterionType;
1427
1513
  match: string;
@@ -1467,12 +1553,26 @@ export declare interface SpendPermission {
1467
1553
  extraData: string;
1468
1554
  }
1469
1555
 
1556
+ export declare type SpendPermissionNetwork = (typeof SpendPermissionNetwork)[keyof typeof SpendPermissionNetwork];
1557
+
1558
+ export declare const SpendPermissionNetwork: {
1559
+ readonly base: "base";
1560
+ readonly "base-sepolia": "base-sepolia";
1561
+ readonly ethereum: "ethereum";
1562
+ readonly "ethereum-sepolia": "ethereum-sepolia";
1563
+ readonly optimism: "optimism";
1564
+ readonly arbitrum: "arbitrum";
1565
+ readonly avalanche: "avalanche";
1566
+ readonly polygon: "polygon";
1567
+ };
1568
+
1470
1569
  export declare interface SpendPermissionResponseObject {
1471
1570
  permission: SpendPermission;
1472
1571
  permissionHash: string;
1473
1572
  revoked: boolean;
1474
1573
  revokedAt?: string;
1475
1574
  createdAt: string;
1575
+ network: SpendPermissionNetwork;
1476
1576
  }
1477
1577
 
1478
1578
  export declare interface SplAddressCriterion {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coinbase/cdp-api-client",
3
- "version": "0.0.19",
3
+ "version": "0.0.21",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist/**",