Clean code

This commit is contained in:
David Majdandžić
2023-03-24 21:55:16 +01:00
parent 1af1eda9d8
commit 6cf5b99705
2 changed files with 1 additions and 2 deletions

View File

@@ -1,5 +1,4 @@
const smpp = require("smpp"); const smpp = require("smpp");
const keyboard = require("keyboardjs");
const fs = require("fs"); const fs = require("fs");
const path = require("path"); const path = require("path");
const EventEmitter = require("events"); const EventEmitter = require("events");
@@ -13,6 +12,7 @@ const WebSocket = require("ws");
const SERVER_PORT = process.env.SERVER_PORT || 8190; const SERVER_PORT = process.env.SERVER_PORT || 8190;
const WS_SERVER_PORT = process.env.WS_SERVER_PORT || 8191; const WS_SERVER_PORT = process.env.WS_SERVER_PORT || 8191;
const SESSIONS_FILE = process.env.SESSIONS_FILE || "sessions.json"; const SESSIONS_FILE = process.env.SESSIONS_FILE || "sessions.json";
const MIN_MESSAGE_SEND_UPDATE_DELAY = process.env.MIN_MESSAGE_SEND_UPDATE_DELAY || 500;
[ [

View File

@@ -12,7 +12,6 @@
"dependencies": { "dependencies": {
"body-parser": "^1.20.2", "body-parser": "^1.20.2",
"express": "^4.18.2", "express": "^4.18.2",
"keyboardjs": "^2.7.0",
"nanotimer": "^0.3.15", "nanotimer": "^0.3.15",
"smpp": "^0.6.0-rc.4", "smpp": "^0.6.0-rc.4",
"ws": "^8.13.0" "ws": "^8.13.0"