@ts-rest/core
Advanced tools
Comparing version 3.30.2 to 3.30.3
# @ts-rest/core | ||
## 3.30.3 | ||
### Patch Changes | ||
- da48e62: fix: apply `validateResponseOnClient` recursively to nested App Routers in `@ts-rest/core` client | ||
## 3.30.2 | ||
@@ -8,3 +14,3 @@ | ||
- bd0161b: fix: content-type application/json will not be automatically included in client request if the route is GET or body is undefined/null | ||
> if you need to send this header for whatever reason in a GET request/undefined body request, you can pass in runtime headers https://ts-rest.com/docs/core/#headers | ||
> if you need to send this header for whatever reason in a GET request/undefined body request, you can pass in runtime headers https://ts-rest.com/docs/core/#headers | ||
@@ -11,0 +17,0 @@ ## 3.30.1 |
@@ -75,3 +75,3 @@ 'use strict'; | ||
return Object.fromEntries(Object.entries(router).map(([key, value]) => { | ||
var _a; | ||
var _a, _b; | ||
if (isAppRoute(value)) { | ||
@@ -87,2 +87,3 @@ return [ | ||
strictStatusCodes: (_a = value.strictStatusCodes) !== null && _a !== void 0 ? _a : options === null || options === void 0 ? void 0 : options.strictStatusCodes, | ||
validateResponseOnClient: (_b = value.validateResponseOnClient) !== null && _b !== void 0 ? _b : options === null || options === void 0 ? void 0 : options.validateResponseOnClient | ||
}, | ||
@@ -89,0 +90,0 @@ ]; |
{ | ||
"name": "@ts-rest/core", | ||
"version": "3.30.2", | ||
"version": "3.30.3", | ||
"description": "RPC-like experience over a regular REST API, with type safe server implementations 🪄", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
74568
1331