@chain-registry/types 0.16.0 → 0.17.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/CHANGELOG.md +16 -0
- package/package.json +2 -3
- package/types/assets.d.ts +19 -7
- package/types/chains.d.ts +9 -2
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.1](https://github.com/cosmology-tech/chain-registry/compare/@chain-registry/types@0.17.0...@chain-registry/types@0.17.1) (2023-12-15)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @chain-registry/types
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [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)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @chain-registry/types
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
# [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)
|
|
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.
|
|
3
|
+
"version": "0.17.1",
|
|
4
4
|
"description": "Chain Registry types",
|
|
5
5
|
"author": "Dan Lynch <pyramation@gmail.com>",
|
|
6
6
|
"homepage": "https://github.com/cosmology-tech/chain-registry",
|
|
@@ -64,7 +64,6 @@
|
|
|
64
64
|
"eslint-plugin-simple-import-sort": "8.0.0",
|
|
65
65
|
"eslint-plugin-unused-imports": "2.0.0",
|
|
66
66
|
"jest": "^29.5.0",
|
|
67
|
-
"long": "^5.2.0",
|
|
68
67
|
"prettier": "^2.8.7",
|
|
69
68
|
"regenerator-runtime": "^0.13.11",
|
|
70
69
|
"ts-jest": "^29.1.0",
|
|
@@ -73,5 +72,5 @@
|
|
|
73
72
|
"dependencies": {
|
|
74
73
|
"@babel/runtime": "^7.21.0"
|
|
75
74
|
},
|
|
76
|
-
"gitHead": "
|
|
75
|
+
"gitHead": "4be96c12e66434cf3fd49ab5dc00102ccc8de551"
|
|
77
76
|
}
|
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
|
|
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
|
-
|
|
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
|
|
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
|
|
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
|
|
219
|
+
export type Chains = Chain[];
|