@tailuge/messaging 1.41.0 → 1.42.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.
package/MESSAGING_SPEC.md CHANGED
@@ -190,7 +190,6 @@ interface Meta {
190
190
  origin: string; // Origin header value
191
191
  method: string; // HTTP method (always POST for publish)
192
192
  country: string; // Country code from IP (e.g., "US", "GB", "XX")
193
- since?: number; // First-seen time for the obfuscated client address
194
193
  version?: string; // Optional client software version
195
194
  }
196
195
  ```
package/dist/types.d.ts CHANGED
@@ -9,7 +9,6 @@ export interface Meta {
9
9
  origin: string;
10
10
  method: string;
11
11
  country: string;
12
- since?: number;
13
12
  version?: string;
14
13
  msgId?: string;
15
14
  }
@@ -33,6 +32,7 @@ export interface PresenceMessage {
33
32
  seek?: Seek;
34
33
  meta?: Meta;
35
34
  tableId?: string;
35
+ arenaId?: string;
36
36
  isSpectator?: boolean;
37
37
  isLeaving?: boolean;
38
38
  clientTs?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tailuge/messaging",
3
- "version": "1.41.0",
3
+ "version": "1.42.0",
4
4
  "type": "module",
5
5
  "description": "A stateful messaging library for Nchan-powered real-time applications.",
6
6
  "main": "./dist/index.js",
@@ -28,8 +28,8 @@
28
28
  "clientbump": "node scripts/clientbump.mjs",
29
29
  "lint": "tsc --noEmit && npx oxlint src test",
30
30
  "prettify": "npx oxfmt src test",
31
- "build:lit": "npx esbuild src/client/lobby.js --bundle --minify --outfile=docker/html/lobby.js && npx esbuild src/client/new-solo-panal.js --bundle --format=esm --minify --outfile=docker/html/new-solo-panal.js && cp src/client/*.html src/client/manifest.json src/client/sw.js docker/html/ && cp src/client/favicon.ico src/client/robots.txt src/client/sitemap.xml docker/html/ 2>/dev/null || true && mkdir -p docker/html/assets && cp src/client/assets/*.png docker/html/assets/ 2>/dev/null || true",
32
- "crossdeploy": "npx esbuild src/client/lobby.js --bundle --minify --outfile=../billiards/dist/lobby.js && cp src/client/lobby.html src/client/manifest.json src/client/sw.js ../billiards/dist/ && cp src/client/assets/*.png ../billiards/dist/assets/",
31
+ "build:lit": "npx esbuild src/client/lobby.js --bundle --minify --outfile=docker/html/lobby.js && npx esbuild src/client/new-solo-panal.js --bundle --format=esm --minify --outfile=docker/html/new-solo-panal.js && npx esbuild src/client/tournament/tournament.js --bundle --minify --outfile=docker/html/tournament.js && npx esbuild src/client/tournament/arena.js --bundle --minify --outfile=docker/html/arena.js && cp src/client/tournament/tournament.html src/client/tournament/arena.html docker/html/ && cp src/client/*.html src/client/proto2-strings.js src/client/manifest.json src/client/sw.js docker/html/ && cp src/client/favicon.ico src/client/robots.txt src/client/sitemap.xml docker/html/ 2>/dev/null || true && mkdir -p docker/html/assets && cp src/client/assets/*.png docker/html/assets/ 2>/dev/null || true",
32
+ "crossdeploy": "npx esbuild src/client/lobby.js --bundle --minify --outfile=../billiards/dist/lobby.js && npx esbuild src/client/tournament/arena.js --bundle --minify --outfile=../billiards/dist/arena.js && cp src/client/lobby.html src/client/tournament/arena.html src/client/manifest.json src/client/sw.js ../billiards/dist/ && cp src/client/assets/*.png ../billiards/dist/assets/",
33
33
  "crossdeployv": "cp docker/html/lobby.js src/client/lobby.html src/client/manifest.json src/client/sw.js ../scoreboard/public/ && mkdir -p ../scoreboard/public/assets && cp src/client/assets/*.png ../scoreboard/public/assets/",
34
34
  "build": "tsc --declaration && node scripts/add-js-extensions.js && npx esbuild src/index.ts --bundle --format=esm --outfile=docker/html/messaging.js && npm run build:lit",
35
35
  "release": "npm version minor --no-git-tag-version && npm run build",
@@ -56,7 +56,7 @@
56
56
  "@types/ws": "^8.18.1",
57
57
  "esbuild": "^0.28.2",
58
58
  "jest": "^30.4.2",
59
- "oxlint": "^1.79.0",
59
+ "oxlint": "^1.80.0",
60
60
  "testcontainers": "9.12.0",
61
61
  "ts-jest": "^29.4.12",
62
62
  "ts-node": "^10.9.2",