@chain-registry/utils 0.10.1 → 0.10.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.10.2](https://github.com/cosmology-tech/chain-registry/compare/@chain-registry/utils@0.10.1...@chain-registry/utils@0.10.2) (2022-09-19)
7
+
8
+ **Note:** Version bump only for package @chain-registry/utils
9
+
10
+
11
+
12
+
13
+
6
14
  ## [0.10.1](https://github.com/cosmology-tech/chain-registry/compare/@chain-registry/utils@0.10.0...@chain-registry/utils@0.10.1) (2022-09-19)
7
15
 
8
16
  **Note:** Version bump only for package @chain-registry/utils
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chain-registry/utils",
3
- "version": "0.10.1",
3
+ "version": "0.10.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",
@@ -73,10 +73,10 @@
73
73
  },
74
74
  "dependencies": {
75
75
  "@babel/runtime": "^7.19.0",
76
- "@chain-registry/types": "^0.10.1",
76
+ "@chain-registry/types": "^0.10.2",
77
77
  "bfs-path": "^1.0.2",
78
78
  "cross-fetch": "^3.1.5",
79
79
  "sha.js": "^2.4.11"
80
80
  },
81
- "gitHead": "f1175f2ba69030540b8a4512b74d4a5ae6d8514c"
81
+ "gitHead": "e01cbeb19082e4dd1386f958b59be5f2013ca49d"
82
82
  }
@@ -1,5 +1,5 @@
1
1
  import { AssetList, Chain, ChainRegistry, IBCInfo } from '@chain-registry/types';
2
- export interface ChainRegistryOptions {
2
+ export interface ChainRegistryFetcherOptions {
3
3
  assetLists?: AssetList[];
4
4
  chains?: Chain[];
5
5
  ibcData?: IBCInfo[];
@@ -7,11 +7,11 @@ export interface ChainRegistryOptions {
7
7
  }
8
8
  export interface ChainInfoOptions {
9
9
  chain_name: string;
10
- registry: ChainRegistry;
10
+ fetcher: ChainRegistryFetcher;
11
11
  }
12
12
  export declare class ChainInfo {
13
13
  chain_name: string;
14
- registry: ChainRegistry;
14
+ fetcher: ChainRegistryFetcher;
15
15
  protected _asset_list: AssetList;
16
16
  protected _asset_lists: AssetList[];
17
17
  protected _chain: Chain;
@@ -27,7 +27,7 @@ export declare class ChainRegistryFetcher implements ChainRegistry {
27
27
  protected _chains: Chain[];
28
28
  protected _ibc_data: IBCInfo[];
29
29
  urls: string[];
30
- constructor(options?: ChainRegistryOptions);
30
+ constructor(options?: ChainRegistryFetcherOptions);
31
31
  get assetLists(): AssetList[];
32
32
  getChainAssetList(chainName: string): AssetList;
33
33
  getGeneratedAssetLists(chainName: string): AssetList[];