Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ts-rest/core

Package Overview
Dependencies
Maintainers
1
Versions
136
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ts-rest/core - npm Package Compare versions

Comparing version 3.30.2 to 3.30.3

8

CHANGELOG.md
# @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

3

index.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc