@firebase/ai 1.3.0-canary.b5df4ae71 → 1.3.0-canary.ec91a8611
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/ai-public.d.ts +2 -2
- package/dist/ai.d.ts +2 -2
- package/dist/esm/index.esm2017.js +1 -1
- package/dist/esm/src/types/error.d.ts +2 -2
- package/dist/index.cjs.js +1 -1
- package/dist/index.node.cjs.js +1 -1
- package/dist/index.node.mjs +1 -1
- package/dist/src/types/error.d.ts +2 -2
- package/package.json +8 -8
package/dist/ai-public.d.ts
CHANGED
|
@@ -75,7 +75,7 @@ declare const enum AIErrorCode {
|
|
|
75
75
|
INVALID_SCHEMA = "invalid-schema",
|
|
76
76
|
/** An error occurred due to a missing Firebase API key. */
|
|
77
77
|
NO_API_KEY = "no-api-key",
|
|
78
|
-
/** An error
|
|
78
|
+
/** An error occurred due to a missing Firebase app ID. */
|
|
79
79
|
NO_APP_ID = "no-app-id",
|
|
80
80
|
/** An error occurred due to a model name not being specified during initialization. */
|
|
81
81
|
NO_MODEL = "no-model",
|
|
@@ -83,7 +83,7 @@ declare const enum AIErrorCode {
|
|
|
83
83
|
NO_PROJECT_ID = "no-project-id",
|
|
84
84
|
/** An error occurred while parsing. */
|
|
85
85
|
PARSE_FAILED = "parse-failed",
|
|
86
|
-
/** An error
|
|
86
|
+
/** An error occurred due an attempt to use an unsupported feature. */
|
|
87
87
|
UNSUPPORTED = "unsupported"
|
|
88
88
|
}
|
|
89
89
|
export { AIErrorCode }
|
package/dist/ai.d.ts
CHANGED
|
@@ -75,7 +75,7 @@ declare const enum AIErrorCode {
|
|
|
75
75
|
INVALID_SCHEMA = "invalid-schema",
|
|
76
76
|
/** An error occurred due to a missing Firebase API key. */
|
|
77
77
|
NO_API_KEY = "no-api-key",
|
|
78
|
-
/** An error
|
|
78
|
+
/** An error occurred due to a missing Firebase app ID. */
|
|
79
79
|
NO_APP_ID = "no-app-id",
|
|
80
80
|
/** An error occurred due to a model name not being specified during initialization. */
|
|
81
81
|
NO_MODEL = "no-model",
|
|
@@ -83,7 +83,7 @@ declare const enum AIErrorCode {
|
|
|
83
83
|
NO_PROJECT_ID = "no-project-id",
|
|
84
84
|
/** An error occurred while parsing. */
|
|
85
85
|
PARSE_FAILED = "parse-failed",
|
|
86
|
-
/** An error
|
|
86
|
+
/** An error occurred due an attempt to use an unsupported feature. */
|
|
87
87
|
UNSUPPORTED = "unsupported"
|
|
88
88
|
}
|
|
89
89
|
export { AIErrorCode }
|
|
@@ -68,7 +68,7 @@ export declare const enum AIErrorCode {
|
|
|
68
68
|
INVALID_SCHEMA = "invalid-schema",
|
|
69
69
|
/** An error occurred due to a missing Firebase API key. */
|
|
70
70
|
NO_API_KEY = "no-api-key",
|
|
71
|
-
/** An error
|
|
71
|
+
/** An error occurred due to a missing Firebase app ID. */
|
|
72
72
|
NO_APP_ID = "no-app-id",
|
|
73
73
|
/** An error occurred due to a model name not being specified during initialization. */
|
|
74
74
|
NO_MODEL = "no-model",
|
|
@@ -76,6 +76,6 @@ export declare const enum AIErrorCode {
|
|
|
76
76
|
NO_PROJECT_ID = "no-project-id",
|
|
77
77
|
/** An error occurred while parsing. */
|
|
78
78
|
PARSE_FAILED = "parse-failed",
|
|
79
|
-
/** An error
|
|
79
|
+
/** An error occurred due an attempt to use an unsupported feature. */
|
|
80
80
|
UNSUPPORTED = "unsupported"
|
|
81
81
|
}
|
package/dist/index.cjs.js
CHANGED
package/dist/index.node.cjs.js
CHANGED
package/dist/index.node.mjs
CHANGED
|
@@ -68,7 +68,7 @@ export declare const enum AIErrorCode {
|
|
|
68
68
|
INVALID_SCHEMA = "invalid-schema",
|
|
69
69
|
/** An error occurred due to a missing Firebase API key. */
|
|
70
70
|
NO_API_KEY = "no-api-key",
|
|
71
|
-
/** An error
|
|
71
|
+
/** An error occurred due to a missing Firebase app ID. */
|
|
72
72
|
NO_APP_ID = "no-app-id",
|
|
73
73
|
/** An error occurred due to a model name not being specified during initialization. */
|
|
74
74
|
NO_MODEL = "no-model",
|
|
@@ -76,6 +76,6 @@ export declare const enum AIErrorCode {
|
|
|
76
76
|
NO_PROJECT_ID = "no-project-id",
|
|
77
77
|
/** An error occurred while parsing. */
|
|
78
78
|
PARSE_FAILED = "parse-failed",
|
|
79
|
-
/** An error
|
|
79
|
+
/** An error occurred due an attempt to use an unsupported feature. */
|
|
80
80
|
UNSUPPORTED = "unsupported"
|
|
81
81
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@firebase/ai",
|
|
3
|
-
"version": "1.3.0-canary.
|
|
3
|
+
"version": "1.3.0-canary.ec91a8611",
|
|
4
4
|
"description": "The Firebase AI SDK",
|
|
5
5
|
"author": "Firebase <firebase-support@google.com> (https://firebase.google.com/)",
|
|
6
6
|
"engines": {
|
|
@@ -44,19 +44,19 @@
|
|
|
44
44
|
"trusted-type-check": "tsec -p tsconfig.json --noEmit"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
|
-
"@firebase/app": "0.13.0-canary.
|
|
48
|
-
"@firebase/app-types": "0.9.3-canary.
|
|
47
|
+
"@firebase/app": "0.13.0-canary.ec91a8611",
|
|
48
|
+
"@firebase/app-types": "0.9.3-canary.ec91a8611"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@firebase/app-check-interop-types": "0.3.3-canary.
|
|
52
|
-
"@firebase/component": "0.6.17-canary.
|
|
53
|
-
"@firebase/logger": "0.4.4-canary.
|
|
54
|
-
"@firebase/util": "1.12.0-canary.
|
|
51
|
+
"@firebase/app-check-interop-types": "0.3.3-canary.ec91a8611",
|
|
52
|
+
"@firebase/component": "0.6.17-canary.ec91a8611",
|
|
53
|
+
"@firebase/logger": "0.4.4-canary.ec91a8611",
|
|
54
|
+
"@firebase/util": "1.12.0-canary.ec91a8611",
|
|
55
55
|
"tslib": "^2.1.0"
|
|
56
56
|
},
|
|
57
57
|
"license": "Apache-2.0",
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@firebase/app": "0.13.0-canary.
|
|
59
|
+
"@firebase/app": "0.13.0-canary.ec91a8611",
|
|
60
60
|
"@rollup/plugin-json": "6.1.0",
|
|
61
61
|
"rollup": "2.79.2",
|
|
62
62
|
"rollup-plugin-replace": "2.2.0",
|