@chain-registry/types 0.10.2 → 0.11.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 +8 -0
- package/package.json +2 -2
- package/types/assets.d.ts +17 -16
- package/types/chains.d.ts +7 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
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.11.0](https://github.com/cosmology-tech/chain-registry/compare/@chain-registry/types@0.10.2...@chain-registry/types@0.11.0) (2022-09-20)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @chain-registry/types
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## [0.10.2](https://github.com/cosmology-tech/chain-registry/compare/@chain-registry/types@0.10.1...@chain-registry/types@0.10.2) (2022-09-19)
|
|
7
15
|
|
|
8
16
|
**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.11.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",
|
|
@@ -75,5 +75,5 @@
|
|
|
75
75
|
"@keplr-wallet/cosmos": "^0.10.24",
|
|
76
76
|
"@keplr-wallet/crypto": "^0.10.24"
|
|
77
77
|
},
|
|
78
|
-
"gitHead": "
|
|
78
|
+
"gitHead": "7227af2939d83bdf4e68bd530aa68c14ae5aa18b"
|
|
79
79
|
}
|
package/types/assets.d.ts
CHANGED
|
@@ -5,32 +5,32 @@ export interface AssetDenomUnit {
|
|
|
5
5
|
}
|
|
6
6
|
export interface LiquidStakeTrace {
|
|
7
7
|
type: 'liquid-stake';
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
counterparty: {
|
|
9
|
+
chain_name: string;
|
|
10
10
|
base_denom: string;
|
|
11
11
|
};
|
|
12
12
|
provider: string;
|
|
13
13
|
}
|
|
14
14
|
export interface SyntheicTrace {
|
|
15
15
|
type: 'synthetic';
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
counterparty: {
|
|
17
|
+
chain_name: string;
|
|
18
18
|
base_denom: string;
|
|
19
19
|
};
|
|
20
20
|
provider: string;
|
|
21
21
|
}
|
|
22
22
|
export interface BridgeTrace {
|
|
23
23
|
type: 'bridge';
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
counterparty: {
|
|
25
|
+
chain_name: string;
|
|
26
26
|
base_denom: string;
|
|
27
27
|
};
|
|
28
28
|
provider: string;
|
|
29
29
|
}
|
|
30
30
|
export interface WrapTrace {
|
|
31
|
-
type: '
|
|
32
|
-
|
|
33
|
-
|
|
31
|
+
type: 'wrapped';
|
|
32
|
+
counterparty: {
|
|
33
|
+
chain_name: string;
|
|
34
34
|
base_denom: string;
|
|
35
35
|
};
|
|
36
36
|
provider: string;
|
|
@@ -39,29 +39,30 @@ export interface IBCTrace {
|
|
|
39
39
|
type: 'ibc';
|
|
40
40
|
counterparty: {
|
|
41
41
|
port?: string;
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
channel_id: string;
|
|
43
|
+
base_denom: string;
|
|
44
44
|
chain_name: string;
|
|
45
45
|
};
|
|
46
46
|
chain: {
|
|
47
47
|
port?: string;
|
|
48
|
-
|
|
48
|
+
channel_id: string;
|
|
49
|
+
path?: string;
|
|
49
50
|
};
|
|
50
51
|
}
|
|
51
52
|
export interface IBCCw20Trace {
|
|
52
53
|
type: 'ibc-cw20';
|
|
53
54
|
counterparty: {
|
|
54
55
|
port: string;
|
|
55
|
-
|
|
56
|
-
|
|
56
|
+
channel_id: string;
|
|
57
|
+
base_denom: string;
|
|
57
58
|
chain_name: string;
|
|
58
59
|
};
|
|
59
60
|
chain: {
|
|
60
61
|
port: string;
|
|
61
|
-
|
|
62
|
+
channel_id: string;
|
|
62
63
|
};
|
|
63
64
|
}
|
|
64
|
-
export declare type AssetTrace = IBCCw20Trace | IBCTrace | SyntheicTrace | LiquidStakeTrace | BridgeTrace;
|
|
65
|
+
export declare type AssetTrace = IBCCw20Trace | IBCTrace | SyntheicTrace | LiquidStakeTrace | WrapTrace | BridgeTrace;
|
|
65
66
|
export interface Asset {
|
|
66
67
|
description?: string;
|
|
67
68
|
type_asset?: string;
|
package/types/chains.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ export interface Chain {
|
|
|
6
6
|
update_link?: string;
|
|
7
7
|
pretty_name: string;
|
|
8
8
|
chain_id: string;
|
|
9
|
+
website?: string;
|
|
9
10
|
bech32_prefix: string;
|
|
10
11
|
daemon_name?: string;
|
|
11
12
|
key_algos?: string[];
|
|
@@ -79,26 +80,32 @@ export interface Chain {
|
|
|
79
80
|
rest?: {
|
|
80
81
|
address: string;
|
|
81
82
|
provider?: string;
|
|
83
|
+
archive?: boolean;
|
|
82
84
|
}[];
|
|
83
85
|
grpc?: {
|
|
84
86
|
address: string;
|
|
85
87
|
provider?: string;
|
|
88
|
+
archive?: boolean;
|
|
86
89
|
}[];
|
|
87
90
|
'evm-http-jsonrpc'?: {
|
|
88
91
|
address: string;
|
|
89
92
|
provider?: string;
|
|
93
|
+
archive?: boolean;
|
|
90
94
|
}[];
|
|
91
95
|
'grpc-web'?: {
|
|
92
96
|
address: string;
|
|
93
97
|
provider?: string;
|
|
98
|
+
archive?: boolean;
|
|
94
99
|
}[];
|
|
95
100
|
sidechains_rpc?: {
|
|
96
101
|
address: string;
|
|
97
102
|
provider?: string;
|
|
103
|
+
archive?: boolean;
|
|
98
104
|
}[];
|
|
99
105
|
[key: string]: {
|
|
100
106
|
address: string;
|
|
101
107
|
provider?: string;
|
|
108
|
+
archive?: boolean;
|
|
102
109
|
}[];
|
|
103
110
|
};
|
|
104
111
|
}
|