-
Notifications
You must be signed in to change notification settings - Fork 884
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #809 from openai/release-please--branches--master-…
…-changes--next--components--openai release: 4.39.1
- Loading branch information
Showing
21 changed files
with
98 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
".": "4.39.0" | ||
".": "4.39.1" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
configured_endpoints: 63 | ||
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai-0839c14b2b61dad4e830884410cfc3695546682ced009e50583c8bb5c44512d7.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,7 @@ You can import in Deno via: | |
<!-- x-release-please-start-version --> | ||
|
||
```ts | ||
import OpenAI from 'https://deno.land/x/[email protected].0/mod.ts'; | ||
import OpenAI from 'https://deno.land/x/[email protected].1/mod.ts'; | ||
``` | ||
|
||
<!-- x-release-please-end --> | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "openai", | ||
"version": "4.39.0", | ||
"version": "4.39.1", | ||
"description": "The official TypeScript library for the OpenAI API", | ||
"author": "OpenAI <[email protected]>", | ||
"types": "dist/index.d.ts", | ||
|
@@ -15,13 +15,13 @@ | |
"private": false, | ||
"scripts": { | ||
"test": "./scripts/test", | ||
"build": "bash ./build", | ||
"build": "./scripts/build", | ||
"prepack": "echo 'to pack, run yarn build && (cd dist; yarn pack)' && exit 1", | ||
"prepublishOnly": "echo 'to publish, run yarn build && (cd dist; yarn publish)' && exit 1", | ||
"format": "prettier --write --cache --cache-strategy metadata . !dist", | ||
"prepare": "if ./scripts/check-is-in-git-install.sh; then npm run build; fi", | ||
"prepare": "if ./scripts/utils/check-is-in-git-install.sh; then ./scripts/build; fi", | ||
"tsn": "ts-node -r tsconfig-paths/register", | ||
"lint": "eslint --ext ts,js .", | ||
"lint": "./scripts/lint", | ||
"fix": "eslint --fix --ext ts,js ." | ||
}, | ||
"dependencies": { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -63,6 +63,6 @@ | |
"extra-files": [ | ||
"src/version.ts", | ||
"README.md", | ||
"build-deno" | ||
"scripts/build-deno" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -e | ||
|
||
cd "$(dirname "$0")/.." | ||
|
||
PACKAGE_MANAGER=$(command -v yarn >/dev/null 2>&1 && echo "yarn" || echo "npm") | ||
|
||
$PACKAGE_MANAGER install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,8 @@ | |
|
||
set -exuo pipefail | ||
|
||
cd "$(dirname "$0")/.." | ||
|
||
rm -rf deno; mkdir deno | ||
cp -rp src/* deno | ||
|
||
|
@@ -14,7 +16,7 @@ This is a build produced from https://github.com/openai/openai-node – please g | |
Usage: | ||
\`\`\`ts | ||
import OpenAI from "https://deno.land/x/[email protected].0/mod.ts"; | ||
import OpenAI from "https://deno.land/x/[email protected].1/mod.ts"; | ||
const client = new OpenAI(); | ||
\`\`\` | ||
|
@@ -37,7 +39,7 @@ done | |
for file in LICENSE CHANGELOG.md; do | ||
if [ -e "${file}" ]; then cp "${file}" deno; fi | ||
done | ||
npm exec ts-node -T -- scripts/denoify.ts | ||
npm exec ts-node -T -- scripts/utils/denoify.ts | ||
deno fmt deno | ||
deno check deno/mod.ts | ||
if [ -e deno_tests ]; then | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -e | ||
|
||
cd "$(dirname "$0")/.." | ||
|
||
./node_modules/.bin/eslint --ext ts,js . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
scripts/make-dist-package-json.cjs → scripts/utils/make-dist-package-json.cjs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
export const VERSION = '4.39.0'; // x-release-please-version | ||
export const VERSION = '4.39.1'; // x-release-please-version |