@noxfly/noxus 3.0.0-dev.7 → 3.0.0-dev.8

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/main.js CHANGED
@@ -1354,13 +1354,13 @@ var Router = class {
1354
1354
  }
1355
1355
  normalizeBatchItem(entry, index) {
1356
1356
  if (entry === null || typeof entry !== "object") throw new BadRequestException(`Batch request at index ${index} must be an object.`);
1357
- const { requestId, path: path2, method, body } = entry;
1357
+ const { requestId, path: path2, method, body, query } = entry;
1358
1358
  if (requestId !== void 0 && typeof requestId !== "string") throw new BadRequestException(`Batch request at index ${index} has an invalid requestId.`);
1359
1359
  if (typeof path2 !== "string" || !path2.length) throw new BadRequestException(`Batch request at index ${index} must define a non-empty path.`);
1360
1360
  if (typeof method !== "string") throw new BadRequestException(`Batch request at index ${index} must define an HTTP method.`);
1361
1361
  const normalized = method.toUpperCase();
1362
1362
  if (!isAtomicHttpMethod(normalized)) throw new BadRequestException(`Batch request at index ${index} uses unsupported method ${method}.`);
1363
- return { requestId, path: path2, method: normalized, body };
1363
+ return { requestId, path: path2, method: normalized, body, query };
1364
1364
  }
1365
1365
  fillErrorResponse(response, error, setCritical) {
1366
1366
  response.body = void 0;