@coinbase/cdp-api-client 0.0.71 → 0.0.73
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 +151 -150
- package/dist/esm/index10.js +1 -1
- package/dist/esm/index12.js +38 -7
- package/dist/esm/index14.js +67 -375
- package/dist/esm/index15.js +34 -835
- package/dist/esm/index16.js +20 -38
- package/dist/esm/index17.js +8 -2
- package/dist/esm/index18.js +2 -70
- package/dist/esm/index19.js +373 -30
- package/dist/esm/index20.js +835 -20
- 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 +23 -16
- package/dist/esm/index6.js +21 -22
- package/dist/types/index.d.ts +37 -10
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
|
@@ -1,150 +1,150 @@
|
|
|
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 { authenticateUserWithCustomAuth as s, createEndUserEvmAccount as p, createEndUserEvmSmartAccount as c, createEndUserSolanaAccount as
|
|
5
|
-
import { AbiFunctionType as
|
|
6
|
-
import { configureCdpApiClient as
|
|
7
|
-
import { APIError as mr, HttpErrorType as
|
|
4
|
+
import { authenticateUserWithCustomAuth as s, createEndUserEvmAccount as p, createEndUserEvmSmartAccount as c, createEndUserSolanaAccount as d, createSpendPermissionWithEndUserAccount as m, exportEndUserEvmAccount as u, exportEndUserSolanaAccount as l, getAuthenticatedEndUser as y, getUserOperationWithEndUserAccount as T, initiateAuthentication as S, initiateMfaEnrollment as E, initiateMfaVerification as A, listSpendPermissionsWithEndUserAccount as h, logOutEndUser as C, recordMfaEnrollmentPrompted as O, refreshAccessToken as v, registerTemporaryWalletSecret as g, revokeSpendPermissionWithEndUserAccount as R, sendEvmTransactionWithEndUserAccount as k, sendSolanaTransactionWithEndUserAccount as P, sendUserOperationWithEndUserAccount as U, signEvmHashWithEndUserAccount as f, signEvmMessageWithEndUserAccount as w, signEvmTransactionWithEndUserAccount as N, signEvmTypedDataWithEndUserAccount as D, signSolanaHashWithEndUserAccount as M, signSolanaMessageWithEndUserAccount as W, signSolanaTransactionWithEndUserAccount as I, submitMfaEnrollment as V, submitMfaVerification as b, verifyEmailAuthentication as q, verifyOAuthCode as L, verifySmsAuthentication as X } from "./index5.js";
|
|
5
|
+
import { AbiFunctionType as F, AbiInputType as B, AbiStateMutability as H, AccountType as K, AchDetailsAccountType as j, AddressRiskNetwork as G, AddressRiskRiskLevel as J, AssetType as Q, CapabilityStatus as _, CoolPaymentMethodType as z, CreateDepositDestinationRequestType as Y, CreatePaymentMethodRequestAchType as Z, CreatePaymentMethodRequestFedwireType as $, CryptoDepositDestinationType as ee, CustomerType as te, DepositDestinationType as re, DeveloperJWTAuthenticationType as ne, EmailAuthenticationType as ie, ErrorType as oe, EthValueCriterionOperator as ae, EthValueCriterionType as se, EvmAddressCriterionOperator as pe, EvmAddressCriterionType as ce, EvmDataCriterionType as de, EvmDataParameterConditionListOperator as me, EvmDataParameterConditionOperator as ue, EvmMessageCriterionType as le, EvmNetworkCriterionNetworksItem as ye, EvmNetworkCriterionOperator as Te, EvmNetworkCriterionType as Se, EvmSwapsNetwork as Ee, EvmTypedAddressConditionOperator as Ae, EvmTypedNumericalConditionOperator as he, EvmUserOperationNetwork as Ce, EvmUserOperationStatus as Oe, InitiateEmailAuthenticationNextStepType as ve, InitiateEmailAuthenticationRequestType as ge, InitiateSmsAuthenticationNextStepType as Re, InitiateSmsAuthenticationRequestType as ke, InvitationStatus as Pe, KnownAbiType as Ue, KnownIdlType as fe, LimitPeriod as we, LinkAccountType as Ne, LinkableEntityRole as De, LinkableEntityType as Me, ListEvmTokenBalancesNetwork as We, ListSolanaTokenBalancesNetwork as Ie, MfaMethod as Ve, MintAddressCriterionOperator as be, MintAddressCriterionType as qe, NetUSDChangeCriterionOperator as Le, NetUSDChangeCriterionType as Xe, Network as xe, OAuth2ProviderType as Fe, OnchainDataResultSchemaColumnsItemType as Be, OnrampOrderFeeType as He, OnrampOrderPaymentMethodTypeId as Ke, OnrampOrderStatus as je, OnrampPaymentLinkType as Ge, OnrampQuotePaymentMethodTypeId as Je, PermissionCatalogObjectsItemType as Qe, PermissionSubjectType as _e, PermissionVerb as ze, PolicyScope as Ye, PrepareUserOperationRuleAction as Ze, PrepareUserOperationRuleOperation as $e, ProgramIdCriterionOperator as et, ProgramIdCriterionType as tt, RefreshAccessTokenBodyGrantType as rt, RequirementErrorCode as nt, RequirementField as it, SendEvmTransactionRuleAction as ot, SendEvmTransactionRuleOperation as at, SendEvmTransactionWithEndUserAccountBodyNetwork as st, SendSolTransactionRuleAction as pt, SendSolTransactionRuleOperation as ct, SendSolanaTransactionWithEndUserAccountBodyNetwork as dt, SendUserOperationRuleAction as mt, SendUserOperationRuleOperation as ut, SignEvmHashRuleAction as lt, SignEvmHashRuleOperation as yt, SignEvmMessageRuleAction as Tt, SignEvmMessageRuleOperation as St, SignEvmTransactionRuleAction as Et, SignEvmTransactionRuleOperation as At, SignEvmTypedDataFieldCriterionType as ht, SignEvmTypedDataRuleAction as Ct, SignEvmTypedDataRuleOperation as Ot, SignEvmTypedDataVerifyingContractCriterionOperator as vt, SignEvmTypedDataVerifyingContractCriterionType as gt, SignSolMessageRuleAction as Rt, SignSolMessageRuleOperation as kt, SignSolTransactionRuleAction as Pt, SignSolTransactionRuleOperation as Ut, SmsAuthenticationType as ft, SolAddressCriterionOperator as wt, SolAddressCriterionType as Nt, SolDataCriterionType as Dt, SolDataParameterConditionListOperator as Mt, SolDataParameterConditionOperator as Wt, SolMessageCriterionType as It, SolNetworkCriterionNetworksItem as Vt, SolNetworkCriterionOperator as bt, SolNetworkCriterionType as qt, SolValueCriterionOperator as Lt, SolValueCriterionType as Xt, SpendPermissionNetwork as xt, SplAddressCriterionOperator as Ft, SplAddressCriterionType as Bt, SplValueCriterionOperator as Ht, SplValueCriterionType as Kt, TransferCancellationReason as jt, TransferFeeType as Gt, TransferRequestAmountType as Jt, TransferReversalReason as Qt, TransferStatus as _t, TransferStatusChangedWebhookEventEventType as zt, X402DiscoveryResourceType as Yt, X402PaymentPayloadNetwork as Zt, X402PaymentPayloadScheme as $t, X402PaymentRequirementsNetwork as er, X402PaymentRequirementsScheme as tr, X402SettleErrorReason as rr, X402SupportedPaymentKindNetwork as nr, X402SupportedPaymentKindScheme as ir, X402VerifyInvalidReason as or, X402Version as ar } from "./index6.js";
|
|
6
|
+
import { configureCdpApiClient as pr, setAuthManager as cr } from "./index7.js";
|
|
7
|
+
import { APIError as mr, HttpErrorType as ur, UnknownApiError as lr, UnknownError as yr, isOpenAPIError as Tr } from "./index8.js";
|
|
8
8
|
e.registerPackageVersion("api_client", t);
|
|
9
9
|
export {
|
|
10
10
|
mr as APIError,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
11
|
+
F as AbiFunctionType,
|
|
12
|
+
B as AbiInputType,
|
|
13
|
+
H as AbiStateMutability,
|
|
14
|
+
K as AccountType,
|
|
15
|
+
j as AchDetailsAccountType,
|
|
16
|
+
G as AddressRiskNetwork,
|
|
17
|
+
J as AddressRiskRiskLevel,
|
|
18
|
+
Q as AssetType,
|
|
19
|
+
_ as CapabilityStatus,
|
|
20
|
+
z as CoolPaymentMethodType,
|
|
21
|
+
Y as CreateDepositDestinationRequestType,
|
|
22
|
+
Z as CreatePaymentMethodRequestAchType,
|
|
23
|
+
$ as CreatePaymentMethodRequestFedwireType,
|
|
24
|
+
ee as CryptoDepositDestinationType,
|
|
25
|
+
te as CustomerType,
|
|
26
|
+
re as DepositDestinationType,
|
|
27
|
+
ne as DeveloperJWTAuthenticationType,
|
|
28
|
+
ie as EmailAuthenticationType,
|
|
29
|
+
oe as ErrorType,
|
|
30
|
+
ae as EthValueCriterionOperator,
|
|
31
|
+
se as EthValueCriterionType,
|
|
32
|
+
pe as EvmAddressCriterionOperator,
|
|
33
|
+
ce as EvmAddressCriterionType,
|
|
34
|
+
de as EvmDataCriterionType,
|
|
35
35
|
me as EvmDataParameterConditionListOperator,
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
36
|
+
ue as EvmDataParameterConditionOperator,
|
|
37
|
+
le as EvmMessageCriterionType,
|
|
38
|
+
ye as EvmNetworkCriterionNetworksItem,
|
|
39
|
+
Te as EvmNetworkCriterionOperator,
|
|
40
|
+
Se as EvmNetworkCriterionType,
|
|
41
|
+
Ee as EvmSwapsNetwork,
|
|
42
|
+
Ae as EvmTypedAddressConditionOperator,
|
|
43
|
+
he as EvmTypedNumericalConditionOperator,
|
|
44
|
+
Ce as EvmUserOperationNetwork,
|
|
45
|
+
Oe as EvmUserOperationStatus,
|
|
46
|
+
ur as HttpErrorType,
|
|
47
|
+
ve as InitiateEmailAuthenticationNextStepType,
|
|
48
|
+
ge as InitiateEmailAuthenticationRequestType,
|
|
49
|
+
Re as InitiateSmsAuthenticationNextStepType,
|
|
50
|
+
ke as InitiateSmsAuthenticationRequestType,
|
|
51
|
+
Pe as InvitationStatus,
|
|
52
52
|
Ue as KnownAbiType,
|
|
53
|
-
|
|
54
|
-
|
|
53
|
+
fe as KnownIdlType,
|
|
54
|
+
we as LimitPeriod,
|
|
55
55
|
Ne as LinkAccountType,
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
56
|
+
De as LinkableEntityRole,
|
|
57
|
+
Me as LinkableEntityType,
|
|
58
|
+
We as ListEvmTokenBalancesNetwork,
|
|
59
|
+
Ie as ListSolanaTokenBalancesNetwork,
|
|
60
|
+
Ve as MfaMethod,
|
|
61
|
+
be as MintAddressCriterionOperator,
|
|
62
|
+
qe as MintAddressCriterionType,
|
|
63
|
+
Le as NetUSDChangeCriterionOperator,
|
|
64
|
+
Xe as NetUSDChangeCriterionType,
|
|
65
|
+
xe as Network,
|
|
66
|
+
Fe as OAuth2ProviderType,
|
|
67
|
+
Be as OnchainDataResultSchemaColumnsItemType,
|
|
68
|
+
He as OnrampOrderFeeType,
|
|
69
|
+
Ke as OnrampOrderPaymentMethodTypeId,
|
|
70
|
+
je as OnrampOrderStatus,
|
|
71
|
+
Ge as OnrampPaymentLinkType,
|
|
72
|
+
Je as OnrampQuotePaymentMethodTypeId,
|
|
73
|
+
Qe as PermissionCatalogObjectsItemType,
|
|
74
|
+
_e as PermissionSubjectType,
|
|
75
|
+
ze as PermissionVerb,
|
|
76
|
+
Ye as PolicyScope,
|
|
77
|
+
Ze as PrepareUserOperationRuleAction,
|
|
78
|
+
$e as PrepareUserOperationRuleOperation,
|
|
79
|
+
et as ProgramIdCriterionOperator,
|
|
80
|
+
tt as ProgramIdCriterionType,
|
|
81
|
+
rt as RefreshAccessTokenBodyGrantType,
|
|
82
|
+
nt as RequirementErrorCode,
|
|
83
|
+
it as RequirementField,
|
|
84
|
+
ot as SendEvmTransactionRuleAction,
|
|
85
|
+
at as SendEvmTransactionRuleOperation,
|
|
86
|
+
st as SendEvmTransactionWithEndUserAccountBodyNetwork,
|
|
87
|
+
pt as SendSolTransactionRuleAction,
|
|
88
|
+
ct as SendSolTransactionRuleOperation,
|
|
89
|
+
dt as SendSolanaTransactionWithEndUserAccountBodyNetwork,
|
|
90
90
|
mt as SendUserOperationRuleAction,
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
91
|
+
ut as SendUserOperationRuleOperation,
|
|
92
|
+
lt as SignEvmHashRuleAction,
|
|
93
|
+
yt as SignEvmHashRuleOperation,
|
|
94
|
+
Tt as SignEvmMessageRuleAction,
|
|
95
|
+
St as SignEvmMessageRuleOperation,
|
|
96
|
+
Et as SignEvmTransactionRuleAction,
|
|
97
|
+
At as SignEvmTransactionRuleOperation,
|
|
98
|
+
ht as SignEvmTypedDataFieldCriterionType,
|
|
99
|
+
Ct as SignEvmTypedDataRuleAction,
|
|
100
|
+
Ot as SignEvmTypedDataRuleOperation,
|
|
101
|
+
vt as SignEvmTypedDataVerifyingContractCriterionOperator,
|
|
102
|
+
gt as SignEvmTypedDataVerifyingContractCriterionType,
|
|
103
|
+
Rt as SignSolMessageRuleAction,
|
|
104
|
+
kt as SignSolMessageRuleOperation,
|
|
105
|
+
Pt as SignSolTransactionRuleAction,
|
|
106
106
|
Ut as SignSolTransactionRuleOperation,
|
|
107
|
-
|
|
108
|
-
|
|
107
|
+
ft as SmsAuthenticationType,
|
|
108
|
+
wt as SolAddressCriterionOperator,
|
|
109
109
|
Nt as SolAddressCriterionType,
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
110
|
+
Dt as SolDataCriterionType,
|
|
111
|
+
Mt as SolDataParameterConditionListOperator,
|
|
112
|
+
Wt as SolDataParameterConditionOperator,
|
|
113
|
+
It as SolMessageCriterionType,
|
|
114
|
+
Vt as SolNetworkCriterionNetworksItem,
|
|
115
|
+
bt as SolNetworkCriterionOperator,
|
|
116
|
+
qt as SolNetworkCriterionType,
|
|
117
|
+
Lt as SolValueCriterionOperator,
|
|
118
|
+
Xt as SolValueCriterionType,
|
|
119
|
+
xt as SpendPermissionNetwork,
|
|
120
|
+
Ft as SplAddressCriterionOperator,
|
|
121
|
+
Bt as SplAddressCriterionType,
|
|
122
|
+
Ht as SplValueCriterionOperator,
|
|
123
|
+
Kt as SplValueCriterionType,
|
|
124
|
+
jt as TransferCancellationReason,
|
|
125
|
+
Gt as TransferFeeType,
|
|
126
|
+
Jt as TransferRequestAmountType,
|
|
127
|
+
Qt as TransferReversalReason,
|
|
128
|
+
_t as TransferStatus,
|
|
129
|
+
zt as TransferStatusChangedWebhookEventEventType,
|
|
130
|
+
lr as UnknownApiError,
|
|
131
|
+
yr as UnknownError,
|
|
132
|
+
Yt as X402DiscoveryResourceType,
|
|
133
|
+
Zt as X402PaymentPayloadNetwork,
|
|
134
|
+
$t as X402PaymentPayloadScheme,
|
|
135
|
+
er as X402PaymentRequirementsNetwork,
|
|
136
|
+
tr as X402PaymentRequirementsScheme,
|
|
137
|
+
rr as X402SettleErrorReason,
|
|
138
|
+
nr as X402SupportedPaymentKindNetwork,
|
|
139
|
+
ir as X402SupportedPaymentKindScheme,
|
|
140
|
+
or as X402VerifyInvalidReason,
|
|
141
|
+
ar as X402Version,
|
|
142
142
|
s as authenticateUserWithCustomAuth,
|
|
143
|
-
|
|
143
|
+
pr as configureCdpApiClient,
|
|
144
144
|
p as createEndUserEvmAccount,
|
|
145
145
|
c as createEndUserEvmSmartAccount,
|
|
146
|
-
|
|
147
|
-
|
|
146
|
+
d as createEndUserSolanaAccount,
|
|
147
|
+
m as createSpendPermissionWithEndUserAccount,
|
|
148
148
|
u as exportEndUserEvmAccount,
|
|
149
149
|
l as exportEndUserSolanaAccount,
|
|
150
150
|
y as getAuthenticatedEndUser,
|
|
@@ -152,26 +152,27 @@ export {
|
|
|
152
152
|
S as initiateAuthentication,
|
|
153
153
|
E as initiateMfaEnrollment,
|
|
154
154
|
A as initiateMfaVerification,
|
|
155
|
-
|
|
155
|
+
Tr as isOpenAPIError,
|
|
156
156
|
h as listSpendPermissionsWithEndUserAccount,
|
|
157
157
|
C as logOutEndUser,
|
|
158
|
-
O as
|
|
159
|
-
v as
|
|
160
|
-
g as
|
|
161
|
-
R as
|
|
162
|
-
k as
|
|
158
|
+
O as recordMfaEnrollmentPrompted,
|
|
159
|
+
v as refreshAccessToken,
|
|
160
|
+
g as registerTemporaryWalletSecret,
|
|
161
|
+
R as revokeSpendPermissionWithEndUserAccount,
|
|
162
|
+
k as sendEvmTransactionWithEndUserAccount,
|
|
163
|
+
P as sendSolanaTransactionWithEndUserAccount,
|
|
163
164
|
U as sendUserOperationWithEndUserAccount,
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
165
|
+
cr as setAuthManager,
|
|
166
|
+
f as signEvmHashWithEndUserAccount,
|
|
167
|
+
w as signEvmMessageWithEndUserAccount,
|
|
167
168
|
N as signEvmTransactionWithEndUserAccount,
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
169
|
+
D as signEvmTypedDataWithEndUserAccount,
|
|
170
|
+
M as signSolanaHashWithEndUserAccount,
|
|
171
|
+
W as signSolanaMessageWithEndUserAccount,
|
|
172
|
+
I as signSolanaTransactionWithEndUserAccount,
|
|
173
|
+
V as submitMfaEnrollment,
|
|
174
|
+
b as submitMfaVerification,
|
|
175
|
+
q as verifyEmailAuthentication,
|
|
176
|
+
L as verifyOAuthCode,
|
|
177
|
+
X as verifySmsAuthentication
|
|
177
178
|
};
|
package/dist/esm/index10.js
CHANGED
package/dist/esm/index12.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 "./index13.js";
|
|
2
|
+
import { __require as S } from "./index14.js";
|
|
3
|
+
import { __require as q } from "./index15.js";
|
|
4
|
+
import { __require as w } from "./index16.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
|
};
|