Skip to content

Commit

Permalink
Added: 1INCH, APE, ATLAS, AURY, AVAX, CHZ, FIDA, GMT, OXY, QNT, RAY, SER
Browse files Browse the repository at this point in the history
  • Loading branch information
man15h committed Apr 4, 2023
1 parent 8724dcc commit 9cf0ac5
Show file tree
Hide file tree
Showing 19 changed files with 1,013 additions and 266 deletions.
2 changes: 1 addition & 1 deletion manifest.json

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vue-cryptoicon",
"version": "0.18.0",
"version": "0.18.1",
"description": "Beautiful pixel perfect 400+ cryptocurrency and 10+ Fiat currency icon",
"main": "lib/vue-cryptoicon.common.js",
"author": "man15h",
Expand Down Expand Up @@ -68,15 +68,15 @@
"babel-eslint": "^10.0.1",
"babel-jest": "^23.6.0",
"cross-env": "^5.2.0",
"cryptocurrency-icons": "^0.18.0",
"cryptocurrency-icons": "^0.18.1",
"eslint": "^5.15.1",
"eslint-config-prettier": "^3.1.0",
"eslint-loader": "^2.1.2",
"eslint-plugin-prettier": "2.6.2",
"eslint-plugin-vue": "^4.0.0",
"esm": "^3.2.25",
"husky": "^1.3.1",
"node-sass": "^4.11.0",
"node-sass": "^8.0.0",
"prettier": "1.14.3",
"prismjs": "^1.15.0",
"rimraf": "^2.6.3",
Expand Down
8 changes: 7 additions & 1 deletion scripts/fetchDetails.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,13 @@ const fiatCurrencies = new Map([
async function fetchData(symbol) {
try {
const { data } = await axios.get(
`https://api.coinranking.com/v1/public/coins?symbols=${symbol}`
`https://api.coinranking.com/v2/coins?symbols=${symbol}`,
{
headers: {
'x-access-token':
'coinrankingc9f38c16ea4bbd406159a1db7d827fa812015dc0967012ce'
}
}
);
return data;
} catch (error) {
Expand Down
2 changes: 2 additions & 0 deletions scripts/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ exports.fixName = name => {
return 'ZeroxBtc';
case '2give':
return 'TwoGive';
case '1inch':
return 'OneInch';
default:
return name;
}
Expand Down
2 changes: 1 addition & 1 deletion src/data.json

Large diffs are not rendered by default.

13 changes: 13 additions & 0 deletions src/icons/ape.js

Large diffs are not rendered by default.

13 changes: 13 additions & 0 deletions src/icons/atlas.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
const Atlas = {
symbol: 'atlas',
color: '#000',
colorIcon() {
return `<defs><path id="a" d="M2.5 4.938L0 0h5z"/><path d="M8.5 6.498L4.03 15.99c-.148.304-.225.55-.55.55l-2.953.002c-.423 0-.657-.109-.451-.55L7.296.447C7.445.19 7.537 0 7.862 0H9.14c.325 0 .417.19.565.448l7.22 15.544c.206.442-.028.551-.451.551l-2.953-.001c-.325 0-.402-.247-.55-.551L8.5 6.498z" id="b"/></defs><g fill="none" fill-rule="evenodd"><circle fill="#31FAFB" fill-rule="nonzero" cx="16" cy="16" r="16"/><use fill="#FFF" xlink:href="#a" transform="translate(13.5 21.312)"/><use fill="#FFF" xlink:href="#b" transform="translate(7.5 6.25)"/></g>`;
},
plainIcon: c => {
return `<path fill-rule="evenodd" fill="${
c ? c : this.color
}" d="M16 0c8.837 0 16 7.163 16 16s-7.163 16-16 16S0 24.837 0 16 7.163 0 16 0zm2.5 21.312h-5L16 26.25l2.5-4.938zM16.64 6.25h-1.28c-.325 0-.417.19-.564.448l-7.22 15.544c-.206.442.028.551.451.551l2.953-.001c.325 0 .402-.247.55-.551L16 12.748l4.47 9.493c.148.304.225.55.55.55l2.953.002c.423 0 .657-.109.451-.55l-7.22-15.545c-.148-.258-.24-.448-.565-.448z"/>`;
}
};
export default Atlas;
13 changes: 13 additions & 0 deletions src/icons/aury.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions src/icons/avax.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions src/icons/chz.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions src/icons/fida.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions src/icons/gmt.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 9cf0ac5

Please sign in to comment.