@dynamic-labs-wallet/node-svm 0.0.0-beta.250.1 → 0.0.0-beta.254.1

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/index.cjs.js CHANGED
@@ -61,7 +61,7 @@ class DynamicSvmWalletClient extends node.DynamicWalletClient {
61
61
  *
62
62
  * @param thresholdSignatureScheme The threshold signature scheme to use
63
63
  * @returns The account address, public key hex, raw public key, and client key shares
64
- */ async createWalletAccount({ thresholdSignatureScheme, password = undefined, onError }) {
64
+ */ async createWalletAccount({ thresholdSignatureScheme, password = undefined, onError, signedSessionId }) {
65
65
  try {
66
66
  let ceremonyCeremonyCompleteResolver;
67
67
  const ceremonyCompletePromise = new Promise((resolve)=>{
@@ -92,8 +92,8 @@ class DynamicSvmWalletClient extends node.DynamicWalletClient {
92
92
  });
93
93
  // Wait for the ceremony to complete before proceeding
94
94
  await ceremonyCompletePromise;
95
- if (!rawPublicKey || !(rawPublicKey instanceof Uint8Array)) {
96
- throw new Error('Raw public key is not a Uint8Array');
95
+ if (!rawPublicKey || !(rawPublicKey instanceof Uint8Array || typeof rawPublicKey === 'string')) {
96
+ throw new Error('Raw public key is not a Uint8Array or string' + typeof rawPublicKey);
97
97
  }
98
98
  if (!externalServerKeyShares) {
99
99
  throw new Error('Error creating wallet account');
@@ -102,11 +102,12 @@ class DynamicSvmWalletClient extends node.DynamicWalletClient {
102
102
  await this.storeEncryptedBackupByWalletWithRetry({
103
103
  accountAddress,
104
104
  externalServerKeyShares,
105
- password
105
+ password,
106
+ signedSessionId
106
107
  });
107
108
  return {
108
109
  accountAddress,
109
- rawPublicKey: rawPublicKey,
110
+ rawPublicKey,
110
111
  externalServerKeyShares
111
112
  };
112
113
  } catch (error) {
@@ -116,9 +117,10 @@ class DynamicSvmWalletClient extends node.DynamicWalletClient {
116
117
  }
117
118
  // Function to properly derive account address
118
119
  async deriveAccountAddress(rawPublicKey) {
119
- const pubKey = new web3_js.PublicKey(rawPublicKey);
120
- const fromKey = pubKey.toBase58();
121
- const accountAddress = fromKey;
120
+ const pubKeyBytes = typeof rawPublicKey === 'string' ? Buffer.from(rawPublicKey, 'hex') : rawPublicKey;
121
+ // Create PublicKey from bytes and convert to base58
122
+ const pubKey = new web3_js.PublicKey(pubKeyBytes);
123
+ const accountAddress = pubKey.toBase58();
122
124
  return {
123
125
  accountAddress
124
126
  };
@@ -129,11 +131,12 @@ class DynamicSvmWalletClient extends node.DynamicWalletClient {
129
131
  * @param message The message to sign (Uint8Array)
130
132
  * @param accountAddress Solana address (base58 encoded)
131
133
  * @param password The password for encrypted backup shares
132
- */ async signMessage({ message, accountAddress, password = undefined }) {
134
+ */ async signMessage({ message, accountAddress, password = undefined, signedSessionId, externalServerKeyShares }) {
133
135
  await this.verifyPassword({
134
136
  accountAddress,
135
137
  password,
136
- walletOperation: node.WalletOperation.SIGN_MESSAGE
138
+ walletOperation: node.WalletOperation.SIGN_MESSAGE,
139
+ signedSessionId
137
140
  });
138
141
  if (!accountAddress) {
139
142
  throw new Error('Account address is required');
@@ -143,8 +146,11 @@ class DynamicSvmWalletClient extends node.DynamicWalletClient {
143
146
  message,
144
147
  accountAddress: accountAddress,
145
148
  chainName: this.chainName,
146
- password
149
+ password,
150
+ signedSessionId,
151
+ externalServerKeyShares
147
152
  });
153
+ // Use PublicKey to encode signature
148
154
  const base58Signature = new web3_js.PublicKey(signatureEd25519).toBase58();
149
155
  return base58Signature;
150
156
  } catch (error) {
@@ -152,11 +158,13 @@ class DynamicSvmWalletClient extends node.DynamicWalletClient {
152
158
  throw error;
153
159
  }
154
160
  }
155
- async signTransaction({ senderAddress, transaction, password = undefined }) {
161
+ //todo:should txn just be a string?
162
+ async signTransaction({ senderAddress, transaction, password = undefined, signedSessionId, externalServerKeyShares }) {
156
163
  await this.verifyPassword({
157
164
  accountAddress: senderAddress,
158
165
  password,
159
- walletOperation: node.WalletOperation.SIGN_TRANSACTION
166
+ walletOperation: node.WalletOperation.SIGN_TRANSACTION,
167
+ signedSessionId
160
168
  });
161
169
  try {
162
170
  let messageToSign;
@@ -173,7 +181,9 @@ class DynamicSvmWalletClient extends node.DynamicWalletClient {
173
181
  message: messageToSign,
174
182
  accountAddress: senderAddress,
175
183
  chainName: this.chainName,
176
- password
184
+ password,
185
+ signedSessionId,
186
+ externalServerKeyShares
177
187
  });
178
188
  if (!signatureEd25519) {
179
189
  throw new Error('Signature is undefined');
@@ -199,19 +209,18 @@ class DynamicSvmWalletClient extends node.DynamicWalletClient {
199
209
  * @param accountAddress The account address to export the private key for
200
210
  * @param password The password for encrypted backup shares
201
211
  * @returns The private key
202
- */ async exportPrivateKey({ accountAddress, password = undefined }) {
212
+ */ async exportPrivateKey({ accountAddress, password = undefined, signedSessionId, externalServerKeyShares }) {
203
213
  const { derivedPrivateKey } = await this.exportKey({
204
214
  accountAddress,
205
215
  chainName: this.chainName,
206
- password
216
+ password,
217
+ signedSessionId,
218
+ externalServerKeyShares
207
219
  });
208
220
  if (!derivedPrivateKey) {
209
221
  throw new Error('Derived private key is undefined');
210
222
  }
211
- const encodedPrivateKey = new web3_js.PublicKey(derivedPrivateKey).toBase58();
212
- return {
213
- derivedPrivateKey: encodedPrivateKey
214
- };
223
+ return derivedPrivateKey;
215
224
  }
216
225
  /**
217
226
  * Exports the private key for a given account address
@@ -234,20 +243,18 @@ class DynamicSvmWalletClient extends node.DynamicWalletClient {
234
243
  * @param privateKey The private key to convert
235
244
  * @returns The hex string
236
245
  */ decodePrivateKeyForSolana(privateKey) {
237
- const decoded = new web3_js.PublicKey(privateKey).toBase58();
246
+ const decoded = new web3_js.PublicKey(privateKey).toBuffer();
238
247
  const slicedBytes = decoded.slice(0, 32);
239
248
  return Buffer.from(slicedBytes).toString('hex');
240
249
  }
241
250
  getPublicKeyFromPrivateKey(privateKey) {
242
- const privateKeyBytes = new web3_js.PublicKey(privateKey).toBase58();
243
- const keypair = web3_js.Keypair.fromSecretKey(Buffer.from(privateKeyBytes));
251
+ const privateKeyBytes = new web3_js.PublicKey(privateKey).toBuffer();
252
+ const keypair = web3_js.Keypair.fromSecretKey(privateKeyBytes);
244
253
  const publicKeyBase58 = keypair.publicKey.toBase58();
245
254
  return publicKeyBase58;
246
255
  }
247
256
  encodePublicKey(publicKey) {
248
- const pubKey = new web3_js.PublicKey(publicKey);
249
- const fromKey = pubKey.toBase58();
250
- return fromKey;
257
+ return new web3_js.PublicKey(publicKey).toBase58();
251
258
  }
252
259
  /**
253
260
  * Imports the private key for a given account address
@@ -257,7 +264,7 @@ class DynamicSvmWalletClient extends node.DynamicWalletClient {
257
264
  * @param thresholdSignatureScheme The threshold signature scheme to use
258
265
  * @param password The password for encrypted backup shares
259
266
  * @returns The account address, raw public key, and client key shares
260
- */ async importPrivateKey({ privateKey, chainName, thresholdSignatureScheme, password = undefined, onError }) {
267
+ */ async importPrivateKey({ privateKey, chainName, thresholdSignatureScheme, password = undefined, onError, signedSessionId }) {
261
268
  let ceremonyCeremonyCompleteResolver;
262
269
  const ceremonyCompletePromise = new Promise((resolve)=>{
263
270
  ceremonyCeremonyCompleteResolver = resolve;
@@ -294,7 +301,8 @@ class DynamicSvmWalletClient extends node.DynamicWalletClient {
294
301
  await this.storeEncryptedBackupByWalletWithRetry({
295
302
  accountAddress,
296
303
  externalServerKeyShares,
297
- password
304
+ password,
305
+ signedSessionId
298
306
  });
299
307
  return {
300
308
  accountAddress,
package/index.esm.js CHANGED
@@ -59,7 +59,7 @@ class DynamicSvmWalletClient extends DynamicWalletClient {
59
59
  *
60
60
  * @param thresholdSignatureScheme The threshold signature scheme to use
61
61
  * @returns The account address, public key hex, raw public key, and client key shares
62
- */ async createWalletAccount({ thresholdSignatureScheme, password = undefined, onError }) {
62
+ */ async createWalletAccount({ thresholdSignatureScheme, password = undefined, onError, signedSessionId }) {
63
63
  try {
64
64
  let ceremonyCeremonyCompleteResolver;
65
65
  const ceremonyCompletePromise = new Promise((resolve)=>{
@@ -90,8 +90,8 @@ class DynamicSvmWalletClient extends DynamicWalletClient {
90
90
  });
91
91
  // Wait for the ceremony to complete before proceeding
92
92
  await ceremonyCompletePromise;
93
- if (!rawPublicKey || !(rawPublicKey instanceof Uint8Array)) {
94
- throw new Error('Raw public key is not a Uint8Array');
93
+ if (!rawPublicKey || !(rawPublicKey instanceof Uint8Array || typeof rawPublicKey === 'string')) {
94
+ throw new Error('Raw public key is not a Uint8Array or string' + typeof rawPublicKey);
95
95
  }
96
96
  if (!externalServerKeyShares) {
97
97
  throw new Error('Error creating wallet account');
@@ -100,11 +100,12 @@ class DynamicSvmWalletClient extends DynamicWalletClient {
100
100
  await this.storeEncryptedBackupByWalletWithRetry({
101
101
  accountAddress,
102
102
  externalServerKeyShares,
103
- password
103
+ password,
104
+ signedSessionId
104
105
  });
105
106
  return {
106
107
  accountAddress,
107
- rawPublicKey: rawPublicKey,
108
+ rawPublicKey,
108
109
  externalServerKeyShares
109
110
  };
110
111
  } catch (error) {
@@ -114,9 +115,10 @@ class DynamicSvmWalletClient extends DynamicWalletClient {
114
115
  }
115
116
  // Function to properly derive account address
116
117
  async deriveAccountAddress(rawPublicKey) {
117
- const pubKey = new PublicKey(rawPublicKey);
118
- const fromKey = pubKey.toBase58();
119
- const accountAddress = fromKey;
118
+ const pubKeyBytes = typeof rawPublicKey === 'string' ? Buffer.from(rawPublicKey, 'hex') : rawPublicKey;
119
+ // Create PublicKey from bytes and convert to base58
120
+ const pubKey = new PublicKey(pubKeyBytes);
121
+ const accountAddress = pubKey.toBase58();
120
122
  return {
121
123
  accountAddress
122
124
  };
@@ -127,11 +129,12 @@ class DynamicSvmWalletClient extends DynamicWalletClient {
127
129
  * @param message The message to sign (Uint8Array)
128
130
  * @param accountAddress Solana address (base58 encoded)
129
131
  * @param password The password for encrypted backup shares
130
- */ async signMessage({ message, accountAddress, password = undefined }) {
132
+ */ async signMessage({ message, accountAddress, password = undefined, signedSessionId, externalServerKeyShares }) {
131
133
  await this.verifyPassword({
132
134
  accountAddress,
133
135
  password,
134
- walletOperation: WalletOperation.SIGN_MESSAGE
136
+ walletOperation: WalletOperation.SIGN_MESSAGE,
137
+ signedSessionId
135
138
  });
136
139
  if (!accountAddress) {
137
140
  throw new Error('Account address is required');
@@ -141,8 +144,11 @@ class DynamicSvmWalletClient extends DynamicWalletClient {
141
144
  message,
142
145
  accountAddress: accountAddress,
143
146
  chainName: this.chainName,
144
- password
147
+ password,
148
+ signedSessionId,
149
+ externalServerKeyShares
145
150
  });
151
+ // Use PublicKey to encode signature
146
152
  const base58Signature = new PublicKey(signatureEd25519).toBase58();
147
153
  return base58Signature;
148
154
  } catch (error) {
@@ -150,11 +156,13 @@ class DynamicSvmWalletClient extends DynamicWalletClient {
150
156
  throw error;
151
157
  }
152
158
  }
153
- async signTransaction({ senderAddress, transaction, password = undefined }) {
159
+ //todo:should txn just be a string?
160
+ async signTransaction({ senderAddress, transaction, password = undefined, signedSessionId, externalServerKeyShares }) {
154
161
  await this.verifyPassword({
155
162
  accountAddress: senderAddress,
156
163
  password,
157
- walletOperation: WalletOperation.SIGN_TRANSACTION
164
+ walletOperation: WalletOperation.SIGN_TRANSACTION,
165
+ signedSessionId
158
166
  });
159
167
  try {
160
168
  let messageToSign;
@@ -171,7 +179,9 @@ class DynamicSvmWalletClient extends DynamicWalletClient {
171
179
  message: messageToSign,
172
180
  accountAddress: senderAddress,
173
181
  chainName: this.chainName,
174
- password
182
+ password,
183
+ signedSessionId,
184
+ externalServerKeyShares
175
185
  });
176
186
  if (!signatureEd25519) {
177
187
  throw new Error('Signature is undefined');
@@ -197,19 +207,18 @@ class DynamicSvmWalletClient extends DynamicWalletClient {
197
207
  * @param accountAddress The account address to export the private key for
198
208
  * @param password The password for encrypted backup shares
199
209
  * @returns The private key
200
- */ async exportPrivateKey({ accountAddress, password = undefined }) {
210
+ */ async exportPrivateKey({ accountAddress, password = undefined, signedSessionId, externalServerKeyShares }) {
201
211
  const { derivedPrivateKey } = await this.exportKey({
202
212
  accountAddress,
203
213
  chainName: this.chainName,
204
- password
214
+ password,
215
+ signedSessionId,
216
+ externalServerKeyShares
205
217
  });
206
218
  if (!derivedPrivateKey) {
207
219
  throw new Error('Derived private key is undefined');
208
220
  }
209
- const encodedPrivateKey = new PublicKey(derivedPrivateKey).toBase58();
210
- return {
211
- derivedPrivateKey: encodedPrivateKey
212
- };
221
+ return derivedPrivateKey;
213
222
  }
214
223
  /**
215
224
  * Exports the private key for a given account address
@@ -232,20 +241,18 @@ class DynamicSvmWalletClient extends DynamicWalletClient {
232
241
  * @param privateKey The private key to convert
233
242
  * @returns The hex string
234
243
  */ decodePrivateKeyForSolana(privateKey) {
235
- const decoded = new PublicKey(privateKey).toBase58();
244
+ const decoded = new PublicKey(privateKey).toBuffer();
236
245
  const slicedBytes = decoded.slice(0, 32);
237
246
  return Buffer.from(slicedBytes).toString('hex');
238
247
  }
239
248
  getPublicKeyFromPrivateKey(privateKey) {
240
- const privateKeyBytes = new PublicKey(privateKey).toBase58();
241
- const keypair = Keypair.fromSecretKey(Buffer.from(privateKeyBytes));
249
+ const privateKeyBytes = new PublicKey(privateKey).toBuffer();
250
+ const keypair = Keypair.fromSecretKey(privateKeyBytes);
242
251
  const publicKeyBase58 = keypair.publicKey.toBase58();
243
252
  return publicKeyBase58;
244
253
  }
245
254
  encodePublicKey(publicKey) {
246
- const pubKey = new PublicKey(publicKey);
247
- const fromKey = pubKey.toBase58();
248
- return fromKey;
255
+ return new PublicKey(publicKey).toBase58();
249
256
  }
250
257
  /**
251
258
  * Imports the private key for a given account address
@@ -255,7 +262,7 @@ class DynamicSvmWalletClient extends DynamicWalletClient {
255
262
  * @param thresholdSignatureScheme The threshold signature scheme to use
256
263
  * @param password The password for encrypted backup shares
257
264
  * @returns The account address, raw public key, and client key shares
258
- */ async importPrivateKey({ privateKey, chainName, thresholdSignatureScheme, password = undefined, onError }) {
265
+ */ async importPrivateKey({ privateKey, chainName, thresholdSignatureScheme, password = undefined, onError, signedSessionId }) {
259
266
  let ceremonyCeremonyCompleteResolver;
260
267
  const ceremonyCompletePromise = new Promise((resolve)=>{
261
268
  ceremonyCeremonyCompleteResolver = resolve;
@@ -292,7 +299,8 @@ class DynamicSvmWalletClient extends DynamicWalletClient {
292
299
  await this.storeEncryptedBackupByWalletWithRetry({
293
300
  accountAddress,
294
301
  externalServerKeyShares,
295
- password
302
+ password,
303
+ signedSessionId
296
304
  });
297
305
  return {
298
306
  accountAddress,
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@dynamic-labs-wallet/node-svm",
3
- "version": "0.0.0-beta.250.1",
3
+ "version": "0.0.0-beta.254.1",
4
4
  "license": "MIT",
5
5
  "dependencies": {
6
- "@dynamic-labs-wallet/node": "0.0.0-beta.250.1",
6
+ "@dynamic-labs-wallet/node": "0.0.0-beta.254.1",
7
7
  "@solana/web3.js": "^1.98.2"
8
8
  },
9
9
  "publishConfig": {
@@ -15,16 +15,17 @@ export declare class DynamicSvmWalletClient extends DynamicWalletClient {
15
15
  * @param thresholdSignatureScheme The threshold signature scheme to use
16
16
  * @returns The account address, public key hex, raw public key, and client key shares
17
17
  */
18
- createWalletAccount({ thresholdSignatureScheme, password, onError, }: {
18
+ createWalletAccount({ thresholdSignatureScheme, password, onError, signedSessionId, }: {
19
19
  thresholdSignatureScheme: ThresholdSignatureScheme;
20
20
  password?: string;
21
21
  onError?: (error: Error) => void;
22
+ signedSessionId: string;
22
23
  }): Promise<{
23
24
  accountAddress: string;
24
- rawPublicKey: Uint8Array;
25
+ rawPublicKey: Uint8Array | string;
25
26
  externalServerKeyShares: ServerKeyShare[];
26
27
  }>;
27
- deriveAccountAddress(rawPublicKey: Uint8Array): Promise<{
28
+ deriveAccountAddress(rawPublicKey: string | Uint8Array): Promise<{
28
29
  accountAddress: string;
29
30
  }>;
30
31
  /**
@@ -34,15 +35,19 @@ export declare class DynamicSvmWalletClient extends DynamicWalletClient {
34
35
  * @param accountAddress Solana address (base58 encoded)
35
36
  * @param password The password for encrypted backup shares
36
37
  */
37
- signMessage({ message, accountAddress, password, }: {
38
+ signMessage({ message, accountAddress, password, signedSessionId, externalServerKeyShares, }: {
38
39
  message: string;
39
40
  accountAddress: string;
40
41
  password?: string;
42
+ signedSessionId: string;
43
+ externalServerKeyShares: ServerKeyShare[];
41
44
  }): Promise<string>;
42
- signTransaction({ senderAddress, transaction, password, }: {
45
+ signTransaction({ senderAddress, transaction, password, signedSessionId, externalServerKeyShares, }: {
43
46
  senderAddress: string;
44
47
  transaction: VersionedTransaction | Transaction;
45
48
  password?: string;
49
+ signedSessionId: string;
50
+ externalServerKeyShares: ServerKeyShare[];
46
51
  }): Promise<VersionedTransaction | Transaction>;
47
52
  /**
48
53
  * Exports the private key for a given account address
@@ -51,12 +56,12 @@ export declare class DynamicSvmWalletClient extends DynamicWalletClient {
51
56
  * @param password The password for encrypted backup shares
52
57
  * @returns The private key
53
58
  */
54
- exportPrivateKey({ accountAddress, password, }: {
59
+ exportPrivateKey({ accountAddress, password, signedSessionId, externalServerKeyShares, }: {
55
60
  accountAddress: string;
56
61
  password?: string;
57
- }): Promise<{
58
- derivedPrivateKey: string;
59
- }>;
62
+ signedSessionId: string;
63
+ externalServerKeyShares: ServerKeyShare[];
64
+ }): Promise<string>;
60
65
  /**
61
66
  * Exports the private key for a given account address
62
67
  *
@@ -87,15 +92,16 @@ export declare class DynamicSvmWalletClient extends DynamicWalletClient {
87
92
  * @param password The password for encrypted backup shares
88
93
  * @returns The account address, raw public key, and client key shares
89
94
  */
90
- importPrivateKey({ privateKey, chainName, thresholdSignatureScheme, password, onError, }: {
95
+ importPrivateKey({ privateKey, chainName, thresholdSignatureScheme, password, onError, signedSessionId, }: {
91
96
  privateKey: string;
92
97
  chainName: string;
93
98
  thresholdSignatureScheme: ThresholdSignatureScheme;
94
99
  password?: string;
95
100
  onError?: (error: Error) => void;
101
+ signedSessionId: string;
96
102
  }): Promise<{
97
103
  accountAddress: string;
98
- rawPublicKey: Uint8Array | undefined;
104
+ rawPublicKey: Uint8Array | string | undefined;
99
105
  externalServerKeyShares: ServerKeyShare[];
100
106
  }>;
101
107
  getSvmWallets(): Promise<any>;
@@ -1 +1 @@
1
- {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/client/client.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,mBAAmB,EACnB,mBAAmB,EACnB,wBAAwB,EAGzB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAEL,WAAW,EACX,oBAAoB,EAErB,MAAM,iBAAiB,CAAC;AAIzB,qBAAa,sBAAuB,SAAQ,mBAAmB;IAC7D,QAAQ,CAAC,SAAS,SAAS;IAC3B,cAAc,CAAC,EAAE,MAAM,CAAC;gBAEZ,EACV,aAAa,EACb,UAAU,EACV,kBAAkB,GACnB,EAAE;QACD,aAAa,EAAE,MAAM,CAAC;QACtB,SAAS,EAAE,MAAM,CAAC;QAClB,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,kBAAkB,CAAC,EAAE,MAAM,CAAC;KAC7B;IAQD;;;;;OAKG;IACG,mBAAmB,CAAC,EACxB,wBAAwB,EACxB,QAAoB,EACpB,OAAO,GACR,EAAE;QACD,wBAAwB,EAAE,wBAAwB,CAAC;QACnD,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;KAClC,GAAG,OAAO,CAAC;QACV,cAAc,EAAE,MAAM,CAAC;QACvB,YAAY,EAAE,UAAU,CAAC;QACzB,uBAAuB,EAAE,cAAc,EAAE,CAAC;KAC3C,CAAC;IAkEI,oBAAoB,CAAC,YAAY,EAAE,UAAU;;;IASnD;;;;;;OAMG;IACG,WAAW,CAAC,EAChB,OAAO,EACP,cAAc,EACd,QAAoB,GACrB,EAAE;QACD,OAAO,EAAE,MAAM,CAAC;QAChB,cAAc,EAAE,MAAM,CAAC;QACvB,QAAQ,CAAC,EAAE,MAAM,CAAC;KACnB;IA4BK,eAAe,CAAC,EACpB,aAAa,EACb,WAAW,EACX,QAAoB,GACrB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