@congruent-stack/congruent-api 0.12.2 → 0.13.0

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.cjs CHANGED
@@ -950,7 +950,11 @@ async function triggerEndpointDecoratorNoStaticTypeCheck(endpoint, decorator, re
950
950
  }
951
951
  const path = endpoint.createPath(requestObject.pathParams);
952
952
  return decorator.handle({
953
- ...requestObject,
953
+ //...requestObject,
954
+ headers,
955
+ query,
956
+ body,
957
+ pathParams: requestObject.pathParams,
954
958
  method: endpoint.method,
955
959
  genericPath: endpoint.genericPath,
956
960
  path,
package/dist/index.mjs CHANGED
@@ -948,7 +948,11 @@ async function triggerEndpointDecoratorNoStaticTypeCheck(endpoint, decorator, re
948
948
  }
949
949
  const path = endpoint.createPath(requestObject.pathParams);
950
950
  return decorator.handle({
951
- ...requestObject,
951
+ //...requestObject,
952
+ headers,
953
+ query,
954
+ body,
955
+ pathParams: requestObject.pathParams,
952
956
  method: endpoint.method,
953
957
  genericPath: endpoint.genericPath,
954
958
  path,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@congruent-stack/congruent-api",
3
3
  "type": "module",
4
- "version": "0.12.2",
4
+ "version": "0.13.0",
5
5
  "description": "Typescript schema-first tooling for agnostic REST APIs.",
6
6
  "keywords": [],
7
7
  "author": "congruent-stack",