@cimo/websocket 1.0.13 → 1.0.15
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/README.md +2 -2
- package/dist/{main.js → Main.js} +1 -1
- package/dist/Main.js.map +1 -0
- package/package.json +5 -5
- package/dist/main.js.map +0 -1
- /package/dist/{main.d.ts → Main.d.ts} +0 -0
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Websocket
|
|
2
2
|
|
|
3
|
-
Websocket API (server
|
|
3
|
+
Websocket API (server/client). Light, fast and secure.
|
|
4
4
|
|
|
5
5
|
## Publish
|
|
6
6
|
|
|
@@ -58,7 +58,7 @@ export const websocket = (socket: CwsServerInterface.Isocket, data: CwsServerInt
|
|
|
58
58
|
|
|
59
59
|
## Client
|
|
60
60
|
|
|
61
|
-
-
|
|
61
|
+
- Index.ts
|
|
62
62
|
|
|
63
63
|
```
|
|
64
64
|
...
|
package/dist/{main.js → Main.js}
RENAMED
|
@@ -26,4 +26,4 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
26
26
|
exports.CwsServerMessage = exports.CwsServerInterface = void 0;
|
|
27
27
|
exports.CwsServerInterface = __importStar(require("./server/Interface"));
|
|
28
28
|
exports.CwsServerMessage = __importStar(require("./server/Message"));
|
|
29
|
-
//# sourceMappingURL=
|
|
29
|
+
//# sourceMappingURL=Main.js.map
|
package/dist/Main.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Main.js","sourceRoot":"","sources":["../src/Main.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yEAAyD;AACzD,qEAAqD"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cimo/websocket",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "Websocket API (server
|
|
3
|
+
"version": "1.0.15",
|
|
4
|
+
"description": "Websocket API (server/client). Light, fast and secure.",
|
|
5
5
|
"author": "cimo",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"scripts": {
|
|
12
12
|
"preinstall": "([ ! -f package-lock.json ] && npm install --package-lock-only --ignore-scripts --no-audit); npx npm-force-resolutions",
|
|
13
13
|
"check": "eslint . --fix",
|
|
14
|
-
"remove_dist": "node -e \"const fs = require('fs');try
|
|
14
|
+
"remove_dist": "node -e \"const fs = require('fs'); try{ fs.rmdirSync('./dist/', { recursive: true }) } catch{}; process.exit(0);\"",
|
|
15
15
|
"build": "npm run check && npm run remove_dist && tsc --build tsconfig.build_server.json && tsc --build tsconfig.build_client.json",
|
|
16
16
|
"pack": "npm run build && npm pack"
|
|
17
17
|
},
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
"files": [
|
|
34
34
|
"./dist/"
|
|
35
35
|
],
|
|
36
|
-
"main": "./dist/
|
|
37
|
-
"types": "./dist/
|
|
36
|
+
"main": "./dist/Main.js",
|
|
37
|
+
"types": "./dist/Main.d.ts",
|
|
38
38
|
"keywords": [
|
|
39
39
|
"websocket",
|
|
40
40
|
"api",
|
package/dist/main.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"main.js","sourceRoot":"","sources":["../src/main.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yEAAyD;AACzD,qEAAqD"}
|
|
File without changes
|