@coinbase/cdp-api-client 0.0.58 → 0.0.61

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.
@@ -1,4 +1,4 @@
1
- var r = { exports: {} };
1
+ var r = {};
2
2
  export {
3
- r as __module
3
+ r as __exports
4
4
  };
@@ -1,4 +1,4 @@
1
- var r = {};
1
+ var e = { exports: {} };
2
2
  export {
3
- r as __exports
3
+ e as __module
4
4
  };
@@ -1,4 +1,4 @@
1
- var e = { exports: {} };
1
+ var r = { exports: {} };
2
2
  export {
3
- e as __module
3
+ r as __module
4
4
  };
@@ -1,2 +1,2 @@
1
- import { __require as r } from "./index17.js";
1
+ import { __require as r } from "./index12.js";
2
2
  r();
@@ -1,4 +1,4 @@
1
- const o = "0.0.58";
1
+ const o = "0.0.61";
2
2
  export {
3
3
  o as VERSION
4
4
  };
@@ -48,9 +48,23 @@ const d = (e, t, n) => s(
48
48
  },
49
49
  n
50
50
  ), m = (e, t, n) => s(
51
+ {
52
+ url: `/v2/embedded-wallet-api/projects/${e}/auth/custom`,
53
+ method: "POST",
54
+ headers: { "Content-Type": "application/json" },
55
+ data: t
56
+ },
57
+ n
58
+ ), h = (e, t) => s(
59
+ {
60
+ url: `/v2/embedded-wallet-api/projects/${e}/auth/custom/authenticate`,
61
+ method: "POST"
62
+ },
63
+ t
64
+ ), T = (e, t, n) => s(
51
65
  { url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}`, method: "GET" },
52
66
  n
53
- ), h = (e, t, n, a) => s(
67
+ ), v = (e, t, n, a) => s(
54
68
  {
55
69
  url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/wallet-secrets`,
56
70
  method: "PUT",
@@ -58,7 +72,7 @@ const d = (e, t, n) => s(
58
72
  data: n
59
73
  },
60
74
  a
61
- ), T = (e, t, n, a) => s(
75
+ ), $ = (e, t, n, a) => s(
62
76
  {
63
77
  url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/evm`,
64
78
  method: "POST",
@@ -66,7 +80,7 @@ const d = (e, t, n) => s(
66
80
  data: n
67
81
  },
68
82
  a
69
- ), v = (e, t, n, a) => s(
83
+ ), j = (e, t, n, a) => s(
70
84
  {
71
85
  url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/evm/sign`,
72
86
  method: "POST",
@@ -74,7 +88,7 @@ const d = (e, t, n) => s(
74
88
  data: n
75
89
  },
76
90
  a
77
- ), $ = (e, t, n, a) => s(
91
+ ), S = (e, t, n, a) => s(
78
92
  {
79
93
  url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/evm/sign/transaction`,
80
94
  method: "POST",
@@ -82,7 +96,7 @@ const d = (e, t, n) => s(
82
96
  data: n
83
97
  },
84
98
  a
85
- ), j = (e, t, n, a) => s(
99
+ ), y = (e, t, n, a) => s(
86
100
  {
87
101
  url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/evm/send/transaction`,
88
102
  method: "POST",
@@ -90,7 +104,7 @@ const d = (e, t, n) => s(
90
104
  data: n
91
105
  },
92
106
  a
93
- ), S = (e, t, n, a) => s(
107
+ ), E = (e, t, n, a) => s(
94
108
  {
95
109
  url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/evm/sign/message`,
96
110
  method: "POST",
@@ -98,7 +112,7 @@ const d = (e, t, n) => s(
98
112
  data: n
99
113
  },
100
114
  a
101
- ), y = (e, t, n, a) => s(
115
+ ), w = (e, t, n, a) => s(
102
116
  {
103
117
  url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/evm/sign/typed-data`,
104
118
  method: "POST",
@@ -106,7 +120,7 @@ const d = (e, t, n) => s(
106
120
  data: n
107
121
  },
108
122
  a
109
- ), E = (e, t, n, a) => s(
123
+ ), C = (e, t, n, a) => s(
110
124
  {
111
125
  url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/evm/export`,
112
126
  method: "POST",
@@ -114,7 +128,7 @@ const d = (e, t, n) => s(
114
128
  data: n
115
129
  },
116
130
  a
117
- ), w = (e, t, n, a) => s(
131
+ ), b = (e, t, n, a) => s(
118
132
  {
119
133
  url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/evm/smart-accounts`,
120
134
  method: "POST",
@@ -122,44 +136,44 @@ const d = (e, t, n) => s(
122
136
  data: n
123
137
  },
124
138
  a
125
- ), b = (e, t, n, a, r) => s(
139
+ ), O = (e, t, n, a, o) => s(
126
140
  {
127
141
  url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/evm/smart-accounts/${n}/user-operations/${a}`,
128
142
  method: "GET"
129
143
  },
130
- r
131
- ), O = (e, t, n, a, r) => s(
144
+ o
145
+ ), P = (e, t, n, a, o) => s(
132
146
  {
133
147
  url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/evm/smart-accounts/${n}/send`,
134
148
  method: "POST",
135
149
  headers: { "Content-Type": "application/json" },
136
150
  data: a
137
151
  },
138
- r
139
- ), P = (e, t, n, a, r) => s(
152
+ o
153
+ ), A = (e, t, n, a, o) => s(
140
154
  {
141
155
  url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/evm/smart-accounts/${n}/spend-permissions`,
142
156
  method: "POST",
143
157
  headers: { "Content-Type": "application/json" },
144
158
  data: a
145
159
  },
146
- r
147
- ), A = (e, t, n, a, r) => s(
160
+ o
161
+ ), U = (e, t, n, a, o) => s(
148
162
  {
149
163
  url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/evm/smart-accounts/${n}/spend-permissions/list`,
150
164
  method: "GET",
151
165
  params: a
152
166
  },
153
- r
154
- ), C = (e, t, n, a, r) => s(
167
+ o
168
+ ), g = (e, t, n, a, o) => s(
155
169
  {
156
170
  url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/evm/smart-accounts/${n}/spend-permissions/revoke`,
157
171
  method: "POST",
158
172
  headers: { "Content-Type": "application/json" },
159
173
  data: a
160
174
  },
161
- r
162
- ), U = (e, t, n, a) => s(
175
+ o
176
+ ), W = (e, t, n, a) => s(
163
177
  {
164
178
  url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/solana`,
165
179
  method: "POST",
@@ -167,7 +181,7 @@ const d = (e, t, n) => s(
167
181
  data: n
168
182
  },
169
183
  a
170
- ), g = (e, t, n, a) => s(
184
+ ), f = (e, t, n, a) => s(
171
185
  {
172
186
  url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/solana/export`,
173
187
  method: "POST",
@@ -175,7 +189,7 @@ const d = (e, t, n) => s(
175
189
  data: n
176
190
  },
177
191
  a
178
- ), W = (e, t, n, a) => s(
192
+ ), x = (e, t, n, a) => s(
179
193
  {
180
194
  url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/solana/sign`,
181
195
  method: "POST",
@@ -183,7 +197,7 @@ const d = (e, t, n) => s(
183
197
  data: n
184
198
  },
185
199
  a
186
- ), f = (e, t, n, a) => s(
200
+ ), k = (e, t, n, a) => s(
187
201
  {
188
202
  url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/solana/sign/message`,
189
203
  method: "POST",
@@ -191,7 +205,7 @@ const d = (e, t, n) => s(
191
205
  data: n
192
206
  },
193
207
  a
194
- ), x = (e, t, n, a) => s(
208
+ ), G = (e, t, n, a) => s(
195
209
  {
196
210
  url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/solana/sign/transaction`,
197
211
  method: "POST",
@@ -199,7 +213,7 @@ const d = (e, t, n) => s(
199
213
  data: n
200
214
  },
201
215
  a
202
- ), k = (e, t, n, a) => s(
216
+ ), H = (e, t, n, a) => s(
203
217
  {
204
218
  url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/solana/send/transaction`,
205
219
  method: "POST",
@@ -209,30 +223,32 @@ const d = (e, t, n) => s(
209
223
  a
210
224
  );
211
225
  export {
212
- T as createEndUserEvmAccount,
213
- w as createEndUserEvmSmartAccount,
214
- U as createEndUserSolanaAccount,
215
- P as createSpendPermissionWithEndUserAccount,
216
- E as exportEndUserEvmAccount,
217
- g as exportEndUserSolanaAccount,
218
- m as getAuthenticatedEndUser,
219
- b as getUserOperationWithEndUserAccount,
226
+ h as authenticateUserWithCustomAuth,
227
+ m as createCustomAuthConfig,
228
+ $ as createEndUserEvmAccount,
229
+ b as createEndUserEvmSmartAccount,
230
+ W as createEndUserSolanaAccount,
231
+ A as createSpendPermissionWithEndUserAccount,
232
+ C as exportEndUserEvmAccount,
233
+ f as exportEndUserSolanaAccount,
234
+ T as getAuthenticatedEndUser,
235
+ O as getUserOperationWithEndUserAccount,
220
236
  d as initiateAuthentication,
221
- A as listSpendPermissionsWithEndUserAccount,
237
+ U as listSpendPermissionsWithEndUserAccount,
222
238
  u as logOutEndUser,
223
239
  l as refreshAccessToken,
224
- h as registerTemporaryWalletSecret,
225
- C as revokeSpendPermissionWithEndUserAccount,
226
- j as sendEvmTransactionWithEndUserAccount,
227
- k as sendSolanaTransactionWithEndUserAccount,
228
- O as sendUserOperationWithEndUserAccount,
229
- v as signEvmHashWithEndUserAccount,
230
- S as signEvmMessageWithEndUserAccount,
231
- $ as signEvmTransactionWithEndUserAccount,
232
- y as signEvmTypedDataWithEndUserAccount,
233
- W as signSolanaHashWithEndUserAccount,
234
- f as signSolanaMessageWithEndUserAccount,
235
- x as signSolanaTransactionWithEndUserAccount,
240
+ v as registerTemporaryWalletSecret,
241
+ g as revokeSpendPermissionWithEndUserAccount,
242
+ y as sendEvmTransactionWithEndUserAccount,
243
+ H as sendSolanaTransactionWithEndUserAccount,
244
+ P as sendUserOperationWithEndUserAccount,
245
+ j as signEvmHashWithEndUserAccount,
246
+ E as signEvmMessageWithEndUserAccount,
247
+ S as signEvmTransactionWithEndUserAccount,
248
+ w as signEvmTypedDataWithEndUserAccount,
249
+ x as signSolanaHashWithEndUserAccount,
250
+ k as signSolanaMessageWithEndUserAccount,
251
+ G as signSolanaTransactionWithEndUserAccount,
236
252
  i as verifyEmailAuthentication,
237
253
  p as verifyOAuthCode,
238
254
  c as verifySmsAuthentication