@hadoku/service-kernel 0.1.29 → 0.1.31
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/dist/auth/index.js
CHANGED
|
@@ -74,7 +74,7 @@ export function createEdgeAuth(config) {
|
|
|
74
74
|
// nothing observable, which is worse than not having one.
|
|
75
75
|
if (typeof headers['x-hadoku-tier'] !== 'string' || headers['x-hadoku-tier'] === '') {
|
|
76
76
|
// identity-model-disable-next-line G5: LEGITIMATE: R8's dev carve-out, the game template's old
|
|
77
|
-
//
|
|
77
|
+
// packages/game-server/src/edge-auth.ts, moved into cardtable's service-kernel package (templates/game and
|
|
78
78
|
// bomberman import it, 880bf59b6; templates/tunnel-* and hadoku-wiki since 2026-11-11, which
|
|
79
79
|
// retired their three template entries) on 2026-11-07 (cardtable 9bcdd8c82, 0d01c363e).
|
|
80
80
|
// createEdgeAuth's sanitizeHeaders bare-local branch writes x-hadoku-tier = config.devTier() and
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* platform half. Knows no game: the service id, the deployment site and the refusal surface are
|
|
4
4
|
* all parameters, so an app that posts under `service: 'cardtable'` and one that posts under a
|
|
5
5
|
* second game's id read apart in the same monitoring store. See the app's own adapter (this
|
|
6
|
-
* wave's `
|
|
6
|
+
* wave's `packages/game-server/src/telemetry.ts`) for the one place those values get bound.
|
|
7
7
|
*
|
|
8
8
|
* Everything here is fire-and-forget. A post that fails is logged on stdout (pm2 keeps it), never
|
|
9
9
|
* retried, and never delays the request that caused it. One event per (name, caller, incident
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* platform half. Knows no game: the service id, the deployment site and the refusal surface are
|
|
4
4
|
* all parameters, so an app that posts under `service: 'cardtable'` and one that posts under a
|
|
5
5
|
* second game's id read apart in the same monitoring store. See the app's own adapter (this
|
|
6
|
-
* wave's `
|
|
6
|
+
* wave's `packages/game-server/src/telemetry.ts`) for the one place those values get bound.
|
|
7
7
|
*
|
|
8
8
|
* Everything here is fire-and-forget. A post that fails is logged on stdout (pm2 keeps it), never
|
|
9
9
|
* retried, and never delays the request that caused it. One event per (name, caller, incident
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hadoku/service-kernel",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"gitHead": "
|
|
3
|
+
"version": "0.1.31",
|
|
4
|
+
"gitHead": "0d85dd8f7c6addad113fe39152c2c69c0502ef14",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"description": "The server parts any game keeps: edge auth and the tier gate, base path and bundle check, health and the busy probe, lifecycle, the JSON logger, the state directory, telemetry and capacity, per-caller limits, the browser relays, the erase registry, and createGameServer, which boots a game from its config and plugins. Knows no game; the app binds its service id, prefix and env names. MIT; imports only node built-ins, express, socket.io and @wolffm/*.",
|
|
@@ -56,8 +56,8 @@
|
|
|
56
56
|
}
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"@wolffm/rooms-protocol": "npm:@hadoku/rooms-protocol@^0.45.
|
|
60
|
-
"@wolffm/rooms-server": "npm:@hadoku/rooms-server@^0.45.
|
|
59
|
+
"@wolffm/rooms-protocol": "npm:@hadoku/rooms-protocol@^0.45.91",
|
|
60
|
+
"@wolffm/rooms-server": "npm:@hadoku/rooms-server@^0.45.91",
|
|
61
61
|
"express": "^5.1.0",
|
|
62
62
|
"socket.io": "^4.8.3"
|
|
63
63
|
},
|