@absolutejs/absolute 0.19.0-beta.445 → 0.19.0-beta.447

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/index.js CHANGED
@@ -181214,15 +181214,15 @@ init_islands();
181214
181214
  // src/core/pageHandlers.ts
181215
181215
  init_staticIslandPages();
181216
181216
  var {file } = globalThis.Bun;
181217
- var handleStaticPageRequest = async (pagePath) => {
181217
+ var handleStaticPageRequest = async (pagePath, options = {}) => {
181218
181218
  const html = await file(pagePath).text();
181219
181219
  const transformedHtml = await transformCurrentStaticPageHtml(html);
181220
- return new Response(injectIslandPageContext(transformedHtml), {
181220
+ return withStreamingSlots(new Response(injectIslandPageContext(transformedHtml), {
181221
181221
  headers: { "Content-Type": "text/html" }
181222
- });
181222
+ }), options);
181223
181223
  };
181224
- var handleHTMLPageRequest = (pagePath) => handleStaticPageRequest(pagePath);
181225
- var handleHTMXPageRequest = (pagePath) => handleStaticPageRequest(pagePath);
181224
+ var handleHTMLPageRequest = (pagePath, options) => handleStaticPageRequest(pagePath, options);
181225
+ var handleHTMXPageRequest = (pagePath, options) => handleStaticPageRequest(pagePath, options);
181226
181226
  // src/core/prepare.ts
181227
181227
  import { existsSync as existsSync23, readdirSync as readdirSync2, readFileSync as readFileSync16 } from "fs";
181228
181228
  import { basename as basename14, join as join24, relative as relative12, resolve as resolve33 } from "path";
@@ -187963,5 +187963,5 @@ export {
187963
187963
  ANGULAR_INIT_TIMEOUT_MS
187964
187964
  };
187965
187965
 
187966
- //# debugId=7E94DFB25D25485564756E2164756E21
187966
+ //# debugId=AEF34D6681E5A81964756E2164756E21
187967
187967
  //# sourceMappingURL=index.js.map