@ahoo-wang/fetcher-openai 3.15.0 → 3.15.2
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/dist/index.es.js +3 -3
- package/package.json +10 -10
package/dist/index.es.js
CHANGED
|
@@ -4,19 +4,19 @@ import { Fetcher as i } from "@ahoo-wang/fetcher";
|
|
|
4
4
|
//#region src/chat/completionStreamResultExtractor.ts
|
|
5
5
|
var a = (e) => e.data === "[DONE]", o = (e) => e.requiredResponse.requiredJsonEventStream(a);
|
|
6
6
|
//#endregion
|
|
7
|
-
//#region \0@oxc-project+runtime@0.
|
|
7
|
+
//#region \0@oxc-project+runtime@0.124.0/helpers/decorateMetadata.js
|
|
8
8
|
function s(e, t) {
|
|
9
9
|
if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(e, t);
|
|
10
10
|
}
|
|
11
11
|
//#endregion
|
|
12
|
-
//#region \0@oxc-project+runtime@0.
|
|
12
|
+
//#region \0@oxc-project+runtime@0.124.0/helpers/decorateParam.js
|
|
13
13
|
function c(e, t) {
|
|
14
14
|
return function(n, r) {
|
|
15
15
|
t(n, r, e);
|
|
16
16
|
};
|
|
17
17
|
}
|
|
18
18
|
//#endregion
|
|
19
|
-
//#region \0@oxc-project+runtime@0.
|
|
19
|
+
//#region \0@oxc-project+runtime@0.124.0/helpers/decorate.js
|
|
20
20
|
function l(e, t, n, r) {
|
|
21
21
|
var i = arguments.length, a = i < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, n) : r, o;
|
|
22
22
|
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") a = Reflect.decorate(e, t, n, r);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ahoo-wang/fetcher-openai",
|
|
3
|
-
"version": "3.15.
|
|
3
|
+
"version": "3.15.2",
|
|
4
4
|
"description": "Type-safe OpenAI API client for Fetcher ecosystem. Provides seamless integration with OpenAI's Chat Completions API, supporting both streaming and non-streaming responses with full TypeScript support.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"openai",
|
|
@@ -53,21 +53,21 @@
|
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"@eslint/js": "^9.39.4",
|
|
56
|
-
"@vitest/coverage-v8": "^4.
|
|
57
|
-
"@vitest/ui": "^4.
|
|
56
|
+
"@vitest/coverage-v8": "^4.1.4",
|
|
57
|
+
"@vitest/ui": "^4.1.4",
|
|
58
58
|
"eslint": "^9.39.4",
|
|
59
59
|
"globals": "^17.4.0",
|
|
60
60
|
"prettier": "^3.8.1",
|
|
61
|
-
"typescript": "^
|
|
61
|
+
"typescript": "^6.0.2",
|
|
62
62
|
"typescript-eslint": "^8.58.1",
|
|
63
63
|
"unplugin-dts": "1.0.0-beta.6",
|
|
64
|
-
"vite": "^8.0.
|
|
64
|
+
"vite": "^8.0.8",
|
|
65
65
|
"vite-bundle-analyzer": "^1.3.7",
|
|
66
|
-
"vitest": "^4.1.
|
|
67
|
-
"msw": "^2.13.
|
|
68
|
-
"@ahoo-wang/fetcher-eventbus": "^3.15.
|
|
69
|
-
"@ahoo-wang/fetcher-
|
|
70
|
-
"@ahoo-wang/fetcher-
|
|
66
|
+
"vitest": "^4.1.4",
|
|
67
|
+
"msw": "^2.13.2",
|
|
68
|
+
"@ahoo-wang/fetcher-eventbus": "^3.15.2",
|
|
69
|
+
"@ahoo-wang/fetcher-storage": "^3.15.2",
|
|
70
|
+
"@ahoo-wang/fetcher-react": "^3.15.2"
|
|
71
71
|
},
|
|
72
72
|
"scripts": {
|
|
73
73
|
"build": "vite build",
|