@coinbase/cdp-api-client 0.0.19 → 0.0.20

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,121 +1,127 @@
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 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";
5
5
  export {
6
- st as APIError,
7
- g as AbiFunctionType,
8
- h as AbiInputType,
9
- C as AbiStateMutability,
6
+ ut 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,
18
- M as EvmDataParameterConditionListOperator,
19
- I as EvmDataParameterConditionOperator,
12
+ P as ErrorType,
13
+ k as EthValueCriterionOperator,
14
+ w as EthValueCriterionType,
15
+ D as EvmAddressCriterionOperator,
16
+ N as EvmAddressCriterionType,
17
+ f as EvmDataCriterionType,
18
+ I as EvmDataParameterConditionListOperator,
19
+ M as EvmDataParameterConditionOperator,
20
20
  W as EvmMessageCriterionType,
21
21
  V as EvmNetworkCriterionNetworksItem,
22
22
  X as EvmNetworkCriterionOperator,
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
+ yt 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
- Ne as SignEvmTypedDataVerifyingContractCriterionOperator,
70
- we as SignEvmTypedDataVerifyingContractCriterionType,
69
+ we as SignEvmTypedDataRuleOperation,
70
+ De as SignEvmTypedDataVerifyingContractCriterionOperator,
71
+ Ne as SignEvmTypedDataVerifyingContractCriterionType,
71
72
  fe as SignSolMessageRuleAction,
72
- De as SignSolMessageRuleOperation,
73
+ Ie as SignSolMessageRuleOperation,
73
74
  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,
75
+ We as SignSolTransactionRuleOperation,
76
+ Ve as SmsAuthenticationType,
77
+ Xe as SolAddressCriterionOperator,
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,
101
107
  r as createEndUserEvmAccount,
102
108
  n as createEndUserEvmSmartAccount,
103
109
  i as exportEndUserEvmAccount,
104
110
  o as getAuthenticatedEndUser,
105
111
  a as getUserOperationWithEndUserAccount,
106
112
  s as initiateAuthentication,
107
- dt as isOpenAPIError,
113
+ Et as isOpenAPIError,
108
114
  p as logOutEndUser,
109
115
  c as refreshAccessToken,
110
116
  m as registerTemporaryWalletSecret,
111
117
  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,
118
+ l as sendUserOperationWithEndUserAccount,
119
+ dt as setAuthManager,
120
+ u as signEvmHashWithEndUserAccount,
121
+ y as signEvmMessageWithEndUserAccount,
122
+ S as signEvmTransactionWithEndUserAccount,
123
+ T as signEvmTypedDataWithEndUserAccount,
124
+ E as signSolanaHashWithEndUserAccount,
119
125
  A as verifyEmailAuthentication,
120
- v as verifySmsAuthentication
126
+ O as verifySmsAuthentication
121
127
  };
@@ -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
+ }, A = {
106
119
  in: "in",
107
120
  not_in: "not in"
108
- }, A = {
109
- evmData: "evmData"
110
121
  }, b = {
111
- netUSDChange: "netUSDChange"
122
+ evmData: "evmData"
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,126 @@ 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 = {
216
+ }, $ = {
217
+ SystemProgram: "SystemProgram",
218
+ TokenProgram: "TokenProgram",
219
+ AssociatedTokenProgram: "AssociatedTokenProgram"
220
+ }, ee = {
221
+ ">": ">",
222
+ ">=": ">=",
223
+ "<": "<",
224
+ "<=": "<=",
225
+ "==": "=="
226
+ }, te = {
227
+ in: "in",
228
+ not_in: "not in"
229
+ }, ae = {
230
+ createAccount: "createAccount"
231
+ }, ne = {
232
+ solData: "solData"
233
+ }, ie = {
204
234
  reject: "reject",
205
235
  accept: "accept"
206
- }, $ = {
236
+ }, oe = {
207
237
  signSolTransaction: "signSolTransaction"
208
- }, ee = {
238
+ }, re = {
209
239
  reject: "reject",
210
240
  accept: "accept"
211
- }, te = {
241
+ }, se = {
212
242
  sendSolTransaction: "sendSolTransaction"
213
- }, ae = {
243
+ }, _e = {
214
244
  solMessage: "solMessage"
215
- }, ne = {
245
+ }, ce = {
216
246
  reject: "reject",
217
247
  accept: "accept"
218
- }, ie = {
248
+ }, le = {
219
249
  signSolMessage: "signSolMessage"
220
- }, oe = {
250
+ }, de = {
221
251
  reject: "reject",
222
252
  accept: "accept"
223
- }, re = {
253
+ }, pe = {
224
254
  signEvmHash: "signEvmHash"
225
- }, se = {
255
+ }, me = {
226
256
  reject: "reject",
227
257
  accept: "accept"
228
- }, _e = {
258
+ }, ve = {
229
259
  prepareUserOperation: "prepareUserOperation"
230
- }, ce = {
260
+ }, ue = {
231
261
  reject: "reject",
232
262
  accept: "accept"
233
- }, de = {
263
+ }, ye = {
234
264
  sendUserOperation: "sendUserOperation"
235
- }, le = {
265
+ }, Te = {
236
266
  project: "project",
237
267
  account: "account"
238
- }, pe = {
268
+ }, ge = {
239
269
  solana: "solana",
240
270
  "solana-devnet": "solana-devnet"
241
- }, me = {
271
+ }, Ee = {
242
272
  String: "String",
243
273
  UInt8: "UInt8",
244
274
  UInt16: "UInt16",
@@ -259,19 +289,19 @@ const e = {
259
289
  DateTime: "DateTime",
260
290
  DateTime64: "DateTime64",
261
291
  UUID: "UUID"
262
- }, ve = {
292
+ }, Se = {
263
293
  NUMBER_1: 1
264
- }, ue = {
294
+ }, he = {
265
295
  exact: "exact"
266
- }, ye = {
296
+ }, Ae = {
267
297
  "base-sepolia": "base-sepolia",
268
298
  base: "base"
269
- }, Te = {
299
+ }, be = {
270
300
  exact: "exact"
271
- }, Ee = {
301
+ }, Oe = {
272
302
  "base-sepolia": "base-sepolia",
273
303
  base: "base"
274
- }, Se = {
304
+ }, fe = {
275
305
  insufficient_funds: "insufficient_funds",
276
306
  invalid_scheme: "invalid_scheme",
277
307
  invalid_network: "invalid_network",
@@ -286,7 +316,7 @@ const e = {
286
316
  invalid_exact_evm_payload_authorization_to_address_kyt: "invalid_exact_evm_payload_authorization_to_address_kyt",
287
317
  invalid_exact_evm_payload_signature: "invalid_exact_evm_payload_signature",
288
318
  invalid_exact_evm_payload_signature_address: "invalid_exact_evm_payload_signature_address"
289
- }, ge = {
319
+ }, Pe = {
290
320
  insufficient_funds: "insufficient_funds",
291
321
  invalid_scheme: "invalid_scheme",
292
322
  invalid_network: "invalid_network",
@@ -300,140 +330,152 @@ const e = {
300
330
  invalid_exact_evm_payload_authorization_from_address_kyt: "invalid_exact_evm_payload_authorization_from_address_kyt",
301
331
  invalid_exact_evm_payload_authorization_to_address_kyt: "invalid_exact_evm_payload_authorization_to_address_kyt",
302
332
  invalid_exact_evm_payload_signature_address: "invalid_exact_evm_payload_signature_address"
303
- }, he = {
333
+ }, Re = {
304
334
  exact: "exact"
305
- }, Ae = {
335
+ }, xe = {
306
336
  "base-sepolia": "base-sepolia",
307
337
  base: "base"
308
- }, be = {
338
+ }, De = {
309
339
  http: "http"
310
- }, Oe = {
340
+ }, Ne = {
311
341
  source: "source",
312
342
  target: "target"
313
- }, fe = {
343
+ }, Ce = {
314
344
  card: "card",
315
345
  fiat_account: "fiat_account"
316
- }, Re = {
346
+ }, Ue = {
317
347
  exchange_fee: "exchange_fee",
318
348
  network_fee: "network_fee"
319
- }, Pe = {
349
+ }, Ie = {
320
350
  payment_method: "payment_method"
321
- }, xe = {
351
+ }, ke = {
322
352
  crypto_rail: "crypto_rail"
323
- }, Ne = {
353
+ }, we = {
324
354
  created: "created",
325
355
  pending: "pending",
326
356
  started: "started",
327
357
  completed: "completed",
328
358
  failed: "failed"
329
- }, Ue = {
359
+ }, Me = {
330
360
  GUEST_CHECKOUT_APPLE_PAY: "GUEST_CHECKOUT_APPLE_PAY"
331
- }, De = {
361
+ }, ze = {
332
362
  FEE_TYPE_NETWORK: "FEE_TYPE_NETWORK",
333
363
  FEE_TYPE_EXCHANGE: "FEE_TYPE_EXCHANGE"
334
- }, Ce = {
364
+ }, je = {
335
365
  ONRAMP_ORDER_STATUS_PENDING_AUTH: "ONRAMP_ORDER_STATUS_PENDING_AUTH",
336
366
  ONRAMP_ORDER_STATUS_PENDING_PAYMENT: "ONRAMP_ORDER_STATUS_PENDING_PAYMENT",
337
367
  ONRAMP_ORDER_STATUS_PROCESSING: "ONRAMP_ORDER_STATUS_PROCESSING",
338
368
  ONRAMP_ORDER_STATUS_COMPLETED: "ONRAMP_ORDER_STATUS_COMPLETED",
339
369
  ONRAMP_ORDER_STATUS_FAILED: "ONRAMP_ORDER_STATUS_FAILED"
340
- }, Ie = {
370
+ }, qe = {
341
371
  PAYMENT_LINK_TYPE_APPLE_PAY_BUTTON: "PAYMENT_LINK_TYPE_APPLE_PAY_BUTTON"
342
- }, ke = {
372
+ }, Ve = {
343
373
  refresh_token: "refresh_token"
344
- }, Me = {
374
+ }, Fe = {
345
375
  base: "base",
346
- "base-sepolia": "base-sepolia"
376
+ "base-sepolia": "base-sepolia",
377
+ ethereum: "ethereum",
378
+ "ethereum-sepolia": "ethereum-sepolia",
379
+ avalanche: "avalanche",
380
+ polygon: "polygon",
381
+ optimism: "optimism",
382
+ arbitrum: "arbitrum"
347
383
  };
348
384
  export {
349
385
  E as AbiFunctionType,
350
386
  S as AbiInputType,
351
- T as AbiStateMutability,
387
+ g as AbiStateMutability,
352
388
  a as DeveloperJWTAuthenticationType,
353
389
  e as EmailAuthenticationType,
354
390
  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,
391
+ v as EthValueCriterionOperator,
392
+ m as EthValueCriterionType,
393
+ y as EvmAddressCriterionOperator,
394
+ u as EvmAddressCriterionType,
395
+ b as EvmDataCriterionType,
396
+ A as EvmDataParameterConditionListOperator,
397
+ h as EvmDataParameterConditionOperator,
398
+ I as EvmMessageCriterionType,
399
+ D as EvmNetworkCriterionNetworksItem,
364
400
  N as EvmNetworkCriterionOperator,
365
- P as EvmNetworkCriterionType,
401
+ x as EvmNetworkCriterionType,
366
402
  d as EvmSwapsNetwork,
367
403
  M as EvmTypedAddressConditionOperator,
368
- w as EvmTypedNumericalConditionOperator,
404
+ z as EvmTypedNumericalConditionOperator,
369
405
  _ as EvmUserOperationNetwork,
370
406
  c as EvmUserOperationStatus,
371
- Re as FeeType,
407
+ Ue as FeeType,
372
408
  r as InitiateEmailAuthenticationNextStepType,
373
409
  i as InitiateEmailAuthenticationRequestType,
374
410
  s as InitiateSmsAuthenticationNextStepType,
375
411
  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,
412
+ T as KnownAbiType,
413
+ $ as KnownIdlType,
414
+ p as ListEvmTokenBalancesNetwork,
415
+ ge as ListSolanaTokenBalancesNetwork,
416
+ Z as MintAddressCriterionOperator,
417
+ Q as MintAddressCriterionType,
418
+ f as NetUSDChangeCriterionOperator,
419
+ 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,
431
+ C as SendEvmTransactionRuleAction,
432
+ 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,
440
+ k as SignEvmMessageRuleAction,
441
+ w as SignEvmMessageRuleOperation,
442
+ P as SignEvmTransactionRuleAction,
406
443
  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,
444
+ j as SignEvmTypedDataFieldCriterionType,
445
+ F as SignEvmTypedDataRuleAction,
446
+ L as SignEvmTypedDataRuleOperation,
447
+ V as SignEvmTypedDataVerifyingContractCriterionOperator,
448
+ q as SignEvmTypedDataVerifyingContractCriterionType,
449
+ ce as SignSolMessageRuleAction,
450
+ le as SignSolMessageRuleOperation,
451
+ ie as SignSolTransactionRuleAction,
452
+ oe as SignSolTransactionRuleOperation,
416
453
  t as SmsAuthenticationType,
417
- Y as SolAddressCriterionOperator,
418
- L as SolAddressCriterionType,
419
- ae as SolMessageCriterionType,
420
- G as SolValueCriterionOperator,
421
- X as SolValueCriterionType,
454
+ X as SolAddressCriterionOperator,
455
+ Y as SolAddressCriterionType,
456
+ ae as SolDataConditionInstruction,
457
+ ne as SolDataCriterionType,
458
+ te as SolDataParameterConditionListOperator,
459
+ ee as SolDataParameterConditionOperator,
460
+ _e as SolMessageCriterionType,
461
+ H as SolValueCriterionOperator,
462
+ G as SolValueCriterionType,
463
+ l as SpendPermissionNetwork,
422
464
  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
465
+ K as SplAddressCriterionType,
466
+ J as SplValueCriterionOperator,
467
+ 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,
475
+ be as X402PaymentRequirementsScheme,
476
+ Pe as X402SettleErrorReason,
477
+ xe as X402SupportedPaymentKindNetwork,
478
+ Re as X402SupportedPaymentKindScheme,
479
+ fe as X402VerifyInvalidReason,
480
+ Se as X402Version
439
481
  };
@@ -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;
@@ -1345,7 +1380,7 @@ export declare const SignSolMessageRuleOperation: {
1345
1380
 
1346
1381
  export declare type SignSolTransactionCriteria = SignSolTransactionCriteriaItem[];
1347
1382
 
1348
- export declare type SignSolTransactionCriteriaItem = SolAddressCriterion | SolValueCriterion | SplAddressCriterion | SplValueCriterion | MintAddressCriterion;
1383
+ export declare type SignSolTransactionCriteriaItem = SolAddressCriterion | SolValueCriterion | SplAddressCriterion | SplValueCriterion | MintAddressCriterion | SolDataCriterion;
1349
1384
 
1350
1385
  export declare interface SignSolTransactionRule {
1351
1386
  action: SignSolTransactionRuleAction;
@@ -1422,6 +1457,62 @@ export declare interface SolanaTokenBalance {
1422
1457
  token: SolanaToken;
1423
1458
  }
1424
1459
 
1460
+ export declare interface SolDataCondition {
1461
+ instruction: SolDataConditionInstruction;
1462
+ params?: SolDataConditionParamsItem[];
1463
+ }
1464
+
1465
+ export declare type SolDataConditionInstruction = (typeof SolDataConditionInstruction)[keyof typeof SolDataConditionInstruction];
1466
+
1467
+ export declare const SolDataConditionInstruction: {
1468
+ readonly createAccount: "createAccount";
1469
+ };
1470
+
1471
+ export declare type SolDataConditionParamsItem = SolDataParameterCondition | SolDataParameterConditionList;
1472
+
1473
+ export declare interface SolDataCriterion {
1474
+ type: SolDataCriterionType;
1475
+ idls: SolDataCriterionIdlsItem[];
1476
+ conditions: SolDataCondition[];
1477
+ }
1478
+
1479
+ export declare type SolDataCriterionIdlsItem = KnownIdlType | Idl;
1480
+
1481
+ export declare type SolDataCriterionType = (typeof SolDataCriterionType)[keyof typeof SolDataCriterionType];
1482
+
1483
+ export declare const SolDataCriterionType: {
1484
+ readonly solData: "solData";
1485
+ };
1486
+
1487
+ export declare interface SolDataParameterCondition {
1488
+ name: string;
1489
+ operator: SolDataParameterConditionOperator;
1490
+ value: string;
1491
+ }
1492
+
1493
+ export declare interface SolDataParameterConditionList {
1494
+ name: string;
1495
+ operator: SolDataParameterConditionListOperator;
1496
+ values: string[];
1497
+ }
1498
+
1499
+ export declare type SolDataParameterConditionListOperator = (typeof SolDataParameterConditionListOperator)[keyof typeof SolDataParameterConditionListOperator];
1500
+
1501
+ export declare const SolDataParameterConditionListOperator: {
1502
+ readonly in: "in";
1503
+ readonly not_in: "not in";
1504
+ };
1505
+
1506
+ export declare type SolDataParameterConditionOperator = (typeof SolDataParameterConditionOperator)[keyof typeof SolDataParameterConditionOperator];
1507
+
1508
+ export declare const SolDataParameterConditionOperator: {
1509
+ readonly ">": ">";
1510
+ readonly ">=": ">=";
1511
+ readonly "<": "<";
1512
+ readonly "<=": "<=";
1513
+ readonly "==": "==";
1514
+ };
1515
+
1425
1516
  export declare interface SolMessageCriterion {
1426
1517
  type: SolMessageCriterionType;
1427
1518
  match: string;
@@ -1467,12 +1558,26 @@ export declare interface SpendPermission {
1467
1558
  extraData: string;
1468
1559
  }
1469
1560
 
1561
+ export declare type SpendPermissionNetwork = (typeof SpendPermissionNetwork)[keyof typeof SpendPermissionNetwork];
1562
+
1563
+ export declare const SpendPermissionNetwork: {
1564
+ readonly base: "base";
1565
+ readonly "base-sepolia": "base-sepolia";
1566
+ readonly ethereum: "ethereum";
1567
+ readonly "ethereum-sepolia": "ethereum-sepolia";
1568
+ readonly optimism: "optimism";
1569
+ readonly arbitrum: "arbitrum";
1570
+ readonly avalanche: "avalanche";
1571
+ readonly polygon: "polygon";
1572
+ };
1573
+
1470
1574
  export declare interface SpendPermissionResponseObject {
1471
1575
  permission: SpendPermission;
1472
1576
  permissionHash: string;
1473
1577
  revoked: boolean;
1474
1578
  revokedAt?: string;
1475
1579
  createdAt: string;
1580
+ network: SpendPermissionNetwork;
1476
1581
  }
1477
1582
 
1478
1583
  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.20",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist/**",