express-zod-api 12.1.0-beta2 → 12.1.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.
Files changed (2) hide show
  1. package/CHANGELOG.md +2 -1
  2. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -5,7 +5,7 @@
5
5
  ### v12.1.0
6
6
 
7
7
  - This version fixes the issue 1182 introduced in version 10.0.0-beta1, manifesting as Typescript errors `TS4023` and
8
- `TS4094` only when `declarations` feature is enabled in cosumer's `tsconfig.json`.
8
+ `TS4094` only when `declaration` feature is enabled in your `tsconfig.json`.
9
9
  - Several protected properties of `Endpoint` are made entirely private.
10
10
  - Several types are exposed: `CommonConfig`, `MiddlewareDefinition`, `ResultHandlerDefinition`, `BasicSecurity`,
11
11
  `BearerSecurity`, `CookieSecurity`, `CustomHeaderSecurity`, `InputSecurity`, `OAuth2Security`, `OpenIdSecurity`.
@@ -15,6 +15,7 @@
15
15
  - Instead of `ResultHandlerDefinition` type use `createResultHandler()` method.
16
16
  - Instead of the mentioned security types use the `security` property of the `createMiddleware()` argument.
17
17
  - The issue 1182 is the continuation of the issue 952 "Infussicient exports" (for consumer's declaration).
18
+ - Found and reported by [@bobgubko](https://github.com/bobgubko)
18
19
 
19
20
  ### v12.0.2
20
21
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "express-zod-api",
3
- "version": "12.1.0-beta2",
3
+ "version": "12.1.0",
4
4
  "description": "A Typescript library to help you get an API server up and running with I/O schema validation and custom middlewares in minutes.",
5
5
  "license": "MIT",
6
6
  "scripts": {