@privy-io/api-types 0.10.0 → 0.12.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 +27 -0
- package/client.d.mts +22 -28
- package/client.d.mts.map +1 -1
- package/client.d.ts +22 -28
- package/client.d.ts.map +1 -1
- package/client.js +6 -12
- package/client.js.map +1 -1
- package/client.mjs +7 -13
- package/client.mjs.map +1 -1
- package/internal/utils/log.d.mts.map +1 -1
- package/internal/utils/log.d.ts.map +1 -1
- package/internal/utils/log.js +2 -0
- package/internal/utils/log.js.map +1 -1
- package/internal/utils/log.mjs +2 -0
- package/internal/utils/log.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/apps.d.mts +5 -0
- package/resources/apps.d.mts.map +1 -1
- package/resources/apps.d.ts +5 -0
- package/resources/apps.d.ts.map +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/cross-app.d.mts +5 -0
- package/resources/cross-app.d.mts.map +1 -1
- package/resources/cross-app.d.ts +5 -0
- package/resources/cross-app.d.ts.map +1 -1
- package/resources/embedded-wallets.d.mts +10 -10
- package/resources/embedded-wallets.d.mts.map +1 -1
- package/resources/embedded-wallets.d.ts +10 -10
- 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 +11 -10
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +11 -10
- 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 +2 -1
- 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 +2 -312
- package/resources/policies.d.mts.map +1 -1
- package/resources/policies.d.ts +2 -312
- 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/swaps.d.mts +54 -26
- package/resources/swaps.d.mts.map +1 -1
- package/resources/swaps.d.ts +54 -26
- package/resources/swaps.d.ts.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/wallet-actions.d.mts +22 -3
- package/resources/wallet-actions.d.mts.map +1 -1
- package/resources/wallet-actions.d.ts +22 -3
- package/resources/wallet-actions.d.ts.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/transactions.d.mts +6 -2
- package/resources/wallets/transactions.d.mts.map +1 -1
- package/resources/wallets/transactions.d.ts +6 -2
- package/resources/wallets/transactions.d.ts.map +1 -1
- package/resources/wallets/wallets.d.mts +184 -342
- package/resources/wallets/wallets.d.mts.map +1 -1
- package/resources/wallets/wallets.d.ts +184 -342
- 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 +122 -153
- package/src/internal/utils/log.ts +2 -0
- package/src/resources/apps.ts +6 -0
- package/src/resources/client-auth.ts +743 -787
- package/src/resources/cross-app.ts +6 -0
- package/src/resources/embedded-wallets.ts +16 -15
- package/src/resources/fiat.ts +177 -0
- package/src/resources/funding.ts +65 -65
- package/src/resources/index.ts +97 -107
- package/src/resources/key-quorums.ts +1 -203
- package/src/resources/policies.ts +1 -495
- package/src/resources/swaps.ts +59 -25
- package/src/resources/transactions.ts +35 -55
- package/src/resources/users.ts +1 -479
- package/src/resources/wallet-actions.ts +38 -2
- package/src/resources/wallets/index.ts +4 -9
- package/src/resources/wallets/transactions.ts +6 -2
- package/src/resources/wallets/wallets.ts +236 -450
- 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
|
@@ -7,11 +7,14 @@ import { Transactions } from "./transactions.mjs";
|
|
|
7
7
|
import { Cursor } from "../../core/pagination.mjs";
|
|
8
8
|
import { buildHeaders } from "../../internal/headers.mjs";
|
|
9
9
|
import { path } from "../../internal/utils/path.mjs";
|
|
10
|
+
/**
|
|
11
|
+
* Operations related to wallets
|
|
12
|
+
*/
|
|
10
13
|
export class Wallets extends APIResource {
|
|
11
14
|
constructor() {
|
|
12
15
|
super(...arguments);
|
|
13
|
-
this.transactions = new TransactionsAPI.Transactions(this._client);
|
|
14
16
|
this.balance = new BalanceAPI.Balance(this._client);
|
|
17
|
+
this.transactions = new TransactionsAPI.Transactions(this._client);
|
|
15
18
|
}
|
|
16
19
|
/**
|
|
17
20
|
* Creates a new wallet on the requested chain and for the requested owner.
|
|
@@ -34,6 +37,32 @@ export class Wallets extends APIResource {
|
|
|
34
37
|
]),
|
|
35
38
|
});
|
|
36
39
|
}
|
|
40
|
+
/**
|
|
41
|
+
* Update a wallet's policies or authorization key configuration.
|
|
42
|
+
*
|
|
43
|
+
* @example
|
|
44
|
+
* ```ts
|
|
45
|
+
* const wallet = await client.wallets.update('wallet_id', {
|
|
46
|
+
* policy_ids: ['tb54eps4z44ed0jepousxi4n'],
|
|
47
|
+
* });
|
|
48
|
+
* ```
|
|
49
|
+
*/
|
|
50
|
+
update(walletID, params, options) {
|
|
51
|
+
const { 'privy-authorization-signature': privyAuthorizationSignature, 'privy-request-expiry': privyRequestExpiry, ...body } = params;
|
|
52
|
+
return this._client.patch(path `/v1/wallets/${walletID}`, {
|
|
53
|
+
body,
|
|
54
|
+
...options,
|
|
55
|
+
headers: buildHeaders([
|
|
56
|
+
{
|
|
57
|
+
...(privyAuthorizationSignature != null ?
|
|
58
|
+
{ 'privy-authorization-signature': privyAuthorizationSignature }
|
|
59
|
+
: undefined),
|
|
60
|
+
...(privyRequestExpiry != null ? { 'privy-request-expiry': privyRequestExpiry } : undefined),
|
|
61
|
+
},
|
|
62
|
+
options?.headers,
|
|
63
|
+
]),
|
|
64
|
+
});
|
|
65
|
+
}
|
|
37
66
|
/**
|
|
38
67
|
* Get all wallets in your app.
|
|
39
68
|
*
|
|
@@ -54,14 +83,14 @@ export class Wallets extends APIResource {
|
|
|
54
83
|
* @example
|
|
55
84
|
* ```ts
|
|
56
85
|
* const walletExportResponseBody =
|
|
57
|
-
* await client.wallets.
|
|
86
|
+
* await client.wallets.export('wallet_id', {
|
|
58
87
|
* encryption_type: 'HPKE',
|
|
59
88
|
* recipient_public_key:
|
|
60
89
|
* 'BDAZLOIdTaPycEYkgG0MvCzbIKJLli/yWkAV5yCa9yOsZ4JsrLweA5MnP8YIiY4k/RRzC+APhhO+P+Hoz/rt7Go=',
|
|
61
90
|
* });
|
|
62
91
|
* ```
|
|
63
92
|
*/
|
|
64
|
-
|
|
93
|
+
export(walletID, params, options) {
|
|
65
94
|
const { 'privy-authorization-signature': privyAuthorizationSignature, 'privy-request-expiry': privyRequestExpiry, ...body } = params;
|
|
66
95
|
return this._client.post(path `/v1/wallets/${walletID}/export`, {
|
|
67
96
|
body,
|
|
@@ -78,28 +107,22 @@ export class Wallets extends APIResource {
|
|
|
78
107
|
});
|
|
79
108
|
}
|
|
80
109
|
/**
|
|
81
|
-
*
|
|
110
|
+
* Get a wallet by wallet ID.
|
|
82
111
|
*
|
|
83
112
|
* @example
|
|
84
113
|
* ```ts
|
|
85
|
-
* const
|
|
86
|
-
* address: 'address',
|
|
87
|
-
* chain_type: 'ethereum',
|
|
88
|
-
* encryption_type: 'HPKE',
|
|
89
|
-
* entropy_type: 'hd',
|
|
90
|
-
* index: 0,
|
|
91
|
-
* });
|
|
114
|
+
* const wallet = await client.wallets.get('wallet_id');
|
|
92
115
|
* ```
|
|
93
116
|
*/
|
|
94
|
-
|
|
95
|
-
return this._client.
|
|
117
|
+
get(walletID, options) {
|
|
118
|
+
return this._client.get(path `/v1/wallets/${walletID}`, options);
|
|
96
119
|
}
|
|
97
120
|
/**
|
|
98
121
|
* Sign a message with a wallet by wallet ID.
|
|
99
122
|
*
|
|
100
123
|
* @example
|
|
101
124
|
* ```ts
|
|
102
|
-
* const rawSignResponse = await client.wallets.
|
|
125
|
+
* const rawSignResponse = await client.wallets.rawSign(
|
|
103
126
|
* 'wallet_id',
|
|
104
127
|
* {
|
|
105
128
|
* params: {
|
|
@@ -112,7 +135,7 @@ export class Wallets extends APIResource {
|
|
|
112
135
|
* );
|
|
113
136
|
* ```
|
|
114
137
|
*/
|
|
115
|
-
|
|
138
|
+
rawSign(walletID, params, options) {
|
|
116
139
|
const { 'privy-authorization-signature': privyAuthorizationSignature, 'privy-idempotency-key': privyIdempotencyKey, 'privy-request-expiry': privyRequestExpiry, ...body } = params;
|
|
117
140
|
return this._client.post(path `/v1/wallets/${walletID}/raw_sign`, {
|
|
118
141
|
body,
|
|
@@ -134,7 +157,7 @@ export class Wallets extends APIResource {
|
|
|
134
157
|
*
|
|
135
158
|
* @example
|
|
136
159
|
* ```ts
|
|
137
|
-
* const walletRpcResponse = await client.wallets.
|
|
160
|
+
* const walletRpcResponse = await client.wallets.rpc(
|
|
138
161
|
* 'wallet_id',
|
|
139
162
|
* {
|
|
140
163
|
* method: 'eth_sendTransaction',
|
|
@@ -149,7 +172,7 @@ export class Wallets extends APIResource {
|
|
|
149
172
|
* );
|
|
150
173
|
* ```
|
|
151
174
|
*/
|
|
152
|
-
|
|
175
|
+
rpc(walletID, params, options) {
|
|
153
176
|
const { 'privy-authorization-signature': privyAuthorizationSignature, 'privy-idempotency-key': privyIdempotencyKey, 'privy-request-expiry': privyRequestExpiry, ...body } = params;
|
|
154
177
|
return this._client.post(path `/v1/wallets/${walletID}/rpc`, {
|
|
155
178
|
body,
|
|
@@ -166,91 +189,7 @@ export class Wallets extends APIResource {
|
|
|
166
189
|
]),
|
|
167
190
|
});
|
|
168
191
|
}
|
|
169
|
-
/**
|
|
170
|
-
* Submit a wallet import request.
|
|
171
|
-
*
|
|
172
|
-
* @example
|
|
173
|
-
* ```ts
|
|
174
|
-
* const wallet = await client.wallets._submitImport({
|
|
175
|
-
* wallet: {
|
|
176
|
-
* address: '0xF1DBff66C993EE895C8cb176c30b07A559d76496',
|
|
177
|
-
* chain_type: 'ethereum',
|
|
178
|
-
* ciphertext:
|
|
179
|
-
* 'PRoRXygG+YYSDBXjCopNYZmx8Z6nvdl1D0lpePTYZdZI2VGfK+LkFt+GlEJqdoi9',
|
|
180
|
-
* encapsulated_key:
|
|
181
|
-
* 'BOhR6xITDt5THJawHHJKrKdI9CBr2M/SDWzZZAaOW4gCMsSpC65U007WyKiwuuOVAo1BNm4YgcBBROuMmyIZXZk=',
|
|
182
|
-
* encryption_type: 'HPKE',
|
|
183
|
-
* entropy_type: 'private-key',
|
|
184
|
-
* },
|
|
185
|
-
* });
|
|
186
|
-
* ```
|
|
187
|
-
*/
|
|
188
|
-
_submitImport(body, options) {
|
|
189
|
-
return this._client.post('/v1/wallets/import/submit', { body, ...options });
|
|
190
|
-
}
|
|
191
|
-
/**
|
|
192
|
-
* Update a wallet's policies or authorization key configuration.
|
|
193
|
-
*
|
|
194
|
-
* @example
|
|
195
|
-
* ```ts
|
|
196
|
-
* const wallet = await client.wallets._update('wallet_id', {
|
|
197
|
-
* policy_ids: ['tb54eps4z44ed0jepousxi4n'],
|
|
198
|
-
* });
|
|
199
|
-
* ```
|
|
200
|
-
*/
|
|
201
|
-
_update(walletID, params, options) {
|
|
202
|
-
const { 'privy-authorization-signature': privyAuthorizationSignature, 'privy-request-expiry': privyRequestExpiry, ...body } = params;
|
|
203
|
-
return this._client.patch(path `/v1/wallets/${walletID}`, {
|
|
204
|
-
body,
|
|
205
|
-
...options,
|
|
206
|
-
headers: buildHeaders([
|
|
207
|
-
{
|
|
208
|
-
...(privyAuthorizationSignature != null ?
|
|
209
|
-
{ 'privy-authorization-signature': privyAuthorizationSignature }
|
|
210
|
-
: undefined),
|
|
211
|
-
...(privyRequestExpiry != null ? { 'privy-request-expiry': privyRequestExpiry } : undefined),
|
|
212
|
-
},
|
|
213
|
-
options?.headers,
|
|
214
|
-
]),
|
|
215
|
-
});
|
|
216
|
-
}
|
|
217
|
-
/**
|
|
218
|
-
* Obtain a session key to enable wallet access.
|
|
219
|
-
*
|
|
220
|
-
* @example
|
|
221
|
-
* ```ts
|
|
222
|
-
* const response = await client.wallets.authenticateWithJwt({
|
|
223
|
-
* encryption_type: 'HPKE',
|
|
224
|
-
* recipient_public_key:
|
|
225
|
-
* 'DAQcDQgAEx4aoeD72yykviK+fckqE2CItVIGn1rCnvCXZ1HgpOcMEMialRmTrqIK4oZlYd1',
|
|
226
|
-
* user_jwt:
|
|
227
|
-
* 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWUsImlhdCI6MTUxNjIzOTAyMn0.KMUFsIDTnFmyG3nMiGM6H9FNFUROf3wh7SmqJp-QV30',
|
|
228
|
-
* });
|
|
229
|
-
* ```
|
|
230
|
-
*/
|
|
231
|
-
authenticateWithJwt(body, options) {
|
|
232
|
-
return this._client.post('/v1/wallets/authenticate', { body, ...options });
|
|
233
|
-
}
|
|
234
|
-
/**
|
|
235
|
-
* Create wallets with an associated recovery user.
|
|
236
|
-
*
|
|
237
|
-
* @deprecated
|
|
238
|
-
*/
|
|
239
|
-
createWalletsWithRecovery(body, options) {
|
|
240
|
-
return this._client.post('/v1/wallets_with_recovery', { body, ...options });
|
|
241
|
-
}
|
|
242
|
-
/**
|
|
243
|
-
* Get a wallet by wallet ID.
|
|
244
|
-
*
|
|
245
|
-
* @example
|
|
246
|
-
* ```ts
|
|
247
|
-
* const wallet = await client.wallets.get('wallet_id');
|
|
248
|
-
* ```
|
|
249
|
-
*/
|
|
250
|
-
get(walletID, options) {
|
|
251
|
-
return this._client.get(path `/v1/wallets/${walletID}`, options);
|
|
252
|
-
}
|
|
253
192
|
}
|
|
254
|
-
Wallets.Transactions = Transactions;
|
|
255
193
|
Wallets.Balance = Balance;
|
|
194
|
+
Wallets.Transactions = Transactions;
|
|
256
195
|
//# sourceMappingURL=wallets.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wallets.mjs","sourceRoot":"","sources":["../../src/resources/wallets/wallets.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;
|
|
1
|
+
{"version":3,"file":"wallets.mjs","sourceRoot":"","sources":["../../src/resources/wallets/w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