@coinbase/cdp-api-client 0.0.106 → 0.0.107
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 +102 -93
- package/dist/esm/index12.js +2 -2
- package/dist/esm/index14.js +3 -3
- package/dist/esm/index19.js +2 -2
- package/dist/esm/index2.js +1 -1
- package/dist/esm/index20.js +7 -7
- package/dist/esm/index21.js +2 -2
- package/dist/esm/index22.js +2 -2
- package/dist/esm/index23.js +2 -2
- package/dist/esm/index5.js +73 -40
- package/dist/esm/index6.js +51 -31
- package/dist/types/index.d.ts +283 -66
- package/package.json +5 -5
package/dist/esm/index.js
CHANGED
|
@@ -1,99 +1,108 @@
|
|
|
1
1
|
import { Analytics as e } from "./index2.js";
|
|
2
2
|
import "./index3.js";
|
|
3
3
|
import { VERSION as t } from "./index4.js";
|
|
4
|
-
import { DeveloperJWTAuthenticationType as
|
|
5
|
-
import { authenticateUserWithCustomAuth as
|
|
6
|
-
import { configureCdpApiClient as
|
|
7
|
-
import { APIError as
|
|
4
|
+
import { CreateEndUserBtcAccountBodyAddressType as a, CreateEndUserBtcAccountBodyNetwork as c, DeveloperJWTAuthenticationType as d, EmailAuthenticationType as E, EndUserBtcAccountAddressType as A, EndUserBtcAccountNetwork as u, EndUserOnrampFeeType as p, EndUserOnrampOrderStatus as h, ErrorType as m, EvmEip7702DelegationNetwork as U, EvmEip7702DelegationOperationStatus as l, EvmSwapsNetwork as g, EvmUserOperationNetwork as y, EvmUserOperationStatus as S, InitiateEmailAuthenticationNextStepType as T, InitiateEmailAuthenticationRequestType as v, InitiateSiweAuthenticationRequestType as f, InitiateSmsAuthenticationNextStepType as W, InitiateSmsAuthenticationRequestType as k, InitiateSmsMfaEnrollmentType as w, InitiateTotpMfaEnrollmentType as B, IosAttestationRegistrationResponsePlatform as O, MfaMethod as N, Network as M, OAuth2ProviderType as I, RefreshAccessTokenBodyGrantType as P, SendEvmAssetWithEndUserAccountBodyNetwork as D, SendEvmTransactionWithEndUserAccountBodyNetwork as C, SendSolanaAssetWithEndUserAccountBodyNetwork as x, SendSolanaTransactionWithEndUserAccountBodyNetwork as F, SignBtcHashWithEndUserAccountBodyAddressType as H, SignBtcHashWithEndUserAccountBodyChange as R, SignBtcHashWithEndUserAccountBodyNetwork as V, SiweAuthenticationType as q, SmsAuthenticationType as b, SpendPermissionNetwork as j } from "./index5.js";
|
|
5
|
+
import { authenticateUserWithCustomAuth as J, createDelegationForEndUser as _, createDelegationForEndUserAccount as z, createEndUserApplePayOnrampOrder as K, createEndUserBtcAccount as L, createEndUserEvmAccount as Q, createEndUserEvmSmartAccount as X, createEndUserEvmSwap as Y, createEndUserSolanaAccount as Z, createEvmEip7702DelegationWithEndUserAccount as $, createSpendPermissionWithEndUserAccount as ee, exportEndUserEvmAccount as te, exportEndUserSolanaAccount as ne, generateAttestationChallenge as re, getAuthenticatedEndUser as oe, getDelegationForEndUser as ie, getDelegationForEndUserAccount as se, getEndUserEvmSwapPrice as ae, getEvmEip7702DelegationOperationByIdWithEndUserAccount as ce, getMfaConfig as de, getProjectConfig as Ee, getUserOperationWithEndUserAccount as Ae, initiateAuthentication as ue, initiateMfaEnrollment as pe, initiateMfaEnrollment2 as he, initiateMfaVerification as me, listSpendPermissionsWithEndUserAccount as Ue, logOutEndUser as le, recordMfaEnrollmentPrompted as ge, refreshAccessToken as ye, registerAttestation as Se, registerTemporaryWalletSecret as Te, revokeDelegationForEndUser as ve, revokeDelegationForEndUserAccount as fe, revokeSpendPermissionWithEndUserAccount as We, sendEvmAssetWithEndUserAccount as ke, sendEvmTransactionWithEndUserAccount as we, sendSolanaAssetWithEndUserAccount as Be, sendSolanaTransactionWithEndUserAccount as Oe, sendUserOperationWithEndUserAccount as Ne, signBtcHashWithEndUserAccount as Me, signEvmHashWithEndUserAccount as Ie, signEvmMessageWithEndUserAccount as Pe, signEvmTransactionWithEndUserAccount as De, signEvmTypedDataWithEndUserAccount as Ce, signSolanaHashWithEndUserAccount as xe, signSolanaMessageWithEndUserAccount as Fe, signSolanaTransactionWithEndUserAccount as He, submitMfaEnrollment as Re, submitMfaVerification as Ve, verifyEmailAuthentication as qe, verifyOAuthCode as be, verifyOAuthEndUserIdentity as je, verifySiweAuthentication as Ge, verifySmsAuthentication as Je } from "./index6.js";
|
|
6
|
+
import { configureCdpApiClient as ze, setAuthManager as Ke } from "./index7.js";
|
|
7
|
+
import { APIError as Qe, HttpErrorType as Xe, UnknownApiError as Ye, UnknownError as Ze, isOpenAPIError as $e } from "./index8.js";
|
|
8
8
|
e.registerPackageVersion("api_client", t);
|
|
9
9
|
export {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
c as
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
A as
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
U as
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
S as
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
W as
|
|
30
|
-
k as
|
|
31
|
-
w as
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
C as
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
_ as
|
|
53
|
-
z as
|
|
54
|
-
K as
|
|
55
|
-
L as
|
|
56
|
-
Q as
|
|
57
|
-
X as
|
|
58
|
-
Y as
|
|
59
|
-
Z as
|
|
60
|
-
$ as
|
|
61
|
-
ee as
|
|
62
|
-
te as
|
|
63
|
-
ne as
|
|
64
|
-
re as
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
Ee as
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
pe as
|
|
75
|
-
|
|
76
|
-
me as
|
|
77
|
-
|
|
78
|
-
Ue as
|
|
79
|
-
le as
|
|
80
|
-
ge as
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
fe as
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
Oe as
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
Ce as
|
|
98
|
-
|
|
10
|
+
Qe as APIError,
|
|
11
|
+
a as CreateEndUserBtcAccountBodyAddressType,
|
|
12
|
+
c as CreateEndUserBtcAccountBodyNetwork,
|
|
13
|
+
d as DeveloperJWTAuthenticationType,
|
|
14
|
+
E as EmailAuthenticationType,
|
|
15
|
+
A as EndUserBtcAccountAddressType,
|
|
16
|
+
u as EndUserBtcAccountNetwork,
|
|
17
|
+
p as EndUserOnrampFeeType,
|
|
18
|
+
h as EndUserOnrampOrderStatus,
|
|
19
|
+
m as ErrorType,
|
|
20
|
+
U as EvmEip7702DelegationNetwork,
|
|
21
|
+
l as EvmEip7702DelegationOperationStatus,
|
|
22
|
+
g as EvmSwapsNetwork,
|
|
23
|
+
y as EvmUserOperationNetwork,
|
|
24
|
+
S as EvmUserOperationStatus,
|
|
25
|
+
Xe as HttpErrorType,
|
|
26
|
+
T as InitiateEmailAuthenticationNextStepType,
|
|
27
|
+
v as InitiateEmailAuthenticationRequestType,
|
|
28
|
+
f as InitiateSiweAuthenticationRequestType,
|
|
29
|
+
W as InitiateSmsAuthenticationNextStepType,
|
|
30
|
+
k as InitiateSmsAuthenticationRequestType,
|
|
31
|
+
w as InitiateSmsMfaEnrollmentType,
|
|
32
|
+
B as InitiateTotpMfaEnrollmentType,
|
|
33
|
+
O as IosAttestationRegistrationResponsePlatform,
|
|
34
|
+
N as MfaMethod,
|
|
35
|
+
M as Network,
|
|
36
|
+
I as OAuth2ProviderType,
|
|
37
|
+
P as RefreshAccessTokenBodyGrantType,
|
|
38
|
+
D as SendEvmAssetWithEndUserAccountBodyNetwork,
|
|
39
|
+
C as SendEvmTransactionWithEndUserAccountBodyNetwork,
|
|
40
|
+
x as SendSolanaAssetWithEndUserAccountBodyNetwork,
|
|
41
|
+
F as SendSolanaTransactionWithEndUserAccountBodyNetwork,
|
|
42
|
+
H as SignBtcHashWithEndUserAccountBodyAddressType,
|
|
43
|
+
R as SignBtcHashWithEndUserAccountBodyChange,
|
|
44
|
+
V as SignBtcHashWithEndUserAccountBodyNetwork,
|
|
45
|
+
q as SiweAuthenticationType,
|
|
46
|
+
b as SmsAuthenticationType,
|
|
47
|
+
j as SpendPermissionNetwork,
|
|
48
|
+
Ye as UnknownApiError,
|
|
49
|
+
Ze as UnknownError,
|
|
50
|
+
J as authenticateUserWithCustomAuth,
|
|
51
|
+
ze as configureCdpApiClient,
|
|
52
|
+
_ as createDelegationForEndUser,
|
|
53
|
+
z as createDelegationForEndUserAccount,
|
|
54
|
+
K as createEndUserApplePayOnrampOrder,
|
|
55
|
+
L as createEndUserBtcAccount,
|
|
56
|
+
Q as createEndUserEvmAccount,
|
|
57
|
+
X as createEndUserEvmSmartAccount,
|
|
58
|
+
Y as createEndUserEvmSwap,
|
|
59
|
+
Z as createEndUserSolanaAccount,
|
|
60
|
+
$ as createEvmEip7702DelegationWithEndUserAccount,
|
|
61
|
+
ee as createSpendPermissionWithEndUserAccount,
|
|
62
|
+
te as exportEndUserEvmAccount,
|
|
63
|
+
ne as exportEndUserSolanaAccount,
|
|
64
|
+
re as generateAttestationChallenge,
|
|
65
|
+
oe as getAuthenticatedEndUser,
|
|
66
|
+
ie as getDelegationForEndUser,
|
|
67
|
+
se as getDelegationForEndUserAccount,
|
|
68
|
+
ae as getEndUserEvmSwapPrice,
|
|
69
|
+
ce as getEvmEip7702DelegationOperationByIdWithEndUserAccount,
|
|
70
|
+
de as getMfaConfig,
|
|
71
|
+
Ee as getProjectConfig,
|
|
72
|
+
Ae as getUserOperationWithEndUserAccount,
|
|
73
|
+
ue as initiateAuthentication,
|
|
74
|
+
pe as initiateMfaEnrollment,
|
|
75
|
+
he as initiateMfaEnrollment2,
|
|
76
|
+
me as initiateMfaVerification,
|
|
77
|
+
$e as isOpenAPIError,
|
|
78
|
+
Ue as listSpendPermissionsWithEndUserAccount,
|
|
79
|
+
le as logOutEndUser,
|
|
80
|
+
ge as recordMfaEnrollmentPrompted,
|
|
81
|
+
ye as refreshAccessToken,
|
|
82
|
+
Se as registerAttestation,
|
|
83
|
+
Te as registerTemporaryWalletSecret,
|
|
84
|
+
ve as revokeDelegationForEndUser,
|
|
85
|
+
fe as revokeDelegationForEndUserAccount,
|
|
86
|
+
We as revokeSpendPermissionWithEndUserAccount,
|
|
87
|
+
ke as sendEvmAssetWithEndUserAccount,
|
|
88
|
+
we as sendEvmTransactionWithEndUserAccount,
|
|
89
|
+
Be as sendSolanaAssetWithEndUserAccount,
|
|
90
|
+
Oe as sendSolanaTransactionWithEndUserAccount,
|
|
91
|
+
Ne as sendUserOperationWithEndUserAccount,
|
|
92
|
+
Ke as setAuthManager,
|
|
93
|
+
Me as signBtcHashWithEndUserAccount,
|
|
94
|
+
Ie as signEvmHashWithEndUserAccount,
|
|
95
|
+
Pe as signEvmMessageWithEndUserAccount,
|
|
96
|
+
De as signEvmTransactionWithEndUserAccount,
|
|
97
|
+
Ce as signEvmTypedDataWithEndUserAccount,
|
|
98
|
+
xe as signSolanaHashWithEndUserAccount,
|
|
99
|
+
Fe as signSolanaMessageWithEndUserAccount,
|
|
100
|
+
He as signSolanaTransactionWithEndUserAccount,
|
|
101
|
+
Re as submitMfaEnrollment,
|
|
102
|
+
Ve as submitMfaVerification,
|
|
103
|
+
qe as verifyEmailAuthentication,
|
|
104
|
+
be as verifyOAuthCode,
|
|
105
|
+
je as verifyOAuthEndUserIdentity,
|
|
106
|
+
Ge as verifySiweAuthentication,
|
|
107
|
+
Je as verifySmsAuthentication
|
|
99
108
|
};
|
package/dist/esm/index12.js
CHANGED
|
@@ -4,7 +4,7 @@ import { __require as q } from "./index15.js";
|
|
|
4
4
|
import { __require as w } from "./index16.js";
|
|
5
5
|
var x;
|
|
6
6
|
function G() {
|
|
7
|
-
return x ? h.exports : (x = 1, function() {
|
|
7
|
+
return x ? h.exports : (x = 1, (function() {
|
|
8
8
|
var v = S(), p = q().utf8, B = w(), F = q().bin, d = function(o, f) {
|
|
9
9
|
o.constructor == String ? f && f.encoding === "binary" ? o = F.stringToBytes(o) : o = p.stringToBytes(o) : B(o) ? o = Array.prototype.slice.call(o, 0) : !Array.isArray(o) && o.constructor !== Uint8Array && (o = o.toString());
|
|
10
10
|
for (var u = v.bytesToWords(o), a = o.length * 8, n = 1732584193, r = -271733879, i = -1732584194, t = 271733878, e = 0; e < u.length; e++)
|
|
@@ -34,7 +34,7 @@ function G() {
|
|
|
34
34
|
var u = v.wordsToBytes(d(o, f));
|
|
35
35
|
return f && f.asBytes ? u : f && f.asString ? F.bytesToString(u) : v.bytesToHex(u);
|
|
36
36
|
};
|
|
37
|
-
}(), h.exports);
|
|
37
|
+
})(), h.exports);
|
|
38
38
|
}
|
|
39
39
|
export {
|
|
40
40
|
G as __require
|
package/dist/esm/index14.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { __module as a } from "./
|
|
1
|
+
import { __module as a } from "./index23.js";
|
|
2
2
|
var h;
|
|
3
3
|
function c() {
|
|
4
|
-
return h ? a.exports : (h = 1, function() {
|
|
4
|
+
return h ? a.exports : (h = 1, (function() {
|
|
5
5
|
var f = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", u = {
|
|
6
6
|
// Bit-wise rotation left
|
|
7
7
|
rotl: function(r, t) {
|
|
@@ -65,7 +65,7 @@ function c() {
|
|
|
65
65
|
}
|
|
66
66
|
};
|
|
67
67
|
a.exports = u;
|
|
68
|
-
}(), a.exports);
|
|
68
|
+
})(), a.exports);
|
|
69
69
|
}
|
|
70
70
|
export {
|
|
71
71
|
c as __require
|
package/dist/esm/index19.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { __exports as o } from "./
|
|
1
|
+
import { __exports as o } from "./index21.js";
|
|
2
2
|
var $;
|
|
3
3
|
function X() {
|
|
4
4
|
if ($) return o;
|
|
5
5
|
$ = 1;
|
|
6
|
-
var E = Symbol.for("react.transitional.element"), N = Symbol.for("react.portal"), M = Symbol.for("react.fragment"), Y = Symbol.for("react.strict_mode"), I = Symbol.for("react.profiler"), L = Symbol.for("react.consumer"), U = Symbol.for("react.context"), k = Symbol.for("react.forward_ref"), x = Symbol.for("react.suspense"), b = Symbol.for("react.memo"), d = Symbol.for("react.lazy"), C = Symbol.iterator;
|
|
6
|
+
var E = /* @__PURE__ */ Symbol.for("react.transitional.element"), N = /* @__PURE__ */ Symbol.for("react.portal"), M = /* @__PURE__ */ Symbol.for("react.fragment"), Y = /* @__PURE__ */ Symbol.for("react.strict_mode"), I = /* @__PURE__ */ Symbol.for("react.profiler"), L = /* @__PURE__ */ Symbol.for("react.consumer"), U = /* @__PURE__ */ Symbol.for("react.context"), k = /* @__PURE__ */ Symbol.for("react.forward_ref"), x = /* @__PURE__ */ Symbol.for("react.suspense"), b = /* @__PURE__ */ Symbol.for("react.memo"), d = /* @__PURE__ */ Symbol.for("react.lazy"), C = Symbol.iterator;
|
|
7
7
|
function D(t) {
|
|
8
8
|
return t === null || typeof t != "object" ? null : (t = C && t[C] || t["@@iterator"], typeof t == "function" ? t : null);
|
|
9
9
|
}
|
package/dist/esm/index2.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import E from "./index10.js";
|
|
2
2
|
import { getFramework as m } from "./index11.js";
|
|
3
|
-
const v = "1f8d3e558f493e38a037dbfadb8ba344", y = "d473b1dcc969105adab157226cd9cf63", i = Symbol.for("@coinbase/cdp-analytics");
|
|
3
|
+
const v = "1f8d3e558f493e38a037dbfadb8ba344", y = "d473b1dcc969105adab157226cd9cf63", i = /* @__PURE__ */ Symbol.for("@coinbase/cdp-analytics");
|
|
4
4
|
function u() {
|
|
5
5
|
const n = globalThis;
|
|
6
6
|
return n[i] || (n[i] = {
|
package/dist/esm/index20.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { __module as v } from "./
|
|
1
|
+
import { __module as v } from "./index22.js";
|
|
2
2
|
v.exports;
|
|
3
3
|
var _e;
|
|
4
4
|
function De() {
|
|
5
|
-
return _e ? v.exports : (_e = 1, function(P, u) {
|
|
6
|
-
process.env.NODE_ENV !== "production" && function() {
|
|
5
|
+
return _e ? v.exports : (_e = 1, (function(P, u) {
|
|
6
|
+
process.env.NODE_ENV !== "production" && (function() {
|
|
7
7
|
function ye(e, t) {
|
|
8
8
|
Object.defineProperty(h.prototype, e, {
|
|
9
9
|
get: function() {
|
|
@@ -417,7 +417,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
417
417
|
}
|
|
418
418
|
}
|
|
419
419
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
|
|
420
|
-
var U = Symbol.for("react.transitional.element"), J = Symbol.for("react.portal"), q = Symbol.for("react.fragment"), $ = Symbol.for("react.strict_mode"), x = Symbol.for("react.profiler"), W = Symbol.for("react.consumer"), ee = Symbol.for("react.context"), te = Symbol.for("react.forward_ref"), re = Symbol.for("react.suspense"), Se = Symbol.for("react.suspense_list"), z = Symbol.for("react.memo"), T = Symbol.for("react.lazy"), Ae = Symbol.for("react.activity"), ne = Symbol.iterator, oe = {}, ue = {
|
|
420
|
+
var U = /* @__PURE__ */ Symbol.for("react.transitional.element"), J = /* @__PURE__ */ Symbol.for("react.portal"), q = /* @__PURE__ */ Symbol.for("react.fragment"), $ = /* @__PURE__ */ Symbol.for("react.strict_mode"), x = /* @__PURE__ */ Symbol.for("react.profiler"), W = /* @__PURE__ */ Symbol.for("react.consumer"), ee = /* @__PURE__ */ Symbol.for("react.context"), te = /* @__PURE__ */ Symbol.for("react.forward_ref"), re = /* @__PURE__ */ Symbol.for("react.suspense"), Se = /* @__PURE__ */ Symbol.for("react.suspense_list"), z = /* @__PURE__ */ Symbol.for("react.memo"), T = /* @__PURE__ */ Symbol.for("react.lazy"), Ae = /* @__PURE__ */ Symbol.for("react.activity"), ne = Symbol.iterator, oe = {}, ue = {
|
|
421
421
|
isMounted: function() {
|
|
422
422
|
return !1;
|
|
423
423
|
},
|
|
@@ -453,7 +453,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
453
453
|
for (k in d)
|
|
454
454
|
d.hasOwnProperty(k) && ye(k, d[k]);
|
|
455
455
|
Q.prototype = h.prototype, d = M.prototype = new Q(), d.constructor = M, ae(d, h.prototype), d.isPureReactComponent = !0;
|
|
456
|
-
var se = Array.isArray, Ce = Symbol.for("react.client.reference"), i = {
|
|
456
|
+
var se = Array.isArray, Ce = /* @__PURE__ */ Symbol.for("react.client.reference"), i = {
|
|
457
457
|
H: null,
|
|
458
458
|
A: null,
|
|
459
459
|
T: null,
|
|
@@ -821,8 +821,8 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
821
821
|
}, u.useTransition = function() {
|
|
822
822
|
return l().useTransition();
|
|
823
823
|
}, u.version = "19.1.2", typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
|
824
|
-
}();
|
|
825
|
-
}(v, v.exports), v.exports);
|
|
824
|
+
})();
|
|
825
|
+
})(v, v.exports), v.exports);
|
|
826
826
|
}
|
|
827
827
|
export {
|
|
828
828
|
De as __require
|
package/dist/esm/index21.js
CHANGED
package/dist/esm/index22.js
CHANGED
package/dist/esm/index23.js
CHANGED
package/dist/esm/index5.js
CHANGED
|
@@ -4,6 +4,7 @@ const e = {
|
|
|
4
4
|
bad_gateway: "bad_gateway",
|
|
5
5
|
capture_expired: "capture_expired",
|
|
6
6
|
client_closed_request: "client_closed_request",
|
|
7
|
+
endpoint_unavailable: "endpoint_unavailable",
|
|
7
8
|
faucet_limit_exceeded: "faucet_limit_exceeded",
|
|
8
9
|
forbidden: "forbidden",
|
|
9
10
|
idempotency_error: "idempotency_error",
|
|
@@ -21,6 +22,7 @@ const e = {
|
|
|
21
22
|
service_unavailable: "service_unavailable",
|
|
22
23
|
timed_out: "timed_out",
|
|
23
24
|
unauthorized: "unauthorized",
|
|
25
|
+
unsupported_tos_language: "unsupported_tos_language",
|
|
24
26
|
policy_violation: "policy_violation",
|
|
25
27
|
policy_in_use: "policy_in_use",
|
|
26
28
|
account_limit_exceeded: "account_limit_exceeded",
|
|
@@ -45,6 +47,7 @@ const e = {
|
|
|
45
47
|
target_onchain_address_invalid: "target_onchain_address_invalid",
|
|
46
48
|
transfer_amount_invalid: "transfer_amount_invalid",
|
|
47
49
|
transfer_asset_not_supported: "transfer_asset_not_supported",
|
|
50
|
+
transfer_quote_expired: "transfer_quote_expired",
|
|
48
51
|
insufficient_balance: "insufficient_balance",
|
|
49
52
|
metadata_too_many_entries: "metadata_too_many_entries",
|
|
50
53
|
metadata_key_too_long: "metadata_key_too_long",
|
|
@@ -62,14 +65,19 @@ const e = {
|
|
|
62
65
|
account_not_ready: "account_not_ready",
|
|
63
66
|
insufficient_liquidity: "insufficient_liquidity",
|
|
64
67
|
insufficient_allowance: "insufficient_allowance",
|
|
65
|
-
transaction_simulation_failed: "transaction_simulation_failed"
|
|
68
|
+
transaction_simulation_failed: "transaction_simulation_failed",
|
|
69
|
+
delegation_not_found: "delegation_not_found",
|
|
70
|
+
delegation_expired: "delegation_expired",
|
|
71
|
+
delegation_revoked: "delegation_revoked",
|
|
72
|
+
delegation_not_authorized: "delegation_not_authorized",
|
|
73
|
+
delegation_not_enabled: "delegation_not_enabled"
|
|
66
74
|
}, t = {
|
|
67
75
|
ios: "ios"
|
|
68
|
-
}, a = {
|
|
69
|
-
email: "email"
|
|
70
76
|
}, i = {
|
|
71
|
-
|
|
77
|
+
email: "email"
|
|
72
78
|
}, o = {
|
|
79
|
+
sms: "sms"
|
|
80
|
+
}, a = {
|
|
73
81
|
google: "google",
|
|
74
82
|
apple: "apple",
|
|
75
83
|
x: "x",
|
|
@@ -87,9 +95,14 @@ const e = {
|
|
|
87
95
|
sms: "sms"
|
|
88
96
|
}, d = {
|
|
89
97
|
jwt: "jwt"
|
|
90
|
-
},
|
|
98
|
+
}, c = {
|
|
91
99
|
siwe: "siwe"
|
|
92
100
|
}, u = {
|
|
101
|
+
segwit: "segwit"
|
|
102
|
+
}, p = {
|
|
103
|
+
bitcoin: "bitcoin",
|
|
104
|
+
"bitcoin-testnet": "bitcoin-testnet"
|
|
105
|
+
}, m = {
|
|
93
106
|
"base-sepolia": "base-sepolia",
|
|
94
107
|
base: "base",
|
|
95
108
|
arbitrum: "arbitrum",
|
|
@@ -97,13 +110,13 @@ const e = {
|
|
|
97
110
|
polygon: "polygon",
|
|
98
111
|
ethereum: "ethereum",
|
|
99
112
|
"ethereum-sepolia": "ethereum-sepolia"
|
|
100
|
-
},
|
|
113
|
+
}, E = {
|
|
101
114
|
UNSPECIFIED: "UNSPECIFIED",
|
|
102
115
|
PENDING: "PENDING",
|
|
103
116
|
SUBMITTED: "SUBMITTED",
|
|
104
117
|
COMPLETED: "COMPLETED",
|
|
105
118
|
FAILED: "FAILED"
|
|
106
|
-
},
|
|
119
|
+
}, g = {
|
|
107
120
|
"base-sepolia": "base-sepolia",
|
|
108
121
|
base: "base",
|
|
109
122
|
arbitrum: "arbitrum",
|
|
@@ -114,14 +127,14 @@ const e = {
|
|
|
114
127
|
avalanche: "avalanche",
|
|
115
128
|
ethereum: "ethereum",
|
|
116
129
|
"ethereum-sepolia": "ethereum-sepolia"
|
|
117
|
-
},
|
|
130
|
+
}, b = {
|
|
118
131
|
pending: "pending",
|
|
119
132
|
signed: "signed",
|
|
120
133
|
broadcast: "broadcast",
|
|
121
134
|
complete: "complete",
|
|
122
135
|
dropped: "dropped",
|
|
123
136
|
failed: "failed"
|
|
124
|
-
},
|
|
137
|
+
}, y = {
|
|
125
138
|
base: "base",
|
|
126
139
|
"base-sepolia": "base-sepolia",
|
|
127
140
|
ethereum: "ethereum",
|
|
@@ -130,13 +143,13 @@ const e = {
|
|
|
130
143
|
arbitrum: "arbitrum",
|
|
131
144
|
avalanche: "avalanche",
|
|
132
145
|
polygon: "polygon"
|
|
133
|
-
},
|
|
146
|
+
}, f = {
|
|
134
147
|
base: "base",
|
|
135
148
|
ethereum: "ethereum",
|
|
136
149
|
arbitrum: "arbitrum",
|
|
137
150
|
optimism: "optimism",
|
|
138
151
|
polygon: "polygon"
|
|
139
|
-
},
|
|
152
|
+
}, h = {
|
|
140
153
|
base: "base",
|
|
141
154
|
ethereum: "ethereum",
|
|
142
155
|
solana: "solana",
|
|
@@ -150,22 +163,22 @@ const e = {
|
|
|
150
163
|
}, v = {
|
|
151
164
|
FEE_TYPE_NETWORK: "FEE_TYPE_NETWORK",
|
|
152
165
|
FEE_TYPE_EXCHANGE: "FEE_TYPE_EXCHANGE"
|
|
153
|
-
},
|
|
166
|
+
}, T = {
|
|
154
167
|
ONRAMP_ORDER_STATUS_PENDING_AUTH: "ONRAMP_ORDER_STATUS_PENDING_AUTH",
|
|
155
168
|
ONRAMP_ORDER_STATUS_PENDING_PAYMENT: "ONRAMP_ORDER_STATUS_PENDING_PAYMENT",
|
|
156
169
|
ONRAMP_ORDER_STATUS_PROCESSING: "ONRAMP_ORDER_STATUS_PROCESSING",
|
|
157
170
|
ONRAMP_ORDER_STATUS_COMPLETED: "ONRAMP_ORDER_STATUS_COMPLETED",
|
|
158
171
|
ONRAMP_ORDER_STATUS_FAILED: "ONRAMP_ORDER_STATUS_FAILED"
|
|
159
|
-
},
|
|
172
|
+
}, A = {
|
|
160
173
|
totp: "totp",
|
|
161
174
|
sms: "sms"
|
|
162
|
-
},
|
|
175
|
+
}, w = {
|
|
163
176
|
totp: "totp"
|
|
164
|
-
}, A = {
|
|
165
|
-
sms: "sms"
|
|
166
177
|
}, S = {
|
|
167
|
-
|
|
178
|
+
sms: "sms"
|
|
168
179
|
}, N = {
|
|
180
|
+
refresh_token: "refresh_token"
|
|
181
|
+
}, R = {
|
|
169
182
|
base: "base",
|
|
170
183
|
"base-sepolia": "base-sepolia",
|
|
171
184
|
ethereum: "ethereum",
|
|
@@ -177,7 +190,7 @@ const e = {
|
|
|
177
190
|
"arbitrum-sepolia": "arbitrum-sepolia",
|
|
178
191
|
world: "world",
|
|
179
192
|
"world-sepolia": "world-sepolia"
|
|
180
|
-
},
|
|
193
|
+
}, O = {
|
|
181
194
|
base: "base",
|
|
182
195
|
"base-sepolia": "base-sepolia",
|
|
183
196
|
ethereum: "ethereum",
|
|
@@ -189,41 +202,61 @@ const e = {
|
|
|
189
202
|
"arbitrum-sepolia": "arbitrum-sepolia",
|
|
190
203
|
world: "world",
|
|
191
204
|
"world-sepolia": "world-sepolia"
|
|
192
|
-
},
|
|
205
|
+
}, P = {
|
|
193
206
|
solana: "solana",
|
|
194
207
|
"solana-devnet": "solana-devnet"
|
|
195
|
-
},
|
|
208
|
+
}, U = {
|
|
196
209
|
solana: "solana",
|
|
197
210
|
"solana-devnet": "solana-devnet"
|
|
211
|
+
}, D = {
|
|
212
|
+
segwit: "segwit"
|
|
213
|
+
}, x = {
|
|
214
|
+
bitcoin: "bitcoin",
|
|
215
|
+
"bitcoin-testnet": "bitcoin-testnet"
|
|
216
|
+
}, I = {
|
|
217
|
+
segwit: "segwit"
|
|
218
|
+
}, q = {
|
|
219
|
+
bitcoin: "bitcoin",
|
|
220
|
+
"bitcoin-testnet": "bitcoin-testnet"
|
|
221
|
+
}, M = {
|
|
222
|
+
NUMBER_0: 0,
|
|
223
|
+
NUMBER_1: 1
|
|
198
224
|
};
|
|
199
225
|
export {
|
|
226
|
+
D as CreateEndUserBtcAccountBodyAddressType,
|
|
227
|
+
x as CreateEndUserBtcAccountBodyNetwork,
|
|
200
228
|
d as DeveloperJWTAuthenticationType,
|
|
201
229
|
_ as EmailAuthenticationType,
|
|
230
|
+
u as EndUserBtcAccountAddressType,
|
|
231
|
+
p as EndUserBtcAccountNetwork,
|
|
202
232
|
v as EndUserOnrampFeeType,
|
|
203
|
-
|
|
233
|
+
T as EndUserOnrampOrderStatus,
|
|
204
234
|
e as ErrorType,
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
235
|
+
m as EvmEip7702DelegationNetwork,
|
|
236
|
+
E as EvmEip7702DelegationOperationStatus,
|
|
237
|
+
f as EvmSwapsNetwork,
|
|
238
|
+
g as EvmUserOperationNetwork,
|
|
239
|
+
b as EvmUserOperationStatus,
|
|
210
240
|
r as InitiateEmailAuthenticationNextStepType,
|
|
211
|
-
|
|
241
|
+
i as InitiateEmailAuthenticationRequestType,
|
|
212
242
|
n as InitiateSiweAuthenticationRequestType,
|
|
213
243
|
s as InitiateSmsAuthenticationNextStepType,
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
244
|
+
o as InitiateSmsAuthenticationRequestType,
|
|
245
|
+
S as InitiateSmsMfaEnrollmentType,
|
|
246
|
+
w as InitiateTotpMfaEnrollmentType,
|
|
217
247
|
t as IosAttestationRegistrationResponsePlatform,
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
248
|
+
A as MfaMethod,
|
|
249
|
+
h as Network,
|
|
250
|
+
a as OAuth2ProviderType,
|
|
251
|
+
N as RefreshAccessTokenBodyGrantType,
|
|
252
|
+
O as SendEvmAssetWithEndUserAccountBodyNetwork,
|
|
253
|
+
R as SendEvmTransactionWithEndUserAccountBodyNetwork,
|
|
254
|
+
U as SendSolanaAssetWithEndUserAccountBodyNetwork,
|
|
255
|
+
P as SendSolanaTransactionWithEndUserAccountBodyNetwork,
|
|
256
|
+
I as SignBtcHashWithEndUserAccountBodyAddressType,
|
|
257
|
+
M as SignBtcHashWithEndUserAccountBodyChange,
|
|
258
|
+
q as SignBtcHashWithEndUserAccountBodyNetwork,
|
|
259
|
+
c as SiweAuthenticationType,
|
|
227
260
|
l as SmsAuthenticationType,
|
|
228
|
-
|
|
261
|
+
y as SpendPermissionNetwork
|
|
229
262
|
};
|