@firebase/ai 2.2.1-20250829000033 → 2.2.1-canary.55f3f83a7

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.
@@ -8,7 +8,7 @@ var util = require('@firebase/util');
8
8
  var logger$1 = require('@firebase/logger');
9
9
 
10
10
  var name = "@firebase/ai";
11
- var version = "2.2.1-20250829000033";
11
+ var version = "2.2.1-canary.55f3f83a7";
12
12
 
13
13
  /**
14
14
  * @license
@@ -4,7 +4,7 @@ import { FirebaseError, Deferred, getModularInstance } from '@firebase/util';
4
4
  import { Logger } from '@firebase/logger';
5
5
 
6
6
  var name = "@firebase/ai";
7
- var version = "2.2.1-20250829000033";
7
+ var version = "2.2.1-canary.55f3f83a7";
8
8
 
9
9
  /**
10
10
  * @license
@@ -0,0 +1,19 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2025 Google LLC
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ import { ComponentContainer, InstanceFactoryOptions } from '@firebase/component';
18
+ import { AIService } from './service';
19
+ export declare function factory(container: ComponentContainer, { instanceIdentifier }: InstanceFactoryOptions): AIService;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@firebase/ai",
3
- "version": "2.2.1-20250829000033",
3
+ "version": "2.2.1-canary.55f3f83a7",
4
4
  "description": "The Firebase AI SDK",
5
5
  "author": "Firebase <firebase-support@google.com> (https://firebase.google.com/)",
6
6
  "engines": {
@@ -35,7 +35,7 @@
35
35
  "dev": "rollup -c -w",
36
36
  "update-responses": "../../scripts/update_vertexai_responses.sh",
37
37
  "testsetup": "yarn update-responses && yarn ts-node ./test-utils/convert-mocks.ts",
38
- "test": "run-p --npm-path npm lint test:browser",
38
+ "test": "run-p --npm-path npm lint type-check test:browser",
39
39
  "test:ci": "yarn testsetup && node ../../scripts/run_tests_in_ci.js -s test",
40
40
  "test:skip-clone": "karma start",
41
41
  "test:browser": "yarn testsetup && karma start",
@@ -44,22 +44,23 @@
44
44
  "test:integration:node": "TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' mocha integration/**/*.test.ts --config ../../config/mocharc.node.js",
45
45
  "api-report": "api-extractor run --local --verbose",
46
46
  "typings:public": "node ../../scripts/build/use_typings.js ./dist/ai-public.d.ts",
47
+ "type-check": "yarn tsc --noEmit",
47
48
  "trusted-type-check": "tsec -p tsconfig.json --noEmit"
48
49
  },
49
50
  "peerDependencies": {
50
- "@firebase/app": "0.x",
51
- "@firebase/app-types": "0.x"
51
+ "@firebase/app": "0.14.2-canary.55f3f83a7",
52
+ "@firebase/app-types": "0.9.3-canary.55f3f83a7"
52
53
  },
53
54
  "dependencies": {
54
- "@firebase/app-check-interop-types": "0.3.3",
55
- "@firebase/component": "0.7.0",
56
- "@firebase/logger": "0.5.0",
57
- "@firebase/util": "1.13.0",
55
+ "@firebase/app-check-interop-types": "0.3.3-canary.55f3f83a7",
56
+ "@firebase/component": "0.7.0-canary.55f3f83a7",
57
+ "@firebase/logger": "0.5.0-canary.55f3f83a7",
58
+ "@firebase/util": "1.13.0-canary.55f3f83a7",
58
59
  "tslib": "^2.1.0"
59
60
  },
60
61
  "license": "Apache-2.0",
61
62
  "devDependencies": {
62
- "@firebase/app": "0.14.2",
63
+ "@firebase/app": "0.14.2-canary.55f3f83a7",
63
64
  "@rollup/plugin-json": "6.1.0",
64
65
  "rollup": "2.79.2",
65
66
  "rollup-plugin-replace": "2.2.0",