@stacksjs/bun-router 0.0.4 → 0.0.5
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/README.md +2 -2
- package/dist/chunk-jhsk5c5b.js +15758 -0
- package/dist/cli.js +2 -2
- package/dist/index.js +1 -1
- package/package.json +16 -3
- package/dist/chunk-cjdekj87.js +0 -25886
package/README.md
CHANGED
|
@@ -356,9 +356,9 @@ route.streamBuffered('/buffered-data', async ({ write, flush, end }) => {
|
|
|
356
356
|
await new Promise(resolve => setTimeout(resolve, 100))
|
|
357
357
|
}
|
|
358
358
|
end()
|
|
359
|
-
}, {
|
|
359
|
+
}, {
|
|
360
360
|
highWaterMark: 512 * 1024, // 512KB buffer
|
|
361
|
-
asUint8Array: true
|
|
361
|
+
asUint8Array: true
|
|
362
362
|
})
|
|
363
363
|
|
|
364
364
|
// Mix streaming with middleware and route groups
|