@privy-io/api-types 0.9.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 +46 -0
- package/client.d.mts +40 -43
- package/client.d.mts.map +1 -1
- package/client.d.ts +40 -43
- package/client.d.ts.map +1 -1
- package/client.js +28 -20
- package/client.js.map +1 -1
- package/client.mjs +29 -21
- package/client.mjs.map +1 -1
- package/internal/types.d.mts +6 -6
- package/internal/types.d.mts.map +1 -1
- package/internal/types.d.ts +6 -6
- package/internal/types.d.ts.map +1 -1
- package/package.json +1 -1
- package/resources/accounts.d.mts +128 -86
- package/resources/accounts.d.mts.map +1 -1
- package/resources/accounts.d.ts +128 -86
- package/resources/accounts.d.ts.map +1 -1
- package/resources/aggregations.d.mts +43 -43
- package/resources/aggregations.d.mts.map +1 -1
- package/resources/aggregations.d.ts +43 -43
- package/resources/aggregations.d.ts.map +1 -1
- package/resources/apps.d.mts +169 -135
- package/resources/apps.d.mts.map +1 -1
- package/resources/apps.d.ts +169 -135
- package/resources/apps.d.ts.map +1 -1
- package/resources/client-auth.d.mts +931 -947
- package/resources/client-auth.d.mts.map +1 -1
- package/resources/client-auth.d.ts +931 -947
- 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 +122 -122
- package/resources/embedded-wallets.d.mts.map +1 -1
- package/resources/embedded-wallets.d.ts +122 -122
- 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 +86 -86
- package/resources/funding.d.mts.map +1 -1
- package/resources/funding.d.ts +86 -86
- package/resources/funding.d.ts.map +1 -1
- package/resources/index.d.mts +20 -18
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +20 -18
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +5 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +3 -1
- package/resources/index.mjs.map +1 -1
- package/resources/intents.d.mts +269 -265
- package/resources/intents.d.mts.map +1 -1
- package/resources/intents.d.ts +269 -265
- package/resources/intents.d.ts.map +1 -1
- package/resources/key-quorums.d.mts +15 -146
- package/resources/key-quorums.d.mts.map +1 -1
- package/resources/key-quorums.d.ts +15 -146
- 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/kraken-embed.d.mts +12 -20
- package/resources/kraken-embed.d.mts.map +1 -1
- package/resources/kraken-embed.d.ts +12 -20
- package/resources/kraken-embed.d.ts.map +1 -1
- package/resources/organizations.d.mts +65 -0
- package/resources/organizations.d.mts.map +1 -0
- package/resources/organizations.d.ts +65 -0
- package/resources/organizations.d.ts.map +1 -0
- package/resources/organizations.js +9 -0
- package/resources/organizations.js.map +1 -0
- package/resources/organizations.mjs +5 -0
- package/resources/organizations.mjs.map +1 -0
- package/resources/policies.d.mts +261 -553
- package/resources/policies.d.mts.map +1 -1
- package/resources/policies.d.ts +261 -553
- 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/shared.d.mts +28 -28
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +28 -28
- package/resources/shared.d.ts.map +1 -1
- package/resources/swaps.d.mts +6 -9
- package/resources/swaps.d.mts.map +1 -1
- package/resources/swaps.d.ts +6 -9
- package/resources/swaps.d.ts.map +1 -1
- package/resources/swaps.js.map +1 -1
- package/resources/swaps.mjs.map +1 -1
- package/resources/transactions.d.mts +80 -96
- package/resources/transactions.d.mts.map +1 -1
- package/resources/transactions.d.ts +80 -96
- 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 +480 -815
- package/resources/users.d.mts.map +1 -1
- package/resources/users.d.ts +480 -815
- 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 +302 -145
- package/resources/wallet-actions.d.mts.map +1 -1
- package/resources/wallet-actions.d.ts +302 -145
- 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 +7 -2
- package/resources/wallets/transactions.d.mts.map +1 -1
- package/resources/wallets/transactions.d.ts +7 -2
- package/resources/wallets/transactions.d.ts.map +1 -1
- package/resources/wallets/transactions.js +1 -1
- package/resources/wallets/transactions.mjs +1 -1
- package/resources/wallets/wallets.d.mts +1592 -1580
- package/resources/wallets/wallets.d.mts.map +1 -1
- package/resources/wallets/wallets.d.ts +1592 -1580
- package/resources/wallets/wallets.d.ts.map +1 -1
- package/resources/wallets/wallets.js +45 -103
- package/resources/wallets/wallets.js.map +1 -1
- package/resources/wallets/wallets.mjs +45 -103
- package/resources/wallets/wallets.mjs.map +1 -1
- package/resources/webhooks.d.mts +935 -877
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +935 -877
- package/resources/webhooks.d.ts.map +1 -1
- package/resources/yield.d.mts +157 -157
- package/resources/yield.d.mts.map +1 -1
- package/resources/yield.d.ts +157 -157
- package/resources/yield.d.ts.map +1 -1
- package/src/client.ts +650 -618
- package/src/internal/types.ts +6 -8
- package/src/resources/accounts.ts +157 -103
- package/src/resources/aggregations.ts +55 -55
- package/src/resources/apps.ts +221 -178
- package/src/resources/client-auth.ts +1271 -1315
- package/src/resources/embedded-wallets.ts +160 -160
- package/src/resources/fiat.ts +177 -0
- package/src/resources/funding.ts +130 -130
- package/src/resources/index.ts +551 -542
- package/src/resources/intents.ts +326 -322
- package/src/resources/key-quorums.ts +16 -218
- package/src/resources/kraken-embed.ts +14 -22
- package/src/resources/organizations.ts +82 -0
- package/src/resources/policies.ts +383 -848
- package/src/resources/shared.ts +34 -34
- package/src/resources/swaps.ts +5 -10
- package/src/resources/transactions.ts +116 -136
- package/src/resources/users.ts +693 -1160
- package/src/resources/wallet-actions.ts +392 -185
- package/src/resources/wallets/index.ts +160 -156
- package/src/resources/wallets/transactions.ts +18 -3
- package/src/resources/wallets/wallets.ts +2123 -2113
- package/src/resources/webhooks.ts +1172 -1100
- package/src/resources/yield.ts +188 -188
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.mts.map +1 -1
- package/version.d.ts +1 -1
- package/version.d.ts.map +1 -1
- package/version.js +1 -1
- package/version.js.map +1 -1
- package/version.mjs +1 -1
- package/version.mjs.map +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,38 +107,35 @@ 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: {
|
|
106
|
-
*
|
|
129
|
+
* bytes:
|
|
130
|
+
* '0a0234ea220809701d7a17a77e04408093e981a6335a66080112620a2d747970652e676f6f676c65617069732e636f6d2f70726f746f636f6c2e5472616e73666572436f6e747261637412310a15417009bf59e27d2031a23a61e1590289fc3d21b3cd121541132b98ed6fb80a2d45f177cdef091ae2d9dc115418e80770a0bee581a633',
|
|
131
|
+
* encoding: 'hex',
|
|
132
|
+
* hash_function: 'sha256',
|
|
107
133
|
* },
|
|
108
134
|
* },
|
|
109
135
|
* );
|
|
110
136
|
* ```
|
|
111
137
|
*/
|
|
112
|
-
|
|
138
|
+
rawSign(walletID, params, options) {
|
|
113
139
|
const { 'privy-authorization-signature': privyAuthorizationSignature, 'privy-idempotency-key': privyIdempotencyKey, 'privy-request-expiry': privyRequestExpiry, ...body } = params;
|
|
114
140
|
return this._client.post(path `/v1/wallets/${walletID}/raw_sign`, {
|
|
115
141
|
body,
|
|
@@ -131,7 +157,7 @@ export class Wallets extends APIResource {
|
|
|
131
157
|
*
|
|
132
158
|
* @example
|
|
133
159
|
* ```ts
|
|
134
|
-
* const walletRpcResponse = await client.wallets.
|
|
160
|
+
* const walletRpcResponse = await client.wallets.rpc(
|
|
135
161
|
* 'wallet_id',
|
|
136
162
|
* {
|
|
137
163
|
* method: 'eth_sendTransaction',
|
|
@@ -146,7 +172,7 @@ export class Wallets extends APIResource {
|
|
|
146
172
|
* );
|
|
147
173
|
* ```
|
|
148
174
|
*/
|
|
149
|
-
|
|
175
|
+
rpc(walletID, params, options) {
|
|
150
176
|
const { 'privy-authorization-signature': privyAuthorizationSignature, 'privy-idempotency-key': privyIdempotencyKey, 'privy-request-expiry': privyRequestExpiry, ...body } = params;
|
|
151
177
|
return this._client.post(path `/v1/wallets/${walletID}/rpc`, {
|
|
152
178
|
body,
|
|
@@ -163,91 +189,7 @@ export class Wallets extends APIResource {
|
|
|
163
189
|
]),
|
|
164
190
|
});
|
|
165
191
|
}
|
|
166
|
-
/**
|
|
167
|
-
* Submit a wallet import request.
|
|
168
|
-
*
|
|
169
|
-
* @example
|
|
170
|
-
* ```ts
|
|
171
|
-
* const wallet = await client.wallets._submitImport({
|
|
172
|
-
* wallet: {
|
|
173
|
-
* address: '0xF1DBff66C993EE895C8cb176c30b07A559d76496',
|
|
174
|
-
* chain_type: 'ethereum',
|
|
175
|
-
* ciphertext:
|
|
176
|
-
* 'PRoRXygG+YYSDBXjCopNYZmx8Z6nvdl1D0lpePTYZdZI2VGfK+LkFt+GlEJqdoi9',
|
|
177
|
-
* encapsulated_key:
|
|
178
|
-
* 'BOhR6xITDt5THJawHHJKrKdI9CBr2M/SDWzZZAaOW4gCMsSpC65U007WyKiwuuOVAo1BNm4YgcBBROuMmyIZXZk=',
|
|
179
|
-
* encryption_type: 'HPKE',
|
|
180
|
-
* entropy_type: 'private-key',
|
|
181
|
-
* },
|
|
182
|
-
* });
|
|
183
|
-
* ```
|
|
184
|
-
*/
|
|
185
|
-
_submitImport(body, options) {
|
|
186
|
-
return this._client.post('/v1/wallets/import/submit', { body, ...options });
|
|
187
|
-
}
|
|
188
|
-
/**
|
|
189
|
-
* Update a wallet's policies or authorization key configuration.
|
|
190
|
-
*
|
|
191
|
-
* @example
|
|
192
|
-
* ```ts
|
|
193
|
-
* const wallet = await client.wallets._update('wallet_id', {
|
|
194
|
-
* policy_ids: ['tb54eps4z44ed0jepousxi4n'],
|
|
195
|
-
* });
|
|
196
|
-
* ```
|
|
197
|
-
*/
|
|
198
|
-
_update(walletID, params, options) {
|
|
199
|
-
const { 'privy-authorization-signature': privyAuthorizationSignature, 'privy-request-expiry': privyRequestExpiry, ...body } = params;
|
|
200
|
-
return this._client.patch(path `/v1/wallets/${walletID}`, {
|
|
201
|
-
body,
|
|
202
|
-
...options,
|
|
203
|
-
headers: buildHeaders([
|
|
204
|
-
{
|
|
205
|
-
...(privyAuthorizationSignature != null ?
|
|
206
|
-
{ 'privy-authorization-signature': privyAuthorizationSignature }
|
|
207
|
-
: undefined),
|
|
208
|
-
...(privyRequestExpiry != null ? { 'privy-request-expiry': privyRequestExpiry } : undefined),
|
|
209
|
-
},
|
|
210
|
-
options?.headers,
|
|
211
|
-
]),
|
|
212
|
-
});
|
|
213
|
-
}
|
|
214
|
-
/**
|
|
215
|
-
* Obtain a session key to enable wallet access.
|
|
216
|
-
*
|
|
217
|
-
* @example
|
|
218
|
-
* ```ts
|
|
219
|
-
* const response = await client.wallets.authenticateWithJwt({
|
|
220
|
-
* encryption_type: 'HPKE',
|
|
221
|
-
* recipient_public_key:
|
|
222
|
-
* 'DAQcDQgAEx4aoeD72yykviK+fckqE2CItVIGn1rCnvCXZ1HgpOcMEMialRmTrqIK4oZlYd1',
|
|
223
|
-
* user_jwt:
|
|
224
|
-
* 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWUsImlhdCI6MTUxNjIzOTAyMn0.KMUFsIDTnFmyG3nMiGM6H9FNFUROf3wh7SmqJp-QV30',
|
|
225
|
-
* });
|
|
226
|
-
* ```
|
|
227
|
-
*/
|
|
228
|
-
authenticateWithJwt(body, options) {
|
|
229
|
-
return this._client.post('/v1/wallets/authenticate', { body, ...options });
|
|
230
|
-
}
|
|
231
|
-
/**
|
|
232
|
-
* Create wallets with an associated recovery user.
|
|
233
|
-
*
|
|
234
|
-
* @deprecated
|
|
235
|
-
*/
|
|
236
|
-
createWalletsWithRecovery(body, options) {
|
|
237
|
-
return this._client.post('/v1/wallets_with_recovery', { body, ...options });
|
|
238
|
-
}
|
|
239
|
-
/**
|
|
240
|
-
* Get a wallet by wallet ID.
|
|
241
|
-
*
|
|
242
|
-
* @example
|
|
243
|
-
* ```ts
|
|
244
|
-
* const wallet = await client.wallets.get('wallet_id');
|
|
245
|
-
* ```
|
|
246
|
-
*/
|
|
247
|
-
get(walletID, options) {
|
|
248
|
-
return this._client.get(path `/v1/wallets/${walletID}`, options);
|
|
249
|
-
}
|
|
250
192
|
}
|
|
251
|
-
Wallets.Transactions = Transactions;
|
|
252
193
|
Wallets.Balance = Balance;
|
|
194
|
+
Wallets.Transactions = Transactions;
|
|
253
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/wallets.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAIf,KAAK,UAAU;OACf,EAAE,OAAO,EAAwC;OACjD,KAAK,eAAe;OACpB,EAAgD,YAAY,EAAE;OAE9D,EAAE,MAAM,EAAkC;OAC1C,EAAE,YAAY,EAAE;OAEhB,EAAE,IAAI,EAAE;AAEf;;GAEG;AACH,MAAM,OAAO,OAAQ,SAAQ,WAAW;IAAxC;;QACE,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACnE,iBAAY,GAAiC,IAAI,eAAe,CAAC,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAkN9F,CAAC;IAhNC;;;;;;;;;OASG;IACH,MAAM,CAAC,MAA0B,EAAE,OAAwB;QACzD,MAAM,EAAE,uBAAuB,EAAE,mBAAmB,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACzE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,aAAa,EAAE;YACtC,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC;gBACpB,EAAE,GAAG,CAAC,mBAAmB,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,uBAAuB,EAAE,mBAAmB,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,EAAE;gBACnG,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;OASG;IACH,MAAM,CAAC,QAAgB,EAAE,MAA0B,EAAE,OAAwB;QAC3E,MAAM,EACJ,+BAA+B,EAAE,2BAA2B,EAC5D,sBAAsB,EAAE,kBAAkB,EAC1C,GAAG,IAAI,EACR,GAAG,MAA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