@coinbase/cdp-api-client 0.0.125 → 0.0.127
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 +137 -134
- 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/index5.js +82 -67
- package/dist/esm/index8.js +104 -84
- package/dist/esm/index9.js +15 -15
- package/dist/types/index.d.ts +118 -30
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
|
@@ -1,155 +1,158 @@
|
|
|
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 { BorrowPositionHealthStatus as s, BorrowProductAssetCapabilityType as c, BorrowProductNetwork as d, BorrowProductProtocol as E, CapabilityName as u, CreateEndUserBtcAccountBodyAddressType as l, CreateEndUserBtcAccountBodyNetwork as
|
|
5
|
-
import { configureCdpApiClient as
|
|
6
|
-
import { APIError as
|
|
7
|
-
import { adjustBorrowPositionWithEndUserAccount as
|
|
8
|
-
import { createOnrampIosAttestationChallenge as
|
|
4
|
+
import { BorrowPositionHealthStatus as s, BorrowProductAssetCapabilityType as c, BorrowProductNetwork as d, BorrowProductProtocol as E, CapabilityName as u, CreateEndUserBtcAccountBodyAddressType as l, CreateEndUserBtcAccountBodyNetwork as p, DeveloperJWTAuthenticationType as m, EmailAuthenticationType as A, EndUserAccountExportFormat as h, EndUserBtcAccountAddressType as y, EndUserBtcAccountNetwork as U, EndUserOnrampFeeType as S, EndUserOnrampOrderStatus as g, ErrorType as T, EvmEip7702DelegationNetwork as P, EvmEip7702DelegationOperationStatus as f, EvmSwapsNetwork as k, EvmUserOperationNetwork as v, EvmUserOperationStatus as B, InitiateEmailAuthenticationNextStepType as W, InitiateEmailAuthenticationRequestType as w, InitiatePasskeyMfaEnrollmentType as O, InitiateSiweAuthenticationRequestType as M, InitiateSmsAuthenticationNextStepType as D, InitiateSmsAuthenticationRequestType as N, InitiateSmsMfaEnrollmentType as C, InitiateTotpMfaEnrollmentType as I, IosAttestationRegistrationResponsePlatform as R, MfaMethod as V, MfaVerificationScope as b, MorphoBlueOnchainStateType as X, MorphoBlueProtocolDetailsType as x, Network as F, OAuth2ProviderType as H, OnrampQuotePaymentMethodTypeId as q, OtpEmailLogoStatus as j, PasskeySummaryTransportsItem as G, PasskeyUserVerification as J, RefreshAccessTokenBodyGrantType as L, SendEvmAssetWithEndUserAccountBodyNetwork as Q, SendEvmTransactionWithEndUserAccountBodyNetwork as _, SendSolanaAssetWithEndUserAccountBodyNetwork as z, SendSolanaTransactionWithEndUserAccountBodyNetwork as K, SignBtcHashWithEndUserAccountBodyChange as Y, SignSolanaTransactionWithEndUserAccountBodyNetwork as Z, SiweAuthenticationType as $, SmsAuthenticationType as ee, SpendPermissionNetwork as te, SubmitPasskeyRegistrationType as ne, SubmitPasskeyVerificationType as oe, X402BatchSettlementClaimPayloadType as re, X402BatchSettlementDepositPayloadType as ie, X402BatchSettlementRefundPayloadType as ae, X402BatchSettlementSettlePayloadType as se, X402BatchSettlementVoucherPayloadType as ce, X402V1Network as de, X402V1PaymentPayloadScheme as Ee, X402V1PaymentRequirementsScheme as ue, X402V2Network as le, X402V2PaymentRequirementsScheme as pe, X402Version as me } from "./index5.js";
|
|
5
|
+
import { configureCdpApiClient as he, setAuthManager as ye, setCookieDomain as Ue } from "./index6.js";
|
|
6
|
+
import { APIError as ge, HttpErrorType as Te, RefreshTokenUnavailableError as Pe, UnknownApiError as fe, UnknownError as ke, isOpenAPIError as ve, isRefreshTokenUnavailableError as Be, isTransientTokenReadError as We } from "./index7.js";
|
|
7
|
+
import { adjustBorrowPositionWithEndUserAccount as Oe, authenticateUserWithCustomAuth as Me, closeBorrowPositionWithEndUserAccount as De, createBorrowPositionWithEndUserAccount as Ne, createDelegationForEndUser as Ce, createDelegationForEndUserAccount as Ie, createEndUserApplePayOnrampOrder as Re, createEndUserBtcAccount as Ve, createEndUserEvmAccount as be, createEndUserEvmSmartAccount as Xe, createEndUserEvmSwap as xe, createEndUserSolanaAccount as Fe, createEvmEip7702DelegationWithEndUserAccount as He, createSpendPermissionWithEndUserAccount as qe, deletePasskey as je, enableSpendPermissionWithEndUserAccount as Ge, exportEndUserBtcAccount as Je, exportEndUserEvmAccount as Le, exportEndUserSolanaAccount as Qe, generateAttestationChallenge as _e, getAuthenticatedEndUser as ze, getDelegationForEndUser as Ke, getDelegationForEndUserAccount as Ye, getEndUserEvmSwapPrice as Ze, getEvmBorrowProduct as $e, getEvmEip7702DelegationOperationByIdWithEndUserAccount as et, getMfaConfig as tt, getProjectConfig as nt, getUserOperationWithEndUserAccount as ot, initiateAuthentication as rt, initiateMfaEnrollment as it, initiateMfaEnrollment2 as at, initiateMfaVerification as st, listBorrowPositionsWithEndUserAccount as ct, listEvmBorrowProducts as dt, listPasskeys as Et, listSpendPermissionsWithEndUserAccount as ut, logOutEndUser as lt, receiveOAuthCallback as pt, receiveOAuthCallbackPost as mt, recordMfaEnrollmentPrompted as At, refreshAccessToken as ht, registerAttestation as yt, registerTemporaryWalletSecret as Ut, revokeDelegationForEndUser as St, revokeDelegationForEndUserAccount as gt, revokeDelegationForEndUserAccountDeprecated as Tt, revokeDelegationForEndUserDeprecated as Pt, revokeSpendPermissionWithEndUserAccount as ft, sendEvmAssetWithEndUserAccount as kt, sendEvmTransactionWithEndUserAccount as vt, sendSolanaAssetWithEndUserAccount as Bt, sendSolanaTransactionWithEndUserAccount as Wt, sendUserOperationWithEndUserAccount as wt, signBtcHashWithEndUserAccount as Ot, signEvmHashWithEndUserAccount as Mt, signEvmMessageWithEndUserAccount as Dt, signEvmTransactionWithEndUserAccount as Nt, signEvmTypedDataWithEndUserAccount as Ct, signSolanaHashWithEndUserAccount as It, signSolanaMessageWithEndUserAccount as Rt, signSolanaTransactionWithEndUserAccount as Vt, signSolanaX402PaymentWithEndUserAccount as bt, submitMfaEnrollment as Xt, submitMfaVerification as xt, verifyEmailAuthentication as Ft, verifyOAuthCode as Ht, verifyOAuthEndUserIdentity as qt, verifySiweAuthentication as jt, verifySmsAuthentication as Gt } from "./index8.js";
|
|
8
|
+
import { createOnrampIosAttestationChallenge as Lt, createOnrampMobileChallenge as Qt, createOnrampMobileSession as _t, registerOnrampIosAttestation as zt } from "./index9.js";
|
|
9
9
|
e.registerPackageVersion("api_client", t);
|
|
10
10
|
export {
|
|
11
|
-
|
|
11
|
+
ge as APIError,
|
|
12
12
|
s as BorrowPositionHealthStatus,
|
|
13
13
|
c as BorrowProductAssetCapabilityType,
|
|
14
14
|
d as BorrowProductNetwork,
|
|
15
15
|
E as BorrowProductProtocol,
|
|
16
16
|
u as CapabilityName,
|
|
17
17
|
l as CreateEndUserBtcAccountBodyAddressType,
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
p as CreateEndUserBtcAccountBodyNetwork,
|
|
19
|
+
m as DeveloperJWTAuthenticationType,
|
|
20
20
|
A as EmailAuthenticationType,
|
|
21
|
-
h as
|
|
22
|
-
y as
|
|
23
|
-
U as
|
|
24
|
-
S as
|
|
25
|
-
g as
|
|
26
|
-
T as
|
|
27
|
-
P as
|
|
28
|
-
f as
|
|
29
|
-
k as
|
|
30
|
-
v as
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
W as
|
|
34
|
-
w as
|
|
35
|
-
O as
|
|
36
|
-
M as
|
|
21
|
+
h as EndUserAccountExportFormat,
|
|
22
|
+
y as EndUserBtcAccountAddressType,
|
|
23
|
+
U as EndUserBtcAccountNetwork,
|
|
24
|
+
S as EndUserOnrampFeeType,
|
|
25
|
+
g as EndUserOnrampOrderStatus,
|
|
26
|
+
T as ErrorType,
|
|
27
|
+
P as EvmEip7702DelegationNetwork,
|
|
28
|
+
f as EvmEip7702DelegationOperationStatus,
|
|
29
|
+
k as EvmSwapsNetwork,
|
|
30
|
+
v as EvmUserOperationNetwork,
|
|
31
|
+
B as EvmUserOperationStatus,
|
|
32
|
+
Te as HttpErrorType,
|
|
33
|
+
W as InitiateEmailAuthenticationNextStepType,
|
|
34
|
+
w as InitiateEmailAuthenticationRequestType,
|
|
35
|
+
O as InitiatePasskeyMfaEnrollmentType,
|
|
36
|
+
M as InitiateSiweAuthenticationRequestType,
|
|
37
|
+
D as InitiateSmsAuthenticationNextStepType,
|
|
37
38
|
N as InitiateSmsAuthenticationRequestType,
|
|
38
39
|
C as InitiateSmsMfaEnrollmentType,
|
|
39
40
|
I as InitiateTotpMfaEnrollmentType,
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
41
|
+
R as IosAttestationRegistrationResponsePlatform,
|
|
42
|
+
V as MfaMethod,
|
|
43
|
+
b as MfaVerificationScope,
|
|
44
|
+
X as MorphoBlueOnchainStateType,
|
|
45
|
+
x as MorphoBlueProtocolDetailsType,
|
|
46
|
+
F as Network,
|
|
47
|
+
H as OAuth2ProviderType,
|
|
48
|
+
q as OnrampQuotePaymentMethodTypeId,
|
|
49
|
+
j as OtpEmailLogoStatus,
|
|
50
|
+
G as PasskeySummaryTransportsItem,
|
|
51
|
+
J as PasskeyUserVerification,
|
|
52
|
+
L as RefreshAccessTokenBodyGrantType,
|
|
53
|
+
Pe as RefreshTokenUnavailableError,
|
|
54
|
+
Q as SendEvmAssetWithEndUserAccountBodyNetwork,
|
|
55
|
+
_ as SendEvmTransactionWithEndUserAccountBodyNetwork,
|
|
56
|
+
z as SendSolanaAssetWithEndUserAccountBodyNetwork,
|
|
57
|
+
K as SendSolanaTransactionWithEndUserAccountBodyNetwork,
|
|
58
|
+
Y as SignBtcHashWithEndUserAccountBodyChange,
|
|
59
|
+
Z as SignSolanaTransactionWithEndUserAccountBodyNetwork,
|
|
60
|
+
$ as SiweAuthenticationType,
|
|
61
|
+
ee as SmsAuthenticationType,
|
|
62
|
+
te as SpendPermissionNetwork,
|
|
63
|
+
ne as SubmitPasskeyRegistrationType,
|
|
64
|
+
oe as SubmitPasskeyVerificationType,
|
|
65
|
+
fe as UnknownApiError,
|
|
66
|
+
ke as UnknownError,
|
|
67
|
+
re as X402BatchSettlementClaimPayloadType,
|
|
68
|
+
ie as X402BatchSettlementDepositPayloadType,
|
|
69
|
+
ae as X402BatchSettlementRefundPayloadType,
|
|
70
|
+
se as X402BatchSettlementSettlePayloadType,
|
|
71
|
+
ce as X402BatchSettlementVoucherPayloadType,
|
|
72
|
+
de as X402V1Network,
|
|
73
|
+
Ee as X402V1PaymentPayloadScheme,
|
|
74
|
+
ue as X402V1PaymentRequirementsScheme,
|
|
75
|
+
le as X402V2Network,
|
|
76
|
+
pe as X402V2PaymentRequirementsScheme,
|
|
76
77
|
me as X402Version,
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
78
|
+
Oe as adjustBorrowPositionWithEndUserAccount,
|
|
79
|
+
Me as authenticateUserWithCustomAuth,
|
|
80
|
+
De as closeBorrowPositionWithEndUserAccount,
|
|
81
|
+
he as configureCdpApiClient,
|
|
81
82
|
Ne as createBorrowPositionWithEndUserAccount,
|
|
82
83
|
Ce as createDelegationForEndUser,
|
|
83
84
|
Ie as createDelegationForEndUserAccount,
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
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
|
-
|
|
122
|
-
|
|
85
|
+
Re as createEndUserApplePayOnrampOrder,
|
|
86
|
+
Ve as createEndUserBtcAccount,
|
|
87
|
+
be as createEndUserEvmAccount,
|
|
88
|
+
Xe as createEndUserEvmSmartAccount,
|
|
89
|
+
xe as createEndUserEvmSwap,
|
|
90
|
+
Fe as createEndUserSolanaAccount,
|
|
91
|
+
He as createEvmEip7702DelegationWithEndUserAccount,
|
|
92
|
+
Lt as createOnrampIosAttestationChallenge,
|
|
93
|
+
Qt as createOnrampMobileChallenge,
|
|
94
|
+
_t as createOnrampMobileSession,
|
|
95
|
+
qe as createSpendPermissionWithEndUserAccount,
|
|
96
|
+
je as deletePasskey,
|
|
97
|
+
Ge as enableSpendPermissionWithEndUserAccount,
|
|
98
|
+
Je as exportEndUserBtcAccount,
|
|
99
|
+
Le as exportEndUserEvmAccount,
|
|
100
|
+
Qe as exportEndUserSolanaAccount,
|
|
101
|
+
_e as generateAttestationChallenge,
|
|
102
|
+
ze as getAuthenticatedEndUser,
|
|
103
|
+
Ke as getDelegationForEndUser,
|
|
104
|
+
Ye as getDelegationForEndUserAccount,
|
|
105
|
+
Ze as getEndUserEvmSwapPrice,
|
|
106
|
+
$e as getEvmBorrowProduct,
|
|
107
|
+
et as getEvmEip7702DelegationOperationByIdWithEndUserAccount,
|
|
108
|
+
tt as getMfaConfig,
|
|
109
|
+
nt as getProjectConfig,
|
|
110
|
+
ot as getUserOperationWithEndUserAccount,
|
|
111
|
+
rt as initiateAuthentication,
|
|
112
|
+
it as initiateMfaEnrollment,
|
|
113
|
+
at as initiateMfaEnrollment2,
|
|
114
|
+
st as initiateMfaVerification,
|
|
115
|
+
ve as isOpenAPIError,
|
|
116
|
+
Be as isRefreshTokenUnavailableError,
|
|
117
|
+
We as isTransientTokenReadError,
|
|
118
|
+
ct as listBorrowPositionsWithEndUserAccount,
|
|
119
|
+
dt as listEvmBorrowProducts,
|
|
120
|
+
Et as listPasskeys,
|
|
121
|
+
ut as listSpendPermissionsWithEndUserAccount,
|
|
122
|
+
lt as logOutEndUser,
|
|
123
|
+
pt as receiveOAuthCallback,
|
|
123
124
|
mt as receiveOAuthCallbackPost,
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
Nt as
|
|
145
|
-
Ct as
|
|
146
|
-
It as
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
125
|
+
At as recordMfaEnrollmentPrompted,
|
|
126
|
+
ht as refreshAccessToken,
|
|
127
|
+
yt as registerAttestation,
|
|
128
|
+
zt as registerOnrampIosAttestation,
|
|
129
|
+
Ut as registerTemporaryWalletSecret,
|
|
130
|
+
St as revokeDelegationForEndUser,
|
|
131
|
+
gt as revokeDelegationForEndUserAccount,
|
|
132
|
+
Tt as revokeDelegationForEndUserAccountDeprecated,
|
|
133
|
+
Pt as revokeDelegationForEndUserDeprecated,
|
|
134
|
+
ft as revokeSpendPermissionWithEndUserAccount,
|
|
135
|
+
kt as sendEvmAssetWithEndUserAccount,
|
|
136
|
+
vt as sendEvmTransactionWithEndUserAccount,
|
|
137
|
+
Bt as sendSolanaAssetWithEndUserAccount,
|
|
138
|
+
Wt as sendSolanaTransactionWithEndUserAccount,
|
|
139
|
+
wt as sendUserOperationWithEndUserAccount,
|
|
140
|
+
ye as setAuthManager,
|
|
141
|
+
Ue as setCookieDomain,
|
|
142
|
+
Ot as signBtcHashWithEndUserAccount,
|
|
143
|
+
Mt as signEvmHashWithEndUserAccount,
|
|
144
|
+
Dt as signEvmMessageWithEndUserAccount,
|
|
145
|
+
Nt as signEvmTransactionWithEndUserAccount,
|
|
146
|
+
Ct as signEvmTypedDataWithEndUserAccount,
|
|
147
|
+
It as signSolanaHashWithEndUserAccount,
|
|
148
|
+
Rt as signSolanaMessageWithEndUserAccount,
|
|
149
|
+
Vt as signSolanaTransactionWithEndUserAccount,
|
|
150
|
+
bt as signSolanaX402PaymentWithEndUserAccount,
|
|
151
|
+
Xt as submitMfaEnrollment,
|
|
152
|
+
xt as submitMfaVerification,
|
|
153
|
+
Ft as verifyEmailAuthentication,
|
|
154
|
+
Ht as verifyOAuthCode,
|
|
155
|
+
qt as verifyOAuthEndUserIdentity,
|
|
156
|
+
jt as verifySiweAuthentication,
|
|
157
|
+
Gt as verifySmsAuthentication
|
|
155
158
|
};
|
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
|
};
|