@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.
@@ -4950,7 +4950,6 @@ var resolvePageComponent = (pageModule) => {
4950
4950
  }
4951
4951
  return Object.values(pageModule).find((value) => isAngularComponent(value));
4952
4952
  };
4953
- var isAngularPageRequestInput = (value) => typeof value === "object" && value !== null && ("pagePath" in value) && ("indexPath" in value);
4954
4953
  var compilerImportPromise = null;
4955
4954
  var ensureAngularCompiler = () => {
4956
4955
  if (!compilerImportPromise) {
@@ -4994,13 +4993,10 @@ var resolveRuntimeAngularModulePath = async (pagePath) => {
4994
4993
  };
4995
4994
  var angularSsrContext = new AsyncLocalStorage3;
4996
4995
  setSsrContextGetter(() => angularSsrContext.getStore());
4997
- async function handleAngularPageRequest(input) {
4996
+ var handleAngularPageRequest = async (input) => {
4998
4997
  const requestId = `angular_${Date.now()}_${Math.random().toString(BASE_36_RADIX).substring(2, RANDOM_ID_END_INDEX)}`;
4999
4998
  return angularSsrContext.run(requestId, async () => {
5000
4999
  await ensureAngularCompiler();
5001
- if (!isAngularPageRequestInput(input)) {
5002
- throw new Error("Angular page handler requires an object input with pagePath and indexPath.");
5003
- }
5004
5000
  const resolvedHeadTag = input.headTag ?? "<head></head>";
5005
5001
  const resolvedIndexPath = input.indexPath;
5006
5002
  const options = input;
@@ -5065,10 +5061,10 @@ async function handleAngularPageRequest(input) {
5065
5061
  });
5066
5062
  }
5067
5063
  });
5068
- }
5064
+ };
5069
5065
  export {
5070
5066
  handleAngularPageRequest
5071
5067
  };
5072
5068
 
5073
- //# debugId=473BE2627542240A64756E2164756E21
5069
+ //# debugId=55F26FC79D8BE2E764756E2164756E21
5074
5070
  //# sourceMappingURL=server.js.map