@zenning/openai 3.0.26 → 3.0.27

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.
package/LICENSE ADDED
@@ -0,0 +1,13 @@
1
+ Copyright 2023 Vercel, Inc.
2
+
3
+ Licensed under the Apache License, Version 2.0 (the "License");
4
+ you may not use this file except in compliance with the License.
5
+ You may obtain a copy of the License at
6
+
7
+ http://www.apache.org/licenses/LICENSE-2.0
8
+
9
+ Unless required by applicable law or agreed to in writing, software
10
+ distributed under the License is distributed on an "AS IS" BASIS,
11
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ See the License for the specific language governing permissions and
13
+ limitations under the License.
package/dist/index.js CHANGED
@@ -5806,7 +5806,7 @@ var OpenAITranscriptionModel = class {
5806
5806
  };
5807
5807
 
5808
5808
  // src/version.ts
5809
- var VERSION = true ? "3.0.26" : "0.0.0-test";
5809
+ var VERSION = true ? "3.0.27" : "0.0.0-test";
5810
5810
 
5811
5811
  // src/openai-provider.ts
5812
5812
  function createOpenAI(options = {}) {
package/dist/index.mjs CHANGED
@@ -5888,7 +5888,7 @@ var OpenAITranscriptionModel = class {
5888
5888
  };
5889
5889
 
5890
5890
  // src/version.ts
5891
- var VERSION = true ? "3.0.26" : "0.0.0-test";
5891
+ var VERSION = true ? "3.0.27" : "0.0.0-test";
5892
5892
 
5893
5893
  // src/openai-provider.ts
5894
5894
  function createOpenAI(options = {}) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zenning/openai",
3
- "version": "3.0.26",
3
+ "version": "3.0.27",
4
4
  "license": "Apache-2.0",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/index.js",
@@ -12,19 +12,6 @@
12
12
  "README.md",
13
13
  "internal.d.ts"
14
14
  ],
15
- "scripts": {
16
- "build": "pnpm clean && tsup --tsconfig tsconfig.build.json",
17
- "build:watch": "pnpm clean && tsup --watch",
18
- "clean": "del-cli dist *.tsbuildinfo",
19
- "lint": "eslint \"./**/*.ts*\"",
20
- "type-check": "tsc --build",
21
- "prettier-check": "prettier --check \"./**/*.ts*\"",
22
- "test": "pnpm test:node && pnpm test:edge",
23
- "test:update": "pnpm test:node -u",
24
- "test:watch": "vitest --config vitest.node.config.js",
25
- "test:edge": "vitest --config vitest.edge.config.js --run",
26
- "test:node": "vitest --config vitest.node.config.js --run"
27
- },
28
15
  "exports": {
29
16
  "./package.json": "./package.json",
30
17
  ".": {
@@ -40,16 +27,16 @@
40
27
  }
41
28
  },
42
29
  "dependencies": {
43
- "@zenning/provider": "workspace:*",
44
- "@zenning/provider-utils": "workspace:*"
30
+ "@zenning/provider": "3.0.5",
31
+ "@zenning/provider-utils": "4.0.7"
45
32
  },
46
33
  "devDependencies": {
47
- "@zenning/test-server": "workspace:*",
48
34
  "@types/node": "20.17.24",
49
- "@vercel/ai-tsconfig": "workspace:*",
50
35
  "tsup": "^8",
51
36
  "typescript": "5.8.3",
52
- "zod": "3.25.76"
37
+ "zod": "3.25.76",
38
+ "@vercel/ai-tsconfig": "0.0.0",
39
+ "@zenning/test-server": "1.0.1"
53
40
  },
54
41
  "peerDependencies": {
55
42
  "zod": "^3.25.76 || ^4.1.8"
@@ -70,5 +57,18 @@
70
57
  },
71
58
  "keywords": [
72
59
  "ai"
73
- ]
74
- }
60
+ ],
61
+ "scripts": {
62
+ "build": "pnpm clean && tsup --tsconfig tsconfig.build.json",
63
+ "build:watch": "pnpm clean && tsup --watch",
64
+ "clean": "del-cli dist *.tsbuildinfo",
65
+ "lint": "eslint \"./**/*.ts*\"",
66
+ "type-check": "tsc --build",
67
+ "prettier-check": "prettier --check \"./**/*.ts*\"",
68
+ "test": "pnpm test:node && pnpm test:edge",
69
+ "test:update": "pnpm test:node -u",
70
+ "test:watch": "vitest --config vitest.node.config.js",
71
+ "test:edge": "vitest --config vitest.edge.config.js --run",
72
+ "test:node": "vitest --config vitest.node.config.js --run"
73
+ }
74
+ }