@chain-registry/client 1.10.1 → 1.12.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 CHANGED
@@ -3,6 +3,22 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [1.12.0](https://github.com/cosmology-tech/chain-registry/compare/@chain-registry/client@1.11.0...@chain-registry/client@1.12.0) (2023-06-27)
7
+
8
+ **Note:** Version bump only for package @chain-registry/client
9
+
10
+
11
+
12
+
13
+
14
+ # [1.11.0](https://github.com/cosmology-tech/chain-registry/compare/@chain-registry/client@1.10.1...@chain-registry/client@1.11.0) (2023-04-20)
15
+
16
+ **Note:** Version bump only for package @chain-registry/client
17
+
18
+
19
+
20
+
21
+
6
22
  ## [1.10.1](https://github.com/cosmology-tech/chain-registry/compare/@chain-registry/client@1.10.0...@chain-registry/client@1.10.1) (2023-04-18)
7
23
 
8
24
  **Note:** Version bump only for package @chain-registry/client
package/README.md CHANGED
@@ -96,6 +96,17 @@ const chain: Chain = chainInfo.chain;
96
96
  const assetes: AssetList[] = chainInfo.nativeAssetLists;
97
97
  ```
98
98
 
99
+ ## Related
100
+
101
+ Checkout these related projects:
102
+
103
+ * [@cosmwasm/ts-codegen](https://github.com/CosmWasm/ts-codegen) for generated CosmWasm contract Typescript classes
104
+ * [@osmonauts/telescope](https://github.com/osmosis-labs/telescope) a "babel for the Cosmos", Telescope is a TypeScript Transpiler for Cosmos Protobufs.
105
+ * [chain-registry](https://github.com/cosmology-tech/chain-registry) an npm module for the official Cosmos chain-registry.
106
+ * [cosmos-kit](https://github.com/cosmology-tech/cosmos-kit) A wallet connector for the Cosmos ⚛️
107
+ * [create-cosmos-app](https://github.com/cosmology-tech/create-cosmos-app) set up a modern Cosmos app by running one command.
108
+ * [starship](https://github.com/cosmology-tech/starship) a k8s-based unified development environment for Cosmos Ecosystem
109
+
99
110
  ## Credits
100
111
 
101
112
  🛠 Built by Cosmology — if you like our tools, please consider delegating to [our validator ⚛️](https://cosmology.tech/validator)
package/main/registry.js CHANGED
@@ -218,18 +218,16 @@ var ChainRegistryFetcher = /*#__PURE__*/function () {
218
218
  var _fetch = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee(url) {
219
219
  var data;
220
220
  return _regenerator["default"].wrap(function _callee$(_context) {
221
- while (1) {
222
- switch (_context.prev = _context.next) {
223
- case 0:
224
- _context.next = 2;
225
- return fetchUrl(url);
226
- case 2:
227
- data = _context.sent;
228
- this.update(data);
229
- case 4:
230
- case "end":
231
- return _context.stop();
232
- }
221
+ while (1) switch (_context.prev = _context.next) {
222
+ case 0:
223
+ _context.next = 2;
224
+ return fetchUrl(url);
225
+ case 2:
226
+ data = _context.sent;
227
+ this.update(data);
228
+ case 4:
229
+ case "end":
230
+ return _context.stop();
233
231
  }
234
232
  }, _callee, this);
235
233
  }));
@@ -244,16 +242,14 @@ var ChainRegistryFetcher = /*#__PURE__*/function () {
244
242
  var _fetchUrls = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee2() {
245
243
  var _this = this;
246
244
  return _regenerator["default"].wrap(function _callee2$(_context2) {
247
- while (1) {
248
- switch (_context2.prev = _context2.next) {
249
- case 0:
250
- return _context2.abrupt("return", Promise.all(this.urls.map(function (url) {
251
- return _this.fetch(url);
252
- })));
253
- case 1:
254
- case "end":
255
- return _context2.stop();
256
- }
245
+ while (1) switch (_context2.prev = _context2.next) {
246
+ case 0:
247
+ return _context2.abrupt("return", Promise.all(this.urls.map(function (url) {
248
+ return _this.fetch(url);
249
+ })));
250
+ case 1:
251
+ case "end":
252
+ return _context2.stop();
257
253
  }
258
254
  }, _callee2, this);
259
255
  }));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chain-registry/client",
3
- "version": "1.10.1",
3
+ "version": "1.12.0",
4
4
  "description": "Chain Registry Client",
5
5
  "author": "Dan Lynch <pyramation@gmail.com>",
6
6
  "homepage": "https://github.com/cosmology-tech/chain-registry",
@@ -41,42 +41,42 @@
41
41
  "url": "https://github.com/cosmology-tech/chain-registry/issues"
42
42
  },
43
43
  "devDependencies": {
44
- "@babel/cli": "7.19.3",
45
- "@babel/core": "7.19.6",
46
- "@babel/eslint-parser": "^7.19.1",
47
- "@babel/node": "^7.19.1",
44
+ "@babel/cli": "7.21.0",
45
+ "@babel/core": "7.21.4",
46
+ "@babel/eslint-parser": "^7.21.3",
47
+ "@babel/node": "^7.20.7",
48
48
  "@babel/plugin-proposal-class-properties": "7.18.6",
49
49
  "@babel/plugin-proposal-export-default-from": "7.18.10",
50
- "@babel/plugin-proposal-object-rest-spread": "7.19.4",
51
- "@babel/plugin-transform-runtime": "7.19.6",
52
- "@babel/preset-env": "7.19.4",
53
- "@babel/preset-typescript": "^7.17.12",
54
- "@types/jest": "^29.2.0",
50
+ "@babel/plugin-proposal-object-rest-spread": "7.20.7",
51
+ "@babel/plugin-transform-runtime": "7.21.4",
52
+ "@babel/preset-env": "7.21.4",
53
+ "@babel/preset-typescript": "^7.21.4",
54
+ "@types/jest": "^29.5.1",
55
55
  "@types/sha.js": "^2.4.0",
56
- "@typescript-eslint/eslint-plugin": "5.40.1",
57
- "@typescript-eslint/parser": "5.40.1",
56
+ "@typescript-eslint/eslint-plugin": "5.59.0",
57
+ "@typescript-eslint/parser": "5.59.0",
58
58
  "babel-core": "7.0.0-bridge.0",
59
- "babel-jest": "29.2.1",
60
- "babel-watch": "^7.0.0",
59
+ "babel-jest": "29.5.0",
60
+ "babel-watch": "^7.7.2",
61
61
  "cross-env": "^7.0.2",
62
- "eslint": "8.25.0",
63
- "eslint-config-prettier": "^8.5.0",
62
+ "eslint": "8.38.0",
63
+ "eslint-config-prettier": "^8.8.0",
64
64
  "eslint-plugin-prettier": "^4.0.0",
65
65
  "eslint-plugin-simple-import-sort": "8.0.0",
66
66
  "eslint-plugin-unused-imports": "2.0.0",
67
- "jest": "^29.2.1",
67
+ "jest": "^29.5.0",
68
68
  "long": "^5.2.0",
69
- "prettier": "^2.7.0",
70
- "regenerator-runtime": "^0.13.10",
71
- "ts-jest": "^29.0.3",
72
- "typescript": "^4.8.4"
69
+ "prettier": "^2.8.7",
70
+ "regenerator-runtime": "^0.13.11",
71
+ "ts-jest": "^29.1.0",
72
+ "typescript": "^5.0.4"
73
73
  },
74
74
  "dependencies": {
75
- "@babel/runtime": "^7.19.4",
76
- "@chain-registry/types": "^0.15.0",
77
- "@chain-registry/utils": "^1.9.1",
75
+ "@babel/runtime": "^7.21.0",
76
+ "@chain-registry/types": "^0.16.0",
77
+ "@chain-registry/utils": "^1.11.0",
78
78
  "bfs-path": "^1.0.2",
79
79
  "cross-fetch": "^3.1.5"
80
80
  },
81
- "gitHead": "f07fc16626ee23d8c143d30d82079cd6fb56e498"
81
+ "gitHead": "b2e52cf39bbe96c704b2c9e7d8716af2ab1b7a25"
82
82
  }