@coinbase/cdp-api-client 0.0.100 → 0.0.102
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 +50 -49
- package/dist/esm/index10.js +1 -1
- package/dist/esm/index12.js +7 -38
- package/dist/esm/index14.js +366 -67
- package/dist/esm/index15.js +826 -34
- package/dist/esm/index16.js +38 -14
- package/dist/esm/index17.js +2 -8
- package/dist/esm/index18.js +70 -2
- package/dist/esm/index19.js +30 -364
- package/dist/esm/index20.js +14 -826
- package/dist/esm/index21.js +2 -2
- package/dist/esm/index22.js +2 -2
- package/dist/esm/index23.js +2 -2
- package/dist/esm/index3.js +1 -1
- package/dist/esm/index4.js +1 -1
- package/dist/esm/index5.js +37 -25
- package/dist/esm/index6.js +205 -176
- package/dist/esm/index7.js +1 -1
- package/dist/types/index.d.ts +326 -43
- package/package.json +1 -1
package/dist/esm/index21.js
CHANGED
package/dist/esm/index22.js
CHANGED
package/dist/esm/index23.js
CHANGED
package/dist/esm/index3.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { __require as r } from "./
|
|
1
|
+
import { __require as r } from "./index12.js";
|
|
2
2
|
r();
|
package/dist/esm/index4.js
CHANGED
package/dist/esm/index5.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
const e = {
|
|
2
2
|
already_exists: "already_exists",
|
|
3
|
+
authorization_expired: "authorization_expired",
|
|
3
4
|
bad_gateway: "bad_gateway",
|
|
5
|
+
capture_expired: "capture_expired",
|
|
4
6
|
client_closed_request: "client_closed_request",
|
|
5
7
|
faucet_limit_exceeded: "faucet_limit_exceeded",
|
|
6
8
|
forbidden: "forbidden",
|
|
@@ -31,6 +33,7 @@ const e = {
|
|
|
31
33
|
document_verification_failed: "document_verification_failed",
|
|
32
34
|
recipient_allowlist_violation: "recipient_allowlist_violation",
|
|
33
35
|
recipient_allowlist_pending: "recipient_allowlist_pending",
|
|
36
|
+
refund_expired: "refund_expired",
|
|
34
37
|
travel_rules_recipient_violation: "travel_rules_recipient_violation",
|
|
35
38
|
source_account_invalid: "source_account_invalid",
|
|
36
39
|
target_account_invalid: "target_account_invalid",
|
|
@@ -74,11 +77,11 @@ const e = {
|
|
|
74
77
|
github: "github"
|
|
75
78
|
}, n = {
|
|
76
79
|
siwe: "siwe"
|
|
77
|
-
},
|
|
80
|
+
}, r = {
|
|
78
81
|
"verify-otp": "verify-otp"
|
|
79
82
|
}, s = {
|
|
80
83
|
"verify-otp": "verify-otp"
|
|
81
|
-
},
|
|
84
|
+
}, _ = {
|
|
82
85
|
email: "email"
|
|
83
86
|
}, l = {
|
|
84
87
|
sms: "sms"
|
|
@@ -86,7 +89,7 @@ const e = {
|
|
|
86
89
|
jwt: "jwt"
|
|
87
90
|
}, m = {
|
|
88
91
|
siwe: "siwe"
|
|
89
|
-
},
|
|
92
|
+
}, u = {
|
|
90
93
|
"base-sepolia": "base-sepolia",
|
|
91
94
|
base: "base",
|
|
92
95
|
arbitrum: "arbitrum",
|
|
@@ -94,7 +97,7 @@ const e = {
|
|
|
94
97
|
polygon: "polygon",
|
|
95
98
|
ethereum: "ethereum",
|
|
96
99
|
"ethereum-sepolia": "ethereum-sepolia"
|
|
97
|
-
},
|
|
100
|
+
}, c = {
|
|
98
101
|
UNSPECIFIED: "UNSPECIFIED",
|
|
99
102
|
PENDING: "PENDING",
|
|
100
103
|
SUBMITTED: "SUBMITTED",
|
|
@@ -133,24 +136,27 @@ const e = {
|
|
|
133
136
|
arbitrum: "arbitrum",
|
|
134
137
|
optimism: "optimism",
|
|
135
138
|
polygon: "polygon"
|
|
136
|
-
},
|
|
139
|
+
}, b = {
|
|
137
140
|
base: "base",
|
|
138
141
|
ethereum: "ethereum",
|
|
139
142
|
solana: "solana",
|
|
140
143
|
aptos: "aptos",
|
|
141
144
|
arbitrum: "arbitrum",
|
|
145
|
+
"arbitrum-sepolia": "arbitrum-sepolia",
|
|
142
146
|
optimism: "optimism",
|
|
143
|
-
polygon: "polygon"
|
|
144
|
-
|
|
147
|
+
polygon: "polygon",
|
|
148
|
+
world: "world",
|
|
149
|
+
"world-sepolia": "world-sepolia"
|
|
150
|
+
}, v = {
|
|
145
151
|
FEE_TYPE_NETWORK: "FEE_TYPE_NETWORK",
|
|
146
152
|
FEE_TYPE_EXCHANGE: "FEE_TYPE_EXCHANGE"
|
|
147
|
-
},
|
|
153
|
+
}, h = {
|
|
148
154
|
ONRAMP_ORDER_STATUS_PENDING_AUTH: "ONRAMP_ORDER_STATUS_PENDING_AUTH",
|
|
149
155
|
ONRAMP_ORDER_STATUS_PENDING_PAYMENT: "ONRAMP_ORDER_STATUS_PENDING_PAYMENT",
|
|
150
156
|
ONRAMP_ORDER_STATUS_PROCESSING: "ONRAMP_ORDER_STATUS_PROCESSING",
|
|
151
157
|
ONRAMP_ORDER_STATUS_COMPLETED: "ONRAMP_ORDER_STATUS_COMPLETED",
|
|
152
158
|
ONRAMP_ORDER_STATUS_FAILED: "ONRAMP_ORDER_STATUS_FAILED"
|
|
153
|
-
},
|
|
159
|
+
}, g = {
|
|
154
160
|
totp: "totp",
|
|
155
161
|
sms: "sms"
|
|
156
162
|
}, T = {
|
|
@@ -167,8 +173,11 @@ const e = {
|
|
|
167
173
|
avalanche: "avalanche",
|
|
168
174
|
polygon: "polygon",
|
|
169
175
|
optimism: "optimism",
|
|
170
|
-
arbitrum: "arbitrum"
|
|
171
|
-
|
|
176
|
+
arbitrum: "arbitrum",
|
|
177
|
+
"arbitrum-sepolia": "arbitrum-sepolia",
|
|
178
|
+
world: "world",
|
|
179
|
+
"world-sepolia": "world-sepolia"
|
|
180
|
+
}, w = {
|
|
172
181
|
base: "base",
|
|
173
182
|
"base-sepolia": "base-sepolia",
|
|
174
183
|
ethereum: "ethereum",
|
|
@@ -176,26 +185,29 @@ const e = {
|
|
|
176
185
|
avalanche: "avalanche",
|
|
177
186
|
polygon: "polygon",
|
|
178
187
|
optimism: "optimism",
|
|
179
|
-
arbitrum: "arbitrum"
|
|
180
|
-
|
|
188
|
+
arbitrum: "arbitrum",
|
|
189
|
+
"arbitrum-sepolia": "arbitrum-sepolia",
|
|
190
|
+
world: "world",
|
|
191
|
+
"world-sepolia": "world-sepolia"
|
|
192
|
+
}, R = {
|
|
181
193
|
solana: "solana",
|
|
182
194
|
"solana-devnet": "solana-devnet"
|
|
183
|
-
},
|
|
195
|
+
}, O = {
|
|
184
196
|
solana: "solana",
|
|
185
197
|
"solana-devnet": "solana-devnet"
|
|
186
198
|
};
|
|
187
199
|
export {
|
|
188
200
|
d as DeveloperJWTAuthenticationType,
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
201
|
+
_ as EmailAuthenticationType,
|
|
202
|
+
v as EndUserOnrampFeeType,
|
|
203
|
+
h as EndUserOnrampOrderStatus,
|
|
192
204
|
e as ErrorType,
|
|
193
|
-
|
|
194
|
-
|
|
205
|
+
u as EvmEip7702DelegationNetwork,
|
|
206
|
+
c as EvmEip7702DelegationOperationStatus,
|
|
195
207
|
y as EvmSwapsNetwork,
|
|
196
208
|
p as EvmUserOperationNetwork,
|
|
197
209
|
E as EvmUserOperationStatus,
|
|
198
|
-
|
|
210
|
+
r as InitiateEmailAuthenticationNextStepType,
|
|
199
211
|
a as InitiateEmailAuthenticationRequestType,
|
|
200
212
|
n as InitiateSiweAuthenticationRequestType,
|
|
201
213
|
s as InitiateSmsAuthenticationNextStepType,
|
|
@@ -203,14 +215,14 @@ export {
|
|
|
203
215
|
A as InitiateSmsMfaEnrollmentType,
|
|
204
216
|
T as InitiateTotpMfaEnrollmentType,
|
|
205
217
|
t as IosAttestationRegistrationResponsePlatform,
|
|
206
|
-
|
|
207
|
-
|
|
218
|
+
g as MfaMethod,
|
|
219
|
+
b as Network,
|
|
208
220
|
o as OAuth2ProviderType,
|
|
209
221
|
S as RefreshAccessTokenBodyGrantType,
|
|
210
|
-
|
|
222
|
+
w as SendEvmAssetWithEndUserAccountBodyNetwork,
|
|
211
223
|
N as SendEvmTransactionWithEndUserAccountBodyNetwork,
|
|
212
|
-
|
|
213
|
-
|
|
224
|
+
O as SendSolanaAssetWithEndUserAccountBodyNetwork,
|
|
225
|
+
R as SendSolanaTransactionWithEndUserAccountBodyNetwork,
|
|
214
226
|
m as SiweAuthenticationType,
|
|
215
227
|
l as SmsAuthenticationType,
|
|
216
228
|
f as SpendPermissionNetwork
|