@coinbase/cdp-api-client 0.0.33 → 0.0.35

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,126 +1,150 @@
1
- import { createEndUserEvmAccount as r, createEndUserEvmSmartAccount as n, exportEndUserEvmAccount as i, getAuthenticatedEndUser as o, getUserOperationWithEndUserAccount as a, initiateAuthentication as s, logOutEndUser as p, refreshAccessToken as c, registerTemporaryWalletSecret as m, sendEvmTransactionWithEndUserAccount as d, sendUserOperationWithEndUserAccount as l, signEvmHashWithEndUserAccount as u, signEvmMessageWithEndUserAccount as y, signEvmTransactionWithEndUserAccount as S, signEvmTypedDataWithEndUserAccount as T, signSolanaHashWithEndUserAccount as E, verifyEmailAuthentication as A, verifySmsAuthentication as O } from "./index2.js";
2
- import { AbiFunctionType as C, AbiInputType as g, AbiStateMutability as h, DeveloperJWTAuthenticationType as R, EmailAuthenticationType as U, ErrorType as P, EthValueCriterionOperator as k, EthValueCriterionType as w, EvmAddressCriterionOperator as N, EvmAddressCriterionType as D, EvmDataCriterionType as f, EvmDataParameterConditionListOperator as M, EvmDataParameterConditionOperator as I, EvmMessageCriterionType as W, EvmNetworkCriterionNetworksItem as V, EvmNetworkCriterionOperator as X, EvmNetworkCriterionType as x, EvmSwapsNetwork as b, EvmTypedAddressConditionOperator as H, EvmTypedNumericalConditionOperator as L, EvmUserOperationNetwork as q, EvmUserOperationStatus as B, FeeType as F, InitiateEmailAuthenticationNextStepType as K, InitiateEmailAuthenticationRequestType as G, InitiateSmsAuthenticationNextStepType as J, InitiateSmsAuthenticationRequestType as j, KnownAbiType as z, KnownIdlType as Q, ListEvmTokenBalancesNetwork as Y, ListSolanaTokenBalancesNetwork as Z, MintAddressCriterionOperator as _, MintAddressCriterionType as $, NetUSDChangeCriterionOperator as ee, NetUSDChangeCriterionType as te, OnchainDataResultSchemaColumnsItemType as re, OnrampOrderFeeType as ne, OnrampOrderStatus as ie, OnrampPaymentLinkType as oe, OnrampPaymentMethodTypeId as ae, PaymentMethodType as se, PaymentRailAction as pe, PolicyScope as ce, PrepareUserOperationRuleAction as me, PrepareUserOperationRuleOperation as de, RefreshAccessTokenBodyGrantType as le, SendEvmTransactionRuleAction as ue, SendEvmTransactionRuleOperation as ye, SendEvmTransactionWithEndUserAccountBodyNetwork as Se, SendSolTransactionRuleAction as Te, SendSolTransactionRuleOperation as Ee, SendUserOperationRuleAction as Ae, SendUserOperationRuleOperation as Oe, SignEvmHashRuleAction as ve, SignEvmHashRuleOperation as Ce, SignEvmMessageRuleAction as ge, SignEvmMessageRuleOperation as he, SignEvmTransactionRuleAction as Re, SignEvmTransactionRuleOperation as Ue, SignEvmTypedDataFieldCriterionType as Pe, SignEvmTypedDataRuleAction as ke, SignEvmTypedDataRuleOperation as we, SignEvmTypedDataVerifyingContractCriterionOperator as Ne, SignEvmTypedDataVerifyingContractCriterionType as De, SignSolMessageRuleAction as fe, SignSolMessageRuleOperation as Me, SignSolTransactionRuleAction as Ie, SignSolTransactionRuleOperation as We, SmsAuthenticationType as Ve, SolAddressCriterionOperator as Xe, SolAddressCriterionType as xe, SolDataCriterionType as be, SolDataParameterConditionListOperator as He, SolDataParameterConditionOperator as Le, SolMessageCriterionType as qe, SolValueCriterionOperator as Be, SolValueCriterionType as Fe, SpendPermissionNetwork as Ke, SplAddressCriterionOperator as Ge, SplAddressCriterionType as Je, SplValueCriterionOperator as je, SplValueCriterionType as ze, TransferSourceType as Qe, TransferStatus as Ye, TransferTargetType as Ze, X402DiscoveryResourceType as _e, X402PaymentPayloadNetwork as $e, X402PaymentPayloadScheme as et, X402PaymentRequirementsNetwork as tt, X402PaymentRequirementsScheme as rt, X402SettleErrorReason as nt, X402SupportedPaymentKindNetwork as it, X402SupportedPaymentKindScheme as ot, X402VerifyInvalidReason as at, X402Version as st } from "./index3.js";
3
- import { configureCdpApiClient as ct, setAuthManager as mt } from "./index4.js";
4
- import { APIError as lt, HttpErrorType as ut, UnknownApiError as yt, UnknownError as St, isOpenAPIError as Tt } from "./index5.js";
1
+ import { createEndUserEvmAccount as r, createEndUserEvmSmartAccount as n, createEndUserSolanaAccount as i, createSpendPermissionWithEndUserAccount as o, exportEndUserEvmAccount as a, getAuthenticatedEndUser as s, getUserOperationWithEndUserAccount as p, initiateAuthentication as c, listSpendPermissionsWithEndUserAccount as d, logOutEndUser as m, refreshAccessToken as u, registerTemporaryWalletSecret as y, revokeSpendPermissionWithEndUserAccount as S, sendEvmTransactionWithEndUserAccount as l, sendSolanaTransactionWithEndUserAccount as T, sendUserOperationWithEndUserAccount as E, signEvmHashWithEndUserAccount as A, signEvmMessageWithEndUserAccount as O, signEvmTransactionWithEndUserAccount as h, signEvmTypedDataWithEndUserAccount as C, signSolanaHashWithEndUserAccount as v, signSolanaTransactionWithEndUserAccount as g, verifyEmailAuthentication as R, verifySmsAuthentication as U } from "./index2.js";
2
+ import { AbiFunctionType as k, AbiInputType as w, AbiStateMutability as N, AccountSourceType as D, AddressRiskNetwork as W, AddressRiskRiskLevel as f, CreateTransferQuoteRequestedAmountType as I, DeveloperJWTAuthenticationType as M, EmailAuthenticationType as V, ErrorType as X, EthValueCriterionOperator as x, EthValueCriterionType as L, EvmAddressCriterionOperator as b, EvmAddressCriterionType as q, EvmDataCriterionType as B, EvmDataParameterConditionListOperator as F, EvmDataParameterConditionOperator as H, EvmMessageCriterionType as K, EvmNetworkCriterionNetworksItem as Q, EvmNetworkCriterionOperator as G, EvmNetworkCriterionType as J, EvmSwapsNetwork as j, EvmTypedAddressConditionOperator as z, EvmTypedNumericalConditionOperator as Y, EvmUserOperationNetwork as Z, EvmUserOperationStatus as _, FeeDetailsType as $, FeeType as ee, InitiateEmailAuthenticationNextStepType as te, InitiateEmailAuthenticationRequestType as re, InitiateSmsAuthenticationNextStepType as ne, InitiateSmsAuthenticationRequestType as ie, KnownAbiType as oe, KnownIdlType as ae, LimitPeriod as se, ListEvmTokenBalancesNetwork as pe, ListSolanaTokenBalancesNetwork as ce, MintAddressCriterionOperator as de, MintAddressCriterionType as me, NetUSDChangeCriterionOperator as ue, NetUSDChangeCriterionType as ye, Network as Se, OnchainDataResultSchemaColumnsItemType as le, OnrampOrderFeeType as Te, OnrampOrderPaymentMethodTypeId as Ee, OnrampOrderStatus as Ae, OnrampPaymentLinkType as Oe, OnrampQuotePaymentMethodTypeId as he, PaymentDirection as Ce, PaymentMethodSourceType as ve, PaymentMethodType as ge, PaymentRailAction as Re, PaymentStatus as Ue, PolicyScope as Pe, PrepareUserOperationRuleAction as ke, PrepareUserOperationRuleOperation as we, ProgramIdCriterionOperator as Ne, ProgramIdCriterionType as De, RefreshAccessTokenBodyGrantType as We, SendEvmTransactionRuleAction as fe, SendEvmTransactionRuleOperation as Ie, SendEvmTransactionWithEndUserAccountBodyNetwork as Me, SendSolTransactionRuleAction as Ve, SendSolTransactionRuleOperation as Xe, SendSolanaTransactionWithEndUserAccountBodyNetwork as xe, SendUserOperationRuleAction as Le, SendUserOperationRuleOperation as be, SignEvmHashRuleAction as qe, SignEvmHashRuleOperation as Be, SignEvmMessageRuleAction as Fe, SignEvmMessageRuleOperation as He, SignEvmTransactionRuleAction as Ke, SignEvmTransactionRuleOperation as Qe, SignEvmTypedDataFieldCriterionType as Ge, SignEvmTypedDataRuleAction as Je, SignEvmTypedDataRuleOperation as je, SignEvmTypedDataVerifyingContractCriterionOperator as ze, SignEvmTypedDataVerifyingContractCriterionType as Ye, SignSolMessageRuleAction as Ze, SignSolMessageRuleOperation as _e, SignSolTransactionRuleAction as $e, SignSolTransactionRuleOperation as et, SmsAuthenticationType as tt, SolAddressCriterionOperator as rt, SolAddressCriterionType as nt, SolDataCriterionType as it, SolDataParameterConditionListOperator as ot, SolDataParameterConditionOperator as at, SolMessageCriterionType as st, SolNetworkCriterionNetworksItem as pt, SolNetworkCriterionOperator as ct, SolNetworkCriterionType as dt, SolValueCriterionOperator as mt, SolValueCriterionType as ut, SourceType as yt, SpendPermissionNetwork as St, SplAddressCriterionOperator as lt, SplAddressCriterionType as Tt, SplValueCriterionOperator as Et, SplValueCriterionType as At, TransferSourceType as Ot, TransferStatus as ht, TransferTargetType as Ct, X402DiscoveryResourceType as vt, X402PaymentPayloadNetwork as gt, X402PaymentPayloadScheme as Rt, X402PaymentRequirementsNetwork as Ut, X402PaymentRequirementsScheme as Pt, X402SettleErrorReason as kt, X402SupportedPaymentKindNetwork as wt, X402SupportedPaymentKindScheme as Nt, X402VerifyInvalidReason as Dt, X402Version as Wt } from "./index3.js";
3
+ import { configureCdpApiClient as It, setAuthManager as Mt } from "./index4.js";
4
+ import { APIError as Xt, HttpErrorType as xt, UnknownApiError as Lt, UnknownError as bt, isOpenAPIError as qt } from "./index5.js";
5
5
  export {
6
- lt as APIError,
7
- C as AbiFunctionType,
8
- g as AbiInputType,
9
- h as AbiStateMutability,
10
- R as DeveloperJWTAuthenticationType,
11
- U as EmailAuthenticationType,
12
- P as ErrorType,
13
- k as EthValueCriterionOperator,
14
- w as EthValueCriterionType,
15
- N as EvmAddressCriterionOperator,
16
- D as EvmAddressCriterionType,
17
- f as EvmDataCriterionType,
18
- M as EvmDataParameterConditionListOperator,
19
- I as EvmDataParameterConditionOperator,
20
- W as EvmMessageCriterionType,
21
- V as EvmNetworkCriterionNetworksItem,
22
- X as EvmNetworkCriterionOperator,
23
- x as EvmNetworkCriterionType,
24
- b as EvmSwapsNetwork,
25
- H as EvmTypedAddressConditionOperator,
26
- L as EvmTypedNumericalConditionOperator,
27
- q as EvmUserOperationNetwork,
28
- B as EvmUserOperationStatus,
29
- F as FeeType,
30
- ut as HttpErrorType,
31
- K as InitiateEmailAuthenticationNextStepType,
32
- G as InitiateEmailAuthenticationRequestType,
33
- J as InitiateSmsAuthenticationNextStepType,
34
- j as InitiateSmsAuthenticationRequestType,
35
- z as KnownAbiType,
36
- Q as KnownIdlType,
37
- Y as ListEvmTokenBalancesNetwork,
38
- Z as ListSolanaTokenBalancesNetwork,
39
- _ as MintAddressCriterionOperator,
40
- $ as MintAddressCriterionType,
41
- ee as NetUSDChangeCriterionOperator,
42
- te as NetUSDChangeCriterionType,
43
- re as OnchainDataResultSchemaColumnsItemType,
44
- ne as OnrampOrderFeeType,
45
- ie as OnrampOrderStatus,
46
- oe as OnrampPaymentLinkType,
47
- ae as OnrampPaymentMethodTypeId,
48
- se as PaymentMethodType,
49
- pe as PaymentRailAction,
50
- ce as PolicyScope,
51
- me as PrepareUserOperationRuleAction,
52
- de as PrepareUserOperationRuleOperation,
53
- le as RefreshAccessTokenBodyGrantType,
54
- ue as SendEvmTransactionRuleAction,
55
- ye as SendEvmTransactionRuleOperation,
56
- Se as SendEvmTransactionWithEndUserAccountBodyNetwork,
57
- Te as SendSolTransactionRuleAction,
58
- Ee as SendSolTransactionRuleOperation,
59
- Ae as SendUserOperationRuleAction,
60
- Oe as SendUserOperationRuleOperation,
61
- ve as SignEvmHashRuleAction,
62
- Ce as SignEvmHashRuleOperation,
63
- ge as SignEvmMessageRuleAction,
64
- he as SignEvmMessageRuleOperation,
65
- Re as SignEvmTransactionRuleAction,
66
- Ue as SignEvmTransactionRuleOperation,
67
- Pe as SignEvmTypedDataFieldCriterionType,
68
- ke as SignEvmTypedDataRuleAction,
69
- we as SignEvmTypedDataRuleOperation,
70
- Ne as SignEvmTypedDataVerifyingContractCriterionOperator,
71
- De as SignEvmTypedDataVerifyingContractCriterionType,
72
- fe as SignSolMessageRuleAction,
73
- Me as SignSolMessageRuleOperation,
74
- Ie as SignSolTransactionRuleAction,
75
- We as SignSolTransactionRuleOperation,
76
- Ve as SmsAuthenticationType,
77
- Xe as SolAddressCriterionOperator,
78
- xe as SolAddressCriterionType,
79
- be as SolDataCriterionType,
80
- He as SolDataParameterConditionListOperator,
81
- Le as SolDataParameterConditionOperator,
82
- qe as SolMessageCriterionType,
83
- Be as SolValueCriterionOperator,
84
- Fe as SolValueCriterionType,
85
- Ke as SpendPermissionNetwork,
86
- Ge as SplAddressCriterionOperator,
87
- Je as SplAddressCriterionType,
88
- je as SplValueCriterionOperator,
89
- ze as SplValueCriterionType,
90
- Qe as TransferSourceType,
91
- Ye as TransferStatus,
92
- Ze as TransferTargetType,
93
- yt as UnknownApiError,
94
- St as UnknownError,
95
- _e as X402DiscoveryResourceType,
96
- $e as X402PaymentPayloadNetwork,
97
- et as X402PaymentPayloadScheme,
98
- tt as X402PaymentRequirementsNetwork,
99
- rt as X402PaymentRequirementsScheme,
100
- nt as X402SettleErrorReason,
101
- it as X402SupportedPaymentKindNetwork,
102
- ot as X402SupportedPaymentKindScheme,
103
- at as X402VerifyInvalidReason,
104
- st as X402Version,
105
- ct as configureCdpApiClient,
6
+ Xt as APIError,
7
+ k as AbiFunctionType,
8
+ w as AbiInputType,
9
+ N as AbiStateMutability,
10
+ D as AccountSourceType,
11
+ W as AddressRiskNetwork,
12
+ f as AddressRiskRiskLevel,
13
+ I as CreateTransferQuoteRequestedAmountType,
14
+ M as DeveloperJWTAuthenticationType,
15
+ V as EmailAuthenticationType,
16
+ X as ErrorType,
17
+ x as EthValueCriterionOperator,
18
+ L as EthValueCriterionType,
19
+ b as EvmAddressCriterionOperator,
20
+ q as EvmAddressCriterionType,
21
+ B as EvmDataCriterionType,
22
+ F as EvmDataParameterConditionListOperator,
23
+ H as EvmDataParameterConditionOperator,
24
+ K as EvmMessageCriterionType,
25
+ Q as EvmNetworkCriterionNetworksItem,
26
+ G as EvmNetworkCriterionOperator,
27
+ J as EvmNetworkCriterionType,
28
+ j as EvmSwapsNetwork,
29
+ z as EvmTypedAddressConditionOperator,
30
+ Y as EvmTypedNumericalConditionOperator,
31
+ Z as EvmUserOperationNetwork,
32
+ _ as EvmUserOperationStatus,
33
+ $ as FeeDetailsType,
34
+ ee as FeeType,
35
+ xt as HttpErrorType,
36
+ te as InitiateEmailAuthenticationNextStepType,
37
+ re as InitiateEmailAuthenticationRequestType,
38
+ ne as InitiateSmsAuthenticationNextStepType,
39
+ ie as InitiateSmsAuthenticationRequestType,
40
+ oe as KnownAbiType,
41
+ ae as KnownIdlType,
42
+ se as LimitPeriod,
43
+ pe as ListEvmTokenBalancesNetwork,
44
+ ce as ListSolanaTokenBalancesNetwork,
45
+ de as MintAddressCriterionOperator,
46
+ me as MintAddressCriterionType,
47
+ ue as NetUSDChangeCriterionOperator,
48
+ ye as NetUSDChangeCriterionType,
49
+ Se as Network,
50
+ le as OnchainDataResultSchemaColumnsItemType,
51
+ Te as OnrampOrderFeeType,
52
+ Ee as OnrampOrderPaymentMethodTypeId,
53
+ Ae as OnrampOrderStatus,
54
+ Oe as OnrampPaymentLinkType,
55
+ he as OnrampQuotePaymentMethodTypeId,
56
+ Ce as PaymentDirection,
57
+ ve as PaymentMethodSourceType,
58
+ ge as PaymentMethodType,
59
+ Re as PaymentRailAction,
60
+ Ue as PaymentStatus,
61
+ Pe as PolicyScope,
62
+ ke as PrepareUserOperationRuleAction,
63
+ we as PrepareUserOperationRuleOperation,
64
+ Ne as ProgramIdCriterionOperator,
65
+ De as ProgramIdCriterionType,
66
+ We as RefreshAccessTokenBodyGrantType,
67
+ fe as SendEvmTransactionRuleAction,
68
+ Ie as SendEvmTransactionRuleOperation,
69
+ Me as SendEvmTransactionWithEndUserAccountBodyNetwork,
70
+ Ve as SendSolTransactionRuleAction,
71
+ Xe as SendSolTransactionRuleOperation,
72
+ xe as SendSolanaTransactionWithEndUserAccountBodyNetwork,
73
+ Le as SendUserOperationRuleAction,
74
+ be as SendUserOperationRuleOperation,
75
+ qe as SignEvmHashRuleAction,
76
+ Be as SignEvmHashRuleOperation,
77
+ Fe as SignEvmMessageRuleAction,
78
+ He as SignEvmMessageRuleOperation,
79
+ Ke as SignEvmTransactionRuleAction,
80
+ Qe as SignEvmTransactionRuleOperation,
81
+ Ge as SignEvmTypedDataFieldCriterionType,
82
+ Je as SignEvmTypedDataRuleAction,
83
+ je as SignEvmTypedDataRuleOperation,
84
+ ze as SignEvmTypedDataVerifyingContractCriterionOperator,
85
+ Ye as SignEvmTypedDataVerifyingContractCriterionType,
86
+ Ze as SignSolMessageRuleAction,
87
+ _e as SignSolMessageRuleOperation,
88
+ $e as SignSolTransactionRuleAction,
89
+ et as SignSolTransactionRuleOperation,
90
+ tt as SmsAuthenticationType,
91
+ rt as SolAddressCriterionOperator,
92
+ nt as SolAddressCriterionType,
93
+ it as SolDataCriterionType,
94
+ ot as SolDataParameterConditionListOperator,
95
+ at as SolDataParameterConditionOperator,
96
+ st as SolMessageCriterionType,
97
+ pt as SolNetworkCriterionNetworksItem,
98
+ ct as SolNetworkCriterionOperator,
99
+ dt as SolNetworkCriterionType,
100
+ mt as SolValueCriterionOperator,
101
+ ut as SolValueCriterionType,
102
+ yt as SourceType,
103
+ St as SpendPermissionNetwork,
104
+ lt as SplAddressCriterionOperator,
105
+ Tt as SplAddressCriterionType,
106
+ Et as SplValueCriterionOperator,
107
+ At as SplValueCriterionType,
108
+ Ot as TransferSourceType,
109
+ ht as TransferStatus,
110
+ Ct as TransferTargetType,
111
+ Lt as UnknownApiError,
112
+ bt as UnknownError,
113
+ vt as X402DiscoveryResourceType,
114
+ gt as X402PaymentPayloadNetwork,
115
+ Rt as X402PaymentPayloadScheme,
116
+ Ut as X402PaymentRequirementsNetwork,
117
+ Pt as X402PaymentRequirementsScheme,
118
+ kt as X402SettleErrorReason,
119
+ wt as X402SupportedPaymentKindNetwork,
120
+ Nt as X402SupportedPaymentKindScheme,
121
+ Dt as X402VerifyInvalidReason,
122
+ Wt as X402Version,
123
+ It as configureCdpApiClient,
106
124
  r as createEndUserEvmAccount,
107
125
  n as createEndUserEvmSmartAccount,
108
- i as exportEndUserEvmAccount,
109
- o as getAuthenticatedEndUser,
110
- a as getUserOperationWithEndUserAccount,
111
- s as initiateAuthentication,
112
- Tt as isOpenAPIError,
113
- p as logOutEndUser,
114
- c as refreshAccessToken,
115
- m as registerTemporaryWalletSecret,
116
- d as sendEvmTransactionWithEndUserAccount,
117
- l as sendUserOperationWithEndUserAccount,
118
- mt as setAuthManager,
119
- u as signEvmHashWithEndUserAccount,
120
- y as signEvmMessageWithEndUserAccount,
121
- S as signEvmTransactionWithEndUserAccount,
122
- T as signEvmTypedDataWithEndUserAccount,
123
- E as signSolanaHashWithEndUserAccount,
124
- A as verifyEmailAuthentication,
125
- O as verifySmsAuthentication
126
+ i as createEndUserSolanaAccount,
127
+ o as createSpendPermissionWithEndUserAccount,
128
+ a as exportEndUserEvmAccount,
129
+ s as getAuthenticatedEndUser,
130
+ p as getUserOperationWithEndUserAccount,
131
+ c as initiateAuthentication,
132
+ qt as isOpenAPIError,
133
+ d as listSpendPermissionsWithEndUserAccount,
134
+ m as logOutEndUser,
135
+ u as refreshAccessToken,
136
+ y as registerTemporaryWalletSecret,
137
+ S as revokeSpendPermissionWithEndUserAccount,
138
+ l as sendEvmTransactionWithEndUserAccount,
139
+ T as sendSolanaTransactionWithEndUserAccount,
140
+ E as sendUserOperationWithEndUserAccount,
141
+ Mt as setAuthManager,
142
+ A as signEvmHashWithEndUserAccount,
143
+ O as signEvmMessageWithEndUserAccount,
144
+ h as signEvmTransactionWithEndUserAccount,
145
+ C as signEvmTypedDataWithEndUserAccount,
146
+ v as signSolanaHashWithEndUserAccount,
147
+ g as signSolanaTransactionWithEndUserAccount,
148
+ R as verifyEmailAuthentication,
149
+ U as verifySmsAuthentication
126
150
  };
@@ -1,5 +1,5 @@
1
- import { cdpApiClient as s } from "./index4.js";
2
- const o = (e, t, n) => s(
1
+ import { cdpApiClient as a } from "./index4.js";
2
+ const d = (e, t, n) => a(
3
3
  {
4
4
  url: `/v2/embedded-wallet-api/projects/${e}/auth/init`,
5
5
  method: "POST",
@@ -7,7 +7,7 @@ const o = (e, t, n) => s(
7
7
  data: t
8
8
  },
9
9
  n
10
- ), i = (e, t, n) => s(
10
+ ), i = (e, t, n) => a(
11
11
  {
12
12
  url: `/v2/embedded-wallet-api/projects/${e}/auth/verify/email`,
13
13
  method: "POST",
@@ -15,7 +15,7 @@ const o = (e, t, n) => s(
15
15
  data: t
16
16
  },
17
17
  n
18
- ), c = (e, t, n) => s(
18
+ ), c = (e, t, n) => a(
19
19
  {
20
20
  url: `/v2/embedded-wallet-api/projects/${e}/auth/verify/sms`,
21
21
  method: "POST",
@@ -23,7 +23,7 @@ const o = (e, t, n) => s(
23
23
  data: t
24
24
  },
25
25
  n
26
- ), p = (e, t, n) => s(
26
+ ), p = (e, t, n) => a(
27
27
  {
28
28
  url: `/v2/embedded-wallet-api/projects/${e}/auth/refresh`,
29
29
  method: "POST",
@@ -31,124 +31,177 @@ const o = (e, t, n) => s(
31
31
  data: t
32
32
  },
33
33
  n
34
- ), l = (e, t) => s(
34
+ ), l = (e, t) => a(
35
35
  { url: `/v2/embedded-wallet-api/projects/${e}/auth/logout`, method: "POST" },
36
36
  t
37
- ), u = (e, t, n) => s(
37
+ ), u = (e, t, n) => a(
38
38
  { url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}`, method: "GET" },
39
39
  n
40
- ), m = (e, t, n, a) => s(
40
+ ), m = (e, t, n, s) => a(
41
41
  {
42
42
  url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/wallet-secrets`,
43
43
  method: "PUT",
44
44
  headers: { "Content-Type": "application/json" },
45
45
  data: n
46
46
  },
47
- a
48
- ), h = (e, t, n, a) => s(
47
+ s
48
+ ), h = (e, t, n, s) => a(
49
49
  {
50
50
  url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/evm`,
51
51
  method: "POST",
52
52
  headers: { "Content-Type": "application/json" },
53
53
  data: n
54
54
  },
55
- a
56
- ), v = (e, t, n, a) => s(
55
+ s
56
+ ), v = (e, t, n, s) => a(
57
57
  {
58
58
  url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/evm/sign`,
59
59
  method: "POST",
60
60
  headers: { "Content-Type": "application/json" },
61
61
  data: n
62
62
  },
63
- a
64
- ), T = (e, t, n, a) => s(
63
+ s
64
+ ), T = (e, t, n, s) => a(
65
65
  {
66
66
  url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/evm/sign/transaction`,
67
67
  method: "POST",
68
68
  headers: { "Content-Type": "application/json" },
69
69
  data: n
70
70
  },
71
- a
72
- ), $ = (e, t, n, a) => s(
71
+ s
72
+ ), $ = (e, t, n, s) => a(
73
73
  {
74
74
  url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/evm/send/transaction`,
75
75
  method: "POST",
76
76
  headers: { "Content-Type": "application/json" },
77
77
  data: n
78
78
  },
79
- a
80
- ), j = (e, t, n, a) => s(
79
+ s
80
+ ), j = (e, t, n, s) => a(
81
81
  {
82
82
  url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/evm/sign/message`,
83
83
  method: "POST",
84
84
  headers: { "Content-Type": "application/json" },
85
85
  data: n
86
86
  },
87
- a
88
- ), E = (e, t, n, a) => s(
87
+ s
88
+ ), E = (e, t, n, s) => a(
89
89
  {
90
90
  url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/evm/sign/typed-data`,
91
91
  method: "POST",
92
92
  headers: { "Content-Type": "application/json" },
93
93
  data: n
94
94
  },
95
- a
96
- ), y = (e, t, n, a) => s(
95
+ s
96
+ ), S = (e, t, n, s) => a(
97
97
  {
98
98
  url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/evm/export`,
99
99
  method: "POST",
100
100
  headers: { "Content-Type": "application/json" },
101
101
  data: n
102
102
  },
103
- a
104
- ), w = (e, t, n, a) => s(
103
+ s
104
+ ), y = (e, t, n, s) => a(
105
105
  {
106
106
  url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/evm/smart-accounts`,
107
107
  method: "POST",
108
108
  headers: { "Content-Type": "application/json" },
109
109
  data: n
110
110
  },
111
- a
112
- ), S = (e, t, n, a, r) => s(
111
+ s
112
+ ), w = (e, t, n, s, r) => a(
113
113
  {
114
- url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/evm/smart-accounts/${n}/user-operations/${a}`,
114
+ url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/evm/smart-accounts/${n}/user-operations/${s}`,
115
115
  method: "GET"
116
116
  },
117
117
  r
118
- ), b = (e, t, n, a, r) => s(
118
+ ), b = (e, t, n, s, r) => a(
119
119
  {
120
120
  url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/evm/smart-accounts/${n}/send`,
121
121
  method: "POST",
122
122
  headers: { "Content-Type": "application/json" },
123
- data: a
123
+ data: s
124
124
  },
125
125
  r
126
- ), O = (e, t, n, a) => s(
126
+ ), P = (e, t, n, s, r) => a(
127
+ {
128
+ url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/evm/smart-accounts/${n}/spend-permissions`,
129
+ method: "POST",
130
+ headers: { "Content-Type": "application/json" },
131
+ data: s
132
+ },
133
+ r
134
+ ), A = (e, t, n, s, r) => a(
135
+ {
136
+ url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/evm/smart-accounts/${n}/spend-permissions/list`,
137
+ method: "GET",
138
+ params: s
139
+ },
140
+ r
141
+ ), O = (e, t, n, s, r) => a(
142
+ {
143
+ url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/evm/smart-accounts/${n}/spend-permissions/revoke`,
144
+ method: "POST",
145
+ headers: { "Content-Type": "application/json" },
146
+ data: s
147
+ },
148
+ r
149
+ ), U = (e, t, n, s) => a(
150
+ {
151
+ url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/solana`,
152
+ method: "POST",
153
+ headers: { "Content-Type": "application/json" },
154
+ data: n
155
+ },
156
+ s
157
+ ), C = (e, t, n, s) => a(
127
158
  {
128
159
  url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/solana/sign`,
129
160
  method: "POST",
130
161
  headers: { "Content-Type": "application/json" },
131
162
  data: n
132
163
  },
133
- a
164
+ s
165
+ ), g = (e, t, n, s) => a(
166
+ {
167
+ url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/solana/sign/transaction`,
168
+ method: "POST",
169
+ headers: { "Content-Type": "application/json" },
170
+ data: n
171
+ },
172
+ s
173
+ ), W = (e, t, n, s) => a(
174
+ {
175
+ url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/solana/send/transaction`,
176
+ method: "POST",
177
+ headers: { "Content-Type": "application/json" },
178
+ data: n
179
+ },
180
+ s
134
181
  );
135
182
  export {
136
183
  h as createEndUserEvmAccount,
137
- w as createEndUserEvmSmartAccount,
138
- y as exportEndUserEvmAccount,
184
+ y as createEndUserEvmSmartAccount,
185
+ U as createEndUserSolanaAccount,
186
+ P as createSpendPermissionWithEndUserAccount,
187
+ S as exportEndUserEvmAccount,
139
188
  u as getAuthenticatedEndUser,
140
- S as getUserOperationWithEndUserAccount,
141
- o as initiateAuthentication,
189
+ w as getUserOperationWithEndUserAccount,
190
+ d as initiateAuthentication,
191
+ A as listSpendPermissionsWithEndUserAccount,
142
192
  l as logOutEndUser,
143
193
  p as refreshAccessToken,
144
194
  m as registerTemporaryWalletSecret,
195
+ O as revokeSpendPermissionWithEndUserAccount,
145
196
  $ as sendEvmTransactionWithEndUserAccount,
197
+ W as sendSolanaTransactionWithEndUserAccount,
146
198
  b as sendUserOperationWithEndUserAccount,
147
199
  v as signEvmHashWithEndUserAccount,
148
200
  j as signEvmMessageWithEndUserAccount,
149
201
  T as signEvmTransactionWithEndUserAccount,
150
202
  E as signEvmTypedDataWithEndUserAccount,
151
- O as signSolanaHashWithEndUserAccount,
203
+ C as signSolanaHashWithEndUserAccount,
204
+ g as signSolanaTransactionWithEndUserAccount,
152
205
  i as verifyEmailAuthentication,
153
206
  c as verifySmsAuthentication
154
207
  };