@cimo/websocket 1.0.14 → 1.0.16

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 CHANGED
@@ -58,7 +58,7 @@ export const websocket = (socket: CwsServerInterface.Isocket, data: CwsServerInt
58
58
 
59
59
  ## Client
60
60
 
61
- - index.ts
61
+ - Index.ts
62
62
 
63
63
  ```
64
64
  ...
@@ -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=main.js.map
29
+ //# sourceMappingURL=Main.js.map
@@ -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,6 +1,6 @@
1
1
  {
2
2
  "name": "@cimo/websocket",
3
- "version": "1.0.14",
3
+ "version": "1.0.16",
4
4
  "description": "Websocket API (server/client). Light, fast and secure.",
5
5
  "author": "cimo",
6
6
  "license": "MIT",
@@ -9,10 +9,9 @@
9
9
  "url": "https://github.com/cimo/Websocket.git"
10
10
  },
11
11
  "scripts": {
12
- "preinstall": "([ ! -f package-lock.json ] && npm install --package-lock-only --ignore-scripts --no-audit); npx npm-force-resolutions",
13
12
  "check": "eslint . --fix",
14
13
  "remove_dist": "node -e \"const fs = require('fs'); try{ fs.rmdirSync('./dist/', { recursive: true }) } catch{}; process.exit(0);\"",
15
- "build": "npm run check && npm run remove_dist && tsc --build tsconfig.build_server.json && tsc --build tsconfig.build_client.json",
14
+ "build": "npm run remove_dist && npm run check && tsc --build tsconfig.build_server.json && tsc --build tsconfig.build_client.json",
16
15
  "pack": "npm run build && npm pack"
17
16
  },
18
17
  "dependencies": {},
@@ -26,15 +25,11 @@
26
25
  "prettier": "2.8.7",
27
26
  "typescript": "4.9.4"
28
27
  },
29
- "resolutions": {
30
- "node-fetch": "2.6.7",
31
- "**/node-fetch": "2.6.7"
32
- },
33
28
  "files": [
34
29
  "./dist/"
35
30
  ],
36
- "main": "./dist/main.js",
37
- "types": "./dist/main.d.ts",
31
+ "main": "./dist/Main.js",
32
+ "types": "./dist/Main.d.ts",
38
33
  "keywords": [
39
34
  "websocket",
40
35
  "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