@mediapipe/tasks-genai 0.10.36-rc.20260607 → 0.10.36-rc.20260609

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/README.md CHANGED
@@ -29,3 +29,20 @@ const genai = await FilesetResolver.forGenAiTasks(
29
29
  const llmInference = await LlmInference.createFromModelPath(genai, MODEL_URL);
30
30
  const response = await llmInference.generateResponse(inputText);
31
31
  ```
32
+
33
+ ### Privacy Notice
34
+
35
+ Last modified: June 5, 2026
36
+
37
+ When you use MediaPipe Tasks, processing of the input data (e.g. images, video,
38
+ text) takes place on device, and MediaPipe does not send that input data to
39
+ Google servers. As a result, you can use our MediaPipe Tasks APIs for
40
+ processing data that should not leave the device.
41
+
42
+ MediaPipe Tasks APIs send metrics about the performance and utilization of the
43
+ APIs in your app to Google. Google uses this metrics data to measure
44
+ performance, usage, debug, maintain and improve the MediaPipe Tasks, as further
45
+ described in our [Privacy Policy](https://policies.google.com/privacy).
46
+
47
+ **You are responsible for obtaining informed consent from your app users about
48
+ Google's processing of MediaPipe metrics data as required by applicable law.**
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mediapipe/tasks-genai",
3
- "version": "0.10.36-rc.20260607",
4
- "description": "MediaPipe GenAI Tasks",
3
+ "version": "0.10.36-rc.20260609",
4
+ "description": "MediaPipe GenAI Tasks. See the privacy notice at https://developers.google.com/edge/mediapipe/solutions/tasks#mediapipe_tasks_privacy_notice.",
5
5
  "main": "genai_bundle.cjs",
6
6
  "browser": "genai_bundle.mjs",
7
7
  "module": "genai_bundle.mjs",
@@ -8376,18 +8376,18 @@ Module["FS_createLazyFile"] = FS_createLazyFile;
8376
8376
  // End JS library exports
8377
8377
  // end include: postlibrary.js
8378
8378
  var ASM_CONSTS = {
8379
- 2065468: () => !!Module["preinitializedWebGPUDevice"],
8380
- 2065519: () => {
8379
+ 2065916: () => !!Module["preinitializedWebGPUDevice"],
8380
+ 2065967: () => {
8381
8381
  const retVal = Module.LLM_CANCEL_FLAG;
8382
8382
  Module.LLM_CANCEL_FLAG = undefined;
8383
8383
  return retVal || 0;
8384
8384
  },
8385
- 2065618: $0 => {
8385
+ 2066066: $0 => {
8386
8386
  const device = WebGPU.getJsObject($0);
8387
8387
  return device.features.has("subgroups");
8388
8388
  },
8389
- 2065702: () => !!Module["preinitializedWebGPUDevice"],
8390
- 2065753: () => {
8389
+ 2066150: () => !!Module["preinitializedWebGPUDevice"],
8390
+ 2066201: () => {
8391
8391
  specialHTMLTargets["#canvas"] = Module.canvas;
8392
8392
  }
8393
8393
  };
Binary file
@@ -8379,18 +8379,18 @@ Module["FS_createLazyFile"] = FS_createLazyFile;
8379
8379
  // End JS library exports
8380
8380
  // end include: postlibrary.js
8381
8381
  var ASM_CONSTS = {
8382
- 2065468: () => !!Module["preinitializedWebGPUDevice"],
8383
- 2065519: () => {
8382
+ 2065916: () => !!Module["preinitializedWebGPUDevice"],
8383
+ 2065967: () => {
8384
8384
  const retVal = Module.LLM_CANCEL_FLAG;
8385
8385
  Module.LLM_CANCEL_FLAG = undefined;
8386
8386
  return retVal || 0;
8387
8387
  },
8388
- 2065618: $0 => {
8388
+ 2066066: $0 => {
8389
8389
  const device = WebGPU.getJsObject($0);
8390
8390
  return device.features.has("subgroups");
8391
8391
  },
8392
- 2065702: () => !!Module["preinitializedWebGPUDevice"],
8393
- 2065753: () => {
8392
+ 2066150: () => !!Module["preinitializedWebGPUDevice"],
8393
+ 2066201: () => {
8394
8394
  specialHTMLTargets["#canvas"] = Module.canvas;
8395
8395
  }
8396
8396
  };
@@ -8376,18 +8376,18 @@ Module["FS_createLazyFile"] = FS_createLazyFile;
8376
8376
  // End JS library exports
8377
8377
  // end include: postlibrary.js
8378
8378
  var ASM_CONSTS = {
8379
- 2065340: () => !!Module["preinitializedWebGPUDevice"],
8380
- 2065391: () => {
8379
+ 2065788: () => !!Module["preinitializedWebGPUDevice"],
8380
+ 2065839: () => {
8381
8381
  const retVal = Module.LLM_CANCEL_FLAG;
8382
8382
  Module.LLM_CANCEL_FLAG = undefined;
8383
8383
  return retVal || 0;
8384
8384
  },
8385
- 2065490: $0 => {
8385
+ 2065938: $0 => {
8386
8386
  const device = WebGPU.getJsObject($0);
8387
8387
  return device.features.has("subgroups");
8388
8388
  },
8389
- 2065574: () => !!Module["preinitializedWebGPUDevice"],
8390
- 2065625: () => {
8389
+ 2066022: () => !!Module["preinitializedWebGPUDevice"],
8390
+ 2066073: () => {
8391
8391
  specialHTMLTargets["#canvas"] = Module.canvas;
8392
8392
  }
8393
8393
  };