@coinbase/cdp-api-client 0.0.93 → 0.0.94
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 +136 -121
- 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 +21 -22
- package/dist/esm/index6.js +288 -232
- package/dist/esm/index7.js +126 -115
- package/dist/types/index.d.ts +271 -46
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
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, createEndUserApplePayOnrampOrder as p, createEndUserEvmAccount as d, createEndUserEvmSmartAccount as
|
|
5
|
-
import { AbiFunctionType as Z, AbiInputType as $, AbiStateMutability as ee, AccountType as te, AddMobileClientRequestPlatform as ne, AddMobileClientResponsePlatform as re, AddressRiskNetwork as ie, AddressRiskRiskLevel as oe, AssetType as ae, CapabilityName as se, CapabilityStatus as pe, CreateDepositDestinationRequestType as de, CreateReportDestinationRequestAllOfType as
|
|
6
|
-
import { configureCdpApiClient as
|
|
7
|
-
import { APIError as
|
|
4
|
+
import { authenticateUserWithCustomAuth as s, createEndUserApplePayOnrampOrder as p, createEndUserEvmAccount as d, createEndUserEvmSmartAccount as l, createEndUserSolanaAccount as c, createEvmEip7702DelegationWithEndUserAccount as m, createSpendPermissionWithEndUserAccount as u, exportEndUserEvmAccount as y, exportEndUserSolanaAccount as E, generateAttestationChallenge as S, getAuthenticatedEndUser as T, getEvmEip7702DelegationOperationByIdWithEndUserAccount as A, getMfaConfig as O, getProjectConfig as g, getUserOperationWithEndUserAccount as R, initiateAuthentication as h, initiateMfaEnrollment as v, initiateMfaEnrollment2 as U, initiateMfaVerification as C, listSpendPermissionsWithEndUserAccount as f, logOutEndUser as P, recordMfaEnrollmentPrompted as k, refreshAccessToken as M, registerAttestation as D, registerTemporaryWalletSecret as w, revokeSpendPermissionWithEndUserAccount as N, sendEvmAssetWithEndUserAccount as I, sendEvmTransactionWithEndUserAccount as W, sendSolanaAssetWithEndUserAccount as V, sendSolanaTransactionWithEndUserAccount as b, sendUserOperationWithEndUserAccount as L, signEvmHashWithEndUserAccount as F, signEvmMessageWithEndUserAccount as X, signEvmTransactionWithEndUserAccount as q, signEvmTypedDataWithEndUserAccount as B, signSolanaHashWithEndUserAccount as x, signSolanaMessageWithEndUserAccount as H, signSolanaTransactionWithEndUserAccount as K, submitMfaEnrollment as j, submitMfaVerification as J, verifyEmailAuthentication as G, verifyOAuthCode as Q, verifyOAuthEndUserIdentity as _, verifySmsAuthentication as z } from "./index5.js";
|
|
5
|
+
import { AbiFunctionType as Z, AbiInputType as $, AbiStateMutability as ee, AccountType as te, AddMobileClientRequestPlatform as ne, AddMobileClientResponsePlatform as re, AddressRiskNetwork as ie, AddressRiskRiskLevel as oe, AssetType as ae, CapabilityName as se, CapabilityStatus as pe, CreateDepositDestinationRequestType as de, CreateReportDestinationRequestAllOfType as le, CryptoDepositDestinationType as ce, CustomerType as me, DeliveryStatus as ue, DepositDestinationType as ye, DestinationType as Ee, DeveloperJWTAuthenticationType as Se, EmailAuthenticationType as Te, EndUserOnrampFeeType as Ae, EndUserOnrampOrderStatus as Oe, ErrorType as ge, EthValueCriterionOperator as Re, EthValueCriterionType as he, EvmAddressCriterionOperator as ve, EvmAddressCriterionType as Ue, EvmDataCriterionType as Ce, EvmDataParameterConditionListOperator as fe, EvmDataParameterConditionOperator as Pe, EvmEip7702DelegationNetwork as ke, EvmEip7702DelegationOperationStatus as Me, EvmMessageCriterionType as De, EvmNetworkCriterionNetworksItem as we, EvmNetworkCriterionOperator as Ne, EvmNetworkCriterionType as Ie, EvmSwapsNetwork as We, EvmTypedAddressConditionOperator as Ve, EvmTypedNumericalConditionOperator as be, EvmUserOperationNetwork as Le, EvmUserOperationStatus as Fe, FedwirePaymentMethodAllOfPaymentRail as Xe, FedwirePaymentMethodPaymentRail as qe, FileType as Be, Frequency as xe, InitiateEmailAuthenticationNextStepType as He, InitiateEmailAuthenticationRequestType as Ke, InitiateSmsAuthenticationNextStepType as je, InitiateSmsAuthenticationRequestType as Je, InitiateSmsMfaEnrollmentType as Ge, InitiateTotpMfaEnrollmentType as Qe, InvitationStatus as _e, IosAttestationRegistrationResponsePlatform as ze, KnownAbiType as Ye, KnownIdlType as Ze, LinkAccountType as $e, LinkableEntityRole as et, LinkableEntityType as tt, ListEvmTokenBalancesNetwork as nt, ListSolanaTokenBalancesNetwork as rt, MfaMethod as it, MintAddressCriterionOperator as ot, MintAddressCriterionType as at, NetUSDChangeCriterionOperator as st, NetUSDChangeCriterionType as pt, Network as dt, OAuth2ProviderType as lt, OnchainDataResultSchemaColumnsItemType as ct, OnrampLimitType as mt, OnrampLimitUpgradeIdentityFieldKey as ut, OnrampLimitUpgradeOptionLastErrorCode as yt, OnrampLimitUpgradeStatus as Et, OnrampOrderFeeType as St, OnrampOrderPaymentMethodTypeId as Tt, OnrampOrderStatus as At, OnrampPaymentLinkType as Ot, OnrampQuotePaymentMethodTypeId as gt, OnrampUserIdType as Rt, OrderFailureCode as ht, OrderFeeType as vt, OrderSide as Ut, OrderStatus as Ct, OrderType as ft, PermissionCatalogObjectsItemType as Pt, PermissionSubjectType as kt, PermissionVerb as Mt, PolicyScope as Dt, PrepareUserOperationRuleAction as wt, PrepareUserOperationRuleOperation as Nt, ProgramIdCriterionOperator as It, ProgramIdCriterionType as Wt, RateLimitingCriterionType as Vt, RefreshAccessTokenBodyGrantType as bt, ReportDestinationAllOfType as Lt, ReportStatus as Ft, RequirementStatus as Xt, ResourceType as qt, SSHKeyAlgorithm as Bt, ScheduleType as xt, SendEndUserEvmTransactionRuleAction as Ht, SendEndUserEvmTransactionRuleOperation as Kt, SendEndUserSolTransactionRuleAction as jt, SendEndUserSolTransactionRuleOperation as Jt, SendEvmAssetWithEndUserAccountBodyNetwork as Gt, SendEvmTransactionRuleAction as Qt, SendEvmTransactionRuleOperation as _t, SendEvmTransactionWithEndUserAccountBodyNetwork as zt, SendSolTransactionRuleAction as Yt, SendSolTransactionRuleOperation as Zt, SendSolanaAssetWithEndUserAccountBodyNetwork as $t, SendSolanaTransactionWithEndUserAccountBodyNetwork as en, SendUserOperationRuleAction as tn, SendUserOperationRuleOperation as nn, SignEndUserEvmMessageRuleAction as rn, SignEndUserEvmMessageRuleOperation as on, SignEndUserEvmTransactionRuleAction as an, SignEndUserEvmTransactionRuleOperation as sn, SignEndUserEvmTypedDataRuleAction as pn, SignEndUserEvmTypedDataRuleOperation as dn, SignEndUserSolMessageRuleAction as ln, SignEndUserSolMessageRuleOperation as cn, SignEndUserSolTransactionRuleAction as mn, SignEndUserSolTransactionRuleOperation as un, SignEvmHashRuleAction as yn, SignEvmHashRuleOperation as En, SignEvmMessageRuleAction as Sn, SignEvmMessageRuleOperation as Tn, SignEvmTransactionRuleAction as An, SignEvmTransactionRuleOperation as On, SignEvmTypedDataFieldCriterionType as gn, SignEvmTypedDataRuleAction as Rn, SignEvmTypedDataRuleOperation as hn, SignEvmTypedDataVerifyingContractCriterionOperator as vn, SignEvmTypedDataVerifyingContractCriterionType as Un, SignSolMessageRuleAction as Cn, SignSolMessageRuleOperation as fn, SignSolTransactionRuleAction as Pn, SignSolTransactionRuleOperation as kn, SmsAuthenticationType as Mn, SolAddressCriterionOperator as Dn, SolAddressCriterionType as wn, SolDataCriterionType as Nn, SolDataParameterConditionListOperator as In, SolDataParameterConditionOperator as Wn, SolMessageCriterionType as Vn, SolNetworkCriterionNetworksItem as bn, SolNetworkCriterionOperator as Ln, SolNetworkCriterionType as Fn, SolValueCriterionOperator as Xn, SolValueCriterionType as qn, SpendPermissionNetwork as Bn, SplAddressCriterionOperator as xn, SplAddressCriterionType as Hn, SplValueCriterionOperator as Kn, SplValueCriterionType as jn, Status as Jn, SwiftPaymentMethodAllOfPaymentRail as Gn, SwiftPaymentMethodPaymentRail as Qn, TimeInForce as _n, TransferColumn as zn, TransferEventEventType as Yn, TransferFeeType as Zn, TransferRequestAmountType as $n, TransferStatus as er, TravelRuleBeneficiaryAllOfWalletType as tr, X402DiscoveryResourceType as nr, X402McpRequestJsonrpc as rr, X402McpResponseJsonrpc as ir, X402SettleErrorReason as or, X402SupportedPaymentKindNetwork as ar, X402SupportedPaymentKindScheme as sr, X402V1PaymentPayloadNetwork as pr, X402V1PaymentPayloadScheme as dr, X402V1PaymentRequirementsNetwork as lr, X402V1PaymentRequirementsScheme as cr, X402V2PaymentRequirementsScheme as mr, X402VerifyInvalidReason as ur, X402Version as yr } from "./index6.js";
|
|
6
|
+
import { configureCdpApiClient as Sr, setAuthManager as Tr } from "./index7.js";
|
|
7
|
+
import { APIError as Or, HttpErrorType as gr, UnknownApiError as Rr, UnknownError as hr, isOpenAPIError as vr } from "./index8.js";
|
|
8
8
|
e.registerPackageVersion("api_client", t);
|
|
9
9
|
export {
|
|
10
|
-
|
|
10
|
+
Or as APIError,
|
|
11
11
|
Z as AbiFunctionType,
|
|
12
12
|
$ as AbiInputType,
|
|
13
13
|
ee as AbiStateMutability,
|
|
@@ -20,28 +20,28 @@ export {
|
|
|
20
20
|
se as CapabilityName,
|
|
21
21
|
pe as CapabilityStatus,
|
|
22
22
|
de as CreateDepositDestinationRequestType,
|
|
23
|
-
|
|
23
|
+
le as CreateReportDestinationRequestAllOfType,
|
|
24
24
|
ce as CryptoDepositDestinationType,
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
25
|
+
me as CustomerType,
|
|
26
|
+
ue as DeliveryStatus,
|
|
27
|
+
ye as DepositDestinationType,
|
|
28
28
|
Ee as DestinationType,
|
|
29
29
|
Se as DeveloperJWTAuthenticationType,
|
|
30
30
|
Te as EmailAuthenticationType,
|
|
31
31
|
Ae as EndUserOnrampFeeType,
|
|
32
32
|
Oe as EndUserOnrampOrderStatus,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
33
|
+
ge as ErrorType,
|
|
34
|
+
Re as EthValueCriterionOperator,
|
|
35
|
+
he as EthValueCriterionType,
|
|
36
36
|
ve as EvmAddressCriterionOperator,
|
|
37
|
-
|
|
38
|
-
|
|
37
|
+
Ue as EvmAddressCriterionType,
|
|
38
|
+
Ce as EvmDataCriterionType,
|
|
39
39
|
fe as EvmDataParameterConditionListOperator,
|
|
40
40
|
Pe as EvmDataParameterConditionOperator,
|
|
41
41
|
ke as EvmEip7702DelegationNetwork,
|
|
42
|
-
Me as
|
|
43
|
-
|
|
44
|
-
|
|
42
|
+
Me as EvmEip7702DelegationOperationStatus,
|
|
43
|
+
De as EvmMessageCriterionType,
|
|
44
|
+
we as EvmNetworkCriterionNetworksItem,
|
|
45
45
|
Ne as EvmNetworkCriterionOperator,
|
|
46
46
|
Ie as EvmNetworkCriterionType,
|
|
47
47
|
We as EvmSwapsNetwork,
|
|
@@ -51,9 +51,9 @@ export {
|
|
|
51
51
|
Fe as EvmUserOperationStatus,
|
|
52
52
|
Xe as FedwirePaymentMethodAllOfPaymentRail,
|
|
53
53
|
qe as FedwirePaymentMethodPaymentRail,
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
54
|
+
Be as FileType,
|
|
55
|
+
xe as Frequency,
|
|
56
|
+
gr as HttpErrorType,
|
|
57
57
|
He as InitiateEmailAuthenticationNextStepType,
|
|
58
58
|
Ke as InitiateEmailAuthenticationRequestType,
|
|
59
59
|
je as InitiateSmsAuthenticationNextStepType,
|
|
@@ -75,144 +75,159 @@ export {
|
|
|
75
75
|
st as NetUSDChangeCriterionOperator,
|
|
76
76
|
pt as NetUSDChangeCriterionType,
|
|
77
77
|
dt as Network,
|
|
78
|
-
|
|
78
|
+
lt as OAuth2ProviderType,
|
|
79
79
|
ct as OnchainDataResultSchemaColumnsItemType,
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
80
|
+
mt as OnrampLimitType,
|
|
81
|
+
ut as OnrampLimitUpgradeIdentityFieldKey,
|
|
82
|
+
yt as OnrampLimitUpgradeOptionLastErrorCode,
|
|
83
83
|
Et as OnrampLimitUpgradeStatus,
|
|
84
84
|
St as OnrampOrderFeeType,
|
|
85
85
|
Tt as OnrampOrderPaymentMethodTypeId,
|
|
86
86
|
At as OnrampOrderStatus,
|
|
87
87
|
Ot as OnrampPaymentLinkType,
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
88
|
+
gt as OnrampQuotePaymentMethodTypeId,
|
|
89
|
+
Rt as OnrampUserIdType,
|
|
90
|
+
ht as OrderFailureCode,
|
|
91
91
|
vt as OrderFeeType,
|
|
92
|
-
|
|
93
|
-
|
|
92
|
+
Ut as OrderSide,
|
|
93
|
+
Ct as OrderStatus,
|
|
94
94
|
ft as OrderType,
|
|
95
95
|
Pt as PermissionCatalogObjectsItemType,
|
|
96
96
|
kt as PermissionSubjectType,
|
|
97
97
|
Mt as PermissionVerb,
|
|
98
|
-
|
|
99
|
-
|
|
98
|
+
Dt as PolicyScope,
|
|
99
|
+
wt as PrepareUserOperationRuleAction,
|
|
100
100
|
Nt as PrepareUserOperationRuleOperation,
|
|
101
101
|
It as ProgramIdCriterionOperator,
|
|
102
102
|
Wt as ProgramIdCriterionType,
|
|
103
|
-
Vt as
|
|
104
|
-
bt as
|
|
105
|
-
Lt as
|
|
106
|
-
Ft as
|
|
107
|
-
Xt as
|
|
108
|
-
qt as
|
|
103
|
+
Vt as RateLimitingCriterionType,
|
|
104
|
+
bt as RefreshAccessTokenBodyGrantType,
|
|
105
|
+
Lt as ReportDestinationAllOfType,
|
|
106
|
+
Ft as ReportStatus,
|
|
107
|
+
Xt as RequirementStatus,
|
|
108
|
+
qt as ResourceType,
|
|
109
|
+
Bt as SSHKeyAlgorithm,
|
|
109
110
|
xt as ScheduleType,
|
|
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
|
-
yn as
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
wn as
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
111
|
+
Ht as SendEndUserEvmTransactionRuleAction,
|
|
112
|
+
Kt as SendEndUserEvmTransactionRuleOperation,
|
|
113
|
+
jt as SendEndUserSolTransactionRuleAction,
|
|
114
|
+
Jt as SendEndUserSolTransactionRuleOperation,
|
|
115
|
+
Gt as SendEvmAssetWithEndUserAccountBodyNetwork,
|
|
116
|
+
Qt as SendEvmTransactionRuleAction,
|
|
117
|
+
_t as SendEvmTransactionRuleOperation,
|
|
118
|
+
zt as SendEvmTransactionWithEndUserAccountBodyNetwork,
|
|
119
|
+
Yt as SendSolTransactionRuleAction,
|
|
120
|
+
Zt as SendSolTransactionRuleOperation,
|
|
121
|
+
$t as SendSolanaAssetWithEndUserAccountBodyNetwork,
|
|
122
|
+
en as SendSolanaTransactionWithEndUserAccountBodyNetwork,
|
|
123
|
+
tn as SendUserOperationRuleAction,
|
|
124
|
+
nn as SendUserOperationRuleOperation,
|
|
125
|
+
rn as SignEndUserEvmMessageRuleAction,
|
|
126
|
+
on as SignEndUserEvmMessageRuleOperation,
|
|
127
|
+
an as SignEndUserEvmTransactionRuleAction,
|
|
128
|
+
sn as SignEndUserEvmTransactionRuleOperation,
|
|
129
|
+
pn as SignEndUserEvmTypedDataRuleAction,
|
|
130
|
+
dn as SignEndUserEvmTypedDataRuleOperation,
|
|
131
|
+
ln as SignEndUserSolMessageRuleAction,
|
|
132
|
+
cn as SignEndUserSolMessageRuleOperation,
|
|
133
|
+
mn as SignEndUserSolTransactionRuleAction,
|
|
134
|
+
un as SignEndUserSolTransactionRuleOperation,
|
|
135
|
+
yn as SignEvmHashRuleAction,
|
|
136
|
+
En as SignEvmHashRuleOperation,
|
|
137
|
+
Sn as SignEvmMessageRuleAction,
|
|
138
|
+
Tn as SignEvmMessageRuleOperation,
|
|
139
|
+
An as SignEvmTransactionRuleAction,
|
|
140
|
+
On as SignEvmTransactionRuleOperation,
|
|
141
|
+
gn as SignEvmTypedDataFieldCriterionType,
|
|
142
|
+
Rn as SignEvmTypedDataRuleAction,
|
|
143
|
+
hn as SignEvmTypedDataRuleOperation,
|
|
144
|
+
vn as SignEvmTypedDataVerifyingContractCriterionOperator,
|
|
145
|
+
Un as SignEvmTypedDataVerifyingContractCriterionType,
|
|
146
|
+
Cn as SignSolMessageRuleAction,
|
|
147
|
+
fn as SignSolMessageRuleOperation,
|
|
148
|
+
Pn as SignSolTransactionRuleAction,
|
|
149
|
+
kn as SignSolTransactionRuleOperation,
|
|
150
|
+
Mn as SmsAuthenticationType,
|
|
151
|
+
Dn as SolAddressCriterionOperator,
|
|
152
|
+
wn as SolAddressCriterionType,
|
|
153
|
+
Nn as SolDataCriterionType,
|
|
154
|
+
In as SolDataParameterConditionListOperator,
|
|
155
|
+
Wn as SolDataParameterConditionOperator,
|
|
156
|
+
Vn as SolMessageCriterionType,
|
|
157
|
+
bn as SolNetworkCriterionNetworksItem,
|
|
158
|
+
Ln as SolNetworkCriterionOperator,
|
|
159
|
+
Fn as SolNetworkCriterionType,
|
|
160
|
+
Xn as SolValueCriterionOperator,
|
|
161
|
+
qn as SolValueCriterionType,
|
|
162
|
+
Bn as SpendPermissionNetwork,
|
|
163
|
+
xn as SplAddressCriterionOperator,
|
|
164
|
+
Hn as SplAddressCriterionType,
|
|
165
|
+
Kn as SplValueCriterionOperator,
|
|
166
|
+
jn as SplValueCriterionType,
|
|
167
|
+
Jn as Status,
|
|
168
|
+
Gn as SwiftPaymentMethodAllOfPaymentRail,
|
|
169
|
+
Qn as SwiftPaymentMethodPaymentRail,
|
|
170
|
+
_n as TimeInForce,
|
|
171
|
+
zn as TransferColumn,
|
|
172
|
+
Yn as TransferEventEventType,
|
|
173
|
+
Zn as TransferFeeType,
|
|
174
|
+
$n as TransferRequestAmountType,
|
|
175
|
+
er as TransferStatus,
|
|
176
|
+
tr as TravelRuleBeneficiaryAllOfWalletType,
|
|
177
|
+
Rr as UnknownApiError,
|
|
178
|
+
hr as UnknownError,
|
|
179
|
+
nr as X402DiscoveryResourceType,
|
|
180
|
+
rr as X402McpRequestJsonrpc,
|
|
181
|
+
ir as X402McpResponseJsonrpc,
|
|
182
|
+
or as X402SettleErrorReason,
|
|
183
|
+
ar as X402SupportedPaymentKindNetwork,
|
|
184
|
+
sr as X402SupportedPaymentKindScheme,
|
|
185
|
+
pr as X402V1PaymentPayloadNetwork,
|
|
186
|
+
dr as X402V1PaymentPayloadScheme,
|
|
187
|
+
lr as X402V1PaymentRequirementsNetwork,
|
|
188
|
+
cr as X402V1PaymentRequirementsScheme,
|
|
189
|
+
mr as X402V2PaymentRequirementsScheme,
|
|
190
|
+
ur as X402VerifyInvalidReason,
|
|
191
|
+
yr as X402Version,
|
|
177
192
|
s as authenticateUserWithCustomAuth,
|
|
178
|
-
|
|
193
|
+
Sr as configureCdpApiClient,
|
|
179
194
|
p as createEndUserApplePayOnrampOrder,
|
|
180
195
|
d as createEndUserEvmAccount,
|
|
181
|
-
|
|
196
|
+
l as createEndUserEvmSmartAccount,
|
|
182
197
|
c as createEndUserSolanaAccount,
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
198
|
+
m as createEvmEip7702DelegationWithEndUserAccount,
|
|
199
|
+
u as createSpendPermissionWithEndUserAccount,
|
|
200
|
+
y as exportEndUserEvmAccount,
|
|
186
201
|
E as exportEndUserSolanaAccount,
|
|
187
202
|
S as generateAttestationChallenge,
|
|
188
203
|
T as getAuthenticatedEndUser,
|
|
189
|
-
A as
|
|
204
|
+
A as getEvmEip7702DelegationOperationByIdWithEndUserAccount,
|
|
190
205
|
O as getMfaConfig,
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
206
|
+
g as getProjectConfig,
|
|
207
|
+
R as getUserOperationWithEndUserAccount,
|
|
208
|
+
h as initiateAuthentication,
|
|
194
209
|
v as initiateMfaEnrollment,
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
210
|
+
U as initiateMfaEnrollment2,
|
|
211
|
+
C as initiateMfaVerification,
|
|
212
|
+
vr as isOpenAPIError,
|
|
198
213
|
f as listSpendPermissionsWithEndUserAccount,
|
|
199
214
|
P as logOutEndUser,
|
|
200
215
|
k as recordMfaEnrollmentPrompted,
|
|
201
216
|
M as refreshAccessToken,
|
|
202
|
-
|
|
203
|
-
|
|
217
|
+
D as registerAttestation,
|
|
218
|
+
w as registerTemporaryWalletSecret,
|
|
204
219
|
N as revokeSpendPermissionWithEndUserAccount,
|
|
205
220
|
I as sendEvmAssetWithEndUserAccount,
|
|
206
221
|
W as sendEvmTransactionWithEndUserAccount,
|
|
207
222
|
V as sendSolanaAssetWithEndUserAccount,
|
|
208
223
|
b as sendSolanaTransactionWithEndUserAccount,
|
|
209
224
|
L as sendUserOperationWithEndUserAccount,
|
|
210
|
-
|
|
225
|
+
Tr as setAuthManager,
|
|
211
226
|
F as signEvmHashWithEndUserAccount,
|
|
212
227
|
X as signEvmMessageWithEndUserAccount,
|
|
213
228
|
q as signEvmTransactionWithEndUserAccount,
|
|
214
|
-
|
|
215
|
-
|
|
229
|
+
B as signEvmTypedDataWithEndUserAccount,
|
|
230
|
+
x as signSolanaHashWithEndUserAccount,
|
|
216
231
|
H as signSolanaMessageWithEndUserAccount,
|
|
217
232
|
K as signSolanaTransactionWithEndUserAccount,
|
|
218
233
|
j as submitMfaEnrollment,
|
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
|
};
|