prompt-api-polyfill 1.18.0 → 1.19.0
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as e, t } from "../chunks/defaults-
|
|
1
|
+
import { n as e, t } from "../chunks/defaults-n7NcZd-K.js";
|
|
2
2
|
import { initializeApp as n } from "firebase/app";
|
|
3
3
|
import { ReCaptchaEnterpriseProvider as r, initializeAppCheck as i } from "firebase/app-check";
|
|
4
4
|
import { GoogleAIBackend as a, InferenceMode as o, Schema as s, VertexAIBackend as c, getAI as l, getGenerativeModel as u } from "firebase/ai";
|
package/dist/backends/gemini.js
CHANGED
package/dist/backends/openai.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as e, t } from "../chunks/defaults-
|
|
1
|
+
import { n as e, t } from "../chunks/defaults-n7NcZd-K.js";
|
|
2
2
|
import { TextStreamer as n, env as r, pipeline as i } from "@huggingface/transformers";
|
|
3
3
|
//#region backends/transformers.js
|
|
4
4
|
var a = class extends e {
|
package/dist/backends/webllm.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "prompt-api-polyfill",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.19.0",
|
|
4
4
|
"description": "Polyfill for the Prompt API (`LanguageModel`) backed by Firebase AI Logic, Gemini API, OpenAI API, or Transformers.js.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/prompt-api-polyfill.js",
|
|
@@ -50,17 +50,17 @@
|
|
|
50
50
|
"eslint": "^10.4.0",
|
|
51
51
|
"eslint-config-prettier": "^10.1.8",
|
|
52
52
|
"globals": "^17.6.0",
|
|
53
|
-
"node-addon-api": "^8.
|
|
53
|
+
"node-addon-api": "^8.8.0",
|
|
54
54
|
"node-gyp": "^12.3.0",
|
|
55
55
|
"prettier": "^3.8.3",
|
|
56
56
|
"prettier-plugin-curly": "^0.4.1",
|
|
57
|
-
"vite": "^8.0.
|
|
57
|
+
"vite": "^8.0.14"
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@google/genai": "^2.
|
|
60
|
+
"@google/genai": "^2.6.0",
|
|
61
61
|
"@huggingface/transformers": "^4.2.0",
|
|
62
62
|
"@mlc-ai/web-llm": "^0.2.83",
|
|
63
63
|
"firebase": "^12.13.0",
|
|
64
|
-
"openai": "^6.
|
|
64
|
+
"openai": "^6.39.0"
|
|
65
65
|
}
|
|
66
66
|
}
|
|
File without changes
|