@coinbase/cdp-api-client 0.0.122 → 0.0.123
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 +81 -80
- package/dist/esm/index11.js +1 -1
- package/dist/esm/index13.js +38 -7
- package/dist/esm/index15.js +67 -358
- package/dist/esm/index16.js +34 -852
- package/dist/esm/index17.js +14 -38
- package/dist/esm/index18.js +8 -2
- package/dist/esm/index19.js +2 -70
- package/dist/esm/index20.js +355 -29
- package/dist/esm/index21.js +852 -14
- package/dist/esm/index22.js +2 -2
- package/dist/esm/index23.js +2 -2
- package/dist/esm/index24.js +2 -2
- package/dist/esm/index3.js +1 -1
- package/dist/esm/index4.js +1 -1
- package/dist/esm/index6.js +213 -168
- package/dist/types/index.d.ts +8 -0
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
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 { CapabilityName as s, CreateEndUserBtcAccountBodyAddressType as c, CreateEndUserBtcAccountBodyNetwork as d, DeveloperJWTAuthenticationType as E, EmailAuthenticationType as m, EndUserBtcAccountAddressType as p, EndUserBtcAccountNetwork as l, EndUserOnrampFeeType as u, EndUserOnrampOrderStatus as A, ErrorType as h, EvmEip7702DelegationNetwork as y, EvmEip7702DelegationOperationStatus as U, EvmSwapsNetwork as S, EvmUserOperationNetwork as g, EvmUserOperationStatus as T, InitiateEmailAuthenticationNextStepType as f, InitiateEmailAuthenticationRequestType as
|
|
5
|
-
import { configureCdpApiClient as se, setAuthManager as ce } from "./index6.js";
|
|
6
|
-
import { APIError as
|
|
7
|
-
import { authenticateUserWithCustomAuth as
|
|
8
|
-
import { createOnrampIosAttestationChallenge as
|
|
4
|
+
import { CapabilityName as s, CreateEndUserBtcAccountBodyAddressType as c, CreateEndUserBtcAccountBodyNetwork as d, DeveloperJWTAuthenticationType as E, EmailAuthenticationType as m, EndUserBtcAccountAddressType as p, EndUserBtcAccountNetwork as l, EndUserOnrampFeeType as u, EndUserOnrampOrderStatus as A, ErrorType as h, EvmEip7702DelegationNetwork as y, EvmEip7702DelegationOperationStatus as U, EvmSwapsNetwork as S, EvmUserOperationNetwork as g, EvmUserOperationStatus as T, InitiateEmailAuthenticationNextStepType as f, InitiateEmailAuthenticationRequestType as k, InitiatePasskeyMfaEnrollmentType as v, InitiateSiweAuthenticationRequestType as P, InitiateSmsAuthenticationNextStepType as W, InitiateSmsAuthenticationRequestType as O, InitiateSmsMfaEnrollmentType as w, InitiateTotpMfaEnrollmentType as B, IosAttestationRegistrationResponsePlatform as I, MfaMethod as M, Network as C, OAuth2ProviderType as N, OnrampQuotePaymentMethodTypeId as D, OtpEmailLogoStatus as R, PasskeySummaryTransportsItem as V, PasskeyUserVerification as b, RefreshAccessTokenBodyGrantType as X, SendEvmAssetWithEndUserAccountBodyNetwork as x, SendEvmTransactionWithEndUserAccountBodyNetwork as F, SendSolanaAssetWithEndUserAccountBodyNetwork as q, SendSolanaTransactionWithEndUserAccountBodyNetwork as H, SignBtcHashWithEndUserAccountBodyChange as j, SiweAuthenticationType as G, SmsAuthenticationType as J, SpendPermissionNetwork as L, SubmitPasskeyRegistrationType as Q, SubmitPasskeyVerificationType as _, X402BatchSettlementClaimPayloadType as z, X402BatchSettlementDepositPayloadType as K, X402BatchSettlementRefundPayloadType as Y, X402BatchSettlementSettlePayloadType as Z, X402BatchSettlementVoucherPayloadType as $, X402V1Network as ee, X402V1PaymentPayloadScheme as te, X402V1PaymentRequirementsScheme as ne, X402V2Network as re, X402V2PaymentRequirementsScheme as oe, X402Version as ie } from "./index5.js";
|
|
5
|
+
import { configureCdpApiClient as se, setAuthManager as ce, setCookieDomain as de } from "./index6.js";
|
|
6
|
+
import { APIError as me, HttpErrorType as pe, RefreshTokenUnavailableError as le, UnknownApiError as ue, UnknownError as Ae, isOpenAPIError as he, isRefreshTokenUnavailableError as ye, isTransientTokenReadError as Ue } from "./index7.js";
|
|
7
|
+
import { authenticateUserWithCustomAuth as ge, createDelegationForEndUser as Te, createDelegationForEndUserAccount as fe, createEndUserApplePayOnrampOrder as ke, createEndUserBtcAccount as ve, createEndUserEvmAccount as Pe, createEndUserEvmSmartAccount as We, createEndUserEvmSwap as Oe, createEndUserSolanaAccount as we, createEvmEip7702DelegationWithEndUserAccount as Be, createSpendPermissionWithEndUserAccount as Ie, deletePasskey as Me, enableSpendPermissionWithEndUserAccount as Ce, exportEndUserEvmAccount as Ne, exportEndUserSolanaAccount as De, generateAttestationChallenge as Re, getAuthenticatedEndUser as Ve, getDelegationForEndUser as be, getDelegationForEndUserAccount as Xe, getEndUserEvmSwapPrice as xe, getEvmEip7702DelegationOperationByIdWithEndUserAccount as Fe, getMfaConfig as qe, getProjectConfig as He, getUserOperationWithEndUserAccount as je, initiateAuthentication as Ge, initiateMfaEnrollment as Je, initiateMfaEnrollment2 as Le, initiateMfaVerification as Qe, listPasskeys as _e, listSpendPermissionsWithEndUserAccount as ze, logOutEndUser as Ke, receiveOAuthCallback as Ye, receiveOAuthCallbackPost as Ze, recordMfaEnrollmentPrompted as $e, refreshAccessToken as et, registerAttestation as tt, registerTemporaryWalletSecret as nt, revokeDelegationForEndUser as rt, revokeDelegationForEndUserAccount as ot, revokeSpendPermissionWithEndUserAccount as it, sendEvmAssetWithEndUserAccount as at, sendEvmTransactionWithEndUserAccount as st, sendSolanaAssetWithEndUserAccount as ct, sendSolanaTransactionWithEndUserAccount as dt, sendUserOperationWithEndUserAccount as Et, signBtcHashWithEndUserAccount as mt, signEvmHashWithEndUserAccount as pt, signEvmMessageWithEndUserAccount as lt, signEvmTransactionWithEndUserAccount as ut, signEvmTypedDataWithEndUserAccount as At, signSolanaHashWithEndUserAccount as ht, signSolanaMessageWithEndUserAccount as yt, signSolanaTransactionWithEndUserAccount as Ut, signSolanaX402PaymentWithEndUserAccount as St, submitMfaEnrollment as gt, submitMfaVerification as Tt, verifyEmailAuthentication as ft, verifyOAuthCode as kt, verifyOAuthEndUserIdentity as vt, verifySiweAuthentication as Pt, verifySmsAuthentication as Wt } from "./index8.js";
|
|
8
|
+
import { createOnrampIosAttestationChallenge as wt, createOnrampMobileChallenge as Bt, createOnrampMobileSession as It, registerOnrampIosAttestation as Mt } from "./index9.js";
|
|
9
9
|
e.registerPackageVersion("api_client", t);
|
|
10
10
|
export {
|
|
11
|
-
|
|
11
|
+
me as APIError,
|
|
12
12
|
s as CapabilityName,
|
|
13
13
|
c as CreateEndUserBtcAccountBodyAddressType,
|
|
14
14
|
d as CreateEndUserBtcAccountBodyNetwork,
|
|
@@ -24,10 +24,10 @@ export {
|
|
|
24
24
|
S as EvmSwapsNetwork,
|
|
25
25
|
g as EvmUserOperationNetwork,
|
|
26
26
|
T as EvmUserOperationStatus,
|
|
27
|
-
|
|
27
|
+
pe as HttpErrorType,
|
|
28
28
|
f as InitiateEmailAuthenticationNextStepType,
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
k as InitiateEmailAuthenticationRequestType,
|
|
30
|
+
v as InitiatePasskeyMfaEnrollmentType,
|
|
31
31
|
P as InitiateSiweAuthenticationRequestType,
|
|
32
32
|
W as InitiateSmsAuthenticationNextStepType,
|
|
33
33
|
O as InitiateSmsAuthenticationRequestType,
|
|
@@ -35,14 +35,14 @@ export {
|
|
|
35
35
|
B as InitiateTotpMfaEnrollmentType,
|
|
36
36
|
I as IosAttestationRegistrationResponsePlatform,
|
|
37
37
|
M as MfaMethod,
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
38
|
+
C as Network,
|
|
39
|
+
N as OAuth2ProviderType,
|
|
40
|
+
D as OnrampQuotePaymentMethodTypeId,
|
|
41
|
+
R as OtpEmailLogoStatus,
|
|
42
42
|
V as PasskeySummaryTransportsItem,
|
|
43
43
|
b as PasskeyUserVerification,
|
|
44
44
|
X as RefreshAccessTokenBodyGrantType,
|
|
45
|
-
|
|
45
|
+
le as RefreshTokenUnavailableError,
|
|
46
46
|
x as SendEvmAssetWithEndUserAccountBodyNetwork,
|
|
47
47
|
F as SendEvmTransactionWithEndUserAccountBodyNetwork,
|
|
48
48
|
q as SendSolanaAssetWithEndUserAccountBodyNetwork,
|
|
@@ -53,8 +53,8 @@ export {
|
|
|
53
53
|
L as SpendPermissionNetwork,
|
|
54
54
|
Q as SubmitPasskeyRegistrationType,
|
|
55
55
|
_ as SubmitPasskeyVerificationType,
|
|
56
|
-
|
|
57
|
-
|
|
56
|
+
ue as UnknownApiError,
|
|
57
|
+
Ae as UnknownError,
|
|
58
58
|
z as X402BatchSettlementClaimPayloadType,
|
|
59
59
|
K as X402BatchSettlementDepositPayloadType,
|
|
60
60
|
Y as X402BatchSettlementRefundPayloadType,
|
|
@@ -66,74 +66,75 @@ export {
|
|
|
66
66
|
re as X402V2Network,
|
|
67
67
|
oe as X402V2PaymentRequirementsScheme,
|
|
68
68
|
ie as X402Version,
|
|
69
|
-
|
|
69
|
+
ge as authenticateUserWithCustomAuth,
|
|
70
70
|
se as configureCdpApiClient,
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
71
|
+
Te as createDelegationForEndUser,
|
|
72
|
+
fe as createDelegationForEndUserAccount,
|
|
73
|
+
ke as createEndUserApplePayOnrampOrder,
|
|
74
74
|
ve as createEndUserBtcAccount,
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
75
|
+
Pe as createEndUserEvmAccount,
|
|
76
|
+
We as createEndUserEvmSmartAccount,
|
|
77
|
+
Oe as createEndUserEvmSwap,
|
|
78
|
+
we as createEndUserSolanaAccount,
|
|
79
|
+
Be as createEvmEip7702DelegationWithEndUserAccount,
|
|
80
|
+
wt as createOnrampIosAttestationChallenge,
|
|
81
|
+
Bt as createOnrampMobileChallenge,
|
|
82
|
+
It as createOnrampMobileSession,
|
|
83
|
+
Ie as createSpendPermissionWithEndUserAccount,
|
|
84
|
+
Me as deletePasskey,
|
|
85
|
+
Ce as enableSpendPermissionWithEndUserAccount,
|
|
86
86
|
Ne as exportEndUserEvmAccount,
|
|
87
|
-
|
|
87
|
+
De as exportEndUserSolanaAccount,
|
|
88
88
|
Re as generateAttestationChallenge,
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
89
|
+
Ve as getAuthenticatedEndUser,
|
|
90
|
+
be as getDelegationForEndUser,
|
|
91
|
+
Xe as getDelegationForEndUserAccount,
|
|
92
|
+
xe as getEndUserEvmSwapPrice,
|
|
93
|
+
Fe as getEvmEip7702DelegationOperationByIdWithEndUserAccount,
|
|
94
|
+
qe as getMfaConfig,
|
|
95
|
+
He as getProjectConfig,
|
|
96
|
+
je as getUserOperationWithEndUserAccount,
|
|
97
|
+
Ge as initiateAuthentication,
|
|
98
|
+
Je as initiateMfaEnrollment,
|
|
99
|
+
Le as initiateMfaEnrollment2,
|
|
100
|
+
Qe as initiateMfaVerification,
|
|
101
|
+
he as isOpenAPIError,
|
|
102
|
+
ye as isRefreshTokenUnavailableError,
|
|
103
|
+
Ue as isTransientTokenReadError,
|
|
104
|
+
_e as listPasskeys,
|
|
105
|
+
ze as listSpendPermissionsWithEndUserAccount,
|
|
106
|
+
Ke as logOutEndUser,
|
|
107
|
+
Ye as receiveOAuthCallback,
|
|
108
|
+
Ze as receiveOAuthCallbackPost,
|
|
109
|
+
$e as recordMfaEnrollmentPrompted,
|
|
110
|
+
et as refreshAccessToken,
|
|
111
|
+
tt as registerAttestation,
|
|
112
|
+
Mt as registerOnrampIosAttestation,
|
|
113
|
+
nt as registerTemporaryWalletSecret,
|
|
114
|
+
rt as revokeDelegationForEndUser,
|
|
115
|
+
ot as revokeDelegationForEndUserAccount,
|
|
116
|
+
it as revokeSpendPermissionWithEndUserAccount,
|
|
117
|
+
at as sendEvmAssetWithEndUserAccount,
|
|
118
|
+
st as sendEvmTransactionWithEndUserAccount,
|
|
119
|
+
ct as sendSolanaAssetWithEndUserAccount,
|
|
120
|
+
dt as sendSolanaTransactionWithEndUserAccount,
|
|
121
|
+
Et as sendUserOperationWithEndUserAccount,
|
|
122
122
|
ce as setAuthManager,
|
|
123
|
-
|
|
124
|
-
mt as
|
|
125
|
-
pt as
|
|
126
|
-
lt as
|
|
127
|
-
ut as
|
|
128
|
-
At as
|
|
129
|
-
ht as
|
|
130
|
-
yt as
|
|
131
|
-
Ut as
|
|
132
|
-
St as
|
|
133
|
-
gt as
|
|
134
|
-
Tt as
|
|
135
|
-
ft as
|
|
123
|
+
de as setCookieDomain,
|
|
124
|
+
mt as signBtcHashWithEndUserAccount,
|
|
125
|
+
pt as signEvmHashWithEndUserAccount,
|
|
126
|
+
lt as signEvmMessageWithEndUserAccount,
|
|
127
|
+
ut as signEvmTransactionWithEndUserAccount,
|
|
128
|
+
At as signEvmTypedDataWithEndUserAccount,
|
|
129
|
+
ht as signSolanaHashWithEndUserAccount,
|
|
130
|
+
yt as signSolanaMessageWithEndUserAccount,
|
|
131
|
+
Ut as signSolanaTransactionWithEndUserAccount,
|
|
132
|
+
St as signSolanaX402PaymentWithEndUserAccount,
|
|
133
|
+
gt as submitMfaEnrollment,
|
|
134
|
+
Tt as submitMfaVerification,
|
|
135
|
+
ft as verifyEmailAuthentication,
|
|
136
|
+
kt as verifyOAuthCode,
|
|
136
137
|
vt as verifyOAuthEndUserIdentity,
|
|
137
|
-
|
|
138
|
-
|
|
138
|
+
Pt as verifySiweAuthentication,
|
|
139
|
+
Wt as verifySmsAuthentication
|
|
139
140
|
};
|
package/dist/esm/index11.js
CHANGED
package/dist/esm/index13.js
CHANGED
|
@@ -1,10 +1,41 @@
|
|
|
1
|
-
import { __module as
|
|
2
|
-
import { __require as
|
|
3
|
-
import { __require as
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import { __module as h } from "./index14.js";
|
|
2
|
+
import { __require as S } from "./index15.js";
|
|
3
|
+
import { __require as q } from "./index16.js";
|
|
4
|
+
import { __require as w } from "./index17.js";
|
|
5
|
+
var x;
|
|
6
|
+
function G() {
|
|
7
|
+
return x ? h.exports : (x = 1, (function() {
|
|
8
|
+
var v = S(), p = q().utf8, B = w(), F = q().bin, d = function(o, f) {
|
|
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
|
+
for (var u = v.bytesToWords(o), a = o.length * 8, n = 1732584193, r = -271733879, i = -1732584194, t = 271733878, e = 0; e < u.length; e++)
|
|
11
|
+
u[e] = (u[e] << 8 | u[e] >>> 24) & 16711935 | (u[e] << 24 | u[e] >>> 8) & 4278255360;
|
|
12
|
+
u[a >>> 5] |= 128 << a % 32, u[(a + 64 >>> 9 << 4) + 14] = a;
|
|
13
|
+
for (var _ = d._ff, c = d._gg, l = d._hh, y = d._ii, e = 0; e < u.length; e += 16) {
|
|
14
|
+
var T = n, b = r, A = i, I = t;
|
|
15
|
+
n = _(n, r, i, t, u[e + 0], 7, -680876936), t = _(t, n, r, i, u[e + 1], 12, -389564586), i = _(i, t, n, r, u[e + 2], 17, 606105819), r = _(r, i, t, n, u[e + 3], 22, -1044525330), n = _(n, r, i, t, u[e + 4], 7, -176418897), t = _(t, n, r, i, u[e + 5], 12, 1200080426), i = _(i, t, n, r, u[e + 6], 17, -1473231341), r = _(r, i, t, n, u[e + 7], 22, -45705983), n = _(n, r, i, t, u[e + 8], 7, 1770035416), t = _(t, n, r, i, u[e + 9], 12, -1958414417), i = _(i, t, n, r, u[e + 10], 17, -42063), r = _(r, i, t, n, u[e + 11], 22, -1990404162), n = _(n, r, i, t, u[e + 12], 7, 1804603682), t = _(t, n, r, i, u[e + 13], 12, -40341101), i = _(i, t, n, r, u[e + 14], 17, -1502002290), r = _(r, i, t, n, u[e + 15], 22, 1236535329), n = c(n, r, i, t, u[e + 1], 5, -165796510), t = c(t, n, r, i, u[e + 6], 9, -1069501632), i = c(i, t, n, r, u[e + 11], 14, 643717713), r = c(r, i, t, n, u[e + 0], 20, -373897302), n = c(n, r, i, t, u[e + 5], 5, -701558691), t = c(t, n, r, i, u[e + 10], 9, 38016083), i = c(i, t, n, r, u[e + 15], 14, -660478335), r = c(r, i, t, n, u[e + 4], 20, -405537848), n = c(n, r, i, t, u[e + 9], 5, 568446438), t = c(t, n, r, i, u[e + 14], 9, -1019803690), i = c(i, t, n, r, u[e + 3], 14, -187363961), r = c(r, i, t, n, u[e + 8], 20, 1163531501), n = c(n, r, i, t, u[e + 13], 5, -1444681467), t = c(t, n, r, i, u[e + 2], 9, -51403784), i = c(i, t, n, r, u[e + 7], 14, 1735328473), r = c(r, i, t, n, u[e + 12], 20, -1926607734), n = l(n, r, i, t, u[e + 5], 4, -378558), t = l(t, n, r, i, u[e + 8], 11, -2022574463), i = l(i, t, n, r, u[e + 11], 16, 1839030562), r = l(r, i, t, n, u[e + 14], 23, -35309556), n = l(n, r, i, t, u[e + 1], 4, -1530992060), t = l(t, n, r, i, u[e + 4], 11, 1272893353), i = l(i, t, n, r, u[e + 7], 16, -155497632), r = l(r, i, t, n, u[e + 10], 23, -1094730640), n = l(n, r, i, t, u[e + 13], 4, 681279174), t = l(t, n, r, i, u[e + 0], 11, -358537222), i = l(i, t, n, r, u[e + 3], 16, -722521979), r = l(r, i, t, n, u[e + 6], 23, 76029189), n = l(n, r, i, t, u[e + 9], 4, -640364487), t = l(t, n, r, i, u[e + 12], 11, -421815835), i = l(i, t, n, r, u[e + 15], 16, 530742520), r = l(r, i, t, n, u[e + 2], 23, -995338651), n = y(n, r, i, t, u[e + 0], 6, -198630844), t = y(t, n, r, i, u[e + 7], 10, 1126891415), i = y(i, t, n, r, u[e + 14], 15, -1416354905), r = y(r, i, t, n, u[e + 5], 21, -57434055), n = y(n, r, i, t, u[e + 12], 6, 1700485571), t = y(t, n, r, i, u[e + 3], 10, -1894986606), i = y(i, t, n, r, u[e + 10], 15, -1051523), r = y(r, i, t, n, u[e + 1], 21, -2054922799), n = y(n, r, i, t, u[e + 8], 6, 1873313359), t = y(t, n, r, i, u[e + 15], 10, -30611744), i = y(i, t, n, r, u[e + 6], 15, -1560198380), r = y(r, i, t, n, u[e + 13], 21, 1309151649), n = y(n, r, i, t, u[e + 4], 6, -145523070), t = y(t, n, r, i, u[e + 11], 10, -1120210379), i = y(i, t, n, r, u[e + 2], 15, 718787259), r = y(r, i, t, n, u[e + 9], 21, -343485551), n = n + T >>> 0, r = r + b >>> 0, i = i + A >>> 0, t = t + I >>> 0;
|
|
16
|
+
}
|
|
17
|
+
return v.endian([n, r, i, t]);
|
|
18
|
+
};
|
|
19
|
+
d._ff = function(o, f, u, a, n, r, i) {
|
|
20
|
+
var t = o + (f & u | ~f & a) + (n >>> 0) + i;
|
|
21
|
+
return (t << r | t >>> 32 - r) + f;
|
|
22
|
+
}, d._gg = function(o, f, u, a, n, r, i) {
|
|
23
|
+
var t = o + (f & a | u & ~a) + (n >>> 0) + i;
|
|
24
|
+
return (t << r | t >>> 32 - r) + f;
|
|
25
|
+
}, d._hh = function(o, f, u, a, n, r, i) {
|
|
26
|
+
var t = o + (f ^ u ^ a) + (n >>> 0) + i;
|
|
27
|
+
return (t << r | t >>> 32 - r) + f;
|
|
28
|
+
}, d._ii = function(o, f, u, a, n, r, i) {
|
|
29
|
+
var t = o + (u ^ (f | ~a)) + (n >>> 0) + i;
|
|
30
|
+
return (t << r | t >>> 32 - r) + f;
|
|
31
|
+
}, d._blocksize = 16, d._digestsize = 16, h.exports = function(o, f) {
|
|
32
|
+
if (o == null)
|
|
33
|
+
throw new Error("Illegal argument " + o);
|
|
34
|
+
var u = v.wordsToBytes(d(o, f));
|
|
35
|
+
return f && f.asBytes ? u : f && f.asString ? F.bytesToString(u) : v.bytesToHex(u);
|
|
36
|
+
};
|
|
37
|
+
})(), h.exports);
|
|
7
38
|
}
|
|
8
39
|
export {
|
|
9
|
-
|
|
40
|
+
G as __require
|
|
10
41
|
};
|