@roomkit/client 1.3.0 → 1.3.1

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 (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +9 -9
package/README.md CHANGED
@@ -231,9 +231,9 @@ class GameClient {
231
231
  }
232
232
  ```
233
233
 
234
- ### Blackjack Client Example
234
+ ### Chat Client Example
235
235
 
236
- See [examples/blackjack-client.ts](./examples/blackjack-client.ts) for a complete example.
236
+ See [examples/simple-chat-client.ts](./examples/simple-chat-client.ts) for a complete example.
237
237
 
238
238
  ## Type Safety
239
239
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@roomkit/client",
3
- "version": "1.3.0",
3
+ "version": "1.3.1",
4
4
  "description": "Client SDK for Gateway-Worker Framework - Colyseus-inspired TypeScript SDK",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -12,6 +12,11 @@
12
12
  "default": "./dist/index.js"
13
13
  }
14
14
  },
15
+ "scripts": {
16
+ "build": "tsc",
17
+ "clean": "rimraf dist",
18
+ "dev": "tsc --watch"
19
+ },
15
20
  "peerDependencies": {
16
21
  "@roomkit/core": "^1.0.0"
17
22
  },
@@ -19,10 +24,10 @@
19
24
  "ws": "^8.18.3"
20
25
  },
21
26
  "devDependencies": {
27
+ "@roomkit/core": "workspace:*",
22
28
  "@types/ws": "^8.5.10",
23
29
  "rimraf": "^5.0.5",
24
- "typescript": "^5.3.0",
25
- "@roomkit/core": "1.3.0"
30
+ "typescript": "^5.3.0"
26
31
  },
27
32
  "keywords": [
28
33
  "client",
@@ -51,10 +56,5 @@
51
56
  ],
52
57
  "publishConfig": {
53
58
  "access": "public"
54
- },
55
- "scripts": {
56
- "build": "tsc",
57
- "clean": "rimraf dist",
58
- "dev": "tsc --watch"
59
59
  }
60
- }
60
+ }