@absolutejs/absolute 0.19.0-beta.958 → 0.19.0-beta.959

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,7 +1,7 @@
1
1
  // @bun
2
2
  var __require = import.meta.require;
3
3
 
4
- // .angular-partial-tmp-EgNTmW/src/core/streamingSlotRegistrar.ts
4
+ // .angular-partial-tmp-56Le6I/src/core/streamingSlotRegistrar.ts
5
5
  var STREAMING_SLOT_REGISTRAR_KEY = Symbol.for("absolutejs.streamingSlotRegistrar");
6
6
  var STREAMING_SLOT_WARNING_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotWarningController");
7
7
  var STREAMING_SLOT_COLLECTION_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotCollectionController");
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  var __require = import.meta.require;
3
3
 
4
- // .angular-partial-tmp-EgNTmW/src/core/streamingSlotRegistrar.ts
4
+ // .angular-partial-tmp-56Le6I/src/core/streamingSlotRegistrar.ts
5
5
  var STREAMING_SLOT_REGISTRAR_KEY = Symbol.for("absolutejs.streamingSlotRegistrar");
6
6
  var STREAMING_SLOT_WARNING_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotWarningController");
7
7
  var STREAMING_SLOT_COLLECTION_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotCollectionController");
@@ -48,7 +48,7 @@ var warnMissingStreamingSlotCollector = (primitiveName) => {
48
48
  getWarningController()?.maybeWarn(primitiveName);
49
49
  };
50
50
 
51
- // .angular-partial-tmp-EgNTmW/src/core/streamingSlotRegistry.ts
51
+ // .angular-partial-tmp-56Le6I/src/core/streamingSlotRegistry.ts
52
52
  var STREAMING_SLOT_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotAsyncLocalStorage");
53
53
  var isObjectRecord2 = (value) => Boolean(value) && typeof value === "object";
54
54
  var isAsyncLocalStorage = (value) => isObjectRecord2(value) && ("getStore" in value) && typeof value.getStore === "function" && ("run" in value) && typeof value.run === "function";
package/dist/build.js CHANGED
@@ -4032,8 +4032,15 @@ var ELYSIA_ROUTE_METHODS, SKIP_DIRS, SOURCE_EXTENSIONS, getScriptKind = (filePat
4032
4032
  if (ELYSIA_ROUTE_METHODS.has(methodName)) {
4033
4033
  const firstArg = node.arguments[0];
4034
4034
  if (firstArg && ts2.isStringLiteral(firstArg) && firstArg.text.startsWith("/")) {
4035
+ const argTexts = [];
4036
+ for (let i = 1;i < node.arguments.length; i++) {
4037
+ const arg = node.arguments[i];
4038
+ if (arg)
4039
+ argTexts.push(arg.getText(sf));
4040
+ }
4035
4041
  out.push({
4036
- handlerSource: node.getText(sf),
4042
+ handlerSource: argTexts.join(`
4043
+ `),
4037
4044
  method: methodName.toUpperCase(),
4038
4045
  path: firstArg.text
4039
4046
  });
@@ -26287,5 +26294,5 @@ export {
26287
26294
  build
26288
26295
  };
26289
26296
 
26290
- //# debugId=368901046148CAF864756E2164756E21
26297
+ //# debugId=F3612553BF36A17B64756E2164756E21
26291
26298
  //# sourceMappingURL=build.js.map