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