@coinbase/cdp-api-client 0.0.18 → 0.0.20

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,98 +1,127 @@
1
- import { createEndUserEvmAccount as r, exportEndUserEvmAccount as n, getAuthenticatedEndUser as i, initiateAuthentication as o, logOutEndUser as a, refreshAccessToken as p, registerTemporaryWalletSecret as s, sendEvmTransactionWithEndUserAccount as m, signEvmHashWithEndUserAccount as c, signEvmMessageWithEndUserAccount as y, signEvmTransactionWithEndUserAccount as E, signEvmTypedDataWithEndUserAccount as d, verifyEmailAuthentication as u } from "./index2.js";
2
- import { AbiFunctionType as l, AbiInputType as A, AbiStateMutability as S, DeveloperJWTAuthenticationType as v, EmailAuthenticationType as O, ErrorType as g, EthValueCriterionOperator as h, EthValueCriterionType as R, EvmAddressCriterionOperator as C, EvmAddressCriterionType as P, EvmDataCriterionType as k, EvmDataParameterConditionListOperator as U, EvmDataParameterConditionOperator as w, EvmMessageCriterionType as f, EvmNetworkCriterionNetworksItem as N, EvmNetworkCriterionOperator as X, EvmNetworkCriterionType as D, EvmSwapsNetwork as I, EvmTypedAddressConditionOperator as M, EvmTypedNumericalConditionOperator as W, EvmUserOperationNetwork as V, EvmUserOperationStatus as x, FeeType as b, InitiateEmailAuthenticationNextStepType as B, InitiateEmailAuthenticationRequestType as F, KnownAbiType as H, ListEvmTokenBalancesNetwork as K, ListSolanaTokenBalancesNetwork as L, OnrampOrderFeeType as q, OnrampOrderStatus as G, OnrampPaymentLinkType as J, OnrampPaymentMethodTypeId as Q, PaymentMethodType as j, PaymentRailAction as z, PolicyScope as Y, PrepareUserOperationRuleAction as Z, PrepareUserOperationRuleOperation as _, QueryResultSchemaColumnsItemType as $, RefreshAccessTokenBodyGrantType as ee, SendEvmTransactionRuleAction as te, SendEvmTransactionRuleOperation as re, SendEvmTransactionWithEndUserAccountBodyNetwork as ne, SendUserOperationRuleAction as ie, SendUserOperationRuleOperation as oe, SignEvmHashRuleAction as ae, SignEvmHashRuleOperation as pe, SignEvmMessageRuleAction as se, SignEvmMessageRuleOperation as me, SignEvmTransactionRuleAction as ce, SignEvmTransactionRuleOperation as ye, SignEvmTypedDataFieldCriterionType as Ee, SignEvmTypedDataRuleAction as de, SignEvmTypedDataRuleOperation as ue, SignEvmTypedDataVerifyingContractCriterionOperator as Te, SignEvmTypedDataVerifyingContractCriterionType as le, SignSolTransactionRuleAction as Ae, SignSolTransactionRuleOperation as Se, SolAddressCriterionOperator as ve, SolAddressCriterionType as Oe, TransferSourceType as ge, TransferStatus as he, TransferTargetType as Re, X402PaymentPayloadNetwork as Ce, X402PaymentPayloadScheme as Pe, X402PaymentPayloadX402Version as ke, X402PaymentRequirementsNetwork as Ue, X402PaymentRequirementsScheme as we, X402SettleErrorReason as fe, X402SupportedPaymentKindNetwork as Ne, X402SupportedPaymentKindScheme as Xe, X402SupportedPaymentKindX402Version as De, X402VerifyInvalidReason as Ie } from "./index3.js";
3
- import { configureCdpApiClient as We, setAuthManager as Ve } from "./index4.js";
4
- import { APIError as be, HttpErrorType as Be, UnknownApiError as Fe, UnknownError as He, isOpenAPIError as Ke } from "./index5.js";
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 D, EvmAddressCriterionType as N, EvmDataCriterionType as f, EvmDataParameterConditionListOperator as I, EvmDataParameterConditionOperator as M, 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 De, SignEvmTypedDataVerifyingContractCriterionType as Ne, SignSolMessageRuleAction as fe, SignSolMessageRuleOperation as Ie, SignSolTransactionRuleAction as Me, SignSolTransactionRuleOperation as We, SmsAuthenticationType as Ve, SolAddressCriterionOperator as Xe, SolAddressCriterionType as xe, SolDataConditionInstruction as be, SolDataCriterionType as He, SolDataParameterConditionListOperator as Le, SolDataParameterConditionOperator as qe, SolMessageCriterionType as Be, SolValueCriterionOperator as Fe, SolValueCriterionType as Ke, SpendPermissionNetwork as Ge, SplAddressCriterionOperator as Je, SplAddressCriterionType as je, SplValueCriterionOperator as ze, SplValueCriterionType as Qe, TransferSourceType as Ye, TransferStatus as Ze, TransferTargetType as _e, X402DiscoveryResourceType as $e, X402PaymentPayloadNetwork as et, X402PaymentPayloadScheme as tt, X402PaymentRequirementsNetwork as rt, X402PaymentRequirementsScheme as nt, X402SettleErrorReason as it, X402SupportedPaymentKindNetwork as ot, X402SupportedPaymentKindScheme as at, X402VerifyInvalidReason as st, X402Version as pt } from "./index3.js";
3
+ import { configureCdpApiClient as mt, setAuthManager as dt } from "./index4.js";
4
+ import { APIError as ut, HttpErrorType as yt, UnknownApiError as St, UnknownError as Tt, isOpenAPIError as Et } from "./index5.js";
5
5
  export {
6
- be as APIError,
7
- l as AbiFunctionType,
8
- A as AbiInputType,
9
- S as AbiStateMutability,
10
- v as DeveloperJWTAuthenticationType,
11
- O as EmailAuthenticationType,
12
- g as ErrorType,
13
- h as EthValueCriterionOperator,
14
- R as EthValueCriterionType,
15
- C as EvmAddressCriterionOperator,
16
- P as EvmAddressCriterionType,
17
- k as EvmDataCriterionType,
18
- U as EvmDataParameterConditionListOperator,
19
- w as EvmDataParameterConditionOperator,
20
- f as EvmMessageCriterionType,
21
- N as EvmNetworkCriterionNetworksItem,
6
+ ut 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
+ D as EvmAddressCriterionOperator,
16
+ N as EvmAddressCriterionType,
17
+ f as EvmDataCriterionType,
18
+ I as EvmDataParameterConditionListOperator,
19
+ M as EvmDataParameterConditionOperator,
20
+ W as EvmMessageCriterionType,
21
+ V as EvmNetworkCriterionNetworksItem,
22
22
  X as EvmNetworkCriterionOperator,
23
- D as EvmNetworkCriterionType,
24
- I as EvmSwapsNetwork,
25
- M as EvmTypedAddressConditionOperator,
26
- W as EvmTypedNumericalConditionOperator,
27
- V as EvmUserOperationNetwork,
28
- x as EvmUserOperationStatus,
29
- b as FeeType,
30
- Be as HttpErrorType,
31
- B as InitiateEmailAuthenticationNextStepType,
32
- F as InitiateEmailAuthenticationRequestType,
33
- H as KnownAbiType,
34
- K as ListEvmTokenBalancesNetwork,
35
- L as ListSolanaTokenBalancesNetwork,
36
- q as OnrampOrderFeeType,
37
- G as OnrampOrderStatus,
38
- J as OnrampPaymentLinkType,
39
- Q as OnrampPaymentMethodTypeId,
40
- j as PaymentMethodType,
41
- z as PaymentRailAction,
42
- Y as PolicyScope,
43
- Z as PrepareUserOperationRuleAction,
44
- _ as PrepareUserOperationRuleOperation,
45
- $ as QueryResultSchemaColumnsItemType,
46
- ee as RefreshAccessTokenBodyGrantType,
47
- te as SendEvmTransactionRuleAction,
48
- re as SendEvmTransactionRuleOperation,
49
- ne as SendEvmTransactionWithEndUserAccountBodyNetwork,
50
- ie as SendUserOperationRuleAction,
51
- oe as SendUserOperationRuleOperation,
52
- ae as SignEvmHashRuleAction,
53
- pe as SignEvmHashRuleOperation,
54
- se as SignEvmMessageRuleAction,
55
- me as SignEvmMessageRuleOperation,
56
- ce as SignEvmTransactionRuleAction,
57
- ye as SignEvmTransactionRuleOperation,
58
- Ee as SignEvmTypedDataFieldCriterionType,
59
- de as SignEvmTypedDataRuleAction,
60
- ue as SignEvmTypedDataRuleOperation,
61
- Te as SignEvmTypedDataVerifyingContractCriterionOperator,
62
- le as SignEvmTypedDataVerifyingContractCriterionType,
63
- Ae as SignSolTransactionRuleAction,
64
- Se as SignSolTransactionRuleOperation,
65
- ve as SolAddressCriterionOperator,
66
- Oe as SolAddressCriterionType,
67
- ge as TransferSourceType,
68
- he as TransferStatus,
69
- Re as TransferTargetType,
70
- Fe as UnknownApiError,
71
- He as UnknownError,
72
- Ce as X402PaymentPayloadNetwork,
73
- Pe as X402PaymentPayloadScheme,
74
- ke as X402PaymentPayloadX402Version,
75
- Ue as X402PaymentRequirementsNetwork,
76
- we as X402PaymentRequirementsScheme,
77
- fe as X402SettleErrorReason,
78
- Ne as X402SupportedPaymentKindNetwork,
79
- Xe as X402SupportedPaymentKindScheme,
80
- De as X402SupportedPaymentKindX402Version,
81
- Ie as X402VerifyInvalidReason,
82
- We as configureCdpApiClient,
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
+ yt 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
+ De as SignEvmTypedDataVerifyingContractCriterionOperator,
71
+ Ne as SignEvmTypedDataVerifyingContractCriterionType,
72
+ fe as SignSolMessageRuleAction,
73
+ Ie as SignSolMessageRuleOperation,
74
+ Me as SignSolTransactionRuleAction,
75
+ We as SignSolTransactionRuleOperation,
76
+ Ve as SmsAuthenticationType,
77
+ Xe as SolAddressCriterionOperator,
78
+ xe as SolAddressCriterionType,
79
+ be as SolDataConditionInstruction,
80
+ He as SolDataCriterionType,
81
+ Le as SolDataParameterConditionListOperator,
82
+ qe as SolDataParameterConditionOperator,
83
+ Be as SolMessageCriterionType,
84
+ Fe as SolValueCriterionOperator,
85
+ Ke as SolValueCriterionType,
86
+ Ge as SpendPermissionNetwork,
87
+ Je as SplAddressCriterionOperator,
88
+ je as SplAddressCriterionType,
89
+ ze as SplValueCriterionOperator,
90
+ Qe as SplValueCriterionType,
91
+ Ye as TransferSourceType,
92
+ Ze as TransferStatus,
93
+ _e as TransferTargetType,
94
+ St as UnknownApiError,
95
+ Tt as UnknownError,
96
+ $e as X402DiscoveryResourceType,
97
+ et as X402PaymentPayloadNetwork,
98
+ tt as X402PaymentPayloadScheme,
99
+ rt as X402PaymentRequirementsNetwork,
100
+ nt as X402PaymentRequirementsScheme,
101
+ it as X402SettleErrorReason,
102
+ ot as X402SupportedPaymentKindNetwork,
103
+ at as X402SupportedPaymentKindScheme,
104
+ st as X402VerifyInvalidReason,
105
+ pt as X402Version,
106
+ mt as configureCdpApiClient,
83
107
  r as createEndUserEvmAccount,
84
- n as exportEndUserEvmAccount,
85
- i as getAuthenticatedEndUser,
86
- o as initiateAuthentication,
87
- Ke as isOpenAPIError,
88
- a as logOutEndUser,
89
- p as refreshAccessToken,
90
- s as registerTemporaryWalletSecret,
91
- m as sendEvmTransactionWithEndUserAccount,
92
- Ve as setAuthManager,
93
- c as signEvmHashWithEndUserAccount,
108
+ n as createEndUserEvmSmartAccount,
109
+ i as exportEndUserEvmAccount,
110
+ o as getAuthenticatedEndUser,
111
+ a as getUserOperationWithEndUserAccount,
112
+ s as initiateAuthentication,
113
+ Et as isOpenAPIError,
114
+ p as logOutEndUser,
115
+ c as refreshAccessToken,
116
+ m as registerTemporaryWalletSecret,
117
+ d as sendEvmTransactionWithEndUserAccount,
118
+ l as sendUserOperationWithEndUserAccount,
119
+ dt as setAuthManager,
120
+ u as signEvmHashWithEndUserAccount,
94
121
  y as signEvmMessageWithEndUserAccount,
95
- E as signEvmTransactionWithEndUserAccount,
96
- d as signEvmTypedDataWithEndUserAccount,
97
- u as verifyEmailAuthentication
122
+ S as signEvmTransactionWithEndUserAccount,
123
+ T as signEvmTypedDataWithEndUserAccount,
124
+ E as signSolanaHashWithEndUserAccount,
125
+ A as verifyEmailAuthentication,
126
+ O as verifySmsAuthentication
98
127
  };
@@ -1,5 +1,5 @@
1
- import { cdpApiClient as r } from "./index4.js";
2
- const d = (e, t, n) => r(
1
+ import { cdpApiClient as s } from "./index4.js";
2
+ const o = (e, t, n) => s(
3
3
  {
4
4
  url: `/v2/embedded-wallet-api/projects/${e}/auth/init`,
5
5
  method: "POST",
@@ -7,7 +7,7 @@ const d = (e, t, n) => r(
7
7
  data: t
8
8
  },
9
9
  n
10
- ), o = (e, t, n) => r(
10
+ ), i = (e, t, n) => s(
11
11
  {
12
12
  url: `/v2/embedded-wallet-api/projects/${e}/auth/verify/email`,
13
13
  method: "POST",
@@ -15,7 +15,15 @@ const d = (e, t, n) => r(
15
15
  data: t
16
16
  },
17
17
  n
18
- ), i = (e, t, n) => r(
18
+ ), c = (e, t, n) => s(
19
+ {
20
+ url: `/v2/embedded-wallet-api/projects/${e}/auth/verify/sms`,
21
+ method: "POST",
22
+ headers: { "Content-Type": "application/json" },
23
+ data: t
24
+ },
25
+ n
26
+ ), p = (e, t, n) => s(
19
27
  {
20
28
  url: `/v2/embedded-wallet-api/projects/${e}/auth/refresh`,
21
29
  method: "POST",
@@ -23,13 +31,13 @@ const d = (e, t, n) => r(
23
31
  data: t
24
32
  },
25
33
  n
26
- ), p = (e, t) => r(
34
+ ), l = (e, t) => s(
27
35
  { url: `/v2/embedded-wallet-api/projects/${e}/auth/logout`, method: "POST" },
28
36
  t
29
- ), c = (e, t, n) => r(
37
+ ), u = (e, t, n) => s(
30
38
  { url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}`, method: "GET" },
31
39
  n
32
- ), l = (e, t, n, a) => r(
40
+ ), m = (e, t, n, a) => s(
33
41
  {
34
42
  url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/wallet-secrets`,
35
43
  method: "PUT",
@@ -37,7 +45,7 @@ const d = (e, t, n) => r(
37
45
  data: n
38
46
  },
39
47
  a
40
- ), u = (e, t, n, a) => r(
48
+ ), h = (e, t, n, a) => s(
41
49
  {
42
50
  url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/evm`,
43
51
  method: "POST",
@@ -45,7 +53,7 @@ const d = (e, t, n) => r(
45
53
  data: n
46
54
  },
47
55
  a
48
- ), m = (e, t, n, a) => r(
56
+ ), v = (e, t, n, a) => s(
49
57
  {
50
58
  url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/evm/sign`,
51
59
  method: "POST",
@@ -53,7 +61,7 @@ const d = (e, t, n) => r(
53
61
  data: n
54
62
  },
55
63
  a
56
- ), h = (e, t, n, a) => r(
64
+ ), T = (e, t, n, a) => s(
57
65
  {
58
66
  url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/evm/sign/transaction`,
59
67
  method: "POST",
@@ -61,7 +69,7 @@ const d = (e, t, n) => r(
61
69
  data: n
62
70
  },
63
71
  a
64
- ), v = (e, t, n, a) => r(
72
+ ), $ = (e, t, n, a) => s(
65
73
  {
66
74
  url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/evm/send/transaction`,
67
75
  method: "POST",
@@ -69,7 +77,7 @@ const d = (e, t, n) => r(
69
77
  data: n
70
78
  },
71
79
  a
72
- ), T = (e, t, n, a) => r(
80
+ ), j = (e, t, n, a) => s(
73
81
  {
74
82
  url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/evm/sign/message`,
75
83
  method: "POST",
@@ -77,7 +85,7 @@ const d = (e, t, n) => r(
77
85
  data: n
78
86
  },
79
87
  a
80
- ), j = (e, t, n, a) => r(
88
+ ), E = (e, t, n, a) => s(
81
89
  {
82
90
  url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/evm/sign/typed-data`,
83
91
  method: "POST",
@@ -85,7 +93,7 @@ const d = (e, t, n) => r(
85
93
  data: n
86
94
  },
87
95
  a
88
- ), $ = (e, t, n, a) => r(
96
+ ), y = (e, t, n, a) => s(
89
97
  {
90
98
  url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/evm/export`,
91
99
  method: "POST",
@@ -93,19 +101,54 @@ const d = (e, t, n) => r(
93
101
  data: n
94
102
  },
95
103
  a
104
+ ), w = (e, t, n, a) => s(
105
+ {
106
+ url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/evm/smart-accounts`,
107
+ method: "POST",
108
+ headers: { "Content-Type": "application/json" },
109
+ data: n
110
+ },
111
+ a
112
+ ), S = (e, t, n, a, r) => s(
113
+ {
114
+ url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/evm/smart-accounts/${n}/user-operations/${a}`,
115
+ method: "GET"
116
+ },
117
+ r
118
+ ), b = (e, t, n, a, r) => s(
119
+ {
120
+ url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/evm/smart-accounts/${n}/send`,
121
+ method: "POST",
122
+ headers: { "Content-Type": "application/json" },
123
+ data: a
124
+ },
125
+ r
126
+ ), O = (e, t, n, a) => s(
127
+ {
128
+ url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/solana/sign`,
129
+ method: "POST",
130
+ headers: { "Content-Type": "application/json" },
131
+ data: n
132
+ },
133
+ a
96
134
  );
97
135
  export {
98
- u as createEndUserEvmAccount,
99
- $ as exportEndUserEvmAccount,
100
- c as getAuthenticatedEndUser,
101
- d as initiateAuthentication,
102
- p as logOutEndUser,
103
- i as refreshAccessToken,
104
- l as registerTemporaryWalletSecret,
105
- v as sendEvmTransactionWithEndUserAccount,
106
- m as signEvmHashWithEndUserAccount,
107
- T as signEvmMessageWithEndUserAccount,
108
- h as signEvmTransactionWithEndUserAccount,
109
- j as signEvmTypedDataWithEndUserAccount,
110
- o as verifyEmailAuthentication
136
+ h as createEndUserEvmAccount,
137
+ w as createEndUserEvmSmartAccount,
138
+ y as exportEndUserEvmAccount,
139
+ u as getAuthenticatedEndUser,
140
+ S as getUserOperationWithEndUserAccount,
141
+ o as initiateAuthentication,
142
+ l as logOutEndUser,
143
+ p as refreshAccessToken,
144
+ m as registerTemporaryWalletSecret,
145
+ $ as sendEvmTransactionWithEndUserAccount,
146
+ b as sendUserOperationWithEndUserAccount,
147
+ v as signEvmHashWithEndUserAccount,
148
+ j as signEvmMessageWithEndUserAccount,
149
+ T as signEvmTransactionWithEndUserAccount,
150
+ E as signEvmTypedDataWithEndUserAccount,
151
+ O as signSolanaHashWithEndUserAccount,
152
+ i as verifyEmailAuthentication,
153
+ c as verifySmsAuthentication
111
154
  };