@mediapipe/tasks-text 0.1.0-alpha-11 → 0.1.0-alpha-12

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,4 +1,4 @@
1
- // Build 523775288
1
+ // Build 525233580
2
2
 
3
3
  var ModuleFactory = (() => {
4
4
  var _scriptDir = typeof document !== 'undefined' && document.currentScript ? document.currentScript.src : undefined;
@@ -520,33 +520,10 @@ var tempDouble;
520
520
  var tempI64;
521
521
 
522
522
  var ASM_CONSTS = {
523
- 605650: () => {
524
- let init_once = true;
525
- if (init_once) {
526
- const cachedFindCanvasEventTarget = findCanvasEventTarget;
527
- if (typeof cachedFindCanvasEventTarget !== "function") {
528
- if (typeof console !== "undefined") {
529
- console.error("Expected Emscripten global function " + '"findCanvasEventTarget" not found. WebGL context creation ' + "may fail.");
530
- }
531
- return;
532
- }
533
- findCanvasEventTarget = function(target) {
534
- if (target == 0) {
535
- if (Module && Module.canvas) {
536
- return Module.canvas;
537
- } else if (Module && Module.canvasCssSelector) {
538
- return cachedFindCanvasEventTarget(Module.canvasCssSelector);
539
- }
540
- if (typeof console !== "undefined") {
541
- console.warn("Module properties canvas and canvasCssSelector not " + "found during WebGL context creation.");
542
- }
543
- }
544
- return cachedFindCanvasEventTarget(target);
545
- };
546
- init_once = false;
547
- }
523
+ 606098: () => {
524
+ specialHTMLTargets["#canvas"] = Module.canvas;
548
525
  },
549
- 606435: () => {
526
+ 606149: () => {
550
527
  return typeof wasmOffsetConverter !== "undefined";
551
528
  }
552
529
  };
@@ -6268,9 +6245,9 @@ var stackAlloc = Module["stackAlloc"] = function() {
6268
6245
  return (stackAlloc = Module["stackAlloc"] = Module["asm"]["Qb"]).apply(null, arguments);
6269
6246
  };
6270
6247
 
6271
- var ___start_em_js = Module["___start_em_js"] = 602220;
6248
+ var ___start_em_js = Module["___start_em_js"] = 602668;
6272
6249
 
6273
- var ___stop_em_js = Module["___stop_em_js"] = 605650;
6250
+ var ___stop_em_js = Module["___stop_em_js"] = 606098;
6274
6251
 
6275
6252
  Module["addRunDependency"] = addRunDependency;
6276
6253
 
Binary file
@@ -1,4 +1,4 @@
1
- // Build 523775288
1
+ // Build 525233580
2
2
 
3
3
  var ModuleFactory = (() => {
4
4
  var _scriptDir = typeof document !== 'undefined' && document.currentScript ? document.currentScript.src : undefined;
@@ -520,33 +520,10 @@ var tempDouble;
520
520
  var tempI64;
521
521
 
522
522
  var ASM_CONSTS = {
523
- 606034: () => {
524
- let init_once = true;
525
- if (init_once) {
526
- const cachedFindCanvasEventTarget = findCanvasEventTarget;
527
- if (typeof cachedFindCanvasEventTarget !== "function") {
528
- if (typeof console !== "undefined") {
529
- console.error("Expected Emscripten global function " + '"findCanvasEventTarget" not found. WebGL context creation ' + "may fail.");
530
- }
531
- return;
532
- }
533
- findCanvasEventTarget = function(target) {
534
- if (target == 0) {
535
- if (Module && Module.canvas) {
536
- return Module.canvas;
537
- } else if (Module && Module.canvasCssSelector) {
538
- return cachedFindCanvasEventTarget(Module.canvasCssSelector);
539
- }
540
- if (typeof console !== "undefined") {
541
- console.warn("Module properties canvas and canvasCssSelector not " + "found during WebGL context creation.");
542
- }
543
- }
544
- return cachedFindCanvasEventTarget(target);
545
- };
546
- init_once = false;
547
- }
523
+ 606482: () => {
524
+ specialHTMLTargets["#canvas"] = Module.canvas;
548
525
  },
549
- 606819: () => {
526
+ 606533: () => {
550
527
  return typeof wasmOffsetConverter !== "undefined";
551
528
  }
552
529
  };
@@ -6268,9 +6245,9 @@ var stackAlloc = Module["stackAlloc"] = function() {
6268
6245
  return (stackAlloc = Module["stackAlloc"] = Module["asm"]["Qb"]).apply(null, arguments);
6269
6246
  };
6270
6247
 
6271
- var ___start_em_js = Module["___start_em_js"] = 602604;
6248
+ var ___start_em_js = Module["___start_em_js"] = 603052;
6272
6249
 
6273
- var ___stop_em_js = Module["___stop_em_js"] = 606034;
6250
+ var ___stop_em_js = Module["___stop_em_js"] = 606482;
6274
6251
 
6275
6252
  Module["addRunDependency"] = addRunDependency;
6276
6253
 
Binary file