@noxfly/noxus 3.0.0-dev.6 → 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.mjs CHANGED
@@ -1286,13 +1286,13 @@ var Router = class {
1286
1286
  }
1287
1287
  normalizeBatchItem(entry, index) {
1288
1288
  if (entry === null || typeof entry !== "object") throw new BadRequestException(`Batch request at index ${index} must be an object.`);
1289
- const { requestId, path: path2, method, body } = entry;
1289
+ const { requestId, path: path2, method, body, query } = entry;
1290
1290
  if (requestId !== void 0 && typeof requestId !== "string") throw new BadRequestException(`Batch request at index ${index} has an invalid requestId.`);
1291
1291
  if (typeof path2 !== "string" || !path2.length) throw new BadRequestException(`Batch request at index ${index} must define a non-empty path.`);
1292
1292
  if (typeof method !== "string") throw new BadRequestException(`Batch request at index ${index} must define an HTTP method.`);
1293
1293
  const normalized = method.toUpperCase();
1294
1294
  if (!isAtomicHttpMethod(normalized)) throw new BadRequestException(`Batch request at index ${index} uses unsupported method ${method}.`);
1295
- return { requestId, path: path2, method: normalized, body };
1295
+ return { requestId, path: path2, method: normalized, body, query };
1296
1296
  }
1297
1297
  fillErrorResponse(response, error, setCritical) {
1298
1298
  response.body = void 0;