openai-oauth 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/cli.js +4 -3
  2. package/package.json +4 -3
package/dist/cli.js CHANGED
@@ -15,7 +15,7 @@ import { hideBin } from "yargs/helpers";
15
15
  // package.json
16
16
  var package_default = {
17
17
  name: "openai-oauth",
18
- version: "1.0.0",
18
+ version: "1.0.1",
19
19
  description: "Free OpenAI API access with your ChatGPT account.",
20
20
  type: "module",
21
21
  bin: {
@@ -33,16 +33,17 @@ var package_default = {
33
33
  scripts: {
34
34
  build: "tsup src/index.ts src/cli.ts --format esm --dts --outDir dist --clean",
35
35
  dev: "bun ./src/cli.ts",
36
+ prepublishOnly: "bun run build",
36
37
  typecheck: "tsc --noEmit",
37
38
  test: "vitest run",
38
39
  "test:live": "LIVE_CODEX_E2E=1 vitest run test/live.e2e.test.ts"
39
40
  },
40
41
  dependencies: {
41
- ai: "6.0.0-beta.138",
42
+ ai: "6.0.116",
42
43
  yargs: "^17.7.2"
43
44
  },
44
45
  devDependencies: {
45
- "@ai-sdk/openai": "3.0.0-beta.87",
46
+ "@ai-sdk/openai": "3.0.41",
46
47
  "@types/node": "20.17.24",
47
48
  "@types/yargs": "^17.0.33",
48
49
  "openai-oauth-core": "workspace:*",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openai-oauth",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Free OpenAI API access with your ChatGPT account.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -18,16 +18,17 @@
18
18
  "scripts": {
19
19
  "build": "tsup src/index.ts src/cli.ts --format esm --dts --outDir dist --clean",
20
20
  "dev": "bun ./src/cli.ts",
21
+ "prepublishOnly": "bun run build",
21
22
  "typecheck": "tsc --noEmit",
22
23
  "test": "vitest run",
23
24
  "test:live": "LIVE_CODEX_E2E=1 vitest run test/live.e2e.test.ts"
24
25
  },
25
26
  "dependencies": {
26
- "ai": "6.0.0-beta.138",
27
+ "ai": "6.0.116",
27
28
  "yargs": "^17.7.2"
28
29
  },
29
30
  "devDependencies": {
30
- "@ai-sdk/openai": "3.0.0-beta.87",
31
+ "@ai-sdk/openai": "3.0.41",
31
32
  "@types/node": "20.17.24",
32
33
  "@types/yargs": "^17.0.33",
33
34
  "openai-oauth-core": "workspace:*",