@chain-registry/cli 1.52.0 → 1.53.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.
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.displayAssetList = void 0;
6
+ exports.displayAssetList = displayAssetList;
7
7
  const chalk_1 = __importDefault(require("chalk"));
8
8
  const asset_1 = require("./asset");
9
9
  function displayAssetList(assetList) {
@@ -13,4 +13,3 @@ function displayAssetList(assetList) {
13
13
  (0, asset_1.displayAsset)(asset); // Call displayAsset for each asset in the list
14
14
  });
15
15
  }
16
- exports.displayAssetList = displayAssetList;
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.displayAsset = void 0;
6
+ exports.displayAsset = displayAsset;
7
7
  const chalk_1 = __importDefault(require("chalk"));
8
8
  function displayAsset(asset) {
9
9
  console.log(chalk_1.default.bold.blue(`Asset Name: ${asset.name}`));
@@ -55,4 +55,3 @@ function displayAsset(asset) {
55
55
  }
56
56
  console.log('\n');
57
57
  }
58
- exports.displayAsset = displayAsset;
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.displayChain = void 0;
6
+ exports.displayChain = displayChain;
7
7
  const chalk_1 = __importDefault(require("chalk"));
8
8
  function displayChain(chain) {
9
9
  console.log(chalk_1.default.bold.green(`Chain Details: ${chain.chain_name}`));
@@ -70,4 +70,3 @@ function displayChain(chain) {
70
70
  }
71
71
  console.log(chalk_1.default.bold(`Keywords: ${chain.keywords?.join(', ')}`));
72
72
  }
73
- exports.displayChain = displayChain;
package/help.js CHANGED
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.getUsage = void 0;
6
+ exports.getUsage = getUsage;
7
7
  const chalk_1 = __importDefault(require("chalk"));
8
8
  function getUsage() {
9
9
  const header = chalk_1.default.white.bold;
@@ -69,4 +69,3 @@ ${header('COPYRIGHT')}
69
69
  ${normal('Copyright 2024 Interweb, Inc. Licensed under MIT.')}
70
70
  `.trim();
71
71
  }
72
- exports.getUsage = getUsage;
package/package.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.readAndParsePackageJson = void 0;
3
+ exports.readAndParsePackageJson = readAndParsePackageJson;
4
4
  const fs_1 = require("fs");
5
5
  const path_1 = require("path");
6
6
  // need to search due to the dist/ folder and src/, etc.
@@ -27,4 +27,3 @@ function readAndParsePackageJson() {
27
27
  const pkg = JSON.parse(str);
28
28
  return pkg;
29
29
  }
30
- exports.readAndParsePackageJson = readAndParsePackageJson;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chain-registry/cli",
3
- "version": "1.52.0",
3
+ "version": "1.53.1",
4
4
  "description": "Chain Registry CLI",
5
5
  "author": "Dan Lynch <pyramation@gmail.com>",
6
6
  "homepage": "https://github.com/cosmology-tech/chain-registry",
@@ -34,8 +34,8 @@
34
34
  "test:watch": "jest --watch"
35
35
  },
36
36
  "dependencies": {
37
- "@chain-registry/interfaces": "^0.51.0",
38
- "@chain-registry/workflows": "^1.52.0",
37
+ "@chain-registry/interfaces": "^0.52.1",
38
+ "@chain-registry/workflows": "^1.53.1",
39
39
  "chalk": "^4.1.0",
40
40
  "deepmerge": "^4.3.1",
41
41
  "inquirerer": "1.9.0",
@@ -48,5 +48,5 @@
48
48
  "cosmos",
49
49
  "interchain"
50
50
  ],
51
- "gitHead": "b30de63b2475bb25a70e0bb56ec7118adc23567c"
51
+ "gitHead": "230b709fc53f5e7b7f2f0dd6f96fbb1b265b97f9"
52
52
  }
package/utils.js CHANGED
@@ -3,7 +3,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.toCamelCase = exports.getVersion = exports.displayVersion = void 0;
6
+ exports.displayVersion = displayVersion;
7
+ exports.getVersion = getVersion;
8
+ exports.toCamelCase = toCamelCase;
7
9
  const chalk_1 = __importDefault(require("chalk"));
8
10
  const package_1 = require("./package");
9
11
  // Function to display the version information
@@ -12,12 +14,10 @@ function displayVersion() {
12
14
  console.log(chalk_1.default.green(`Name: ${pkg.name}`));
13
15
  console.log(chalk_1.default.blue(`Version: ${pkg.version}`));
14
16
  }
15
- exports.displayVersion = displayVersion;
16
17
  function getVersion() {
17
18
  const pkg = (0, package_1.readAndParsePackageJson)();
18
19
  return pkg.version;
19
20
  }
20
- exports.getVersion = getVersion;
21
21
  // MARKED AS NOT DRY
22
22
  function toCamelCase(key) {
23
23
  return key
@@ -28,4 +28,3 @@ function toCamelCase(key) {
28
28
  // Ensure the first character of the result is always lowercase
29
29
  .replace(/^./, (c) => c.toLowerCase());
30
30
  }
31
- exports.toCamelCase = toCamelCase;