@xeno-js/core 1.2.8 → 1.2.10

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.d.cts CHANGED
@@ -1511,10 +1511,8 @@ declare const ContainerUtils: Readonly<{
1511
1511
  resolveServiceScoped<K extends keyof T, T extends ApplicationRegistry>(token: K, container: IServiceContainer<T>): T[K];
1512
1512
  /**
1513
1513
  * Executes a service action within the context of a scoped service.
1514
- * @param endpoint * The endpoint to execute the action on.
1515
- * @param method * The HTTP method to use for the action.
1516
- * @param headers * The headers to include in the request.
1517
- * @param transport * The transport object containing the request and response objects.
1514
+ * @param res * The response DTO to be returned.
1515
+ * @param req * The request DTO to be passed to the action.
1518
1516
  * @param container * The container to resolve the service from.
1519
1517
  * @param action * The action to execute within the scoped service.
1520
1518
  *
package/dist/index.d.ts CHANGED
@@ -1511,10 +1511,8 @@ declare const ContainerUtils: Readonly<{
1511
1511
  resolveServiceScoped<K extends keyof T, T extends ApplicationRegistry>(token: K, container: IServiceContainer<T>): T[K];
1512
1512
  /**
1513
1513
  * Executes a service action within the context of a scoped service.
1514
- * @param endpoint * The endpoint to execute the action on.
1515
- * @param method * The HTTP method to use for the action.
1516
- * @param headers * The headers to include in the request.
1517
- * @param transport * The transport object containing the request and response objects.
1514
+ * @param res * The response DTO to be returned.
1515
+ * @param req * The request DTO to be passed to the action.
1518
1516
  * @param container * The container to resolve the service from.
1519
1517
  * @param action * The action to execute within the scoped service.
1520
1518
  *
package/dist/index.js CHANGED
@@ -44,10 +44,8 @@ var init_container_utils = __esm({
44
44
  },
45
45
  /**
46
46
  * Executes a service action within the context of a scoped service.
47
- * @param endpoint * The endpoint to execute the action on.
48
- * @param method * The HTTP method to use for the action.
49
- * @param headers * The headers to include in the request.
50
- * @param transport * The transport object containing the request and response objects.
47
+ * @param res * The response DTO to be returned.
48
+ * @param req * The request DTO to be passed to the action.
51
49
  * @param container * The container to resolve the service from.
52
50
  * @param action * The action to execute within the scoped service.
53
51
  *
@@ -91,7 +89,7 @@ var init_base_handler = __esm({
91
89
  _identityFactory;
92
90
  async handle(request, signal) {
93
91
  AppError.throwIfAborted(signal, this.constructor.name);
94
- return await this.executeAsync(request);
92
+ return await this.executeAsync(request, signal);
95
93
  }
96
94
  /**
97
95
  * Gets the current context.