@chain-registry/assets 0.4.0 → 0.4.3

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.4.3](https://github.com/cosmology-tech/chain-registry/compare/@chain-registry/assets@0.4.2...@chain-registry/assets@0.4.3) (2022-08-14)
7
+
8
+ **Note:** Version bump only for package @chain-registry/assets
9
+
10
+
11
+
12
+
13
+
14
+ ## [0.4.2](https://github.com/cosmology-tech/chain-registry/compare/@chain-registry/assets@0.4.1...@chain-registry/assets@0.4.2) (2022-08-13)
15
+
16
+ **Note:** Version bump only for package @chain-registry/assets
17
+
18
+
19
+
20
+
21
+
22
+ ## [0.4.1](https://github.com/cosmology-tech/chain-registry/compare/@chain-registry/assets@0.4.0...@chain-registry/assets@0.4.1) (2022-08-13)
23
+
24
+ **Note:** Version bump only for package @chain-registry/assets
25
+
26
+
27
+
28
+
29
+
6
30
  # 0.4.0 (2022-08-13)
7
31
 
8
32
  **Note:** Version bump only for package @chain-registry/assets
package/README.md CHANGED
@@ -20,4 +20,43 @@ npm install @chain-registry/assets
20
20
 
21
21
  ```js
22
22
  import { ibc_assets } from '@chain-registry/assets';
23
+ const assetList = ibc_assets
24
+ .find(asset => asset.chain_name === 'osmosis');
25
+ ```
26
+
27
+ Which gives you a list of assets for the `chain_name`:
28
+
29
+ ```js
30
+ console.log(assetList.assets);
31
+
32
+ [
33
+ {
34
+ 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.",
35
+ denom_units: [ [Object], [Object] ],
36
+ base: 'ibc/1480B8FD20AD5FCAE81EA87584D269547DD4D436843C1D20F15E00EB64743EF4',
37
+ name: 'Akash Network',
38
+ display: 'akt',
39
+ symbol: 'AKT',
40
+ logo_URIs: {
41
+ png: 'https://raw.githubusercontent.com/cosmos/chain-registry/master/akash/images/akt.png',
42
+ svg: 'https://raw.githubusercontent.com/cosmos/chain-registry/master/akash/images/akt.svg'
43
+ },
44
+ coingecko_id: 'akash-network',
45
+ ibc: { counterparty: [Object], chain: [Object] }
46
+ },
47
+ {
48
+ description: 'The native token of Axelar',
49
+ denom_units: [ [Object], [Object] ],
50
+ base: 'ibc/903A61A498756EA560B85A85132D3AEE21B5DEDD41213725D22ABF276EA6945E',
51
+ name: 'Axelar',
52
+ display: 'axl',
53
+ symbol: 'AXL',
54
+ logo_URIs: {
55
+ png: 'https://raw.githubusercontent.com/cosmos/chain-registry/master/axelar/images/axl.png',
56
+ svg: 'https://raw.githubusercontent.com/cosmos/chain-registry/master/axelar/images/axl.svg'
57
+ },
58
+ coingecko_id: 'axelar-network',
59
+ ibc: { counterparty: [Object], chain: [Object] }
60
+ }
61
+ ]
23
62
  ```
package/main/index.js CHANGED
@@ -1,18 +1,21 @@
1
1
  "use strict";
2
2
 
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+
3
5
  Object.defineProperty(exports, "__esModule", {
4
6
  value: true
5
7
  });
8
+ exports["default"] = void 0;
9
+ Object.defineProperty(exports, "ibc_assets", {
10
+ enumerable: true,
11
+ get: function get() {
12
+ return _ibc_assets["default"];
13
+ }
14
+ });
6
15
 
7
- var _ibc_assets = require("./ibc_assets");
16
+ var _ibc_assets = _interopRequireDefault(require("./ibc_assets"));
8
17
 
9
- Object.keys(_ibc_assets).forEach(function (key) {
10
- if (key === "default" || key === "__esModule") return;
11
- if (key in exports && exports[key] === _ibc_assets[key]) return;
12
- Object.defineProperty(exports, key, {
13
- enumerable: true,
14
- get: function get() {
15
- return _ibc_assets[key];
16
- }
17
- });
18
- });
18
+ var _default = {
19
+ ibc_assets: _ibc_assets["default"]
20
+ };
21
+ exports["default"] = _default;
package/module/index.js CHANGED
@@ -1 +1,5 @@
1
- export * from './ibc_assets';
1
+ import ibc_assets from './ibc_assets';
2
+ export default {
3
+ ibc_assets
4
+ };
5
+ export { ibc_assets };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chain-registry/assets",
3
- "version": "0.4.0",
3
+ "version": "0.4.3",
4
4
  "description": "Chain Registry Asset Lists",
5
5
  "author": "Dan Lynch <pyramation@gmail.com>",
6
6
  "homepage": "https://github.com/cosmology-tech/chain-registry",
@@ -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.0",
63
+ "chain-registry": "^0.5.1",
64
64
  "cross-env": "^7.0.2",
65
65
  "eslint": "8.20.0",
66
66
  "eslint-config-prettier": "^8.5.0",
@@ -77,5 +77,5 @@
77
77
  "dependencies": {
78
78
  "@babel/runtime": "^7.18.3"
79
79
  },
80
- "gitHead": "b20ad10d099c2e8f970b6ac42d0826198c3fd4fe"
80
+ "gitHead": "9ec7cd41f8cf8ed996102fe10f787f33c45811e8"
81
81
  }
package/types/index.d.ts CHANGED
@@ -1 +1,7 @@
1
- export * from './ibc_assets';
1
+ import ibc_assets from './ibc_assets';
2
+
3
+ export default {
4
+ ibc_assets
5
+ };
6
+
7
+ export { ibc_assets };