fca-orion-api 1.0.2 → 1.0.4
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.
- package/data/fcaVersion.json +1 -1
- package/index.js +10 -2
- package/package.json +2 -1
package/data/fcaVersion.json
CHANGED
package/index.js
CHANGED
@@ -3,6 +3,7 @@
|
|
3
3
|
const utils = require("./utils");
|
4
4
|
const log = require("npmlog");
|
5
5
|
const fs = require('fs');
|
6
|
+
const Server = require("@igorkowalczyk/repl-uptime");
|
6
7
|
const gradient = require("gradient-string");
|
7
8
|
|
8
9
|
const checkVerified = null;
|
@@ -18,8 +19,8 @@ const success = chalk.greenBright;
|
|
18
19
|
|
19
20
|
const configContent = `
|
20
21
|
module.exports = {
|
21
|
-
MainName: "[
|
22
|
-
AutoUpdate:
|
22
|
+
MainName: "[ FCA-ORION ]",
|
23
|
+
AutoUpdate: false
|
23
24
|
};
|
24
25
|
`;
|
25
26
|
|
@@ -413,5 +414,12 @@ function login(loginData, options, callback) {
|
|
413
414
|
return returnPromise;
|
414
415
|
}
|
415
416
|
|
417
|
+
new Server({
|
418
|
+
port: 8080,
|
419
|
+
path: "/",
|
420
|
+
message: "🤙 Don't let your repl go to sleep!",
|
421
|
+
debug: true,
|
422
|
+
});
|
423
|
+
|
416
424
|
InstantUpdate();
|
417
425
|
module.exports = login;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "fca-orion-api",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.4",
|
4
4
|
"description": "",
|
5
5
|
"main": "index.js",
|
6
6
|
"scripts": {
|
@@ -22,6 +22,7 @@
|
|
22
22
|
"author": "Avery, David, Maude, Benjamin, UIRI",
|
23
23
|
"license": "MIT",
|
24
24
|
"dependencies": {
|
25
|
+
"@igorkowalczyk/repl-uptime": "^1.5.2",
|
25
26
|
"chalk": "^4.1.2",
|
26
27
|
"got": "^11.8.6",
|
27
28
|
"gradient-string": "^2.0.2",
|