@privy-io/api-types 0.10.0 → 0.11.0
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/CHANGELOG.md +8 -0
- package/client.d.mts +18 -24
- package/client.d.mts.map +1 -1
- package/client.d.ts +18 -24
- package/client.d.ts.map +1 -1
- package/client.js +6 -12
- package/client.js.map +1 -1
- package/client.mjs +6 -12
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/client-auth.d.mts +496 -514
- package/resources/client-auth.d.mts.map +1 -1
- package/resources/client-auth.d.ts +496 -514
- package/resources/client-auth.d.ts.map +1 -1
- package/resources/client-auth.js.map +1 -1
- package/resources/client-auth.mjs.map +1 -1
- package/resources/embedded-wallets.d.mts +9 -9
- package/resources/embedded-wallets.d.mts.map +1 -1
- package/resources/embedded-wallets.d.ts +9 -9
- package/resources/embedded-wallets.d.ts.map +1 -1
- package/resources/fiat.d.mts +110 -0
- package/resources/fiat.d.mts.map +1 -0
- package/resources/fiat.d.ts +110 -0
- package/resources/fiat.d.ts.map +1 -0
- package/resources/fiat.js +9 -0
- package/resources/fiat.js.map +1 -0
- package/resources/fiat.mjs +5 -0
- package/resources/fiat.mjs.map +1 -0
- package/resources/funding.d.mts +46 -46
- package/resources/funding.d.mts.map +1 -1
- package/resources/funding.d.ts +46 -46
- package/resources/funding.d.ts.map +1 -1
- package/resources/index.d.mts +9 -8
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +9 -8
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +3 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -0
- package/resources/index.mjs.map +1 -1
- package/resources/key-quorums.d.mts +1 -132
- package/resources/key-quorums.d.mts.map +1 -1
- package/resources/key-quorums.d.ts +1 -132
- package/resources/key-quorums.d.ts.map +1 -1
- package/resources/key-quorums.js +0 -92
- package/resources/key-quorums.js.map +1 -1
- package/resources/key-quorums.mjs +0 -92
- package/resources/key-quorums.mjs.map +1 -1
- package/resources/policies.d.mts +1 -311
- package/resources/policies.d.mts.map +1 -1
- package/resources/policies.d.ts +1 -311
- package/resources/policies.d.ts.map +1 -1
- package/resources/policies.js +0 -229
- package/resources/policies.js.map +1 -1
- package/resources/policies.mjs +0 -229
- package/resources/policies.mjs.map +1 -1
- package/resources/transactions.d.mts +28 -44
- package/resources/transactions.d.mts.map +1 -1
- package/resources/transactions.d.ts +28 -44
- package/resources/transactions.d.ts.map +1 -1
- package/resources/transactions.js +0 -17
- package/resources/transactions.js.map +1 -1
- package/resources/transactions.mjs +0 -17
- package/resources/transactions.mjs.map +1 -1
- package/resources/users.d.mts +1 -345
- package/resources/users.d.mts.map +1 -1
- package/resources/users.d.ts +1 -345
- package/resources/users.d.ts.map +1 -1
- package/resources/users.js +0 -272
- package/resources/users.js.map +1 -1
- package/resources/users.mjs +0 -272
- package/resources/users.mjs.map +1 -1
- package/resources/wallets/index.d.mts +1 -1
- package/resources/wallets/index.d.mts.map +1 -1
- package/resources/wallets/index.d.ts +1 -1
- package/resources/wallets/index.d.ts.map +1 -1
- package/resources/wallets/index.js.map +1 -1
- package/resources/wallets/index.mjs.map +1 -1
- package/resources/wallets/wallets.d.mts +130 -315
- package/resources/wallets/wallets.d.mts.map +1 -1
- package/resources/wallets/wallets.d.ts +130 -315
- package/resources/wallets/wallets.d.ts.map +1 -1
- package/resources/wallets/wallets.js +41 -102
- package/resources/wallets/wallets.js.map +1 -1
- package/resources/wallets/wallets.mjs +41 -102
- package/resources/wallets/wallets.mjs.map +1 -1
- package/src/client.ts +106 -152
- package/src/resources/client-auth.ts +743 -787
- package/src/resources/embedded-wallets.ts +14 -14
- package/src/resources/fiat.ts +177 -0
- package/src/resources/funding.ts +65 -65
- package/src/resources/index.ts +86 -106
- package/src/resources/key-quorums.ts +1 -203
- package/src/resources/policies.ts +1 -493
- package/src/resources/transactions.ts +35 -55
- package/src/resources/users.ts +1 -479
- package/src/resources/wallets/index.ts +4 -9
- package/src/resources/wallets/wallets.ts +182 -423
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
package/resources/users.js
CHANGED
|
@@ -3,279 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.Users = void 0;
|
|
5
5
|
const resource_1 = require("../core/resource.js");
|
|
6
|
-
const pagination_1 = require("../core/pagination.js");
|
|
7
|
-
const headers_1 = require("../internal/headers.js");
|
|
8
|
-
const path_1 = require("../internal/utils/path.js");
|
|
9
|
-
/**
|
|
10
|
-
* Operations related to users
|
|
11
|
-
*/
|
|
12
6
|
class Users extends resource_1.APIResource {
|
|
13
|
-
/**
|
|
14
|
-
* Create a new user with linked accounts. Optionally pre-generate embedded wallets
|
|
15
|
-
* for the user.
|
|
16
|
-
*
|
|
17
|
-
* @example
|
|
18
|
-
* ```ts
|
|
19
|
-
* const user = await client.users.create({
|
|
20
|
-
* linked_accounts: [
|
|
21
|
-
* { address: 'tom.bombadill@privy.io', type: 'email' },
|
|
22
|
-
* ],
|
|
23
|
-
* });
|
|
24
|
-
* ```
|
|
25
|
-
*/
|
|
26
|
-
create(body, options) {
|
|
27
|
-
return this._client.post('/v1/users', { body, ...options });
|
|
28
|
-
}
|
|
29
|
-
/**
|
|
30
|
-
* Get all users in your app.
|
|
31
|
-
*
|
|
32
|
-
* @example
|
|
33
|
-
* ```ts
|
|
34
|
-
* // Automatically fetches more pages as needed.
|
|
35
|
-
* for await (const user of client.users.list()) {
|
|
36
|
-
* // ...
|
|
37
|
-
* }
|
|
38
|
-
* ```
|
|
39
|
-
*/
|
|
40
|
-
list(query = {}, options) {
|
|
41
|
-
return this._client.getAPIList('/v1/users', (pagination_1.Cursor), { query, ...options });
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* Delete a user by user ID.
|
|
45
|
-
*
|
|
46
|
-
* @example
|
|
47
|
-
* ```ts
|
|
48
|
-
* await client.users.delete('user_id');
|
|
49
|
-
* ```
|
|
50
|
-
*/
|
|
51
|
-
delete(userID, options) {
|
|
52
|
-
return this._client.delete((0, path_1.path) `/v1/users/${userID}`, {
|
|
53
|
-
...options,
|
|
54
|
-
headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
|
|
55
|
-
});
|
|
56
|
-
}
|
|
57
|
-
/**
|
|
58
|
-
* Get a user by user ID.
|
|
59
|
-
*
|
|
60
|
-
* @example
|
|
61
|
-
* ```ts
|
|
62
|
-
* const user = await client.users._get('user_id');
|
|
63
|
-
* ```
|
|
64
|
-
*/
|
|
65
|
-
_get(userID, options) {
|
|
66
|
-
return this._client.get((0, path_1.path) `/v1/users/${userID}`, options);
|
|
67
|
-
}
|
|
68
|
-
/**
|
|
69
|
-
* Looks up a user by their custom auth ID.
|
|
70
|
-
*
|
|
71
|
-
* @example
|
|
72
|
-
* ```ts
|
|
73
|
-
* const user = await client.users.getByCustomAuthID({
|
|
74
|
-
* custom_user_id: 'custom_user_id',
|
|
75
|
-
* });
|
|
76
|
-
* ```
|
|
77
|
-
*/
|
|
78
|
-
getByCustomAuthID(body, options) {
|
|
79
|
-
return this._client.post('/v1/users/custom_auth/id', { body, ...options });
|
|
80
|
-
}
|
|
81
|
-
/**
|
|
82
|
-
* Looks up a user by their Discord username.
|
|
83
|
-
*
|
|
84
|
-
* @example
|
|
85
|
-
* ```ts
|
|
86
|
-
* const user = await client.users.getByDiscordUsername({
|
|
87
|
-
* username: 'username',
|
|
88
|
-
* });
|
|
89
|
-
* ```
|
|
90
|
-
*/
|
|
91
|
-
getByDiscordUsername(body, options) {
|
|
92
|
-
return this._client.post('/v1/users/discord/username', { body, ...options });
|
|
93
|
-
}
|
|
94
|
-
/**
|
|
95
|
-
* Looks up a user by their email address.
|
|
96
|
-
*
|
|
97
|
-
* @example
|
|
98
|
-
* ```ts
|
|
99
|
-
* const user = await client.users.getByEmailAddress({
|
|
100
|
-
* address: 'dev@stainless.com',
|
|
101
|
-
* });
|
|
102
|
-
* ```
|
|
103
|
-
*/
|
|
104
|
-
getByEmailAddress(body, options) {
|
|
105
|
-
return this._client.post('/v1/users/email/address', { body, ...options });
|
|
106
|
-
}
|
|
107
|
-
/**
|
|
108
|
-
* Looks up a user by their Farcaster ID.
|
|
109
|
-
*
|
|
110
|
-
* @example
|
|
111
|
-
* ```ts
|
|
112
|
-
* const user = await client.users.getByFarcasterID({
|
|
113
|
-
* fid: 0,
|
|
114
|
-
* });
|
|
115
|
-
* ```
|
|
116
|
-
*/
|
|
117
|
-
getByFarcasterID(body, options) {
|
|
118
|
-
return this._client.post('/v1/users/farcaster/fid', { body, ...options });
|
|
119
|
-
}
|
|
120
|
-
/**
|
|
121
|
-
* Looks up a user by their Github username.
|
|
122
|
-
*
|
|
123
|
-
* @example
|
|
124
|
-
* ```ts
|
|
125
|
-
* const user = await client.users.getByGitHubUsername({
|
|
126
|
-
* username: 'username',
|
|
127
|
-
* });
|
|
128
|
-
* ```
|
|
129
|
-
*/
|
|
130
|
-
getByGitHubUsername(body, options) {
|
|
131
|
-
return this._client.post('/v1/users/github/username', { body, ...options });
|
|
132
|
-
}
|
|
133
|
-
/**
|
|
134
|
-
* Looks up a user by their phone number.
|
|
135
|
-
*
|
|
136
|
-
* @example
|
|
137
|
-
* ```ts
|
|
138
|
-
* const user = await client.users.getByPhoneNumber({
|
|
139
|
-
* number: 'number',
|
|
140
|
-
* });
|
|
141
|
-
* ```
|
|
142
|
-
*/
|
|
143
|
-
getByPhoneNumber(body, options) {
|
|
144
|
-
return this._client.post('/v1/users/phone/number', { body, ...options });
|
|
145
|
-
}
|
|
146
|
-
/**
|
|
147
|
-
* Looks up a user by their smart wallet address.
|
|
148
|
-
*
|
|
149
|
-
* @example
|
|
150
|
-
* ```ts
|
|
151
|
-
* const user = await client.users.getBySmartWalletAddress({
|
|
152
|
-
* address: 'address',
|
|
153
|
-
* });
|
|
154
|
-
* ```
|
|
155
|
-
*/
|
|
156
|
-
getBySmartWalletAddress(body, options) {
|
|
157
|
-
return this._client.post('/v1/users/smart_wallet/address', { body, ...options });
|
|
158
|
-
}
|
|
159
|
-
/**
|
|
160
|
-
* Looks up a user by their Telegram user ID.
|
|
161
|
-
*
|
|
162
|
-
* @example
|
|
163
|
-
* ```ts
|
|
164
|
-
* const user = await client.users.getByTelegramUserID({
|
|
165
|
-
* telegram_user_id: 'telegram_user_id',
|
|
166
|
-
* });
|
|
167
|
-
* ```
|
|
168
|
-
*/
|
|
169
|
-
getByTelegramUserID(body, options) {
|
|
170
|
-
return this._client.post('/v1/users/telegram/telegram_user_id', { body, ...options });
|
|
171
|
-
}
|
|
172
|
-
/**
|
|
173
|
-
* Looks up a user by their Telegram username.
|
|
174
|
-
*
|
|
175
|
-
* @example
|
|
176
|
-
* ```ts
|
|
177
|
-
* const user = await client.users.getByTelegramUsername({
|
|
178
|
-
* username: 'username',
|
|
179
|
-
* });
|
|
180
|
-
* ```
|
|
181
|
-
*/
|
|
182
|
-
getByTelegramUsername(body, options) {
|
|
183
|
-
return this._client.post('/v1/users/telegram/username', { body, ...options });
|
|
184
|
-
}
|
|
185
|
-
/**
|
|
186
|
-
* Looks up a user by their Twitter subject.
|
|
187
|
-
*
|
|
188
|
-
* @example
|
|
189
|
-
* ```ts
|
|
190
|
-
* const user = await client.users.getByTwitterSubject({
|
|
191
|
-
* subject: 'subject',
|
|
192
|
-
* });
|
|
193
|
-
* ```
|
|
194
|
-
*/
|
|
195
|
-
getByTwitterSubject(body, options) {
|
|
196
|
-
return this._client.post('/v1/users/twitter/subject', { body, ...options });
|
|
197
|
-
}
|
|
198
|
-
/**
|
|
199
|
-
* Looks up a user by their Twitter username.
|
|
200
|
-
*
|
|
201
|
-
* @example
|
|
202
|
-
* ```ts
|
|
203
|
-
* const user = await client.users.getByTwitterUsername({
|
|
204
|
-
* username: 'username',
|
|
205
|
-
* });
|
|
206
|
-
* ```
|
|
207
|
-
*/
|
|
208
|
-
getByTwitterUsername(body, options) {
|
|
209
|
-
return this._client.post('/v1/users/twitter/username', { body, ...options });
|
|
210
|
-
}
|
|
211
|
-
/**
|
|
212
|
-
* Looks up a user by their wallet address.
|
|
213
|
-
*
|
|
214
|
-
* @example
|
|
215
|
-
* ```ts
|
|
216
|
-
* const user = await client.users.getByWalletAddress({
|
|
217
|
-
* address: 'address',
|
|
218
|
-
* });
|
|
219
|
-
* ```
|
|
220
|
-
*/
|
|
221
|
-
getByWalletAddress(body, options) {
|
|
222
|
-
return this._client.post('/v1/users/wallet/address', { body, ...options });
|
|
223
|
-
}
|
|
224
|
-
/**
|
|
225
|
-
* Creates an embedded wallet for an existing user.
|
|
226
|
-
*
|
|
227
|
-
* @example
|
|
228
|
-
* ```ts
|
|
229
|
-
* const user = await client.users.pregenerateWallets(
|
|
230
|
-
* 'user_id',
|
|
231
|
-
* { wallets: [{ chain_type: 'ethereum' }] },
|
|
232
|
-
* );
|
|
233
|
-
* ```
|
|
234
|
-
*/
|
|
235
|
-
pregenerateWallets(userID, body, options) {
|
|
236
|
-
return this._client.post((0, path_1.path) `/v1/users/${userID}/wallets`, { body, ...options });
|
|
237
|
-
}
|
|
238
|
-
/**
|
|
239
|
-
* Search users by search term, emails, phone numbers, or wallet addresses.
|
|
240
|
-
*
|
|
241
|
-
* @example
|
|
242
|
-
* ```ts
|
|
243
|
-
* const user = await client.users.search({
|
|
244
|
-
* searchTerm: 'searchTerm',
|
|
245
|
-
* });
|
|
246
|
-
* ```
|
|
247
|
-
*/
|
|
248
|
-
search(body, options) {
|
|
249
|
-
return this._client.post('/v1/users/search', { body, ...options });
|
|
250
|
-
}
|
|
251
|
-
/**
|
|
252
|
-
* Adds custom metadata to a user by user ID.
|
|
253
|
-
*
|
|
254
|
-
* @example
|
|
255
|
-
* ```ts
|
|
256
|
-
* const user = await client.users.setCustomMetadata(
|
|
257
|
-
* 'user_id',
|
|
258
|
-
* { custom_metadata: { key: 'value' } },
|
|
259
|
-
* );
|
|
260
|
-
* ```
|
|
261
|
-
*/
|
|
262
|
-
setCustomMetadata(userID, body, options) {
|
|
263
|
-
return this._client.post((0, path_1.path) `/v1/users/${userID}/custom_metadata`, { body, ...options });
|
|
264
|
-
}
|
|
265
|
-
/**
|
|
266
|
-
* Unlinks a user linked account.
|
|
267
|
-
*
|
|
268
|
-
* @example
|
|
269
|
-
* ```ts
|
|
270
|
-
* const user = await client.users.unlinkLinkedAccount(
|
|
271
|
-
* 'user_id',
|
|
272
|
-
* { handle: 'test@test.com', type: 'email' },
|
|
273
|
-
* );
|
|
274
|
-
* ```
|
|
275
|
-
*/
|
|
276
|
-
unlinkLinkedAccount(userID, body, options) {
|
|
277
|
-
return this._client.post((0, path_1.path) `/v1/users/${userID}/accounts/unlink`, { body, ...options });
|
|
278
|
-
}
|
|
279
7
|
}
|
|
280
8
|
exports.Users = Users;
|
|
281
9
|
//# sourceMappingURL=users.js.map
|
package/resources/users.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"users.js","sourceRoot":"","sources":["../src/resources/users.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;
|
|
1
|
+
{"version":3,"file":"users.js","sourceRoot":"","sources":["../src/resources/users.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAM/C,MAAa,KAAM,SAAQ,sBAAW;CAAG;AAAzC,sBAAyC"}
|
package/resources/users.mjs
CHANGED
|
@@ -1,277 +1,5 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
import { APIResource } from "../core/resource.mjs";
|
|
3
|
-
import { Cursor } from "../core/pagination.mjs";
|
|
4
|
-
import { buildHeaders } from "../internal/headers.mjs";
|
|
5
|
-
import { path } from "../internal/utils/path.mjs";
|
|
6
|
-
/**
|
|
7
|
-
* Operations related to users
|
|
8
|
-
*/
|
|
9
3
|
export class Users extends APIResource {
|
|
10
|
-
/**
|
|
11
|
-
* Create a new user with linked accounts. Optionally pre-generate embedded wallets
|
|
12
|
-
* for the user.
|
|
13
|
-
*
|
|
14
|
-
* @example
|
|
15
|
-
* ```ts
|
|
16
|
-
* const user = await client.users.create({
|
|
17
|
-
* linked_accounts: [
|
|
18
|
-
* { address: 'tom.bombadill@privy.io', type: 'email' },
|
|
19
|
-
* ],
|
|
20
|
-
* });
|
|
21
|
-
* ```
|
|
22
|
-
*/
|
|
23
|
-
create(body, options) {
|
|
24
|
-
return this._client.post('/v1/users', { body, ...options });
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Get all users in your app.
|
|
28
|
-
*
|
|
29
|
-
* @example
|
|
30
|
-
* ```ts
|
|
31
|
-
* // Automatically fetches more pages as needed.
|
|
32
|
-
* for await (const user of client.users.list()) {
|
|
33
|
-
* // ...
|
|
34
|
-
* }
|
|
35
|
-
* ```
|
|
36
|
-
*/
|
|
37
|
-
list(query = {}, options) {
|
|
38
|
-
return this._client.getAPIList('/v1/users', (Cursor), { query, ...options });
|
|
39
|
-
}
|
|
40
|
-
/**
|
|
41
|
-
* Delete a user by user ID.
|
|
42
|
-
*
|
|
43
|
-
* @example
|
|
44
|
-
* ```ts
|
|
45
|
-
* await client.users.delete('user_id');
|
|
46
|
-
* ```
|
|
47
|
-
*/
|
|
48
|
-
delete(userID, options) {
|
|
49
|
-
return this._client.delete(path `/v1/users/${userID}`, {
|
|
50
|
-
...options,
|
|
51
|
-
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
52
|
-
});
|
|
53
|
-
}
|
|
54
|
-
/**
|
|
55
|
-
* Get a user by user ID.
|
|
56
|
-
*
|
|
57
|
-
* @example
|
|
58
|
-
* ```ts
|
|
59
|
-
* const user = await client.users._get('user_id');
|
|
60
|
-
* ```
|
|
61
|
-
*/
|
|
62
|
-
_get(userID, options) {
|
|
63
|
-
return this._client.get(path `/v1/users/${userID}`, options);
|
|
64
|
-
}
|
|
65
|
-
/**
|
|
66
|
-
* Looks up a user by their custom auth ID.
|
|
67
|
-
*
|
|
68
|
-
* @example
|
|
69
|
-
* ```ts
|
|
70
|
-
* const user = await client.users.getByCustomAuthID({
|
|
71
|
-
* custom_user_id: 'custom_user_id',
|
|
72
|
-
* });
|
|
73
|
-
* ```
|
|
74
|
-
*/
|
|
75
|
-
getByCustomAuthID(body, options) {
|
|
76
|
-
return this._client.post('/v1/users/custom_auth/id', { body, ...options });
|
|
77
|
-
}
|
|
78
|
-
/**
|
|
79
|
-
* Looks up a user by their Discord username.
|
|
80
|
-
*
|
|
81
|
-
* @example
|
|
82
|
-
* ```ts
|
|
83
|
-
* const user = await client.users.getByDiscordUsername({
|
|
84
|
-
* username: 'username',
|
|
85
|
-
* });
|
|
86
|
-
* ```
|
|
87
|
-
*/
|
|
88
|
-
getByDiscordUsername(body, options) {
|
|
89
|
-
return this._client.post('/v1/users/discord/username', { body, ...options });
|
|
90
|
-
}
|
|
91
|
-
/**
|
|
92
|
-
* Looks up a user by their email address.
|
|
93
|
-
*
|
|
94
|
-
* @example
|
|
95
|
-
* ```ts
|
|
96
|
-
* const user = await client.users.getByEmailAddress({
|
|
97
|
-
* address: 'dev@stainless.com',
|
|
98
|
-
* });
|
|
99
|
-
* ```
|
|
100
|
-
*/
|
|
101
|
-
getByEmailAddress(body, options) {
|
|
102
|
-
return this._client.post('/v1/users/email/address', { body, ...options });
|
|
103
|
-
}
|
|
104
|
-
/**
|
|
105
|
-
* Looks up a user by their Farcaster ID.
|
|
106
|
-
*
|
|
107
|
-
* @example
|
|
108
|
-
* ```ts
|
|
109
|
-
* const user = await client.users.getByFarcasterID({
|
|
110
|
-
* fid: 0,
|
|
111
|
-
* });
|
|
112
|
-
* ```
|
|
113
|
-
*/
|
|
114
|
-
getByFarcasterID(body, options) {
|
|
115
|
-
return this._client.post('/v1/users/farcaster/fid', { body, ...options });
|
|
116
|
-
}
|
|
117
|
-
/**
|
|
118
|
-
* Looks up a user by their Github username.
|
|
119
|
-
*
|
|
120
|
-
* @example
|
|
121
|
-
* ```ts
|
|
122
|
-
* const user = await client.users.getByGitHubUsername({
|
|
123
|
-
* username: 'username',
|
|
124
|
-
* });
|
|
125
|
-
* ```
|
|
126
|
-
*/
|
|
127
|
-
getByGitHubUsername(body, options) {
|
|
128
|
-
return this._client.post('/v1/users/github/username', { body, ...options });
|
|
129
|
-
}
|
|
130
|
-
/**
|
|
131
|
-
* Looks up a user by their phone number.
|
|
132
|
-
*
|
|
133
|
-
* @example
|
|
134
|
-
* ```ts
|
|
135
|
-
* const user = await client.users.getByPhoneNumber({
|
|
136
|
-
* number: 'number',
|
|
137
|
-
* });
|
|
138
|
-
* ```
|
|
139
|
-
*/
|
|
140
|
-
getByPhoneNumber(body, options) {
|
|
141
|
-
return this._client.post('/v1/users/phone/number', { body, ...options });
|
|
142
|
-
}
|
|
143
|
-
/**
|
|
144
|
-
* Looks up a user by their smart wallet address.
|
|
145
|
-
*
|
|
146
|
-
* @example
|
|
147
|
-
* ```ts
|
|
148
|
-
* const user = await client.users.getBySmartWalletAddress({
|
|
149
|
-
* address: 'address',
|
|
150
|
-
* });
|
|
151
|
-
* ```
|
|
152
|
-
*/
|
|
153
|
-
getBySmartWalletAddress(body, options) {
|
|
154
|
-
return this._client.post('/v1/users/smart_wallet/address', { body, ...options });
|
|
155
|
-
}
|
|
156
|
-
/**
|
|
157
|
-
* Looks up a user by their Telegram user ID.
|
|
158
|
-
*
|
|
159
|
-
* @example
|
|
160
|
-
* ```ts
|
|
161
|
-
* const user = await client.users.getByTelegramUserID({
|
|
162
|
-
* telegram_user_id: 'telegram_user_id',
|
|
163
|
-
* });
|
|
164
|
-
* ```
|
|
165
|
-
*/
|
|
166
|
-
getByTelegramUserID(body, options) {
|
|
167
|
-
return this._client.post('/v1/users/telegram/telegram_user_id', { body, ...options });
|
|
168
|
-
}
|
|
169
|
-
/**
|
|
170
|
-
* Looks up a user by their Telegram username.
|
|
171
|
-
*
|
|
172
|
-
* @example
|
|
173
|
-
* ```ts
|
|
174
|
-
* const user = await client.users.getByTelegramUsername({
|
|
175
|
-
* username: 'username',
|
|
176
|
-
* });
|
|
177
|
-
* ```
|
|
178
|
-
*/
|
|
179
|
-
getByTelegramUsername(body, options) {
|
|
180
|
-
return this._client.post('/v1/users/telegram/username', { body, ...options });
|
|
181
|
-
}
|
|
182
|
-
/**
|
|
183
|
-
* Looks up a user by their Twitter subject.
|
|
184
|
-
*
|
|
185
|
-
* @example
|
|
186
|
-
* ```ts
|
|
187
|
-
* const user = await client.users.getByTwitterSubject({
|
|
188
|
-
* subject: 'subject',
|
|
189
|
-
* });
|
|
190
|
-
* ```
|
|
191
|
-
*/
|
|
192
|
-
getByTwitterSubject(body, options) {
|
|
193
|
-
return this._client.post('/v1/users/twitter/subject', { body, ...options });
|
|
194
|
-
}
|
|
195
|
-
/**
|
|
196
|
-
* Looks up a user by their Twitter username.
|
|
197
|
-
*
|
|
198
|
-
* @example
|
|
199
|
-
* ```ts
|
|
200
|
-
* const user = await client.users.getByTwitterUsername({
|
|
201
|
-
* username: 'username',
|
|
202
|
-
* });
|
|
203
|
-
* ```
|
|
204
|
-
*/
|
|
205
|
-
getByTwitterUsername(body, options) {
|
|
206
|
-
return this._client.post('/v1/users/twitter/username', { body, ...options });
|
|
207
|
-
}
|
|
208
|
-
/**
|
|
209
|
-
* Looks up a user by their wallet address.
|
|
210
|
-
*
|
|
211
|
-
* @example
|
|
212
|
-
* ```ts
|
|
213
|
-
* const user = await client.users.getByWalletAddress({
|
|
214
|
-
* address: 'address',
|
|
215
|
-
* });
|
|
216
|
-
* ```
|
|
217
|
-
*/
|
|
218
|
-
getByWalletAddress(body, options) {
|
|
219
|
-
return this._client.post('/v1/users/wallet/address', { body, ...options });
|
|
220
|
-
}
|
|
221
|
-
/**
|
|
222
|
-
* Creates an embedded wallet for an existing user.
|
|
223
|
-
*
|
|
224
|
-
* @example
|
|
225
|
-
* ```ts
|
|
226
|
-
* const user = await client.users.pregenerateWallets(
|
|
227
|
-
* 'user_id',
|
|
228
|
-
* { wallets: [{ chain_type: 'ethereum' }] },
|
|
229
|
-
* );
|
|
230
|
-
* ```
|
|
231
|
-
*/
|
|
232
|
-
pregenerateWallets(userID, body, options) {
|
|
233
|
-
return this._client.post(path `/v1/users/${userID}/wallets`, { body, ...options });
|
|
234
|
-
}
|
|
235
|
-
/**
|
|
236
|
-
* Search users by search term, emails, phone numbers, or wallet addresses.
|
|
237
|
-
*
|
|
238
|
-
* @example
|
|
239
|
-
* ```ts
|
|
240
|
-
* const user = await client.users.search({
|
|
241
|
-
* searchTerm: 'searchTerm',
|
|
242
|
-
* });
|
|
243
|
-
* ```
|
|
244
|
-
*/
|
|
245
|
-
search(body, options) {
|
|
246
|
-
return this._client.post('/v1/users/search', { body, ...options });
|
|
247
|
-
}
|
|
248
|
-
/**
|
|
249
|
-
* Adds custom metadata to a user by user ID.
|
|
250
|
-
*
|
|
251
|
-
* @example
|
|
252
|
-
* ```ts
|
|
253
|
-
* const user = await client.users.setCustomMetadata(
|
|
254
|
-
* 'user_id',
|
|
255
|
-
* { custom_metadata: { key: 'value' } },
|
|
256
|
-
* );
|
|
257
|
-
* ```
|
|
258
|
-
*/
|
|
259
|
-
setCustomMetadata(userID, body, options) {
|
|
260
|
-
return this._client.post(path `/v1/users/${userID}/custom_metadata`, { body, ...options });
|
|
261
|
-
}
|
|
262
|
-
/**
|
|
263
|
-
* Unlinks a user linked account.
|
|
264
|
-
*
|
|
265
|
-
* @example
|
|
266
|
-
* ```ts
|
|
267
|
-
* const user = await client.users.unlinkLinkedAccount(
|
|
268
|
-
* 'user_id',
|
|
269
|
-
* { handle: 'test@test.com', type: 'email' },
|
|
270
|
-
* );
|
|
271
|
-
* ```
|
|
272
|
-
*/
|
|
273
|
-
unlinkLinkedAccount(userID, body, options) {
|
|
274
|
-
return this._client.post(path `/v1/users/${userID}/accounts/unlink`, { body, ...options });
|
|
275
|
-
}
|
|
276
4
|
}
|
|
277
5
|
//# sourceMappingURL=users.mjs.map
|
package/resources/users.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"users.mjs","sourceRoot":"","sources":["../src/resources/users.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;
|
|
1
|
+
{"version":3,"file":"users.mjs","sourceRoot":"","sources":["../src/resources/users.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAMtB,MAAM,OAAO,KAAM,SAAQ,WAAW;CAAG"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { Balance, type BalanceGetResponse, type BalanceGetParams } from "./balance.mjs";
|
|
2
2
|
export { Transactions, type TransactionGetResponse, type TransactionGetParams } from "./transactions.mjs";
|
|
3
|
-
export { Wallets, type
|
|
3
|
+
export { Wallets, type AdditionalSignerInput, type AdditionalSignerItemInput, type Address, type AmountType, type AuthorizationKeyDashboardResponse, type AuthorizationKeyResponse, type AuthorizationKeyRole, type CurveSigningChainType, type CurveType, type CustodialWallet, type CustodialWalletChainType, type CustodialWalletCreateInput, type CustodialWalletProvider, type CustomTokenTransferSource, type EthereumPersonalSignRpcInput, type EthereumPersonalSignRpcInputParams, type EthereumPersonalSignRpcResponse, type EthereumPersonalSignRpcResponseData, type EthereumRpcInput, type EthereumRpcResponse, type EthereumSecp256k1SignRpcInput, type EthereumSecp256k1SignRpcInputParams, type EthereumSecp256k1SignRpcResponse, type EthereumSecp256k1SignRpcResponseData, type EthereumSendCallsCall, type EthereumSendCallsRpcInput, type EthereumSendCallsRpcInputParams, type EthereumSendCallsRpcResponse, type EthereumSendCallsRpcResponseData, type EthereumSendTransactionRpcInput, type EthereumSendTransactionRpcInputParams, type EthereumSendTransactionRpcResponse, type EthereumSendTransactionRpcResponseData, type EthereumSign7702Authorization, type EthereumSign7702AuthorizationRpcInput, type EthereumSign7702AuthorizationRpcInputParams, type EthereumSign7702AuthorizationRpcResponse, type EthereumSign7702AuthorizationRpcResponseData, type EthereumSignTransactionRpcInput, type EthereumSignTransactionRpcInputParams, type EthereumSignTransactionRpcResponse, type EthereumSignTransactionRpcResponseData, type EthereumSignTypedDataRpcInput, type EthereumSignTypedDataRpcInputParams, type EthereumSignTypedDataRpcResponse, type EthereumSignTypedDataRpcResponseData, type EthereumSignUserOperationRpcInput, type EthereumSignUserOperationRpcInputParams, type EthereumSignUserOperationRpcResponse, type EthereumSignUserOperationRpcResponseData, type EthereumTypedDataInput, type ExportPrivateKeyRpcInput, type ExportPrivateKeyRpcResponse, type ExportSeedPhraseRpcInput, type ExportSeedPhraseRpcResponse, type ExportType, type ExtendedChainType, type FirstClassChainType, type GetByWalletAddressRequestBody, type HDInitInput, type HDPath, type HDSubmitInput, type HpkeAeadAlgorithm, type HpkeEncryption, type HpkeImportConfig, type Hex, type NamedTokenTransferSource, type OutputWithPreviousTransactionData, type PolicyInput, type PrivateKeyExportInput, type PrivateKeyExportResponse, type PrivateKeyInitInput, type PrivateKeySubmitInput, type Quantity, type RawSignBytesEncoding, type RawSignBytesHashFunction, type RawSignBytesParams, type RawSignHashParams, type RawSignInput, type RawSignInputParams, type RawSignResponse, type RawSignResponseData, type RecipientPublicKey, type SeedPhraseExportInput, type SeedPhraseExportResponse, type SigningAlgorithm, type SolanaRpcInput, type SolanaRpcResponse, type SolanaSignAndSendTransactionRpcInput, type SolanaSignAndSendTransactionRpcInputParams, type SolanaSignAndSendTransactionRpcResponse, type SolanaSignAndSendTransactionRpcResponseData, type SolanaSignMessageRpcInput, type SolanaSignMessageRpcInputParams, type SolanaSignMessageRpcResponse, type SolanaSignMessageRpcResponseData, type SolanaSignTransactionRpcInput, type SolanaSignTransactionRpcInputParams, type SolanaSignTransactionRpcResponse, type SolanaSignTransactionRpcResponseData, type SolanaWalletDerivationStrategy, type SparkBalance, type SparkClaimStaticDepositRpcInput, type SparkClaimStaticDepositRpcInputParams, type SparkClaimStaticDepositRpcResponse, type SparkClaimStaticDepositRpcResponseData, type SparkCreateLightningInvoiceRpcInput, type SparkCreateLightningInvoiceRpcInputParams, type SparkCreateLightningInvoiceRpcResponse, type SparkGetBalanceRpcInput, type SparkGetBalanceRpcResponse, type SparkGetClaimStaticDepositQuoteRpcInput, type SparkGetClaimStaticDepositQuoteRpcInputParams, type SparkGetClaimStaticDepositQuoteRpcResponse, type SparkGetClaimStaticDepositQuoteRpcResponseData, type SparkGetStaticDepositAddressRpcInput, type SparkGetStaticDepositAddressRpcResponse, type SparkGetStaticDepositAddressRpcResponseData, type SparkLightningFee, type SparkLightningReceiveRequest, type SparkLightningSendRequest, type SparkNetwork, type SparkOutputSelectionStrategy, type SparkPayLightningInvoiceRpcInput, type SparkPayLightningInvoiceRpcInputParams, type SparkPayLightningInvoiceRpcResponse, type SparkRpcInput, type SparkRpcResponse, type SparkSignMessageWithIdentityKeyRpcInput, type SparkSignMessageWithIdentityKeyRpcInputParams, type SparkSignMessageWithIdentityKeyRpcResponse, type SparkSignMessageWithIdentityKeyRpcResponseData, type SparkSigningKeyshare, type SparkTokenBalance, type SparkTransfer, type SparkTransferLeaf, type SparkTransferRpcInput, type SparkTransferRpcInputParams, type SparkTransferRpcResponse, type SparkTransferTokensRpcInput, type SparkTransferTokensRpcInputParams, type SparkTransferTokensRpcResponse, type SparkTransferTokensRpcResponseData, type SparkUserTokenMetadata, type SparkWalletLeaf, type SuiCommandName, type TempoAaAuthorization, type TempoCall, type TempoFeePayerSignature, type TokenOutput, type TokenTransferDestination, type TokenTransferSource, type TransactionDetail, type TransactionTokenAddressInput, type TransferReceivedTransactionDetail, type TransferRequestBody, type TransferSentTransactionDetail, type TypedDataDomainInputParams, type TypedDataTypeFieldInput, type TypedDataTypesInputParams, type UnsignedEthereumTransaction, type UnsignedStandardEthereumTransaction, type UnsignedTempoTransaction, type UserOperationInput, type Wallet, type WalletAdditionalSigner, type WalletAdditionalSignerItem, type WalletAPIRegisterAuthorizationKeyInput, type WalletAPIRevokeAuthorizationKeyInput, type WalletAsset, type WalletAuthenticateRequestBody, type WalletAuthenticateWithJwtResponse, type WalletAuthorizationHeaders, type WalletBatchCreateInput, type WalletBatchCreateResponse, type WalletBatchCreateResult, type WalletBatchItemInput, type WalletChainType, type WalletCreateWalletsWithRecoveryResponse, type WalletCustodian, type WalletEntropyType, type WalletEthereumAsset, type WalletExportRequestBody, type WalletExportResponseBody, type WalletImportInitResponse, type WalletImportSupportedChains, type WalletImportSupportedEntropyTypes, type WalletRevokeResponse, type WalletRpcRequestBody, type WalletRpcResponse, type WalletSolanaAsset, type WalletUpdateRequestBody, type WalletCreateParams, type WalletUpdateParams, type WalletListParams, type WalletExportParams, type WalletRawSignParams, type WalletRpcParams, type WalletsCursor, } from "./wallets.mjs";
|
|
4
4
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/wallets/index.ts"],"names":[],"mappings":"OAEO,EAAE,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE;OAC3D,EAAE,YAAY,EAAE,KAAK,sBAAsB,EAAE,KAAK,oBAAoB,EAAE;OACxE,EACL,OAAO,EACP,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/wallets/index.ts"],"names":[],"mappings":"OAEO,EAAE,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE;OAC3D,EAAE,YAAY,EAAE,KAAK,sBAAsB,EAAE,KAAK,oBAAoB,EAAE;OACxE,EACL,OAAO,EACP,KAAK,qBAAqB,EAC1B,KAAK,yBAAyB,EAC9B,KAAK,OAAO,EACZ,KAAK,UAAU,EACf,KAAK,iCAAiC,EACtC,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC1B,KAAK,SAAS,EACd,KAAK,eAAe,EACpB,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,uBAAuB,EAC5B,KAAK,yBAAyB,EAC9B,KAAK,4BAA4B,EACjC,KAAK,kCAAkC,EACvC,KAAK,+BAA+B,EACpC,KA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e,EACpB,KAAK,aAAa,GACnB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { Balance, type BalanceGetResponse, type BalanceGetParams } from "./balance.js";
|
|
2
2
|
export { Transactions, type TransactionGetResponse, type TransactionGetParams } from "./transactions.js";
|
|
3
|
-
export { Wallets, type
|
|
3
|
+
export { Wallets, type AdditionalSignerInput, type AdditionalSignerItemInput, type Address, type AmountType, type AuthorizationKeyDashboardResponse, type AuthorizationKeyResponse, type AuthorizationKeyRole, type CurveSigningChainType, type CurveType, type CustodialWallet, type CustodialWalletChainType, type CustodialWalletCreateInput, type CustodialWalletProvider, type CustomTokenTransferSource, type EthereumPersonalSignRpcInput, type EthereumPersonalSignRpcInputParams, type EthereumPersonalSignRpcResponse, type EthereumPersonalSignRpcResponseData, type EthereumRpcInput, type EthereumRpcResponse, type EthereumSecp256k1SignRpcInput, type EthereumSecp256k1SignRpcInputParams, type EthereumSecp256k1SignRpcResponse, type EthereumSecp256k1SignRpcResponseData, type EthereumSendCallsCall, type EthereumSendCallsRpcInput, type EthereumSendCallsRpcInputParams, type EthereumSendCallsRpcResponse, type EthereumSendCallsRpcResponseData, type EthereumSendTransactionRpcInput, type EthereumSendTransactionRpcInputParams, type EthereumSendTransactionRpcResponse, type EthereumSendTransactionRpcResponseData, type EthereumSign7702Authorization, type EthereumSign7702AuthorizationRpcInput, type EthereumSign7702AuthorizationRpcInputParams, type EthereumSign7702AuthorizationRpcResponse, type EthereumSign7702AuthorizationRpcResponseData, type EthereumSignTransactionRpcInput, type EthereumSignTransactionRpcInputParams, type EthereumSignTransactionRpcResponse, type EthereumSignTransactionRpcResponseData, type EthereumSignTypedDataRpcInput, type EthereumSignTypedDataRpcInputParams, type EthereumSignTypedDataRpcResponse, type EthereumSignTypedDataRpcResponseData, type EthereumSignUserOperationRpcInput, type EthereumSignUserOperationRpcInputParams, type EthereumSignUserOperationRpcResponse, type EthereumSignUserOperationRpcResponseData, type EthereumTypedDataInput, type ExportPrivateKeyRpcInput, type ExportPrivateKeyRpcResponse, type ExportSeedPhraseRpcInput, type ExportSeedPhraseRpcResponse, type ExportType, type ExtendedChainType, type FirstClassChainType, type GetByWalletAddressRequestBody, type HDInitInput, type HDPath, type HDSubmitInput, type HpkeAeadAlgorithm, type HpkeEncryption, type HpkeImportConfig, type Hex, type NamedTokenTransferSource, type OutputWithPreviousTransactionData, type PolicyInput, type PrivateKeyExportInput, type PrivateKeyExportResponse, type PrivateKeyInitInput, type PrivateKeySubmitInput, type Quantity, type RawSignBytesEncoding, type RawSignBytesHashFunction, type RawSignBytesParams, type RawSignHashParams, type RawSignInput, type RawSignInputParams, type RawSignResponse, type RawSignResponseData, type RecipientPublicKey, type SeedPhraseExportInput, type SeedPhraseExportResponse, type SigningAlgorithm, type SolanaRpcInput, type SolanaRpcResponse, type SolanaSignAndSendTransactionRpcInput, type SolanaSignAndSendTransactionRpcInputParams, type SolanaSignAndSendTransactionRpcResponse, type SolanaSignAndSendTransactionRpcResponseData, type SolanaSignMessageRpcInput, type SolanaSignMessageRpcInputParams, type SolanaSignMessageRpcResponse, type SolanaSignMessageRpcResponseData, type SolanaSignTransactionRpcInput, type SolanaSignTransactionRpcInputParams, type SolanaSignTransactionRpcResponse, type SolanaSignTransactionRpcResponseData, type SolanaWalletDerivationStrategy, type SparkBalance, type SparkClaimStaticDepositRpcInput, type SparkClaimStaticDepositRpcInputParams, type SparkClaimStaticDepositRpcResponse, type SparkClaimStaticDepositRpcResponseData, type SparkCreateLightningInvoiceRpcInput, type SparkCreateLightningInvoiceRpcInputParams, type SparkCreateLightningInvoiceRpcResponse, type SparkGetBalanceRpcInput, type SparkGetBalanceRpcResponse, type SparkGetClaimStaticDepositQuoteRpcInput, type SparkGetClaimStaticDepositQuoteRpcInputParams, type SparkGetClaimStaticDepositQuoteRpcResponse, type SparkGetClaimStaticDepositQuoteRpcResponseData, type SparkGetStaticDepositAddressRpcInput, type SparkGetStaticDepositAddressRpcResponse, type SparkGetStaticDepositAddressRpcResponseData, type SparkLightningFee, type SparkLightningReceiveRequest, type SparkLightningSendRequest, type SparkNetwork, type SparkOutputSelectionStrategy, type SparkPayLightningInvoiceRpcInput, type SparkPayLightningInvoiceRpcInputParams, type SparkPayLightningInvoiceRpcResponse, type SparkRpcInput, type SparkRpcResponse, type SparkSignMessageWithIdentityKeyRpcInput, type SparkSignMessageWithIdentityKeyRpcInputParams, type SparkSignMessageWithIdentityKeyRpcResponse, type SparkSignMessageWithIdentityKeyRpcResponseData, type SparkSigningKeyshare, type SparkTokenBalance, type SparkTransfer, type SparkTransferLeaf, type SparkTransferRpcInput, type SparkTransferRpcInputParams, type SparkTransferRpcResponse, type SparkTransferTokensRpcInput, type SparkTransferTokensRpcInputParams, type SparkTransferTokensRpcResponse, type SparkTransferTokensRpcResponseData, type SparkUserTokenMetadata, type SparkWalletLeaf, type SuiCommandName, type TempoAaAuthorization, type TempoCall, type TempoFeePayerSignature, type TokenOutput, type TokenTransferDestination, type TokenTransferSource, type TransactionDetail, type TransactionTokenAddressInput, type TransferReceivedTransactionDetail, type TransferRequestBody, type TransferSentTransactionDetail, type TypedDataDomainInputParams, type TypedDataTypeFieldInput, type TypedDataTypesInputParams, type UnsignedEthereumTransaction, type UnsignedStandardEthereumTransaction, type UnsignedTempoTransaction, type UserOperationInput, type Wallet, type WalletAdditionalSigner, type WalletAdditionalSignerItem, type WalletAPIRegisterAuthorizationKeyInput, type WalletAPIRevokeAuthorizationKeyInput, type WalletAsset, type WalletAuthenticateRequestBody, type WalletAuthenticateWithJwtResponse, type WalletAuthorizationHeaders, type WalletBatchCreateInput, type WalletBatchCreateResponse, type WalletBatchCreateResult, type WalletBatchItemInput, type WalletChainType, type WalletCreateWalletsWithRecoveryResponse, type WalletCustodian, type WalletEntropyType, type WalletEthereumAsset, type WalletExportRequestBody, type WalletExportResponseBody, type WalletImportInitResponse, type WalletImportSupportedChains, type WalletImportSupportedEntropyTypes, type WalletRevokeResponse, type WalletRpcRequestBody, type WalletRpcResponse, type WalletSolanaAsset, type WalletUpdateRequestBody, type WalletCreateParams, type WalletUpdateParams, type WalletListParams, type WalletExportParams, type WalletRawSignParams, type WalletRpcParams, type WalletsCursor, } from "./wallets.js";
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|