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

openai

Package Overview
Dependencies
Maintainers
5
Versions
209
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.68.4 to 4.69.0

4

package.json
{
"name": "openai",
"version": "4.68.4",
"version": "4.69.0",
"description": "The official TypeScript library for the OpenAI API",

@@ -13,3 +13,3 @@ "author": "OpenAI <support@openai.com>",

"files": [
"*"
"**/*"
],

@@ -16,0 +16,0 @@ "private": false,

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

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

@@ -448,3 +448,3 @@

List methods in the OpenAI API are paginated.
You can use `for await … of` syntax to iterate through items across all pages:
You can use the `for await … of` syntax to iterate through items across all pages:

@@ -462,3 +462,3 @@ ```ts

Alternatively, you can make request a single page at a time:
Alternatively, you can request a single page at a time:

@@ -465,0 +465,0 @@ ```ts

@@ -203,6 +203,6 @@ import { APIResource } from "../../resource.js";

/**
* Specifies the voice type. Supported voices are `alloy`, `echo`, `fable`, `onyx`,
* `nova`, and `shimmer`.
* The voice the model uses to respond. Supported voices are `alloy`, `ash`,
* `ballad`, `coral`, `echo`, `sage`, `shimmer`, and `verse`.
*/
voice: 'alloy' | 'echo' | 'fable' | 'onyx' | 'nova' | 'shimmer';
voice: 'alloy' | 'ash' | 'ballad' | 'coral' | 'echo' | 'sage' | 'shimmer' | 'verse';
}

@@ -254,3 +254,3 @@ /**

*/
usage?: CompletionsAPI.CompletionUsage;
usage?: CompletionsAPI.CompletionUsage | null;
}

@@ -257,0 +257,0 @@ export declare namespace ChatCompletionChunk {

@@ -253,6 +253,6 @@ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

/**
* Specifies the voice type. Supported voices are `alloy`, `echo`, `fable`, `onyx`,
* `nova`, and `shimmer`.
* The voice the model uses to respond. Supported voices are `alloy`, `ash`,
* `ballad`, `coral`, `echo`, `sage`, `shimmer`, and `verse`.
*/
voice: 'alloy' | 'echo' | 'fable' | 'onyx' | 'nova' | 'shimmer';
voice: 'alloy' | 'ash' | 'ballad' | 'coral' | 'echo' | 'sage' | 'shimmer' | 'verse';
}

@@ -312,3 +312,3 @@

*/
usage?: CompletionsAPI.CompletionUsage;
usage?: CompletionsAPI.CompletionUsage | null;
}

@@ -315,0 +315,0 @@

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

export const VERSION = '4.68.4'; // x-release-please-version
export const VERSION = '4.69.0'; // x-release-please-version

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

export declare const VERSION = "4.68.4";
export declare const VERSION = "4.69.0";
//# sourceMappingURL=version.d.ts.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.VERSION = void 0;
exports.VERSION = '4.68.4'; // x-release-please-version
exports.VERSION = '4.69.0'; // 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

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