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

@hey-api/openapi-ts

Package Overview
Dependencies
Maintainers
0
Versions
104
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hey-api/openapi-ts - npm Package Compare versions

Comparing version 0.49.0 to 0.50.0

23

dist/node/index.d.ts

@@ -243,3 +243,3 @@ interface Dictionary<T = unknown> {

interface Client {
interface Client$1 {
models: Model[];

@@ -266,2 +266,3 @@ server: string;

type Client = '@hey-api/client-axios' | '@hey-api/client-fetch' | 'angular' | 'axios' | 'fetch' | 'node' | 'xhr';
interface ClientConfig {

@@ -277,3 +278,19 @@ /**

*/
client?: '@hey-api/client-axios' | '@hey-api/client-fetch' | 'angular' | 'axios' | 'fetch' | 'node' | 'xhr';
client?: Client | {
/**
* Bundle the client module? Set this to true if you're using a standalone
* client package and don't want to declare it as a separate dependency.
* When true, the client module will be generated from the standalone
* package and bundled with the rest of the generated output. This is
* useful if you're repackaging the output, publishing it to other users,
* and you don't want them to install any dependencies.
* @default false
*/
bundle?: boolean;
/**
* HTTP client to generate
* @default 'fetch'
*/
name: Client;
};
/**

@@ -464,3 +481,3 @@ * Path to the config file. Set this value if you don't use the default

*/
declare function createClient(userConfig: UserConfig): Promise<Client[]>;
declare function createClient(userConfig: UserConfig): Promise<Client$1[]>;
/**

@@ -467,0 +484,0 @@ * Type helper for openapi-ts.config.ts, returns {@link UserConfig} object

5

package.json
{
"name": "@hey-api/openapi-ts",
"version": "0.49.0",
"version": "0.50.0",
"type": "module",

@@ -81,3 +81,4 @@ "description": "Turn your OpenAPI specification into a beautiful TypeScript client",

"tslib": "2.6.3",
"typescript": "5.5.3"
"typescript": "5.5.3",
"@hey-api/client-fetch": "0.1.11"
},

@@ -84,0 +85,0 @@ "scripts": {

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