idmission-web-sdk 2.2.20 → 2.2.22

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,3 +1,3 @@
1
- export declare const visionTasksBasePath = "https://cdn.jsdelivr.net/npm/@mediapipe/tasks-vision@0.10.12/wasm";
1
+ export declare const visionTasksBasePath = "https://cdn.jsdelivr.net/npm/@mediapipe/tasks-vision@0.10.11/wasm";
2
2
  export declare function preloadVisionRuntime(): Promise<void>;
3
3
  //# sourceMappingURL=VisionRuntime.d.ts.map
@@ -232,7 +232,7 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
232
232
  return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
233
233
  };
234
234
 
235
- var webSdkVersion = '2.2.20';
235
+ var webSdkVersion = '2.2.22';
236
236
 
237
237
  function getPlatform() {
238
238
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
@@ -2519,7 +2519,7 @@ var CameraProvider = function CameraProvider(_a) {
2519
2519
  }, children);
2520
2520
  };
2521
2521
 
2522
- var visionTasksBasePath = "https://cdn.jsdelivr.net/npm/@mediapipe/tasks-vision@0.10.12/wasm";
2522
+ var visionTasksBasePath = "https://cdn.jsdelivr.net/npm/@mediapipe/tasks-vision@0.10.11/wasm";
2523
2523
  var visionRuntimePreloading = false;
2524
2524
  function preloadVisionRuntime() {
2525
2525
  return __awaiter(this, void 0, void 0, function () {
@@ -2842,7 +2842,7 @@ function loadFocusModel() {
2842
2842
  modelAssetPath: modelAssetPath,
2843
2843
  delegate: modelCapabilities.delegate
2844
2844
  },
2845
- canvas: document.createElement('canvas'),
2845
+ // canvas: document.createElement('canvas'),
2846
2846
  runningMode: 'VIDEO'
2847
2847
  }])];
2848
2848
  case 3:
@@ -2975,7 +2975,7 @@ function loadFaceDetector() {
2975
2975
  return [4 /*yield*/, tasksVision.FilesetResolver.forVisionTasks(visionTasksBasePath)];
2976
2976
  case 2:
2977
2977
  return [4 /*yield*/, _b.apply(_a, [_c.sent(), {
2978
- canvas: document.createElement('canvas'),
2978
+ // canvas: document.createElement('canvas'),
2979
2979
  baseOptions: {
2980
2980
  modelAssetPath: defaultFaceDetectorModelPath,
2981
2981
  delegate: modelCapabilities.delegate
@@ -3448,7 +3448,7 @@ function loadDocumentDetector() {
3448
3448
  modelAssetPath: modelAssetPath,
3449
3449
  delegate: modelCapabilities.delegate
3450
3450
  },
3451
- canvas: document.createElement('canvas'),
3451
+ // canvas: document.createElement('canvas'),
3452
3452
  scoreThreshold: scoreThreshold,
3453
3453
  runningMode: 'VIDEO'
3454
3454
  }])];