@cuboapp/ws 1.0.9 → 2.0.0

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.
Files changed (1) hide show
  1. package/package.json +15 -44
package/package.json CHANGED
@@ -1,63 +1,34 @@
1
1
  {
2
2
  "name": "@cuboapp/ws",
3
- "version": "1.0.9",
4
- "description": "Minimal, type-safe WebSocket client and server with request/response, auth and auto-reconnect for Node.js",
5
- "keywords": [
6
- "websocket",
7
- "websockets",
8
- "ws",
9
- "client",
10
- "server",
11
- "realtime",
12
- "rpc",
13
- "typescript",
14
- "esm"
15
- ],
3
+ "version": "2.0.0",
4
+ "description": "Minimal, type-safe WebSocket client/server with request/response, auth, auto-reconnect (vendored — README §5, drives §13.1 CRDT).",
5
+ "license": "MIT",
16
6
  "type": "module",
17
- "main": "./dist/index.js",
18
- "module": "./dist/index.js",
19
- "types": "./dist/index.d.ts",
7
+ "main": "src/index.ts",
8
+ "types": "dist/index.d.ts",
20
9
  "exports": {
21
10
  ".": {
22
11
  "types": "./dist/index.d.ts",
23
- "import": "./dist/index.js",
24
- "default": "./dist/index.js"
12
+ "default": "./src/index.ts"
25
13
  }
26
14
  },
27
- "files": [
28
- "dist",
29
- "src",
30
- "README.md",
31
- "LICENSE"
32
- ],
15
+ "files": ["dist", "src"],
33
16
  "sideEffects": false,
34
- "engines": {
35
- "node": ">=18"
36
- },
37
17
  "scripts": {
38
- "clean": "rm -rf dist",
39
- "build": "npm run clean && tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json",
40
- "typecheck": "tsc --noEmit",
41
- "prepublishOnly": "npm run build"
42
- },
43
- "repository": {
44
- "type": "git",
45
- "url": "git+https://cuboapp.gitlab.yandexcloud.net/cubo/ws.git"
46
- },
47
- "author": "CuboSoft",
48
- "license": "MIT",
49
- "publishConfig": {
50
- "access": "public"
18
+ "build": "tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json",
19
+ "typecheck": "echo \"vendored @cuboapp — typecheck via emitted d.ts\"",
20
+ "test": "echo \"no tests\"",
21
+ "lint": "echo \"no lint\""
51
22
  },
52
23
  "dependencies": {
53
- "@cuboapp/http-server": "1.0.11",
54
- "@cuboapp/utils": "1.0.12",
24
+ "@cuboapp/http-server": "^1.0.11",
25
+ "@cuboapp/utils": "^1.0.12",
55
26
  "ws": "^8.21.0"
56
27
  },
57
28
  "devDependencies": {
58
- "@types/node": "^26.0.0",
29
+ "@types/node": "^22.10.5",
59
30
  "@types/ws": "^8.18.1",
60
31
  "tsc-alias": "^1.8.17",
61
- "typescript": "^6.0.3"
32
+ "typescript": "^5.8.3"
62
33
  }
63
34
  }