@chain-registry/juno 0.4.4 → 0.5.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 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.5.0](https://github.com/cosmology-tech/chain-registry/compare/@chain-registry/juno@0.4.6...@chain-registry/juno@0.5.0) (2022-08-14)
7
+
8
+ **Note:** Version bump only for package @chain-registry/juno
9
+
10
+
11
+
12
+
13
+
14
+ ## [0.4.6](https://github.com/cosmology-tech/chain-registry/compare/@chain-registry/juno@0.4.5...@chain-registry/juno@0.4.6) (2022-08-14)
15
+
16
+ **Note:** Version bump only for package @chain-registry/juno
17
+
18
+
19
+
20
+
21
+
22
+ ## [0.4.5](https://github.com/cosmology-tech/chain-registry/compare/@chain-registry/juno@0.4.4...@chain-registry/juno@0.4.5) (2022-08-14)
23
+
24
+ **Note:** Version bump only for package @chain-registry/juno
25
+
26
+
27
+
28
+
29
+
6
30
  ## [0.4.4](https://github.com/cosmology-tech/chain-registry/compare/@chain-registry/juno@0.4.3...@chain-registry/juno@0.4.4) (2022-08-14)
7
31
 
8
32
  **Note:** Version bump only for package @chain-registry/juno
package/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # @chain-registry/juno
2
2
 
3
3
  <p align="center" width="100%">
4
- <img height="90" src="https://user-images.githubusercontent.com/545047/184277736-69fef40f-1991-4c0e-b979-da125cf7fd8f.svg" />
4
+ <img height="90" src="https://user-images.githubusercontent.com/545047/184516834-4b8190b0-0721-4778-b4fb-fa19ed3f9279.svg" />
5
5
  </p>
6
6
 
7
7
  <p align="center" width="100%">
@@ -21,6 +21,37 @@ npm install @chain-registry/juno
21
21
  ```js
22
22
  import { chain, assets, ibc_assets } from '@chain-registry/juno';
23
23
  ```
24
+ ```js
25
+ console.log(ibc_assets);
26
+ {
27
+ chain_name: 'juno',
28
+ assets: [
29
+ {
30
+ description: "Akash Token (AKT) is the Akash Network's native utility token, used as the primary means to govern, secure the blockchain, incentivize participants, and provide a default mechanism to store and exchange value.",
31
+ denom_units: [Array],
32
+ base: 'ibc/DFC6F33796D5D0075C5FB54A4D7B8E76915ACF434CB1EE2A1BA0BB8334E17C3A',
33
+ name: 'Akash Network',
34
+ display: 'akt',
35
+ symbol: 'AKT',
36
+ logo_URIs: [Object],
37
+ coingecko_id: 'akash-network',
38
+ ibc: [Object]
39
+ },
40
+ {
41
+ description: 'The native token of Axelar',
42
+ denom_units: [Array],
43
+ base: 'ibc/EBE900AED8FF6BB2E186B17B066138F647CDD9647EF4FBE2DE6C8D4013A2C990',
44
+ name: 'Axelar',
45
+ display: 'axl',
46
+ symbol: 'AXL',
47
+ logo_URIs: [Object],
48
+ coingecko_id: 'axelar-network',
49
+ ibc: [Object]
50
+ },
51
+ // ... more assets
52
+ ]
53
+ }
54
+ ```
24
55
 
25
56
  ## Credits
26
57
 
package/main/assets.js CHANGED
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports["default"] = void 0;
7
- var _default = {
7
+ var assets = {
8
8
  "$schema": "../assetlist.schema.json",
9
9
  "chain_name": "juno",
10
10
  "assets": [{
@@ -292,4 +292,5 @@ var _default = {
292
292
  }
293
293
  }]
294
294
  };
295
+ var _default = assets;
295
296
  exports["default"] = _default;
package/main/chain.js CHANGED
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports["default"] = void 0;
7
- var _default = {
7
+ var chain = {
8
8
  "$schema": "../chain.schema.json",
9
9
  "chain_name": "juno",
10
10
  "status": "live",
@@ -136,4 +136,5 @@ var _default = {
136
136
  "tx_page": "https://atomscan.com/juno/transactions/${txHash}"
137
137
  }]
138
138
  };
139
+ var _default = chain;
139
140
  exports["default"] = _default;
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports["default"] = void 0;
7
- var _default = [{
7
+ var ibc_assets = {
8
8
  "chain_name": "juno",
9
9
  "assets": [{
10
10
  "description": "Akash Token (AKT) is the Akash Network's native utility token, used as the primary means to govern, secure the blockchain, incentivize participants, and provide a default mechanism to store and exchange value.",
@@ -2175,5 +2175,6 @@ var _default = [{
2175
2175
  }
2176
2176
  }
2177
2177
  }]
2178
- }];
2178
+ };
2179
+ var _default = ibc_assets;
2179
2180
  exports["default"] = _default;
package/module/assets.js CHANGED
@@ -1,4 +1,4 @@
1
- export default {
1
+ const assets = {
2
2
  "$schema": "../assetlist.schema.json",
3
3
  "chain_name": "juno",
4
4
  "assets": [{
@@ -285,4 +285,5 @@ export default {
285
285
  "svg": "https://raw.githubusercontent.com/cosmos/chain-registry/master/juno/images/blkh.svg"
286
286
  }
287
287
  }]
288
- };
288
+ };
289
+ export default assets;
package/module/chain.js CHANGED
@@ -1,4 +1,4 @@
1
- export default {
1
+ const chain = {
2
2
  "$schema": "../chain.schema.json",
3
3
  "chain_name": "juno",
4
4
  "status": "live",
@@ -129,4 +129,5 @@ export default {
129
129
  "url": "https://atomscan.com/juno",
130
130
  "tx_page": "https://atomscan.com/juno/transactions/${txHash}"
131
131
  }]
132
- };
132
+ };
133
+ export default chain;
@@ -1,4 +1,4 @@
1
- export default [{
1
+ const ibc_assets = {
2
2
  "chain_name": "juno",
3
3
  "assets": [{
4
4
  "description": "Akash Token (AKT) is the Akash Network's native utility token, used as the primary means to govern, secure the blockchain, incentivize participants, and provide a default mechanism to store and exchange value.",
@@ -2169,4 +2169,5 @@ export default [{
2169
2169
  }
2170
2170
  }
2171
2171
  }]
2172
- }];
2172
+ };
2173
+ export default ibc_assets;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chain-registry/juno",
3
- "version": "0.4.4",
3
+ "version": "0.5.0",
4
4
  "description": "Chain Registry info for Juno",
5
5
  "author": "Dan Lynch <pyramation@gmail.com>",
6
6
  "homepage": "https://github.com/cosmology-tech/chain-registry",
@@ -23,7 +23,7 @@
23
23
  "build": "npm run build:module && npm run build:main",
24
24
  "build:ts": "tsc --project ./tsconfig.json",
25
25
  "buidl": "npm run build && npm run build:ts",
26
- "make": "babel-node ./scripts/build.js",
26
+ "build:pkg": "babel-node ./scripts/build.js",
27
27
  "prepare": "npm run build",
28
28
  "lint": "eslint --ext .ts,.tsx,.js .",
29
29
  "format": "eslint --fix . --ext .ts,.tsx,.js",
@@ -60,7 +60,7 @@
60
60
  "babel-core": "7.0.0-bridge.0",
61
61
  "babel-jest": "28.1.1",
62
62
  "babel-watch": "^7.0.0",
63
- "chain-registry": "^0.5.1",
63
+ "chain-registry": "^0.6.0",
64
64
  "cross-env": "^7.0.2",
65
65
  "eslint": "8.20.0",
66
66
  "eslint-config-prettier": "^8.5.0",
@@ -75,7 +75,8 @@
75
75
  "typescript": "^4.7.3"
76
76
  },
77
77
  "dependencies": {
78
- "@babel/runtime": "^7.18.3"
78
+ "@babel/runtime": "^7.18.3",
79
+ "@chain-registry/types": "^0.4.0"
79
80
  },
80
- "gitHead": "a26008a07ec18c88b79da4a9fab560cb45b1c53a"
81
+ "gitHead": "e32116855a11fe78b01e1d22ab31671ca7315343"
81
82
  }
package/types/assets.d.ts CHANGED
@@ -1,28 +1,3 @@
1
- declare const _exports: {
2
- $schema: string;
3
- chain_name: string;
4
- assets: {
5
- description: string;
6
- denom_units: (
7
- | {
8
- denom: string;
9
- exponent: number;
10
- }
11
- | {
12
- denom: string;
13
- exponent: number;
14
- aliases: string[];
15
- }
16
- )[];
17
- base: string;
18
- name: string;
19
- display: string;
20
- symbol: string;
21
- logo_URIs: {
22
- svg: string;
23
- png: string;
24
- };
25
- coingecko_id: string;
26
- };
27
- };
28
- export = _exports;
1
+ import { AssetList } from '@chain-registry/types';
2
+ declare const assets: AssetList;
3
+ export default assets;
package/types/chain.d.ts CHANGED
@@ -1,61 +1,3 @@
1
- declare const _exports: {
2
- $schema: string;
3
- chain_name: string;
4
- status: string;
5
- network_type: string;
6
- pretty_name: string;
7
- chain_id: string;
8
- bech32_prefix: string;
9
- daemon_name: string;
10
- node_home: string;
11
- genesis: {
12
- genesis_url: string;
13
- };
14
- slip44: number;
15
- fees?: {
16
- fee_tokens: {
17
- denom: string;
18
- fixed_min_gas_price?: number;
19
- low_gas_price?: number;
20
- average_gas_price?: number;
21
- high_gas_price?: number;
22
- }[];
23
- };
24
- staking?: {
25
- staking_tokens: {
26
- denom: string;
27
- }[];
28
- };
29
- explorers: {
30
- kind: string;
31
- url: string;
32
- tx_page: string;
33
- }[];
34
- codebase: {
35
- git_repo: string;
36
- recommended_version: string;
37
- compatible_versions: string[];
38
- };
39
- peers: {
40
- seeds: any[];
41
- persistent_peers: {
42
- id: string;
43
- address: string;
44
- }[];
45
- };
46
- apis: {
47
- rpc: {
48
- address: string;
49
- provider?: string;
50
- }[];
51
- rest: {
52
- address: string;
53
- provider?: string;
54
- }[];
55
- grpc: {
56
- address: string;
57
- provider?: string;
58
- }[];
59
- };
60
- };
61
- export = _exports;
1
+ import { Chain } from '@chain-registry/types';
2
+ declare const chain: Chain;
3
+ export default chain;
@@ -1,31 +1,3 @@
1
- declare const _exports: {
2
- chain_name: string;
3
- assets: {
4
- description: string;
5
- denom_units: {
6
- denom: string;
7
- exponent: number;
8
- aliases?: string[];
9
- }[];
10
- base: string;
11
- name: string;
12
- display: string;
13
- symbol: string;
14
- logo_URIs: {
15
- png: string;
16
- svg: string;
17
- };
18
- coingecko_id: string;
19
- ibc: {
20
- counterparty: {
21
- channel: string;
22
- denom: string;
23
- chain_name: string;
24
- };
25
- chain: {
26
- channel: string;
27
- };
28
- };
29
- }[];
30
- }[];
31
- export = _exports;
1
+ import { IBCAsset } from '@chain-registry/types';
2
+ declare const ibc_assets: IBCAsset;
3
+ export default ibc_assets;
package/types/index.d.ts CHANGED
@@ -1,11 +1,10 @@
1
1
  import assets from './assets';
2
2
  import chain from './chain';
3
3
  import ibc_assets from './ibc_assets';
4
-
5
- export default {
6
- chain,
7
- assets,
8
- ibc_assets
4
+ declare const _default: {
5
+ chain: import("@chain-registry/types").Chain;
6
+ assets: import("@chain-registry/types").AssetList;
7
+ ibc_assets: import("@chain-registry/types").IBCAsset;
9
8
  };
10
-
9
+ export default _default;
11
10
  export { assets, chain, ibc_assets };