Socket
Socket
Sign inDemoInstall

openai

Package Overview
Dependencies
Maintainers
5
Versions
188
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

openai - npm Package Compare versions

Comparing version 4.56.1 to 4.56.2

2

helpers/zod.d.ts

@@ -41,3 +41,3 @@ import { ResponseFormatJSONSchema } from 'openai/resources';

*/
export declare function zodResponseFormat<ZodInput extends z.ZodType>(zodObject: ZodInput, name: string, props?: Omit<ResponseFormatJSONSchema, 'schema' | 'strict' | 'name'>): AutoParseableResponseFormat<z.infer<ZodInput>>;
export declare function zodResponseFormat<ZodInput extends z.ZodType>(zodObject: ZodInput, name: string, props?: Omit<ResponseFormatJSONSchema.JSONSchema, 'schema' | 'strict' | 'name'>): AutoParseableResponseFormat<z.infer<ZodInput>>;
/**

@@ -44,0 +44,0 @@ * Creates a chat completion `function` tool that can be invoked

{
"name": "openai",
"version": "4.56.1",
"version": "4.56.2",
"description": "The official TypeScript library for the OpenAI API",

@@ -5,0 +5,0 @@ "author": "OpenAI <support@openai.com>",

@@ -22,3 +22,3 @@ # OpenAI Node API Library

```ts
import OpenAI from 'https://deno.land/x/openai@v4.56.1/mod.ts';
import OpenAI from 'https://deno.land/x/openai@v4.56.2/mod.ts';
```

@@ -25,0 +25,0 @@

@@ -61,3 +61,3 @@ import { ResponseFormatJSONSchema } from "../resources";

name: string,
props?: Omit<ResponseFormatJSONSchema, 'schema' | 'strict' | 'name'>,
props?: Omit<ResponseFormatJSONSchema.JSONSchema, 'schema' | 'strict' | 'name'>,
): AutoParseableResponseFormat<z.infer<ZodInput>> {

@@ -64,0 +64,0 @@ return makeParseableResponseFormat(

@@ -1,1 +0,1 @@

export const VERSION = '4.56.1'; // x-release-please-version
export const VERSION = '4.56.2'; // x-release-please-version

@@ -1,2 +0,2 @@

export declare const VERSION = "4.56.1";
export declare const VERSION = "4.56.2";
//# sourceMappingURL=version.d.ts.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.VERSION = void 0;
exports.VERSION = '4.56.1'; // x-release-please-version
exports.VERSION = '4.56.2'; // x-release-please-version
//# sourceMappingURL=version.js.map

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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