hono 4.6.0 → 4.6.1
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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// src/helper/streaming/text.ts
|
|
2
2
|
import { TEXT_PLAIN } from "../../context.js";
|
|
3
|
-
import { stream } from "
|
|
3
|
+
import { stream } from "./index.js";
|
|
4
4
|
var streamText = (c, cb, onError) => {
|
|
5
5
|
c.header("Content-Type", TEXT_PLAIN);
|
|
6
6
|
c.header("X-Content-Type-Options", "nosniff");
|
package/dist/jsx/dom/server.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// src/jsx/dom/server.ts
|
|
2
2
|
import { renderToReadableStream as renderToReadableStreamHono } from "../streaming.js";
|
|
3
|
-
import version from "
|
|
3
|
+
import version from "./index.js";
|
|
4
4
|
var renderToString = (element, options = {}) => {
|
|
5
5
|
if (Object.keys(options).length > 0) {
|
|
6
6
|
console.warn("options are not supported yet");
|