rsibot-utils 1.4.3 → 1.4.7
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +1 -1
- package/package.json +1 -15
package/index.js
CHANGED
@@ -4,7 +4,7 @@ const util = require('util');
|
|
4
4
|
const exec = util.promisify(require('child_process').exec);
|
5
5
|
const { HotCoin, ActiveCoin, Queue, Historical } = require('./db');
|
6
6
|
const CNAME = process.env.CNAME;
|
7
|
-
const LOGS_PATH = CNAME ? `${CNAME}_logs.txt` : '
|
7
|
+
const LOGS_PATH = CNAME ? `${CNAME}_logs.txt` : 'host_logs.txt';
|
8
8
|
|
9
9
|
function sortByPercent(a, b) {
|
10
10
|
return b.percentChange - a.percentChange;
|
package/package.json
CHANGED
@@ -1,15 +1 @@
|
|
1
|
-
{
|
2
|
-
"name": "rsibot-utils",
|
3
|
-
"version": "1.4.3",
|
4
|
-
"description": "",
|
5
|
-
"main": "index.js",
|
6
|
-
"scripts": {
|
7
|
-
"test": "echo \"Error: no test specified\" && exit 1"
|
8
|
-
},
|
9
|
-
"keywords": [],
|
10
|
-
"author": "",
|
11
|
-
"license": "ISC",
|
12
|
-
"dependencies": {
|
13
|
-
"mongoose": "^6.2.9"
|
14
|
-
}
|
15
|
-
}
|
1
|
+
{"name":"rsibot-utils","version":"1.4.7","description":"","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":[],"author":"","license":"ISC","dependencies":{"mongoose":"^6.2.9","rsibot-utils":"^1.0.4"}}
|