@chain-registry/types 0.10.2 → 0.11.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 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.11.1](https://github.com/cosmology-tech/chain-registry/compare/@chain-registry/types@0.11.0...@chain-registry/types@0.11.1) (2022-10-20)
7
+
8
+ **Note:** Version bump only for package @chain-registry/types
9
+
10
+
11
+
12
+
13
+
14
+ # [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)
15
+
16
+ **Note:** Version bump only for package @chain-registry/types
17
+
18
+
19
+
20
+
21
+
6
22
  ## [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
23
 
8
24
  **Note:** Version bump only for package @chain-registry/types
package/README.md CHANGED
@@ -9,6 +9,7 @@
9
9
  <img height="20" src="https://github.com/cosmology-tech/chain-registry/actions/workflows/run-tests.yml/badge.svg" />
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
+ <a href="https://www.npmjs.com/package/@chain-registry/types"><img height="20" src="https://img.shields.io/npm/dt/@chain-registry/types"></a>
12
13
  <a href="https://www.npmjs.com/package/@chain-registry/types"><img height="20" src="https://img.shields.io/github/package-json/v/cosmology-tech/chain-registry?filename=packages%2Ftypes%2Fpackage.json"></a>
13
14
  </p>
14
15
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chain-registry/types",
3
- "version": "0.10.2",
3
+ "version": "0.11.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",
@@ -75,5 +75,5 @@
75
75
  "@keplr-wallet/cosmos": "^0.10.24",
76
76
  "@keplr-wallet/crypto": "^0.10.24"
77
77
  },
78
- "gitHead": "e01cbeb19082e4dd1386f958b59be5f2013ca49d"
78
+ "gitHead": "1dc04b938a9bbfb226dc3f91092c98c2c2d4c15a"
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
- asset: {
9
- platform?: string;
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
- asset: {
17
- platform?: string;
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
- asset: {
25
- platform?: string;
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: 'wrapping';
32
- asset: {
33
- platform?: string;
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
- channel: string;
43
- denom: string;
42
+ channel_id: string;
43
+ base_denom: string;
44
44
  chain_name: string;
45
45
  };
46
46
  chain: {
47
47
  port?: string;
48
- channel: string;
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
- channel: string;
56
- denom: string;
56
+ channel_id: string;
57
+ base_denom: string;
57
58
  chain_name: string;
58
59
  };
59
60
  chain: {
60
61
  port: string;
61
- channel: string;
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
  }