@chain-registry/utils 0.6.1 → 0.6.2

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,14 @@
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
+ ## [0.6.2](https://github.com/cosmology-tech/chain-registry/compare/@chain-registry/utils@0.6.1...@chain-registry/utils@0.6.2) (2022-08-31)
7
+
8
+ **Note:** Version bump only for package @chain-registry/utils
9
+
10
+
11
+
12
+
13
+
6
14
  ## [0.6.1](https://github.com/cosmology-tech/chain-registry/compare/@chain-registry/utils@0.6.0...@chain-registry/utils@0.6.1) (2022-08-31)
7
15
 
8
16
  **Note:** Version bump only for package @chain-registry/utils
package/README.md CHANGED
@@ -59,17 +59,23 @@ await registry.fetch('https://some-json-schema.com/some-schema.json');
59
59
 
60
60
  ## Asset lists
61
61
 
62
+ You can get generated asset lists directly from the registry:
63
+
62
64
  ```js
63
65
  // generated asset lists
64
66
  const generated: AssetList[] = registry.getGeneratedAssetLists('osmosis');
67
+ ```
65
68
 
69
+ You can get generated `AssetList[]` objects directly from the `ChainRegistry` via the `assetLists` method:
70
+
71
+ ```js
66
72
  // you can also get generated assets from ChainInfo object
67
73
  const chainInfo: Chain = registry.getChainInfo('osmosis');
68
74
  const generatedAssets: AssetList[] = chainInfo.assetLists();
69
75
  ```
70
76
  ## Chain info
71
77
 
72
- You can get `Chain` object directly from the regsitry via `getChain`
78
+ You can get `Chain` object directly from the `ChainRegistry` via the `getChain` method:
73
79
 
74
80
  ```js
75
81
  // get Chain from registry
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chain-registry/utils",
3
- "version": "0.6.1",
3
+ "version": "0.6.2",
4
4
  "description": "Chain Registry Utils",
5
5
  "author": "Dan Lynch <pyramation@gmail.com>",
6
6
  "homepage": "https://github.com/cosmology-tech/chain-registry",
@@ -82,5 +82,5 @@
82
82
  "bfs-path": "^1.0.2",
83
83
  "sha.js": "^2.4.11"
84
84
  },
85
- "gitHead": "a09e68e6397e979882e732f4fc833d28c4151293"
85
+ "gitHead": "2a94122124fb908ad259128a87c14ede608bd64b"
86
86
  }