@chain-registry/client 1.14.2 → 1.16.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.16.0](https://github.com/cosmology-tech/chain-registry/compare/@chain-registry/client@1.15.0...@chain-registry/client@1.16.0) (2023-12-15)
7
+
8
+ **Note:** Version bump only for package @chain-registry/client
9
+
10
+
11
+
12
+
13
+
14
+ # [1.15.0](https://github.com/cosmology-tech/chain-registry/compare/@chain-registry/client@1.14.2...@chain-registry/client@1.15.0) (2023-09-15)
15
+
16
+ **Note:** Version bump only for package @chain-registry/client
17
+
18
+
19
+
20
+
21
+
6
22
  ## [1.14.2](https://github.com/cosmology-tech/chain-registry/compare/@chain-registry/client@1.14.1...@chain-registry/client@1.14.2) (2023-07-30)
7
23
 
8
24
  **Note:** Version bump only for package @chain-registry/client
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chain-registry/client",
3
- "version": "1.14.2",
3
+ "version": "1.16.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",
@@ -76,10 +76,10 @@
76
76
  },
77
77
  "dependencies": {
78
78
  "@babel/runtime": "^7.21.0",
79
- "@chain-registry/types": "^0.16.0",
80
- "@chain-registry/utils": "^1.13.2",
79
+ "@chain-registry/types": "^0.17.0",
80
+ "@chain-registry/utils": "^1.15.0",
81
81
  "bfs-path": "^1.0.2",
82
82
  "cross-fetch": "^3.1.5"
83
83
  },
84
- "gitHead": "7643eb9d080056f05ac9284447cfca8d4aaf5470"
84
+ "gitHead": "d84cc036263e918e0805ed0687a9ca36da9c1e80"
85
85
  }
@@ -1,16 +1,16 @@
1
1
  import { AssetList, Chain, IBCInfo } from '@chain-registry/types';
2
2
  import { ChainRegistryFetcher } from './fetcher';
3
3
  export interface ChainInfoOptions {
4
- chain_name: string;
4
+ chainName: string;
5
5
  fetcher: ChainRegistryFetcher;
6
6
  }
7
7
  export declare class ChainInfo {
8
- chain_name: string;
8
+ chainName: string;
9
9
  fetcher: ChainRegistryFetcher;
10
10
  protected _chain: Chain;
11
- protected _asset_list: AssetList;
12
- protected _asset_lists: AssetList[];
13
- protected _ibc_data: IBCInfo[];
11
+ protected _assetList: AssetList;
12
+ protected _assetLists: AssetList[];
13
+ protected _ibcData: IBCInfo[];
14
14
  constructor(options: ChainInfoOptions);
15
15
  refresh(): void;
16
16
  get chain(): Chain;
@@ -2,13 +2,13 @@ import { Asset } from '@chain-registry/types';
2
2
  import type { CoinDenom, CoinGeckoUSD, Exponent, PriceHash } from '@chain-registry/utils';
3
3
  import { ChainInfo } from './chain-info';
4
4
  export interface ChainRegistryChainUtilOptions {
5
- chain_name: string;
6
- chain_info: ChainInfo;
5
+ chainName: string;
6
+ chainInfo: ChainInfo;
7
7
  }
8
8
  export declare class ChainRegistryChainUtil {
9
- chain_name: string;
10
- chain_info: ChainInfo;
11
- _all_Asset: Asset[];
9
+ chainName: string;
10
+ chainInfo: ChainInfo;
11
+ allAsset: Asset[];
12
12
  constructor(options: ChainRegistryChainUtilOptions);
13
13
  getAssetByDenom(denom: CoinDenom): Asset;
14
14
  getDenomByCoinGeckoId(coinGeckoId: string): CoinDenom;
@@ -8,9 +8,9 @@ export interface ChainRegistryFetcherOptions {
8
8
  }
9
9
  export declare class ChainRegistryFetcher implements ChainRegistry {
10
10
  urls: string[];
11
- protected _asset_lists: AssetList[];
11
+ protected _assetLists: AssetList[];
12
12
  protected _chains: Chain[];
13
- protected _ibc_data: IBCInfo[];
13
+ protected _ibcData: IBCInfo[];
14
14
  private chainInfoList;
15
15
  constructor(options?: ChainRegistryFetcherOptions);
16
16
  get chains(): Chain[];