Skip to content

Commit

Permalink
new names
Browse files Browse the repository at this point in the history
  • Loading branch information
supermean-ayaz committed Sep 8, 2022
1 parent 0a93452 commit 8e19edd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
const fileName = 'mean-stats.json';
const fs = require('fs');
let { tvl } = require('./meanfi-stats.json');
let { tvl } = require(`./${fileName}`);
const { version } = require('./package.json');
const { LockedTokens } = require('./lib/locked.tokens');
const { MEAN_PUBKEY, getCoinGeckoPrices, MEAN_INFO, getTotalTvl } = require('./lib/utils/common');
Expand Down Expand Up @@ -65,5 +66,5 @@ const { MEAN_PUBKEY, getCoinGeckoPrices, MEAN_INFO, getTotalTvl } = require('./l
};

console.log(result);
fs.writeFileSync('./meanfi-stats.json', JSON.stringify(result, null, 2), { encoding: 'utf8' });
fs.writeFileSync(`./${fileName}`, JSON.stringify(result, null, 2), { encoding: 'utf8' });
})();
File renamed without changes.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "meanfi-stats",
"version": "1.0.2",
"description": "Meanfi Stats",
"name": "mean-stats",
"version": "2.0.0",
"description": "MEAN Stats",
"main": "index.js",
"license": "MIT",
"private": true,
Expand Down

0 comments on commit 8e19edd

Please sign in to comment.