chain-registry 0.0.38 → 0.0.41
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 +24 -0
- package/main/index.js +22 -34
- package/module/index.js +4 -4
- package/package.json +3 -2
- package/types/assets.d.ts +26 -0
- package/types/chains.d.ts +53 -0
- package/types/ibc.d.ts +29 -0
- package/types/ibc_assets.d.ts +36 -0
- package/types/index.d.ts +18 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,30 @@
|
|
|
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.0.41](https://github.com/cosmology-tech/chain-registry/compare/chain-registry@0.0.40...chain-registry@0.0.41) (2022-08-12)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package chain-registry
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [0.0.40](https://github.com/cosmology-tech/chain-registry/compare/chain-registry@0.0.39...chain-registry@0.0.40) (2022-08-12)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package chain-registry
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
## [0.0.39](https://github.com/cosmology-tech/chain-registry/compare/chain-registry@0.0.38...chain-registry@0.0.39) (2022-08-12)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package chain-registry
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
6
30
|
## [0.0.38](https://github.com/cosmology-tech/chain-registry/compare/chain-registry@0.0.37...chain-registry@0.0.38) (2022-08-12)
|
|
7
31
|
|
|
8
32
|
**Note:** Version bump only for package chain-registry
|
package/main/index.js
CHANGED
|
@@ -1,48 +1,36 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
4
4
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
exports
|
|
21
|
-
Object.defineProperty(exports, "ibc", {
|
|
22
|
-
enumerable: true,
|
|
23
|
-
get: function get() {
|
|
24
|
-
return _ibc["default"];
|
|
25
|
-
}
|
|
26
|
-
});
|
|
27
|
-
Object.defineProperty(exports, "ibc_assets", {
|
|
28
|
-
enumerable: true,
|
|
29
|
-
get: function get() {
|
|
30
|
-
return _ibc_assets["default"];
|
|
31
|
-
}
|
|
32
|
-
});
|
|
8
|
+
exports.ibc_assets = exports.ibc = exports["default"] = exports.chains = exports.assets = void 0;
|
|
9
|
+
|
|
10
|
+
var assets = _interopRequireWildcard(require("./assets"));
|
|
11
|
+
|
|
12
|
+
exports.assets = assets;
|
|
13
|
+
|
|
14
|
+
var chains = _interopRequireWildcard(require("./chains"));
|
|
15
|
+
|
|
16
|
+
exports.chains = chains;
|
|
17
|
+
|
|
18
|
+
var ibc = _interopRequireWildcard(require("./ibc"));
|
|
19
|
+
|
|
20
|
+
exports.ibc = ibc;
|
|
33
21
|
|
|
34
|
-
var
|
|
22
|
+
var ibc_assets = _interopRequireWildcard(require("./ibc_assets"));
|
|
35
23
|
|
|
36
|
-
|
|
24
|
+
exports.ibc_assets = ibc_assets;
|
|
37
25
|
|
|
38
|
-
var
|
|
26
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
39
27
|
|
|
40
|
-
var
|
|
28
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
41
29
|
|
|
42
30
|
var _default = {
|
|
43
|
-
assets:
|
|
44
|
-
chains:
|
|
45
|
-
ibc:
|
|
46
|
-
ibc_assets:
|
|
31
|
+
assets: assets,
|
|
32
|
+
chains: chains,
|
|
33
|
+
ibc: ibc,
|
|
34
|
+
ibc_assets: ibc_assets
|
|
47
35
|
};
|
|
48
36
|
exports["default"] = _default;
|
package/module/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import assets from './assets';
|
|
2
|
-
import chains from './chains';
|
|
3
|
-
import ibc from './ibc';
|
|
4
|
-
import ibc_assets from './ibc_assets';
|
|
1
|
+
import * as assets from './assets';
|
|
2
|
+
import * as chains from './chains';
|
|
3
|
+
import * as ibc from './ibc';
|
|
4
|
+
import * as ibc_assets from './ibc_assets';
|
|
5
5
|
export default {
|
|
6
6
|
assets,
|
|
7
7
|
chains,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "chain-registry",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.41",
|
|
4
4
|
"description": "Cosmos chain registry ⚛️",
|
|
5
5
|
"author": "Dan Lynch <pyramation@gmail.com>",
|
|
6
6
|
"homepage": "https://github.com/cosmology-tech/chain-registry/tree/master/packages/chain-registry#readme",
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
"test": "__tests__"
|
|
14
14
|
},
|
|
15
15
|
"files": [
|
|
16
|
+
"types",
|
|
16
17
|
"main",
|
|
17
18
|
"module"
|
|
18
19
|
],
|
|
@@ -71,5 +72,5 @@
|
|
|
71
72
|
"dependencies": {
|
|
72
73
|
"@babel/runtime": "^7.18.3"
|
|
73
74
|
},
|
|
74
|
-
"gitHead": "
|
|
75
|
+
"gitHead": "6d81e05df5c0b1b3dc17f81dd8850b47d44176dd"
|
|
75
76
|
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
declare const _exports: {
|
|
2
|
+
[n: number]: {
|
|
3
|
+
$schema: string;
|
|
4
|
+
chain_name: string;
|
|
5
|
+
assets: ({
|
|
6
|
+
description: string;
|
|
7
|
+
denom_units: ({
|
|
8
|
+
denom: string;
|
|
9
|
+
exponent: number;
|
|
10
|
+
} | {
|
|
11
|
+
denom: string;
|
|
12
|
+
exponent: number;
|
|
13
|
+
aliases: string[];
|
|
14
|
+
})[];
|
|
15
|
+
base: string;
|
|
16
|
+
name: string;
|
|
17
|
+
display: string;
|
|
18
|
+
symbol: string;
|
|
19
|
+
logo_URIs: {
|
|
20
|
+
svg: string;
|
|
21
|
+
};
|
|
22
|
+
coingecko_id: string;
|
|
23
|
+
})
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
export = _exports;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
declare const _exports: {
|
|
2
|
+
[n: number]: {
|
|
3
|
+
$schema: string;
|
|
4
|
+
chain_name: string;
|
|
5
|
+
status: string;
|
|
6
|
+
network_type: string;
|
|
7
|
+
pretty_name: string;
|
|
8
|
+
chain_id: string;
|
|
9
|
+
bech32_prefix: string;
|
|
10
|
+
daemon_name: string;
|
|
11
|
+
node_home: string;
|
|
12
|
+
genesis: {
|
|
13
|
+
genesis_url: string;
|
|
14
|
+
};
|
|
15
|
+
slip44: number;
|
|
16
|
+
explorers: {
|
|
17
|
+
kind: string;
|
|
18
|
+
url: string;
|
|
19
|
+
tx_page: string;
|
|
20
|
+
}[];
|
|
21
|
+
codebase: {
|
|
22
|
+
git_repo: string;
|
|
23
|
+
recommended_version: string;
|
|
24
|
+
compatible_versions: string[];
|
|
25
|
+
};
|
|
26
|
+
peers: {
|
|
27
|
+
seeds: undefined[];
|
|
28
|
+
persistent_peers: {
|
|
29
|
+
id: string;
|
|
30
|
+
address: string;
|
|
31
|
+
}[];
|
|
32
|
+
};
|
|
33
|
+
apis: {
|
|
34
|
+
rpc: ({
|
|
35
|
+
address: string;
|
|
36
|
+
} | {
|
|
37
|
+
address: string;
|
|
38
|
+
provider: string;
|
|
39
|
+
})[];
|
|
40
|
+
rest: ({
|
|
41
|
+
address: string;
|
|
42
|
+
} | {
|
|
43
|
+
address: string;
|
|
44
|
+
provider: string;
|
|
45
|
+
})[];
|
|
46
|
+
grpc: {
|
|
47
|
+
address: string;
|
|
48
|
+
provider: string;
|
|
49
|
+
}[];
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
};
|
|
53
|
+
export = _exports;
|
package/types/ibc.d.ts
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
declare const _exports: {
|
|
2
|
+
[n: number]: {
|
|
3
|
+
$schema: string;
|
|
4
|
+
"chain-1": {
|
|
5
|
+
"chain-name": string;
|
|
6
|
+
"client-id": string;
|
|
7
|
+
"connection-id": string;
|
|
8
|
+
};
|
|
9
|
+
"chain-2": {
|
|
10
|
+
"chain-name": string;
|
|
11
|
+
"client-id": string;
|
|
12
|
+
"connection-id": string;
|
|
13
|
+
};
|
|
14
|
+
channels: {
|
|
15
|
+
"chain-1": {
|
|
16
|
+
"channel-id": string;
|
|
17
|
+
"port-id": string;
|
|
18
|
+
};
|
|
19
|
+
"chain-2": {
|
|
20
|
+
"channel-id": string;
|
|
21
|
+
"port-id": string;
|
|
22
|
+
};
|
|
23
|
+
ordering: string;
|
|
24
|
+
version: string;
|
|
25
|
+
tags: {};
|
|
26
|
+
}[];
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
export = _exports;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
declare const _exports: {
|
|
2
|
+
[n: number]: {
|
|
3
|
+
chain: {
|
|
4
|
+
"chain-name": string;
|
|
5
|
+
"client-id": string;
|
|
6
|
+
"connection-id": string;
|
|
7
|
+
"channel-id": string;
|
|
8
|
+
"port-id": string;
|
|
9
|
+
};
|
|
10
|
+
counterparty: {
|
|
11
|
+
"chain-name": string;
|
|
12
|
+
"client-id": string;
|
|
13
|
+
"connection-id": string;
|
|
14
|
+
"channel-id": string;
|
|
15
|
+
"port-id": string;
|
|
16
|
+
};
|
|
17
|
+
assets: ({
|
|
18
|
+
description: string;
|
|
19
|
+
denom_units: {
|
|
20
|
+
denom: string;
|
|
21
|
+
exponent: number;
|
|
22
|
+
aliases: string[];
|
|
23
|
+
}[];
|
|
24
|
+
base: string;
|
|
25
|
+
name: string;
|
|
26
|
+
display: string;
|
|
27
|
+
symbol: string;
|
|
28
|
+
logo_URIs: {
|
|
29
|
+
png: string;
|
|
30
|
+
svg: string;
|
|
31
|
+
};
|
|
32
|
+
coingecko_id: string;
|
|
33
|
+
})
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
export = _exports;
|
package/types/index.d.ts
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as assets from './assets';
|
|
2
|
+
import * as chains from './chains';
|
|
3
|
+
import * as ibc from './ibc';
|
|
4
|
+
import * as ibc_assets from './ibc_assets';
|
|
5
|
+
|
|
6
|
+
export default {
|
|
7
|
+
assets,
|
|
8
|
+
chains,
|
|
9
|
+
ibc,
|
|
10
|
+
ibc_assets
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export {
|
|
14
|
+
assets,
|
|
15
|
+
chains,
|
|
16
|
+
ibc,
|
|
17
|
+
ibc_assets
|
|
18
|
+
};
|