@rotorsoft/act-http 1.8.16 → 1.8.18
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/.tsbuildinfo +1 -1
- package/dist/@types/sse/apply-patch.d.ts +2 -0
- package/dist/@types/sse/apply-patch.d.ts.map +1 -1
- package/dist/hono/index.cjs +1 -1
- package/dist/hono/index.cjs.map +1 -1
- package/dist/hono/index.js +1 -1
- package/dist/hono/index.js.map +1 -1
- package/dist/sse/index.cjs +5 -4
- package/dist/sse/index.cjs.map +1 -1
- package/dist/sse/index.js +5 -4
- package/dist/sse/index.js.map +1 -1
- package/package.json +10 -10
|
@@ -17,6 +17,8 @@ export type ApplyResult<S extends BroadcastState = BroadcastState> = {
|
|
|
17
17
|
* - All patches older than cached → "stale" (client already ahead)
|
|
18
18
|
* - Gap between cached version and first patch → "behind" (client missed versions, must resync)
|
|
19
19
|
* - Contiguous from cached version → apply in order
|
|
20
|
+
* - No baseline (fresh client) → the genesis patch (version 0) folds onto init
|
|
21
|
+
* state; a first patch at version ≥ 1 is "behind" (can't build from init)
|
|
20
22
|
* - Overlay frame ({@link PatchMessage._overlay}) at the current version →
|
|
21
23
|
* merged on top of cached state, `_v` unchanged (presence / computed
|
|
22
24
|
* fields reach caught-up clients instead of being dropped as stale)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apply-patch.d.ts","sourceRoot":"","sources":["../../../src/sse/apply-patch.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE/D;;GAEG;AACH,MAAM,MAAM,WAAW,CAAC,CAAC,SAAS,cAAc,GAAG,cAAc,IAC7D;IAAE,EAAE,EAAE,IAAI,CAAC;IAAC,KAAK,EAAE,CAAC,CAAA;CAAE,GACtB;IAAE,EAAE,EAAE,KAAK,CAAC;IAAC,MAAM,EAAE,OAAO,GAAG,QAAQ,CAAA;CAAE,CAAC;AAE9C
|
|
1
|
+
{"version":3,"file":"apply-patch.d.ts","sourceRoot":"","sources":["../../../src/sse/apply-patch.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE/D;;GAEG;AACH,MAAM,MAAM,WAAW,CAAC,CAAC,SAAS,cAAc,GAAG,cAAc,IAC7D;IAAE,EAAE,EAAE,IAAI,CAAC;IAAC,KAAK,EAAE,CAAC,CAAA;CAAE,GACtB;IAAE,EAAE,EAAE,KAAK,CAAC;IAAC,MAAM,EAAE,OAAO,GAAG,QAAQ,CAAA;CAAE,CAAC;AAE9C;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,wBAAgB,iBAAiB,CAAC,CAAC,SAAS,cAAc,EACxD,GAAG,EAAE,YAAY,CAAC,CAAC,CAAC,EACpB,MAAM,EAAE,CAAC,GAAG,IAAI,GAAG,SAAS,GAC3B,WAAW,CAAC,CAAC,CAAC,CAgDhB"}
|
package/dist/hono/index.cjs
CHANGED
|
@@ -25,7 +25,7 @@ __export(hono_exports, {
|
|
|
25
25
|
});
|
|
26
26
|
module.exports = __toCommonJS(hono_exports);
|
|
27
27
|
|
|
28
|
-
// ../../node_modules/.pnpm/@hono+zod-validator@0.9.0_hono@4.12.
|
|
28
|
+
// ../../node_modules/.pnpm/@hono+zod-validator@0.9.0_hono@4.12.33_zod@4.4.3/node_modules/@hono/zod-validator/dist/index.mjs
|
|
29
29
|
var import_validator = require("hono/validator");
|
|
30
30
|
function zValidatorFunction(target, schema, hook, options) {
|
|
31
31
|
return (0, import_validator.validator)(target, async (value, c) => {
|