Skip to content

Commit

Permalink
v1.0.5
Browse files Browse the repository at this point in the history
Обновил прибыль крипты в getCosts()
  • Loading branch information
TheCaJlaT authored Sep 10, 2021
1 parent d6d7663 commit ce1bb39
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 23 deletions.
38 changes: 19 additions & 19 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,25 +50,25 @@ class Crypto {
async getCosts() {
let costs = [
{ name: 'Bitcoin', stat_name: 'bitcoin', boost: 1, price: 100 },
{ name: 'Ethereum', stat_name: 'ethereum', boost: 5, price: 150 },
{ name: 'Cardano', stat_name: 'cardano', boost: 10, price: 225 },
{ name: 'BinanceCoin', stat_name: 'binanceCoin', boost: 15, price: 340 },
{ name: 'Tether', stat_name: 'tether', boost: 20, price: 500 },
{ name: 'XRP', stat_name: 'xrp', boost: 30, price: 760 },
{ name: 'Dogecoin', stat_name: 'dogecoin', boost: 40, price: 1140 },
{ name: 'Polkadot', stat_name: 'polkadot', boost: 50, price: 1710 },
{ name: 'USD', stat_name: 'usdCoin', boost: 60, price: 2560 },
{ name: 'Solana', stat_name: 'solana', boost: 80, price: 4000 },
{ name: 'Uniswap', stat_name: 'uniswap', boost: 110, price: 6000 },
{ name: 'Chaincoin', stat_name: 'chaincoin', boost: 150, price: 9000 },
{ name: 'Terra', stat_name: 'terra', boost: 200, price: 13500 },
{ name: 'Litecoin', stat_name: 'litecoin', boost: 250, price: 20000 },
{ name: 'Filecoin', stat_name: 'filecoin', boost: 300, price: 30000 },
{ name: 'Tron', stat_name: 'tron', boost: 400, price: 40000 },
{ name: 'Monero', stat_name: 'monero', boost: 500, price: 55000 },
{ name: 'Theta', stat_name: 'theta', boost: 600, price: 75000 },
{ name: 'Aave', stat_name: 'aave', boost: 750, price: 90000 },
{ name: 'Kusama', stat_name: 'kusama', boost: 1000, price: 120000 }
{ name: 'Ethereum', stat_name: 'ethereum', boost: 3, price: 150 },
{ name: 'Cardano', stat_name: 'cardano', boost: 5, price: 225 },
{ name: 'BinanceCoin', stat_name: 'binanceCoin', boost: 10, price: 340 },
{ name: 'Tether', stat_name: 'tether', boost: 15, price: 500 },
{ name: 'XRP', stat_name: 'xrp', boost: 23, price: 760 },
{ name: 'Dogecoin', stat_name: 'dogecoin', boost: 34, price: 1140 },
{ name: 'Polkadot', stat_name: 'polkadot', boost: 45, price: 1710 },
{ name: 'USD', stat_name: 'usdCoin', boost: 55, price: 2560 },
{ name: 'Solana', stat_name: 'solana', boost: 65, price: 4000 },
{ name: 'Uniswap', stat_name: 'uniswap', boost: 98, price: 6000 },
{ name: 'Chaincoin', stat_name: 'chaincoin', boost: 125, price: 9000 },
{ name: 'Terra', stat_name: 'terra', boost: 160, price: 13500 },
{ name: 'Litecoin', stat_name: 'litecoin', boost: 225, price: 20000 },
{ name: 'Filecoin', stat_name: 'filecoin', boost: 267, price: 30000 },
{ name: 'Tron', stat_name: 'tron', boost: 340, price: 40000 },
{ name: 'Monero', stat_name: 'monero', boost: 450, price: 55000 },
{ name: 'Theta', stat_name: 'theta', boost: 540, price: 75000 },
{ name: 'Aave', stat_name: 'aave', boost: 677, price: 90000 },
{ name: 'Kusama', stat_name: 'kusama', boost: 799, price: 120000 }
]
let payback = []
let stat = await this.call()
Expand Down
10 changes: 6 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "vk-crypto",
"version": "1.0.4",
"description": "wrapped methods for vk mini app \"Crypto\"",
"version": "1.0.5",
"description": "Wrapped methods for vk mini app \"Crypto\"",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
Expand All @@ -11,7 +11,9 @@
"url": "git+https://github.com/TheCaJlaT/vk-crypto.git"
},
"keywords": [
"vk"
"vk",
"вк",
"crypto"
],
"author": "TheCaJlaT",
"license": "MIT",
Expand All @@ -20,6 +22,6 @@
},
"homepage": "https://github.com/TheCaJlaT/vk-crypto#readme",
"dependencies": {
"node-fetch": "^2.6.1"
"node-fetch": "^3.0.0"
}
}

0 comments on commit ce1bb39

Please sign in to comment.