@chain-registry/assets 0.4.1 → 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.
Files changed (3) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/README.md +39 -0
  3. package/package.json +4 -4
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/assets@0.4.3...@chain-registry/assets@0.5.0) (2022-08-14)
7
+
8
+ **Note:** Version bump only for package @chain-registry/assets
9
+
10
+
11
+
12
+
13
+
14
+ ## [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)
15
+
16
+ **Note:** Version bump only for package @chain-registry/assets
17
+
18
+
19
+
20
+
21
+
22
+ ## [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)
23
+
24
+ **Note:** Version bump only for package @chain-registry/assets
25
+
26
+
27
+
28
+
29
+
6
30
  ## [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)
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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chain-registry/assets",
3
- "version": "0.4.1",
3
+ "version": "0.5.0",
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",
@@ -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.0",
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",
@@ -77,5 +77,5 @@
77
77
  "dependencies": {
78
78
  "@babel/runtime": "^7.18.3"
79
79
  },
80
- "gitHead": "8b42d116e85e6e0014e6cd31d9b0f1b583a9d4bc"
80
+ "gitHead": "e32116855a11fe78b01e1d22ab31671ca7315343"
81
81
  }