genlayer 0.35.2 → 0.35.3

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.
Files changed (2) hide show
  1. package/dist/index.js +3 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -20078,7 +20078,7 @@ var require_cli_table3 = __commonJS({
20078
20078
  import { program } from "commander";
20079
20079
 
20080
20080
  // package.json
20081
- var version = "0.35.2";
20081
+ var version = "0.35.3";
20082
20082
  var package_default = {
20083
20083
  name: "genlayer",
20084
20084
  version,
@@ -52963,7 +52963,8 @@ var _BaseAction = class _BaseAction extends ConfigFileManager {
52963
52963
  return createAccount(decryptedPrivateKey);
52964
52964
  }
52965
52965
  getAddress(keystoreData) {
52966
- return keystoreData.address;
52966
+ const addr = keystoreData.address;
52967
+ return addr.startsWith("0x") ? addr : `0x${addr}`;
52967
52968
  }
52968
52969
  async createKeypairByName(accountName, overwrite, passwordInput) {
52969
52970
  const keystorePath = this.getKeystorePath(accountName);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "genlayer",
3
- "version": "0.35.2",
3
+ "version": "0.35.3",
4
4
  "description": "GenLayer Command Line Tool",
5
5
  "main": "src/index.ts",
6
6
  "type": "module",