@deserialize/multi-vm-wallet 1.5.2 → 1.5.21

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/dist/evm/evm.js CHANGED
@@ -72,7 +72,7 @@ class EVMVM extends vm_1.VM {
72
72
  return await (0, utils_1.getTokenBalance)(tokenAddress, address, connection);
73
73
  }
74
74
  static convertFromEntropyToPrivateKey = (entropy) => {
75
- return (0, viem_1.toHex)(entropy);
75
+ return (0, viem_1.toHex)(entropy).substring(0, 64);
76
76
  };
77
77
  async discoverWallets(connection, options) {
78
78
  const startTime = Date.now();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deserialize/multi-vm-wallet",
3
- "version": "1.5.2",
3
+ "version": "1.5.21",
4
4
  "devDependencies": {
5
5
  "@types/bn.js": "^5.2.0",
6
6
  "@types/crypto-js": "^4.2.2",
package/utils/evm/evm.ts CHANGED
@@ -202,7 +202,7 @@ export class EVMVM extends VM<string, string, PublicClient> {
202
202
  }
203
203
 
204
204
  static convertFromEntropyToPrivateKey = (entropy: string): string => {
205
- return toHex(entropy)
205
+ return toHex(entropy).substring(0, 64)
206
206
  }
207
207
 
208
208
  /**