chrome-types 0.1.303 → 0.1.304

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.
Files changed (3) hide show
  1. package/_all.d.ts +33 -2
  2. package/index.d.ts +33 -2
  3. package/package.json +2 -2
package/_all.d.ts CHANGED
@@ -14,8 +14,8 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- // Generated on Wed Sep 11 2024 22:31:07 GMT+0000 (Coordinated Universal Time)
18
- // Built at 11b0cd2d6c86551d7b15882693aaf6944d397d02
17
+ // Generated on Thu Sep 12 2024 22:31:36 GMT+0000 (Coordinated Universal Time)
18
+ // Built at caa1a3b162888f00aa540908a190947fcf0bd471
19
19
 
20
20
  // Includes all types, including MV2 + Platform Apps APIs.
21
21
 
@@ -12740,6 +12740,37 @@ declare namespace chrome {
12740
12740
  }
12741
12741
  }
12742
12742
 
12743
+ /**
12744
+ * Experimental API to handle data collection in the browser process for AI features.
12745
+ *
12746
+ * @alpha
12747
+ * @chrome-channel dev
12748
+ */
12749
+ export namespace experimentalAiData {
12750
+
12751
+ export function getAiData(
12752
+
12753
+ domNodeId: number,
12754
+
12755
+ frameId: string,
12756
+
12757
+ userInput: string,
12758
+ ): Promise<ArrayBuffer>;
12759
+
12760
+ export function getAiData(
12761
+
12762
+ domNodeId: number,
12763
+
12764
+ frameId: string,
12765
+
12766
+ userInput: string,
12767
+
12768
+ callback?: (
12769
+ data: ArrayBuffer,
12770
+ ) => void,
12771
+ ): void;
12772
+ }
12773
+
12743
12774
  /**
12744
12775
  * The `chrome.extension` API has utilities that can be used by any extension page. It includes support for exchanging messages between an extension and its content scripts or between extensions, as described in detail in [Message Passing](https://developer.chrome.com/docs/extensions/messaging).
12745
12776
  */
package/index.d.ts CHANGED
@@ -14,8 +14,8 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- // Generated on Wed Sep 11 2024 22:31:03 GMT+0000 (Coordinated Universal Time)
18
- // Built at 11b0cd2d6c86551d7b15882693aaf6944d397d02
17
+ // Generated on Thu Sep 12 2024 22:31:31 GMT+0000 (Coordinated Universal Time)
18
+ // Built at caa1a3b162888f00aa540908a190947fcf0bd471
19
19
 
20
20
  // Includes MV3+ APIs only.
21
21
 
@@ -8870,6 +8870,37 @@ declare namespace chrome {
8870
8870
  }
8871
8871
  }
8872
8872
 
8873
+ /**
8874
+ * Experimental API to handle data collection in the browser process for AI features.
8875
+ *
8876
+ * @alpha
8877
+ * @chrome-channel dev
8878
+ */
8879
+ export namespace experimentalAiData {
8880
+
8881
+ export function getAiData(
8882
+
8883
+ domNodeId: number,
8884
+
8885
+ frameId: string,
8886
+
8887
+ userInput: string,
8888
+ ): Promise<ArrayBuffer>;
8889
+
8890
+ export function getAiData(
8891
+
8892
+ domNodeId: number,
8893
+
8894
+ frameId: string,
8895
+
8896
+ userInput: string,
8897
+
8898
+ callback?: (
8899
+ data: ArrayBuffer,
8900
+ ) => void,
8901
+ ): void;
8902
+ }
8903
+
8873
8904
  /**
8874
8905
  * The `chrome.extension` API has utilities that can be used by any extension page. It includes support for exchanging messages between an extension and its content scripts or between extensions, as described in detail in [Message Passing](https://developer.chrome.com/docs/extensions/messaging).
8875
8906
  */
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "type": "module",
6
6
  "name": "chrome-types",
7
7
  "config": {
8
- "build-hash": "0875810de5bae041"
8
+ "build-hash": "d38042d12d78de98"
9
9
  },
10
10
  "repository": {
11
11
  "type": "git",
@@ -16,5 +16,5 @@
16
16
  "url": "https://github.com/GoogleChrome/chrome-types/issues"
17
17
  },
18
18
  "homepage": "https://github.com/GoogleChrome/chrome-types",
19
- "version": "0.1.303"
19
+ "version": "0.1.304"
20
20
  }