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