@coinbase/cdp-api-client 0.0.122 → 0.0.124

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 CHANGED
@@ -1,139 +1,152 @@
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 { CapabilityName as s, CreateEndUserBtcAccountBodyAddressType as c, CreateEndUserBtcAccountBodyNetwork as d, DeveloperJWTAuthenticationType as E, EmailAuthenticationType as m, EndUserBtcAccountAddressType as p, EndUserBtcAccountNetwork as l, EndUserOnrampFeeType as u, EndUserOnrampOrderStatus as A, ErrorType as h, EvmEip7702DelegationNetwork as y, EvmEip7702DelegationOperationStatus as U, EvmSwapsNetwork as S, EvmUserOperationNetwork as g, EvmUserOperationStatus as T, InitiateEmailAuthenticationNextStepType as f, InitiateEmailAuthenticationRequestType as v, InitiatePasskeyMfaEnrollmentType as k, InitiateSiweAuthenticationRequestType as P, InitiateSmsAuthenticationNextStepType as W, InitiateSmsAuthenticationRequestType as O, InitiateSmsMfaEnrollmentType as w, InitiateTotpMfaEnrollmentType as B, IosAttestationRegistrationResponsePlatform as I, MfaMethod as M, Network as N, OAuth2ProviderType as C, OnrampQuotePaymentMethodTypeId as R, OtpEmailLogoStatus as D, PasskeySummaryTransportsItem as V, PasskeyUserVerification as b, RefreshAccessTokenBodyGrantType as X, SendEvmAssetWithEndUserAccountBodyNetwork as x, SendEvmTransactionWithEndUserAccountBodyNetwork as F, SendSolanaAssetWithEndUserAccountBodyNetwork as q, SendSolanaTransactionWithEndUserAccountBodyNetwork as H, SignBtcHashWithEndUserAccountBodyChange as j, SiweAuthenticationType as G, SmsAuthenticationType as J, SpendPermissionNetwork as L, SubmitPasskeyRegistrationType as Q, SubmitPasskeyVerificationType as _, X402BatchSettlementClaimPayloadType as z, X402BatchSettlementDepositPayloadType as K, X402BatchSettlementRefundPayloadType as Y, X402BatchSettlementSettlePayloadType as Z, X402BatchSettlementVoucherPayloadType as $, X402V1Network as ee, X402V1PaymentPayloadScheme as te, X402V1PaymentRequirementsScheme as ne, X402V2Network as re, X402V2PaymentRequirementsScheme as oe, X402Version as ie } from "./index5.js";
5
- import { configureCdpApiClient as se, setAuthManager as ce } from "./index6.js";
6
- import { APIError as Ee, HttpErrorType as me, RefreshTokenUnavailableError as pe, UnknownApiError as le, UnknownError as ue, isOpenAPIError as Ae, isRefreshTokenUnavailableError as he, isTransientTokenReadError as ye } from "./index7.js";
7
- import { authenticateUserWithCustomAuth as Se, createDelegationForEndUser as ge, createDelegationForEndUserAccount as Te, createEndUserApplePayOnrampOrder as fe, createEndUserBtcAccount as ve, createEndUserEvmAccount as ke, createEndUserEvmSmartAccount as Pe, createEndUserEvmSwap as We, createEndUserSolanaAccount as Oe, createEvmEip7702DelegationWithEndUserAccount as we, createSpendPermissionWithEndUserAccount as Be, deletePasskey as Ie, enableSpendPermissionWithEndUserAccount as Me, exportEndUserEvmAccount as Ne, exportEndUserSolanaAccount as Ce, generateAttestationChallenge as Re, getAuthenticatedEndUser as De, getDelegationForEndUser as Ve, getDelegationForEndUserAccount as be, getEndUserEvmSwapPrice as Xe, getEvmEip7702DelegationOperationByIdWithEndUserAccount as xe, getMfaConfig as Fe, getProjectConfig as qe, getUserOperationWithEndUserAccount as He, initiateAuthentication as je, initiateMfaEnrollment as Ge, initiateMfaEnrollment2 as Je, initiateMfaVerification as Le, listPasskeys as Qe, listSpendPermissionsWithEndUserAccount as _e, logOutEndUser as ze, receiveOAuthCallback as Ke, receiveOAuthCallbackPost as Ye, recordMfaEnrollmentPrompted as Ze, refreshAccessToken as $e, registerAttestation as et, registerTemporaryWalletSecret as tt, revokeDelegationForEndUser as nt, revokeDelegationForEndUserAccount as rt, revokeSpendPermissionWithEndUserAccount as ot, sendEvmAssetWithEndUserAccount as it, sendEvmTransactionWithEndUserAccount as at, sendSolanaAssetWithEndUserAccount as st, sendSolanaTransactionWithEndUserAccount as ct, sendUserOperationWithEndUserAccount as dt, signBtcHashWithEndUserAccount as Et, signEvmHashWithEndUserAccount as mt, signEvmMessageWithEndUserAccount as pt, signEvmTransactionWithEndUserAccount as lt, signEvmTypedDataWithEndUserAccount as ut, signSolanaHashWithEndUserAccount as At, signSolanaMessageWithEndUserAccount as ht, signSolanaTransactionWithEndUserAccount as yt, signSolanaX402PaymentWithEndUserAccount as Ut, submitMfaEnrollment as St, submitMfaVerification as gt, verifyEmailAuthentication as Tt, verifyOAuthCode as ft, verifyOAuthEndUserIdentity as vt, verifySiweAuthentication as kt, verifySmsAuthentication as Pt } from "./index8.js";
8
- import { createOnrampIosAttestationChallenge as Ot, createOnrampMobileChallenge as wt, createOnrampMobileSession as Bt, registerOnrampIosAttestation as It } from "./index9.js";
4
+ import { BorrowPositionHealthStatus as s, BorrowProductAssetCapabilityType as c, BorrowProductNetwork as d, BorrowProductProtocol as E, CapabilityName as u, CreateEndUserBtcAccountBodyAddressType as l, CreateEndUserBtcAccountBodyNetwork as m, DeveloperJWTAuthenticationType as p, EmailAuthenticationType as A, EndUserBtcAccountAddressType as h, EndUserBtcAccountNetwork as y, EndUserOnrampFeeType as U, EndUserOnrampOrderStatus as S, ErrorType as g, EvmEip7702DelegationNetwork as T, EvmEip7702DelegationOperationStatus as P, EvmSwapsNetwork as f, EvmUserOperationNetwork as v, EvmUserOperationStatus as k, InitiateEmailAuthenticationNextStepType as B, InitiateEmailAuthenticationRequestType as W, InitiatePasskeyMfaEnrollmentType as w, InitiateSiweAuthenticationRequestType as O, InitiateSmsAuthenticationNextStepType as M, InitiateSmsAuthenticationRequestType as C, InitiateSmsMfaEnrollmentType as I, InitiateTotpMfaEnrollmentType as N, IosAttestationRegistrationResponsePlatform as D, MfaMethod as R, MorphoBlueOnchainStateType as b, MorphoBlueProtocolDetailsType as V, Network as X, OAuth2ProviderType as x, OnrampQuotePaymentMethodTypeId as F, OtpEmailLogoStatus as H, PasskeySummaryTransportsItem as q, PasskeyUserVerification as j, RefreshAccessTokenBodyGrantType as G, SendEvmAssetWithEndUserAccountBodyNetwork as J, SendEvmTransactionWithEndUserAccountBodyNetwork as L, SendSolanaAssetWithEndUserAccountBodyNetwork as Q, SendSolanaTransactionWithEndUserAccountBodyNetwork as _, SignBtcHashWithEndUserAccountBodyChange as z, SiweAuthenticationType as K, SmsAuthenticationType as Y, SpendPermissionNetwork as Z, SubmitPasskeyRegistrationType as $, SubmitPasskeyVerificationType as ee, X402BatchSettlementClaimPayloadType as te, X402BatchSettlementDepositPayloadType as ne, X402BatchSettlementRefundPayloadType as oe, X402BatchSettlementSettlePayloadType as re, X402BatchSettlementVoucherPayloadType as ie, X402V1Network as ae, X402V1PaymentPayloadScheme as se, X402V1PaymentRequirementsScheme as ce, X402V2Network as de, X402V2PaymentRequirementsScheme as Ee, X402Version as ue } from "./index5.js";
5
+ import { configureCdpApiClient as me, setAuthManager as pe, setCookieDomain as Ae } from "./index6.js";
6
+ import { APIError as ye, HttpErrorType as Ue, RefreshTokenUnavailableError as Se, UnknownApiError as ge, UnknownError as Te, isOpenAPIError as Pe, isRefreshTokenUnavailableError as fe, isTransientTokenReadError as ve } from "./index7.js";
7
+ import { adjustBorrowPositionWithEndUserAccount as Be, authenticateUserWithCustomAuth as We, closeBorrowPositionWithEndUserAccount as we, createBorrowPositionWithEndUserAccount as Oe, createDelegationForEndUser as Me, createDelegationForEndUserAccount as Ce, createEndUserApplePayOnrampOrder as Ie, createEndUserBtcAccount as Ne, createEndUserEvmAccount as De, createEndUserEvmSmartAccount as Re, createEndUserEvmSwap as be, createEndUserSolanaAccount as Ve, createEvmEip7702DelegationWithEndUserAccount as Xe, createSpendPermissionWithEndUserAccount as xe, deletePasskey as Fe, enableSpendPermissionWithEndUserAccount as He, exportEndUserEvmAccount as qe, exportEndUserSolanaAccount as je, generateAttestationChallenge as Ge, getAuthenticatedEndUser as Je, getDelegationForEndUser as Le, getDelegationForEndUserAccount as Qe, getEndUserEvmSwapPrice as _e, getEvmBorrowProduct as ze, getEvmEip7702DelegationOperationByIdWithEndUserAccount as Ke, getMfaConfig as Ye, getProjectConfig as Ze, getUserOperationWithEndUserAccount as $e, initiateAuthentication as et, initiateMfaEnrollment as tt, initiateMfaEnrollment2 as nt, initiateMfaVerification as ot, listBorrowPositionsWithEndUserAccount as rt, listEvmBorrowProducts as it, listPasskeys as at, listSpendPermissionsWithEndUserAccount as st, logOutEndUser as ct, receiveOAuthCallback as dt, receiveOAuthCallbackPost as Et, recordMfaEnrollmentPrompted as ut, refreshAccessToken as lt, registerAttestation as mt, registerTemporaryWalletSecret as pt, revokeDelegationForEndUser as At, revokeDelegationForEndUserAccount as ht, revokeSpendPermissionWithEndUserAccount as yt, sendEvmAssetWithEndUserAccount as Ut, sendEvmTransactionWithEndUserAccount as St, sendSolanaAssetWithEndUserAccount as gt, sendSolanaTransactionWithEndUserAccount as Tt, sendUserOperationWithEndUserAccount as Pt, signBtcHashWithEndUserAccount as ft, signEvmHashWithEndUserAccount as vt, signEvmMessageWithEndUserAccount as kt, signEvmTransactionWithEndUserAccount as Bt, signEvmTypedDataWithEndUserAccount as Wt, signSolanaHashWithEndUserAccount as wt, signSolanaMessageWithEndUserAccount as Ot, signSolanaTransactionWithEndUserAccount as Mt, signSolanaX402PaymentWithEndUserAccount as Ct, submitMfaEnrollment as It, submitMfaVerification as Nt, verifyEmailAuthentication as Dt, verifyOAuthCode as Rt, verifyOAuthEndUserIdentity as bt, verifySiweAuthentication as Vt, verifySmsAuthentication as Xt } from "./index8.js";
8
+ import { createOnrampIosAttestationChallenge as Ft, createOnrampMobileChallenge as Ht, createOnrampMobileSession as qt, registerOnrampIosAttestation as jt } from "./index9.js";
9
9
  e.registerPackageVersion("api_client", t);
10
10
  export {
11
- Ee as APIError,
12
- s as CapabilityName,
13
- c as CreateEndUserBtcAccountBodyAddressType,
14
- d as CreateEndUserBtcAccountBodyNetwork,
15
- E as DeveloperJWTAuthenticationType,
16
- m as EmailAuthenticationType,
17
- p as EndUserBtcAccountAddressType,
18
- l as EndUserBtcAccountNetwork,
19
- u as EndUserOnrampFeeType,
20
- A as EndUserOnrampOrderStatus,
21
- h as ErrorType,
22
- y as EvmEip7702DelegationNetwork,
23
- U as EvmEip7702DelegationOperationStatus,
24
- S as EvmSwapsNetwork,
25
- g as EvmUserOperationNetwork,
26
- T as EvmUserOperationStatus,
27
- me as HttpErrorType,
28
- f as InitiateEmailAuthenticationNextStepType,
29
- v as InitiateEmailAuthenticationRequestType,
30
- k as InitiatePasskeyMfaEnrollmentType,
31
- P as InitiateSiweAuthenticationRequestType,
32
- W as InitiateSmsAuthenticationNextStepType,
33
- O as InitiateSmsAuthenticationRequestType,
34
- w as InitiateSmsMfaEnrollmentType,
35
- B as InitiateTotpMfaEnrollmentType,
36
- I as IosAttestationRegistrationResponsePlatform,
37
- M as MfaMethod,
38
- N as Network,
39
- C as OAuth2ProviderType,
40
- R as OnrampQuotePaymentMethodTypeId,
41
- D as OtpEmailLogoStatus,
42
- V as PasskeySummaryTransportsItem,
43
- b as PasskeyUserVerification,
44
- X as RefreshAccessTokenBodyGrantType,
45
- pe as RefreshTokenUnavailableError,
46
- x as SendEvmAssetWithEndUserAccountBodyNetwork,
47
- F as SendEvmTransactionWithEndUserAccountBodyNetwork,
48
- q as SendSolanaAssetWithEndUserAccountBodyNetwork,
49
- H as SendSolanaTransactionWithEndUserAccountBodyNetwork,
50
- j as SignBtcHashWithEndUserAccountBodyChange,
51
- G as SiweAuthenticationType,
52
- J as SmsAuthenticationType,
53
- L as SpendPermissionNetwork,
54
- Q as SubmitPasskeyRegistrationType,
55
- _ as SubmitPasskeyVerificationType,
56
- le as UnknownApiError,
57
- ue as UnknownError,
58
- z as X402BatchSettlementClaimPayloadType,
59
- K as X402BatchSettlementDepositPayloadType,
60
- Y as X402BatchSettlementRefundPayloadType,
61
- Z as X402BatchSettlementSettlePayloadType,
62
- $ as X402BatchSettlementVoucherPayloadType,
63
- ee as X402V1Network,
64
- te as X402V1PaymentPayloadScheme,
65
- ne as X402V1PaymentRequirementsScheme,
66
- re as X402V2Network,
67
- oe as X402V2PaymentRequirementsScheme,
68
- ie as X402Version,
69
- Se as authenticateUserWithCustomAuth,
70
- se as configureCdpApiClient,
71
- ge as createDelegationForEndUser,
72
- Te as createDelegationForEndUserAccount,
73
- fe as createEndUserApplePayOnrampOrder,
74
- ve as createEndUserBtcAccount,
75
- ke as createEndUserEvmAccount,
76
- Pe as createEndUserEvmSmartAccount,
77
- We as createEndUserEvmSwap,
78
- Oe as createEndUserSolanaAccount,
79
- we as createEvmEip7702DelegationWithEndUserAccount,
80
- Ot as createOnrampIosAttestationChallenge,
81
- wt as createOnrampMobileChallenge,
82
- Bt as createOnrampMobileSession,
83
- Be as createSpendPermissionWithEndUserAccount,
84
- Ie as deletePasskey,
85
- Me as enableSpendPermissionWithEndUserAccount,
86
- Ne as exportEndUserEvmAccount,
87
- Ce as exportEndUserSolanaAccount,
88
- Re as generateAttestationChallenge,
89
- De as getAuthenticatedEndUser,
90
- Ve as getDelegationForEndUser,
91
- be as getDelegationForEndUserAccount,
92
- Xe as getEndUserEvmSwapPrice,
93
- xe as getEvmEip7702DelegationOperationByIdWithEndUserAccount,
94
- Fe as getMfaConfig,
95
- qe as getProjectConfig,
96
- He as getUserOperationWithEndUserAccount,
97
- je as initiateAuthentication,
98
- Ge as initiateMfaEnrollment,
99
- Je as initiateMfaEnrollment2,
100
- Le as initiateMfaVerification,
101
- Ae as isOpenAPIError,
102
- he as isRefreshTokenUnavailableError,
103
- ye as isTransientTokenReadError,
104
- Qe as listPasskeys,
105
- _e as listSpendPermissionsWithEndUserAccount,
106
- ze as logOutEndUser,
107
- Ke as receiveOAuthCallback,
108
- Ye as receiveOAuthCallbackPost,
109
- Ze as recordMfaEnrollmentPrompted,
110
- $e as refreshAccessToken,
111
- et as registerAttestation,
112
- It as registerOnrampIosAttestation,
113
- tt as registerTemporaryWalletSecret,
114
- nt as revokeDelegationForEndUser,
115
- rt as revokeDelegationForEndUserAccount,
116
- ot as revokeSpendPermissionWithEndUserAccount,
117
- it as sendEvmAssetWithEndUserAccount,
118
- at as sendEvmTransactionWithEndUserAccount,
119
- st as sendSolanaAssetWithEndUserAccount,
120
- ct as sendSolanaTransactionWithEndUserAccount,
121
- dt as sendUserOperationWithEndUserAccount,
122
- ce as setAuthManager,
123
- Et as signBtcHashWithEndUserAccount,
124
- mt as signEvmHashWithEndUserAccount,
125
- pt as signEvmMessageWithEndUserAccount,
126
- lt as signEvmTransactionWithEndUserAccount,
127
- ut as signEvmTypedDataWithEndUserAccount,
128
- At as signSolanaHashWithEndUserAccount,
129
- ht as signSolanaMessageWithEndUserAccount,
130
- yt as signSolanaTransactionWithEndUserAccount,
131
- Ut as signSolanaX402PaymentWithEndUserAccount,
132
- St as submitMfaEnrollment,
133
- gt as submitMfaVerification,
134
- Tt as verifyEmailAuthentication,
135
- ft as verifyOAuthCode,
136
- vt as verifyOAuthEndUserIdentity,
137
- kt as verifySiweAuthentication,
138
- Pt as verifySmsAuthentication
11
+ ye as APIError,
12
+ s as BorrowPositionHealthStatus,
13
+ c as BorrowProductAssetCapabilityType,
14
+ d as BorrowProductNetwork,
15
+ E as BorrowProductProtocol,
16
+ u as CapabilityName,
17
+ l as CreateEndUserBtcAccountBodyAddressType,
18
+ m as CreateEndUserBtcAccountBodyNetwork,
19
+ p as DeveloperJWTAuthenticationType,
20
+ A as EmailAuthenticationType,
21
+ h as EndUserBtcAccountAddressType,
22
+ y as EndUserBtcAccountNetwork,
23
+ U as EndUserOnrampFeeType,
24
+ S as EndUserOnrampOrderStatus,
25
+ g as ErrorType,
26
+ T as EvmEip7702DelegationNetwork,
27
+ P as EvmEip7702DelegationOperationStatus,
28
+ f as EvmSwapsNetwork,
29
+ v as EvmUserOperationNetwork,
30
+ k as EvmUserOperationStatus,
31
+ Ue as HttpErrorType,
32
+ B as InitiateEmailAuthenticationNextStepType,
33
+ W as InitiateEmailAuthenticationRequestType,
34
+ w as InitiatePasskeyMfaEnrollmentType,
35
+ O as InitiateSiweAuthenticationRequestType,
36
+ M as InitiateSmsAuthenticationNextStepType,
37
+ C as InitiateSmsAuthenticationRequestType,
38
+ I as InitiateSmsMfaEnrollmentType,
39
+ N as InitiateTotpMfaEnrollmentType,
40
+ D as IosAttestationRegistrationResponsePlatform,
41
+ R as MfaMethod,
42
+ b as MorphoBlueOnchainStateType,
43
+ V as MorphoBlueProtocolDetailsType,
44
+ X as Network,
45
+ x as OAuth2ProviderType,
46
+ F as OnrampQuotePaymentMethodTypeId,
47
+ H as OtpEmailLogoStatus,
48
+ q as PasskeySummaryTransportsItem,
49
+ j as PasskeyUserVerification,
50
+ G as RefreshAccessTokenBodyGrantType,
51
+ Se as RefreshTokenUnavailableError,
52
+ J as SendEvmAssetWithEndUserAccountBodyNetwork,
53
+ L as SendEvmTransactionWithEndUserAccountBodyNetwork,
54
+ Q as SendSolanaAssetWithEndUserAccountBodyNetwork,
55
+ _ as SendSolanaTransactionWithEndUserAccountBodyNetwork,
56
+ z as SignBtcHashWithEndUserAccountBodyChange,
57
+ K as SiweAuthenticationType,
58
+ Y as SmsAuthenticationType,
59
+ Z as SpendPermissionNetwork,
60
+ $ as SubmitPasskeyRegistrationType,
61
+ ee as SubmitPasskeyVerificationType,
62
+ ge as UnknownApiError,
63
+ Te as UnknownError,
64
+ te as X402BatchSettlementClaimPayloadType,
65
+ ne as X402BatchSettlementDepositPayloadType,
66
+ oe as X402BatchSettlementRefundPayloadType,
67
+ re as X402BatchSettlementSettlePayloadType,
68
+ ie as X402BatchSettlementVoucherPayloadType,
69
+ ae as X402V1Network,
70
+ se as X402V1PaymentPayloadScheme,
71
+ ce as X402V1PaymentRequirementsScheme,
72
+ de as X402V2Network,
73
+ Ee as X402V2PaymentRequirementsScheme,
74
+ ue as X402Version,
75
+ Be as adjustBorrowPositionWithEndUserAccount,
76
+ We as authenticateUserWithCustomAuth,
77
+ we as closeBorrowPositionWithEndUserAccount,
78
+ me as configureCdpApiClient,
79
+ Oe as createBorrowPositionWithEndUserAccount,
80
+ Me as createDelegationForEndUser,
81
+ Ce as createDelegationForEndUserAccount,
82
+ Ie as createEndUserApplePayOnrampOrder,
83
+ Ne as createEndUserBtcAccount,
84
+ De as createEndUserEvmAccount,
85
+ Re as createEndUserEvmSmartAccount,
86
+ be as createEndUserEvmSwap,
87
+ Ve as createEndUserSolanaAccount,
88
+ Xe as createEvmEip7702DelegationWithEndUserAccount,
89
+ Ft as createOnrampIosAttestationChallenge,
90
+ Ht as createOnrampMobileChallenge,
91
+ qt as createOnrampMobileSession,
92
+ xe as createSpendPermissionWithEndUserAccount,
93
+ Fe as deletePasskey,
94
+ He as enableSpendPermissionWithEndUserAccount,
95
+ qe as exportEndUserEvmAccount,
96
+ je as exportEndUserSolanaAccount,
97
+ Ge as generateAttestationChallenge,
98
+ Je as getAuthenticatedEndUser,
99
+ Le as getDelegationForEndUser,
100
+ Qe as getDelegationForEndUserAccount,
101
+ _e as getEndUserEvmSwapPrice,
102
+ ze as getEvmBorrowProduct,
103
+ Ke as getEvmEip7702DelegationOperationByIdWithEndUserAccount,
104
+ Ye as getMfaConfig,
105
+ Ze as getProjectConfig,
106
+ $e as getUserOperationWithEndUserAccount,
107
+ et as initiateAuthentication,
108
+ tt as initiateMfaEnrollment,
109
+ nt as initiateMfaEnrollment2,
110
+ ot as initiateMfaVerification,
111
+ Pe as isOpenAPIError,
112
+ fe as isRefreshTokenUnavailableError,
113
+ ve as isTransientTokenReadError,
114
+ rt as listBorrowPositionsWithEndUserAccount,
115
+ it as listEvmBorrowProducts,
116
+ at as listPasskeys,
117
+ st as listSpendPermissionsWithEndUserAccount,
118
+ ct as logOutEndUser,
119
+ dt as receiveOAuthCallback,
120
+ Et as receiveOAuthCallbackPost,
121
+ ut as recordMfaEnrollmentPrompted,
122
+ lt as refreshAccessToken,
123
+ mt as registerAttestation,
124
+ jt as registerOnrampIosAttestation,
125
+ pt as registerTemporaryWalletSecret,
126
+ At as revokeDelegationForEndUser,
127
+ ht as revokeDelegationForEndUserAccount,
128
+ yt as revokeSpendPermissionWithEndUserAccount,
129
+ Ut as sendEvmAssetWithEndUserAccount,
130
+ St as sendEvmTransactionWithEndUserAccount,
131
+ gt as sendSolanaAssetWithEndUserAccount,
132
+ Tt as sendSolanaTransactionWithEndUserAccount,
133
+ Pt as sendUserOperationWithEndUserAccount,
134
+ pe as setAuthManager,
135
+ Ae as setCookieDomain,
136
+ ft as signBtcHashWithEndUserAccount,
137
+ vt as signEvmHashWithEndUserAccount,
138
+ kt as signEvmMessageWithEndUserAccount,
139
+ Bt as signEvmTransactionWithEndUserAccount,
140
+ Wt as signEvmTypedDataWithEndUserAccount,
141
+ wt as signSolanaHashWithEndUserAccount,
142
+ Ot as signSolanaMessageWithEndUserAccount,
143
+ Mt as signSolanaTransactionWithEndUserAccount,
144
+ Ct as signSolanaX402PaymentWithEndUserAccount,
145
+ It as submitMfaEnrollment,
146
+ Nt as submitMfaVerification,
147
+ Dt as verifyEmailAuthentication,
148
+ Rt as verifyOAuthCode,
149
+ bt as verifyOAuthEndUserIdentity,
150
+ Vt as verifySiweAuthentication,
151
+ Xt as verifySmsAuthentication
139
152
  };
@@ -1,5 +1,5 @@
1
1
  import { getDefaultExportFromCjs as r } from "./index25.js";
2
- import { __require as o } from "./index17.js";
2
+ import { __require as o } from "./index19.js";
3
3
  var t = o();
4
4
  const a = /* @__PURE__ */ r(t);
5
5
  export {
@@ -1,4 +1,4 @@
1
- import { __exports as n } from "./index22.js";
1
+ import { __exports as n } from "./index17.js";
2
2
  var $;
3
3
  function Z() {
4
4
  if ($) return n;
@@ -1,4 +1,4 @@
1
- import { __module as E } from "./index23.js";
1
+ import { __module as E } from "./index18.js";
2
2
  E.exports;
3
3
  var we;
4
4
  function Ye() {
@@ -1,41 +1,4 @@
1
- import { __module as h } from "./index18.js";
2
- import { __require as S } from "./index19.js";
3
- import { __require as q } from "./index20.js";
4
- import { __require as w } from "./index21.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);
38
- }
1
+ var r = {};
39
2
  export {
40
- G as __require
3
+ r as __exports
41
4
  };
@@ -1,72 +1,41 @@
1
- import { __module as a } from "./index24.js";
2
- var h;
3
- function c() {
4
- return h ? a.exports : (h = 1, (function() {
5
- var f = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", u = {
6
- // Bit-wise rotation left
7
- rotl: function(r, t) {
8
- return r << t | r >>> 32 - t;
9
- },
10
- // Bit-wise rotation right
11
- rotr: function(r, t) {
12
- return r << 32 - t | r >>> t;
13
- },
14
- // Swap big-endian to little-endian and vice versa
15
- endian: function(r) {
16
- if (r.constructor == Number)
17
- return u.rotl(r, 8) & 16711935 | u.rotl(r, 24) & 4278255360;
18
- for (var t = 0; t < r.length; t++)
19
- r[t] = u.endian(r[t]);
20
- return r;
21
- },
22
- // Generate an array of any length of random bytes
23
- randomBytes: function(r) {
24
- for (var t = []; r > 0; r--)
25
- t.push(Math.floor(Math.random() * 256));
26
- return t;
27
- },
28
- // Convert a byte array to big-endian 32-bit words
29
- bytesToWords: function(r) {
30
- for (var t = [], n = 0, o = 0; n < r.length; n++, o += 8)
31
- t[o >>> 5] |= r[n] << 24 - o % 32;
32
- return t;
33
- },
34
- // Convert big-endian 32-bit words to a byte array
35
- wordsToBytes: function(r) {
36
- for (var t = [], n = 0; n < r.length * 32; n += 8)
37
- t.push(r[n >>> 5] >>> 24 - n % 32 & 255);
38
- return t;
39
- },
40
- // Convert a byte array to a hex string
41
- bytesToHex: function(r) {
42
- for (var t = [], n = 0; n < r.length; n++)
43
- t.push((r[n] >>> 4).toString(16)), t.push((r[n] & 15).toString(16));
44
- return t.join("");
45
- },
46
- // Convert a hex string to a byte array
47
- hexToBytes: function(r) {
48
- for (var t = [], n = 0; n < r.length; n += 2)
49
- t.push(parseInt(r.substr(n, 2), 16));
50
- return t;
51
- },
52
- // Convert a byte array to a base-64 string
53
- bytesToBase64: function(r) {
54
- for (var t = [], n = 0; n < r.length; n += 3)
55
- for (var o = r[n] << 16 | r[n + 1] << 8 | r[n + 2], e = 0; e < 4; e++)
56
- n * 8 + e * 6 <= r.length * 8 ? t.push(f.charAt(o >>> 6 * (3 - e) & 63)) : t.push("=");
57
- return t.join("");
58
- },
59
- // Convert a base-64 string to a byte array
60
- base64ToBytes: function(r) {
61
- r = r.replace(/[^A-Z0-9+\/]/ig, "");
62
- for (var t = [], n = 0, o = 0; n < r.length; o = ++n % 4)
63
- o != 0 && t.push((f.indexOf(r.charAt(n - 1)) & Math.pow(2, -2 * o + 8) - 1) << o * 2 | f.indexOf(r.charAt(n)) >>> 6 - o * 2);
64
- return t;
1
+ import { __module as h } from "./index20.js";
2
+ import { __require as S } from "./index21.js";
3
+ import { __require as q } from "./index22.js";
4
+ import { __require as w } from "./index23.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;
65
16
  }
17
+ return v.endian([n, r, i, t]);
66
18
  };
67
- a.exports = u;
68
- })(), a.exports);
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);
69
38
  }
70
39
  export {
71
- c as __require
40
+ G as __require
72
41
  };
@@ -1,37 +1,4 @@
1
- var o, u;
2
- function c() {
3
- if (u) return o;
4
- u = 1;
5
- var t = {
6
- // UTF-8 encoding
7
- utf8: {
8
- // Convert a string to a byte array
9
- stringToBytes: function(n) {
10
- return t.bin.stringToBytes(unescape(encodeURIComponent(n)));
11
- },
12
- // Convert a byte array to a string
13
- bytesToString: function(n) {
14
- return decodeURIComponent(escape(t.bin.bytesToString(n)));
15
- }
16
- },
17
- // Binary encoding
18
- bin: {
19
- // Convert a string to a byte array
20
- stringToBytes: function(n) {
21
- for (var e = [], r = 0; r < n.length; r++)
22
- e.push(n.charCodeAt(r) & 255);
23
- return e;
24
- },
25
- // Convert a byte array to a string
26
- bytesToString: function(n) {
27
- for (var e = [], r = 0; r < n.length; r++)
28
- e.push(String.fromCharCode(n[r]));
29
- return e.join("");
30
- }
31
- }
32
- };
33
- return o = t, o;
34
- }
1
+ var e = { exports: {} };
35
2
  export {
36
- c as __require
3
+ e as __module
37
4
  };
@@ -1,17 +1,72 @@
1
- var f, e;
2
- function t() {
3
- if (e) return f;
4
- e = 1, f = function(r) {
5
- return r != null && (u(r) || n(r) || !!r._isBuffer);
6
- };
7
- function u(r) {
8
- return !!r.constructor && typeof r.constructor.isBuffer == "function" && r.constructor.isBuffer(r);
9
- }
10
- function n(r) {
11
- return typeof r.readFloatLE == "function" && typeof r.slice == "function" && u(r.slice(0, 0));
12
- }
13
- return f;
1
+ import { __module as a } from "./index24.js";
2
+ var h;
3
+ function c() {
4
+ return h ? a.exports : (h = 1, (function() {
5
+ var f = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", u = {
6
+ // Bit-wise rotation left
7
+ rotl: function(r, t) {
8
+ return r << t | r >>> 32 - t;
9
+ },
10
+ // Bit-wise rotation right
11
+ rotr: function(r, t) {
12
+ return r << 32 - t | r >>> t;
13
+ },
14
+ // Swap big-endian to little-endian and vice versa
15
+ endian: function(r) {
16
+ if (r.constructor == Number)
17
+ return u.rotl(r, 8) & 16711935 | u.rotl(r, 24) & 4278255360;
18
+ for (var t = 0; t < r.length; t++)
19
+ r[t] = u.endian(r[t]);
20
+ return r;
21
+ },
22
+ // Generate an array of any length of random bytes
23
+ randomBytes: function(r) {
24
+ for (var t = []; r > 0; r--)
25
+ t.push(Math.floor(Math.random() * 256));
26
+ return t;
27
+ },
28
+ // Convert a byte array to big-endian 32-bit words
29
+ bytesToWords: function(r) {
30
+ for (var t = [], n = 0, o = 0; n < r.length; n++, o += 8)
31
+ t[o >>> 5] |= r[n] << 24 - o % 32;
32
+ return t;
33
+ },
34
+ // Convert big-endian 32-bit words to a byte array
35
+ wordsToBytes: function(r) {
36
+ for (var t = [], n = 0; n < r.length * 32; n += 8)
37
+ t.push(r[n >>> 5] >>> 24 - n % 32 & 255);
38
+ return t;
39
+ },
40
+ // Convert a byte array to a hex string
41
+ bytesToHex: function(r) {
42
+ for (var t = [], n = 0; n < r.length; n++)
43
+ t.push((r[n] >>> 4).toString(16)), t.push((r[n] & 15).toString(16));
44
+ return t.join("");
45
+ },
46
+ // Convert a hex string to a byte array
47
+ hexToBytes: function(r) {
48
+ for (var t = [], n = 0; n < r.length; n += 2)
49
+ t.push(parseInt(r.substr(n, 2), 16));
50
+ return t;
51
+ },
52
+ // Convert a byte array to a base-64 string
53
+ bytesToBase64: function(r) {
54
+ for (var t = [], n = 0; n < r.length; n += 3)
55
+ for (var o = r[n] << 16 | r[n + 1] << 8 | r[n + 2], e = 0; e < 4; e++)
56
+ n * 8 + e * 6 <= r.length * 8 ? t.push(f.charAt(o >>> 6 * (3 - e) & 63)) : t.push("=");
57
+ return t.join("");
58
+ },
59
+ // Convert a base-64 string to a byte array
60
+ base64ToBytes: function(r) {
61
+ r = r.replace(/[^A-Z0-9+\/]/ig, "");
62
+ for (var t = [], n = 0, o = 0; n < r.length; o = ++n % 4)
63
+ o != 0 && t.push((f.indexOf(r.charAt(n - 1)) & Math.pow(2, -2 * o + 8) - 1) << o * 2 | f.indexOf(r.charAt(n)) >>> 6 - o * 2);
64
+ return t;
65
+ }
66
+ };
67
+ a.exports = u;
68
+ })(), a.exports);
14
69
  }
15
70
  export {
16
- t as __require
71
+ c as __require
17
72
  };