@congruent-stack/congruent-api 0.12.1 → 0.12.2

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
@@ -411,7 +411,7 @@ declare class MethodEndpointHandlerRegistryEntry<TDef extends IHttpMethodEndpoin
411
411
  pathParams: TypedPathParams<TPathParams>;
412
412
  query: TDef['query'] extends z.ZodType ? z.output<TDef['query']> : null;
413
413
  body: TDef['body'] extends z.ZodType ? z.output<TDef['body']> : null;
414
- }): Promise<any>;
414
+ }): Promise<HttpMethodEndpointHandlerOutput<TDef>>;
415
415
  exec(injected: TInjected, requestObject: {
416
416
  headers: TDef['headers'] extends z.ZodType ? z.output<TDef['headers']> : Record<string, string>;
417
417
  pathParams: TypedPathParams<TPathParams>;
package/dist/index.d.mts CHANGED
@@ -411,7 +411,7 @@ declare class MethodEndpointHandlerRegistryEntry<TDef extends IHttpMethodEndpoin
411
411
  pathParams: TypedPathParams<TPathParams>;
412
412
  query: TDef['query'] extends z.ZodType ? z.output<TDef['query']> : null;
413
413
  body: TDef['body'] extends z.ZodType ? z.output<TDef['body']> : null;
414
- }): Promise<any>;
414
+ }): Promise<HttpMethodEndpointHandlerOutput<TDef>>;
415
415
  exec(injected: TInjected, requestObject: {
416
416
  headers: TDef['headers'] extends z.ZodType ? z.output<TDef['headers']> : Record<string, string>;
417
417
  pathParams: TypedPathParams<TPathParams>;
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.1",
4
+ "version": "0.12.2",
5
5
  "description": "Typescript schema-first tooling for agnostic REST APIs.",
6
6
  "keywords": [],
7
7
  "author": "congruent-stack",