@chain-registry/types 0.15.0 → 0.17.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
+ # [0.17.0](https://github.com/cosmology-tech/chain-registry/compare/@chain-registry/types@0.16.0...@chain-registry/types@0.17.0) (2023-09-15)
7
+
8
+ **Note:** Version bump only for package @chain-registry/types
9
+
10
+
11
+
12
+
13
+
14
+ # [0.16.0](https://github.com/cosmology-tech/chain-registry/compare/@chain-registry/types@0.15.0...@chain-registry/types@0.16.0) (2023-04-20)
15
+
16
+ **Note:** Version bump only for package @chain-registry/types
17
+
18
+
19
+
20
+
21
+
6
22
  # [0.15.0](https://github.com/cosmology-tech/chain-registry/compare/@chain-registry/types@0.14.0...@chain-registry/types@0.15.0) (2023-04-18)
7
23
 
8
24
  **Note:** Version bump only for package @chain-registry/types
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chain-registry/types",
3
- "version": "0.15.0",
3
+ "version": "0.17.0",
4
4
  "description": "Chain Registry types",
5
5
  "author": "Dan Lynch <pyramation@gmail.com>",
6
6
  "homepage": "https://github.com/cosmology-tech/chain-registry",
@@ -41,37 +41,37 @@
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",
55
- "@typescript-eslint/eslint-plugin": "5.40.1",
56
- "@typescript-eslint/parser": "5.40.1",
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
+ "@typescript-eslint/eslint-plugin": "5.59.0",
56
+ "@typescript-eslint/parser": "5.59.0",
57
57
  "babel-core": "7.0.0-bridge.0",
58
- "babel-jest": "29.2.1",
59
- "babel-watch": "^7.0.0",
58
+ "babel-jest": "29.5.0",
59
+ "babel-watch": "^7.7.2",
60
60
  "cross-env": "^7.0.2",
61
- "eslint": "8.25.0",
62
- "eslint-config-prettier": "^8.5.0",
61
+ "eslint": "8.38.0",
62
+ "eslint-config-prettier": "^8.8.0",
63
63
  "eslint-plugin-prettier": "^4.0.0",
64
64
  "eslint-plugin-simple-import-sort": "8.0.0",
65
65
  "eslint-plugin-unused-imports": "2.0.0",
66
- "jest": "^29.2.1",
66
+ "jest": "^29.5.0",
67
67
  "long": "^5.2.0",
68
- "prettier": "^2.7.0",
69
- "regenerator-runtime": "^0.13.10",
70
- "ts-jest": "^29.0.3",
71
- "typescript": "^4.8.4"
68
+ "prettier": "^2.8.7",
69
+ "regenerator-runtime": "^0.13.11",
70
+ "ts-jest": "^29.1.0",
71
+ "typescript": "^5.0.4"
72
72
  },
73
73
  "dependencies": {
74
- "@babel/runtime": "^7.19.4"
74
+ "@babel/runtime": "^7.21.0"
75
75
  },
76
- "gitHead": "20fa47de0103e4a00dc20b88ce160e06e5bc7fea"
76
+ "gitHead": "87f2c124ac734e0f47596e39407f5462c94a506b"
77
77
  }
package/types/assets.d.ts CHANGED
@@ -11,6 +11,14 @@ export interface LiquidStakeTrace {
11
11
  };
12
12
  provider: string;
13
13
  }
14
+ export interface AdditionalMintageTrace {
15
+ type: 'additional-mintage';
16
+ counterparty: {
17
+ chain_name: string;
18
+ base_denom: string;
19
+ };
20
+ provider: string;
21
+ }
14
22
  export interface SyntheicTrace {
15
23
  type: 'synthetic';
16
24
  counterparty: {
@@ -68,9 +76,16 @@ export interface IBCCw20Trace {
68
76
  chain: {
69
77
  port: string;
70
78
  channel_id: string;
79
+ path?: string;
71
80
  };
72
81
  }
73
- export declare type AssetTrace = IBCCw20Trace | IBCTrace | SyntheicTrace | LiquidStakeTrace | WrapTrace | BridgeTrace;
82
+ export type AssetTrace = IBCCw20Trace | IBCTrace | SyntheicTrace | LiquidStakeTrace | WrapTrace | BridgeTrace | AdditionalMintageTrace;
83
+ export interface LogoImage {
84
+ png?: string;
85
+ svg?: string;
86
+ jpeg?: string;
87
+ theme?: any;
88
+ }
74
89
  export interface Asset {
75
90
  description?: string;
76
91
  type_asset?: string;
@@ -80,11 +95,8 @@ export interface Asset {
80
95
  name: string;
81
96
  display: string;
82
97
  symbol: string;
83
- logo_URIs?: {
84
- png?: string;
85
- svg?: string;
86
- jpeg?: string;
87
- };
98
+ logo_URIs?: LogoImage;
99
+ images?: LogoImage[];
88
100
  coingecko_id?: string;
89
101
  keywords?: string[];
90
102
  traces?: AssetTrace[];
@@ -94,7 +106,7 @@ export interface Asset {
94
106
  dst_channel?: string;
95
107
  };
96
108
  }
97
- export declare type AssetList = {
109
+ export type AssetList = {
98
110
  $schema?: string;
99
111
  chain_name: string;
100
112
  assets: Asset[];
package/types/chains.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  export interface Chain {
2
2
  $schema?: string;
3
3
  chain_name: string;
4
+ pre_fork_chain_name?: string;
4
5
  status: string;
5
6
  network_type: string;
6
7
  update_link?: string;
@@ -101,6 +102,7 @@ export interface Chain {
101
102
  'darwin/amd64'?: string;
102
103
  'darwin/arm64'?: string;
103
104
  'windows/amd64'?: string;
105
+ 'windows/arm64'?: string;
104
106
  };
105
107
  cosmos_sdk_version?: string;
106
108
  consensus?: {
@@ -109,6 +111,7 @@ export interface Chain {
109
111
  };
110
112
  cosmwasm_version?: string;
111
113
  cosmwasm_enabled?: boolean;
114
+ cosmwasm_path?: string;
112
115
  ibc_go_version?: string;
113
116
  /**
114
117
  * List of IBC apps (usually corresponding to a ICS standard) which have been enabled on the network.
@@ -116,7 +119,8 @@ export interface Chain {
116
119
  ics_enabled?: ('ics20-1' | 'ics27-1' | 'mauth' | string)[];
117
120
  genesis?: {
118
121
  name?: string;
119
- genesis_url: string;
122
+ genesis_url?: string;
123
+ ics_ccv_url?: string;
120
124
  };
121
125
  versions?: {
122
126
  /**
@@ -131,11 +135,13 @@ export interface Chain {
131
135
  * Block Height
132
136
  */
133
137
  height?: number;
138
+ proposal?: number;
134
139
  /**
135
140
  * [Optional] Name of the following version
136
141
  */
137
142
  next_version_name?: string;
138
143
  recommended_version?: string;
144
+ cosmwasm_path?: string;
139
145
  compatible_versions?: string[];
140
146
  cosmos_sdk_version?: string;
141
147
  consensus?: {
@@ -155,6 +161,7 @@ export interface Chain {
155
161
  'darwin/amd64'?: string;
156
162
  'darwin/arm64'?: string;
157
163
  'windows/amd64'?: string;
164
+ 'windows/arm64'?: string;
158
165
  };
159
166
  }[];
160
167
  };
@@ -209,4 +216,4 @@ export interface Chain {
209
216
  }[];
210
217
  };
211
218
  }
212
- export declare type Chains = Chain[];
219
+ export type Chains = Chain[];