@chain-registry/interfaces 0.49.14 → 0.51.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/README.md +1 -1
- package/assetlist.schema.d.ts +6 -1
- package/chain.schema.d.ts +0 -5
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
</a>
|
|
11
11
|
<a href="https://github.com/cosmology-tech/chain-registry/blob/main/LICENSE"><img height="20" src="https://img.shields.io/badge/license-MIT-blue.svg"></a>
|
|
12
12
|
<a href="https://www.npmjs.com/package/@chain-registry/interfaces"><img height="20" src="https://img.shields.io/npm/dt/@chain-registry/interfaces"></a>
|
|
13
|
-
<a href="https://www.npmjs.com/package/@chain-registry/interfaces"><img height="20" src="https://img.shields.io/github/package-json/v/cosmology-tech/chain-registry?filename=
|
|
13
|
+
<a href="https://www.npmjs.com/package/@chain-registry/interfaces"><img height="20" src="https://img.shields.io/github/package-json/v/cosmology-tech/chain-registry?filename=v2%2Fpackages%2Finterfaces%2Fpackage.json"></a>
|
|
14
14
|
</p>
|
|
15
15
|
|
|
16
16
|
The `@chain-registry/interfaces` module provides TypeScript interfaces that represent the structured data types as defined in the original JSON schema from the [`cosmos/chain-registry`](https://github.com/cosmos/chain-registry) repository. These interfaces are generated to facilitate type-safe development when interacting with chain registry data within TypeScript projects.
|
package/assetlist.schema.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ export interface Asset {
|
|
|
3
3
|
description?: string;
|
|
4
4
|
extended_description?: string;
|
|
5
5
|
denom_units: DenomUnit[];
|
|
6
|
-
type_asset
|
|
6
|
+
type_asset: "sdk.coin" | "cw20" | "erc20" | "ics20" | "snip20" | "snip25" | "bitcoin-like" | "evm-base" | "svm-base" | "substrate" | "unknown";
|
|
7
7
|
address?: string;
|
|
8
8
|
base: string;
|
|
9
9
|
name: string;
|
|
@@ -36,6 +36,11 @@ export interface Asset {
|
|
|
36
36
|
socials?: {
|
|
37
37
|
website?: string;
|
|
38
38
|
twitter?: string;
|
|
39
|
+
telegram?: string;
|
|
40
|
+
discord?: string;
|
|
41
|
+
github?: string;
|
|
42
|
+
medium?: string;
|
|
43
|
+
reddit?: string;
|
|
39
44
|
};
|
|
40
45
|
}
|
|
41
46
|
export interface DenomUnit {
|
package/chain.schema.d.ts
CHANGED
|
@@ -86,7 +86,6 @@ export interface Chain {
|
|
|
86
86
|
pre_fork_chain_name?: string;
|
|
87
87
|
pretty_name?: string;
|
|
88
88
|
website?: string;
|
|
89
|
-
update_link?: string;
|
|
90
89
|
status?: "live" | "upcoming" | "killed";
|
|
91
90
|
network_type?: "mainnet" | "testnet" | "devnet";
|
|
92
91
|
bech32_prefix?: string;
|
|
@@ -126,8 +125,6 @@ export interface Chain {
|
|
|
126
125
|
cosmwasm_enabled?: boolean;
|
|
127
126
|
cosmwasm_path?: string;
|
|
128
127
|
cosmwasm?: Cosmwasm;
|
|
129
|
-
ibc_go_version?: string;
|
|
130
|
-
ics_enabled?: ("ics20-1" | "ics27-1" | "mauth")[];
|
|
131
128
|
ibc?: Ibc;
|
|
132
129
|
genesis?: {
|
|
133
130
|
name?: string;
|
|
@@ -151,8 +148,6 @@ export interface Chain {
|
|
|
151
148
|
cosmwasm_enabled?: boolean;
|
|
152
149
|
cosmwasm_path?: string;
|
|
153
150
|
cosmwasm?: Cosmwasm;
|
|
154
|
-
ibc_go_version?: string;
|
|
155
|
-
ics_enabled?: ("ics20-1" | "ics27-1" | "mauth")[];
|
|
156
151
|
ibc?: Ibc;
|
|
157
152
|
binaries?: Binaries;
|
|
158
153
|
}[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chain-registry/interfaces",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.51.0",
|
|
4
4
|
"description": "Chain Registry interfaces",
|
|
5
5
|
"author": "Dan Lynch <pyramation@gmail.com>",
|
|
6
6
|
"homepage": "https://github.com/cosmology-tech/chain-registry",
|
|
@@ -33,5 +33,5 @@
|
|
|
33
33
|
"cosmos",
|
|
34
34
|
"interchain"
|
|
35
35
|
],
|
|
36
|
-
"gitHead": "
|
|
36
|
+
"gitHead": "b30de63b2475bb25a70e0bb56ec7118adc23567c"
|
|
37
37
|
}
|