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