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

@gtsc/api-models

Package Overview
Dependencies
Maintainers
0
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gtsc/api-models - npm Package Compare versions

Comparing version 0.0.3-next.17 to 0.0.3-next.18

6

dist/types/models/server/IWebServerOptions.d.ts

@@ -22,9 +22,7 @@ import type { HttpMethods } from "@gtsc/web";

/**
* The allowed headers.
* @default [ "X-Requested-With", "Access-Control-Allow-Origin", "X-HTTP-Method-Override", "Content-Type", "Content-Encoding", "Authorization", "Accept", "Accept-Encoding", "X-Api-Key" ]
* Any additional allowed headers.
*/
allowedHeaders?: string[];
/**
* The exposed headers.
* @default ["Content-Disposition"]
* And additional exposed headers.
*/

@@ -31,0 +29,0 @@ exposedHeaders?: string[];

@@ -57,10 +57,4 @@ [**@gtsc/api-models**](../overview.md) • **Docs**

The allowed headers.
Any additional allowed headers.
#### Default
```ts
[ "X-Requested-With", "Access-Control-Allow-Origin", "X-HTTP-Method-Override", "Content-Type", "Content-Encoding", "Authorization", "Accept", "Accept-Encoding", "X-Api-Key" ]
```
***

@@ -72,10 +66,4 @@

The exposed headers.
And additional exposed headers.
#### Default
```ts
["Content-Disposition"]
```
***

@@ -82,0 +70,0 @@

{
"name": "@gtsc/api-models",
"version": "0.0.3-next.17",
"version": "0.0.3-next.18",
"description": "Contains models and classes for use with APIs",

@@ -5,0 +5,0 @@ "repository": {

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