Commit Graph

109 Commits

Author SHA1 Message Date
jkunz 364c1a4720 fix(virtualstream): reconstitute JSON-serialized binary data in VirtualStream; update docs, build config, and dependency bumps 2026-03-01 19:23:51 +00:00
jkunz 6d568d4e19 fix(deps): upgrade @push.rocks/webrequest to ^4.0.1 and adapt TypedRequest to new API 2026-02-11 16:49:30 +00:00
jkunz 271f6bc0a3 BREAKING CHANGE(typedrouter): Introduce options object for TypedRouter.routeAndAddResponse (localRequest, skipHooks); add defaultRouteOptions and make hook calls respect skipHooks; bump package version to 3.2.3 2025-12-04 23:52:18 +00:00
jkunz 0d3d5cb562 fix(typedrequest): Add skipHooks flag to TypedRequest to optionally suppress global hooks for internal requests 2025-12-04 22:48:44 +00:00
jkunz 2ff5602430 fix(typedrouter): Use globalThis-backed globalHooks for TypedRouter to enable cross-bundle sharing; fix merging and clearing of global hooks. 2025-12-04 22:15:26 +00:00
jkunz 94ba38b4d4 feat(typedrouter): Add request/response hooks and monitoring to TypedRouter; emit hooks from TypedRequest; improve VirtualStream encoding/decoding; re-export hook types 2025-12-04 21:37:08 +00:00
jkunz b730a977dc fix(virtualstream): Expose transport localData to handlers via TypedTools; improve VirtualStream payload encode/decode to preserve built-ins and handle nested arrays/objects 2025-12-03 23:51:47 +00:00
philkunz c08a501fa5 fix(VirtualStream): Fix stream closure logic in method 2024-10-16 10:09:59 +02:00
philkunz ef5aa9ece3 fix(VirtualStream): Ensure writable streams are correctly closed asynchronously to prevent potential sync issues. 2024-10-16 10:08:04 +02:00
philkunz 74e6205ac3 fix(VirtualStream): Fix stream closing behavior to correctly handle closing bits 2024-10-16 09:56:32 +02:00
philkunz 050966cd6f fix(VirtualStream): Fix issue in VirtualStream to handle null values during data writing. 2024-10-16 02:47:35 +02:00
philkunz adff43c0e2 fix(VirtualStream): Fix backpressure handling in VirtualStream workOnQueue method 2024-10-16 02:22:44 +02:00
philkunz 4887c07ef3 fix(virtualstream): Add console log for debugging backpressure feedback loop 2024-10-16 02:16:29 +02:00
philkunz 0af720d901 fix(VirtualStream): Corrected the logic for backpressure handling in response 2024-10-16 02:15:17 +02:00
philkunz d38a225c78 fix(VirtualStream): Fix keepAlive flag handling in VirtualStream and added stream closure in tests 2024-10-14 01:42:44 +02:00
philkunz 1a92aa6630 fix(core): Fix incorrect backpressure logic in VirtualStream class 2024-10-14 01:31:58 +02:00
philkunz 7b6fb9e9bc fix(virtualstream): Fix handling of virtual streams for proper shutdown 2024-10-14 00:13:28 +02:00
philkunz 83cd25d5a2 feat(virtualstream): Enhance VirtualStream with optional closure when reading from webstream 2024-10-11 02:15:45 +02:00
philkunz 549719ede6 fix(test): Increase delay duration before stopping the server in test suite. 2024-10-11 02:09:50 +02:00
philkunz 4d98915dbd fix(virtualstream): Fix keep-alive loop handling and test cleanup 2024-09-06 13:46:09 +02:00
philkunz 6beadb8cfc fix(core): Updated dependencies and added close method to VirtualStream 2024-09-06 13:02:04 +02:00
philkunz c03854a9fc fix(core): update 2024-05-31 22:41:17 +02:00
philkunz e7cf5b7694 fix(error handling): now alos logs the method that an error has been given to. 2024-05-31 16:34:54 +02:00
philkunz e1c721d511 fix(core): update 2024-05-30 22:47:02 +02:00
philkunz 2e0c6400e8 fix(core): update 2024-05-30 22:41:49 +02:00
philkunz 489fa237b9 fix(core): update 2024-05-30 19:01:39 +02:00
philkunz fe31a779e4 fix(core): update 2024-05-25 02:18:46 +02:00
philkunz 262891ccf3 fix(core): update 2024-05-25 02:15:08 +02:00
philkunz ecca2a9f32 fix(core): update 2024-05-05 17:15:44 +02:00
philkunz 4cba418f13 fix(core): update 2024-05-05 16:42:22 +02:00
philkunz 6fed2cdc5c fix(core): update 2024-04-17 20:35:41 +02:00
philkunz e7a7e1c903 fix(core): update 2024-04-17 20:17:45 +02:00
philkunz cab2d8aa2e fix(core): update 2024-03-03 10:42:14 +01:00
philkunz 8a9c2c1505 fix(core): update 2024-03-01 00:26:06 +01:00
philkunz 735890bc3d fix(core): update 2024-03-01 00:12:55 +01:00
philkunz 5ec20ee526 fix(core): update 2024-03-01 00:12:43 +01:00
philkunz 35df3697c7 fix(core): update 2024-02-29 23:55:34 +01:00
philkunz 77dddd9157 fix(core): update 2024-02-29 23:12:51 +01:00
philkunz e613937c43 fix(core): update 2024-02-29 22:59:42 +01:00
philkunz 5c6922c710 fix(core): update 2024-02-29 22:59:31 +01:00
philkunz 924bc2c5a7 fix(core): update 2024-02-29 22:51:44 +01:00
philkunz 23aab2adf8 fix(core): update 2024-02-29 22:47:53 +01:00
philkunz 407e1383f8 fix(core): update 2024-02-29 19:50:25 +01:00
philkunz b346da01f1 fix(core): update 2024-02-25 01:54:01 +01:00
philkunz fd26b48ff6 fix(core): update 2024-02-24 12:20:13 +01:00
philkunz bf81c34dbc fix(core): update 2024-02-21 18:29:35 +01:00
philkunz 1b76e6882f fix(core): update 2024-02-20 17:40:30 +01:00
philkunz 9b626a562d fix(core): update 2023-12-08 19:36:24 +01:00
philkunz 71453877d7 fix(core): update 2023-12-05 23:42:43 +01:00
philkunz 0a9236a605 fix(core): update 2023-10-20 17:39:08 +02:00