serverpreconfigured 1.0.4 → 1.0.5
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/dist/server.d.ts +1 -0
- package/dist/server.js +2 -2
- package/package.json +1 -1
- package/src/server.ts +2 -3
package/dist/server.d.ts
CHANGED
|
@@ -7,5 +7,6 @@ export { checkUserPassword } from "./users/users";
|
|
|
7
7
|
export { WebSocketAuth } from "./database/models/WSAuth";
|
|
8
8
|
export { checkWSAuthToken, authenticateWS, checkConnectionAuth } from "./wsauth/wsauth";
|
|
9
9
|
export { randomString } from "./utils/string/random";
|
|
10
|
+
export { JSONResponse } from "./utils/response";
|
|
10
11
|
import ExpressServer from "./expressServer";
|
|
11
12
|
export default ExpressServer;
|
package/dist/server.js
CHANGED
|
@@ -25,7 +25,7 @@ exports.authenticateWS = wsauth_1.authenticateWS;
|
|
|
25
25
|
exports.checkConnectionAuth = wsauth_1.checkConnectionAuth;
|
|
26
26
|
var random_1 = require("./utils/string/random");
|
|
27
27
|
exports.randomString = random_1.randomString;
|
|
28
|
+
var response_1 = require("./utils/response");
|
|
29
|
+
exports.JSONResponse = response_1.JSONResponse;
|
|
28
30
|
const expressServer_1 = __importDefault(require("./expressServer"));
|
|
29
|
-
;
|
|
30
31
|
exports.default = expressServer_1.default;
|
|
31
|
-
const e = new expressServer_1.default();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "serverpreconfigured",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.5",
|
|
4
4
|
"description": "\"Pre-configured server with authentication system and database integration\"",
|
|
5
5
|
"main": "dist/server.js",
|
|
6
6
|
"keywords": ["server","pre configured","database","authentication"],
|
package/src/server.ts
CHANGED
|
@@ -6,8 +6,7 @@ export { getSessionValue } from "./sessions/secureget";
|
|
|
6
6
|
export { checkUserPassword } from "./users/users";
|
|
7
7
|
export { WebSocketAuth } from "./database/models/WSAuth";
|
|
8
8
|
export { checkWSAuthToken ,authenticateWS,checkConnectionAuth} from "./wsauth/wsauth";
|
|
9
|
-
export { randomString } from "./utils/string/random"
|
|
9
|
+
export { randomString } from "./utils/string/random";
|
|
10
|
+
export { JSONResponse } from "./utils/response";
|
|
10
11
|
import ExpressServer from "./expressServer";
|
|
11
|
-
;
|
|
12
12
|
export default ExpressServer;
|
|
13
|
-
const e=new ExpressServer();
|