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