chain-registry 0.2.0 → 0.3.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chain-registry",
3
- "version": "0.2.0",
3
+ "version": "0.3.1",
4
4
  "description": "Cosmos chain registry ⚛️",
5
5
  "author": "Dan Lynch <pyramation@gmail.com>",
6
6
  "homepage": "https://github.com/cosmology-tech/chain-registry/tree/master/packages/chain-registry#readme",
@@ -43,15 +43,16 @@
43
43
  "devDependencies": {
44
44
  "@babel/cli": "7.17.10",
45
45
  "@babel/core": "7.18.5",
46
+ "@babel/eslint-parser": "^7.18.2",
46
47
  "@babel/plugin-proposal-class-properties": "7.17.12",
47
48
  "@babel/plugin-proposal-export-default-from": "7.17.12",
48
49
  "@babel/plugin-proposal-object-rest-spread": "7.18.0",
49
50
  "@babel/plugin-transform-runtime": "7.18.5",
50
51
  "@babel/preset-env": "7.18.2",
51
52
  "@babel/preset-typescript": "^7.17.12",
53
+ "@chain-registry/utils": "^0.2.1",
52
54
  "babel-core": "7.0.0-bridge.0",
53
55
  "babel-eslint": "10.1.0",
54
- "chain-registry-utils": "^0.1.0",
55
56
  "cross-env": "^7.0.2",
56
57
  "deepmerge": "^4.2.2",
57
58
  "eslint": "^8.17.0",
@@ -70,5 +71,5 @@
70
71
  "dependencies": {
71
72
  "@babel/runtime": "^7.18.3"
72
73
  },
73
- "gitHead": "81a10558ee98a78b81f60d603f179044f37ee59d"
74
+ "gitHead": "786591e22bca470c80885f984369c1acb24ac36b"
74
75
  }
package/types/assets.d.ts CHANGED
@@ -18,6 +18,7 @@ declare const _exports: {
18
18
  symbol: string;
19
19
  logo_URIs: {
20
20
  svg: string;
21
+ png: string;
21
22
  };
22
23
  coingecko_id: string;
23
24
  })
package/types/chains.d.ts CHANGED
@@ -1,53 +1,67 @@
1
1
  declare const _exports: {
2
- [n: number]: {
3
- $schema: string;
4
- chain_name: string;
5
- status: string;
6
- network_type: string;
7
- pretty_name: string;
8
- chain_id: string;
9
- bech32_prefix: string;
10
- daemon_name: string;
11
- node_home: string;
12
- genesis: {
13
- genesis_url: string;
14
- };
15
- slip44: number;
16
- explorers: {
17
- kind: string;
18
- url: string;
19
- tx_page: string;
20
- }[];
21
- codebase: {
22
- git_repo: string;
23
- recommended_version: string;
24
- compatible_versions: string[];
25
- };
26
- peers: {
27
- seeds: undefined[];
28
- persistent_peers: {
29
- id: string;
30
- address: string;
31
- }[];
32
- };
33
- apis: {
34
- rpc: ({
35
- address: string;
36
- } | {
37
- address: string;
38
- provider: string;
39
- })[];
40
- rest: ({
41
- address: string;
42
- } | {
43
- address: string;
44
- provider: string;
45
- })[];
46
- grpc: {
47
- address: string;
48
- provider: string;
49
- }[];
50
- };
51
- }
2
+ [n: number]: {
3
+ $schema: string;
4
+ chain_name: string;
5
+ status: string;
6
+ network_type: string;
7
+ pretty_name: string;
8
+ chain_id: string;
9
+ bech32_prefix: string;
10
+ daemon_name: string;
11
+ node_home: string;
12
+ genesis: {
13
+ genesis_url: string;
14
+ };
15
+ slip44: number;
16
+ fees?: {
17
+ fee_tokens: {
18
+ denom: string;
19
+ fixed_min_gas_price?: number;
20
+ low_gas_price?: number;
21
+ average_gas_price?: number;
22
+ high_gas_price?: number;
23
+ }[];
24
+ };
25
+ staking?: {
26
+ staking_tokens: {
27
+ denom: string;
28
+ }[];
29
+ };
30
+ explorers: {
31
+ kind: string;
32
+ url: string;
33
+ tx_page: string;
34
+ }[];
35
+ codebase: {
36
+ git_repo: string;
37
+ recommended_version: string;
38
+ compatible_versions: string[];
39
+ };
40
+ peers: {
41
+ seeds: any[];
42
+ persistent_peers: {
43
+ id: string;
44
+ address: string;
45
+ }[];
46
+ };
47
+ apis: {
48
+ rpc: ({
49
+ address: string;
50
+ } | {
51
+ address: string;
52
+ provider: string;
53
+ })[];
54
+ rest: ({
55
+ address: string;
56
+ } | {
57
+ address: string;
58
+ provider: string;
59
+ })[];
60
+ grpc: {
61
+ address: string;
62
+ provider: string;
63
+ }[];
64
+ };
65
+ }
52
66
  };
53
67
  export = _exports;