@absolutejs/absolute 0.19.0-beta.726 → 0.19.0-beta.728

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.
@@ -1028,14 +1028,14 @@ var defineIslandComponent = (component, options) => ({
1028
1028
  component,
1029
1029
  export: options.export,
1030
1030
  source: options.source
1031
- }), defineIslandRegistry = (registry) => registry, isRecord3 = (value) => typeof value === "object" && value !== null, getIslandBuildReference = (component) => {
1031
+ }), defineIslandRegistry = (registry) => registry, isRecord2 = (value) => typeof value === "object" && value !== null, getIslandBuildReference = (component) => {
1032
1032
  if (!isIslandComponentDefinition(component))
1033
1033
  return null;
1034
1034
  return {
1035
1035
  export: component.export,
1036
1036
  source: component.source
1037
1037
  };
1038
- }, isIslandComponentDefinition = (value) => isRecord3(value) && ("component" in value) && ("source" in value) && typeof value.source === "string", parseIslandProps = (rawProps) => {
1038
+ }, isIslandComponentDefinition = (value) => isRecord2(value) && ("component" in value) && ("source" in value) && typeof value.source === "string", parseIslandProps = (rawProps) => {
1039
1039
  if (!rawProps)
1040
1040
  return {};
1041
1041
  return JSON.parse(rawProps);
@@ -2510,7 +2510,7 @@ var init_svelteServerModule = __esm(() => {
2510
2510
  var islandSequence = 0, resolvedServerComponentCache, resolvedServerBuildComponentCache, nextIslandId = () => {
2511
2511
  islandSequence += 1;
2512
2512
  return `island-${islandSequence}`;
2513
- }, isRecord4 = (value) => typeof value === "object" && value !== null, isReactServerIslandComponent = (value) => typeof value === "function", isSvelteServerIslandComponent = (value) => typeof value === "function", isVueServerIslandComponent = (value) => typeof value === "function" || isRecord4(value), isAngularServerIslandComponent = (value) => typeof value === "function", resolveBuildReferencePath = (source, registryPath) => {
2513
+ }, isRecord3 = (value) => typeof value === "object" && value !== null, isReactServerIslandComponent = (value) => typeof value === "function", isSvelteServerIslandComponent = (value) => typeof value === "function", isVueServerIslandComponent = (value) => typeof value === "function" || isRecord3(value), isAngularServerIslandComponent = (value) => typeof value === "function", resolveBuildReferencePath = (source, registryPath) => {
2514
2514
  if (source.startsWith("file://"))
2515
2515
  return new URL(source).pathname;
2516
2516
  if (source.startsWith("."))
@@ -3344,9 +3344,6 @@ var renderFirstNotFound = async () => {
3344
3344
  };
3345
3345
 
3346
3346
  // src/react/pageHandler.ts
3347
- var isRecord2 = (value) => typeof value === "object" && value !== null;
3348
- var isReactComponent = (value) => typeof value === "function";
3349
- var isReactPageRequestInput = (value) => isRecord2(value) && isReactComponent(value.Page) && typeof value.index === "string";
3350
3347
  var buildRefreshSetup = () => {
3351
3348
  if (false) {}
3352
3349
  return "window.__REFRESH_BUFFER__=[];" + "window.$RefreshReg$=function(t,i){window.__REFRESH_BUFFER__.push([t,i])};" + "window.$RefreshSig$=function(){return function(t){return t}};";
@@ -3361,10 +3358,7 @@ var buildDirtyResponse = (index, maybeProps) => {
3361
3358
  headers: { "Content-Type": "text/html" }
3362
3359
  });
3363
3360
  };
3364
- async function handleReactPageRequest(input) {
3365
- if (!isReactPageRequestInput(input)) {
3366
- throw new Error("React page handler requires an object input with Page and index.");
3367
- }
3361
+ var handleReactPageRequest = async (input) => {
3368
3362
  const Page = input.Page;
3369
3363
  const resolvedIndex = input.index;
3370
3364
  const options = input;
@@ -3404,7 +3398,7 @@ async function handleReactPageRequest(input) {
3404
3398
  status: 500
3405
3399
  });
3406
3400
  }
3407
- }
3401
+ };
3408
3402
  // src/react/Island.tsx
3409
3403
  init_islandMarkupAttributes();
3410
3404
  init_renderIslandMarkup();
@@ -3569,5 +3563,5 @@ export {
3569
3563
  Island
3570
3564
  };
3571
3565
 
3572
- //# debugId=1441C5DB930D617464756E2164756E21
3566
+ //# debugId=20C27A82246F163F64756E2164756E21
3573
3567
  //# sourceMappingURL=index.js.map