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