@rive-app/webgl2-advanced 2.37.0 → 2.37.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rive-app/webgl2-advanced",
3
- "version": "2.37.0",
3
+ "version": "2.37.1",
4
4
  "description": "Rive's webgl2 low-level canvas based web api.",
5
5
  "main": "webgl2_advanced.mjs",
6
6
  "homepage": "https://rive.app",
package/rive.wasm CHANGED
Binary file
@@ -412,7 +412,7 @@ function Na(a, b) {
412
412
  return Ma(c, a, b);
413
413
  }));
414
414
  }
415
- var Oa, Pa, Ta = {563953:(a, b, c, d, e) => {
415
+ var Oa, Pa, Ta = {564097:(a, b, c, d, e) => {
416
416
  if ("undefined" === typeof window || void 0 === (window.AudioContext || window.webkitAudioContext)) {
417
417
  return 0;
418
418
  }
@@ -475,11 +475,11 @@ var Oa, Pa, Ta = {563953:(a, b, c, d, e) => {
475
475
  }
476
476
  window.h.Ea += 1;
477
477
  return 1;
478
- }, 566131:() => {
478
+ }, 566275:() => {
479
479
  "undefined" !== typeof window.h && (window.h.Xa.map(function(a) {
480
480
  document.removeEventListener(a, window.h.unlock, !0);
481
481
  }), --window.h.Ea, 0 === window.h.Ea && delete window.h);
482
- }, 566435:() => void 0 !== navigator.mediaDevices && void 0 !== navigator.mediaDevices.getUserMedia, 566539:() => {
482
+ }, 566579:() => void 0 !== navigator.mediaDevices && void 0 !== navigator.mediaDevices.getUserMedia, 566683:() => {
483
483
  try {
484
484
  var a = new (window.AudioContext || window.webkitAudioContext)(), b = a.sampleRate;
485
485
  a.close();
@@ -487,7 +487,7 @@ var Oa, Pa, Ta = {563953:(a, b, c, d, e) => {
487
487
  } catch (c) {
488
488
  return 0;
489
489
  }
490
- }, 566710:(a, b, c, d, e, f) => {
490
+ }, 566854:(a, b, c, d, e, f) => {
491
491
  if ("undefined" === typeof window.h) {
492
492
  return -1;
493
493
  }
@@ -533,7 +533,7 @@ var Oa, Pa, Ta = {563953:(a, b, c, d, e) => {
533
533
  a == window.h.I.Ca && g.Y.connect(g.K.destination);
534
534
  g.nb = f;
535
535
  return window.h.lc(g);
536
- }, 569587:a => window.h.ta(a).K.sampleRate, 569660:a => {
536
+ }, 569731:a => window.h.ta(a).K.sampleRate, 569804:a => {
537
537
  a = window.h.ta(a);
538
538
  void 0 !== a.Y && (a.Y.onaudioprocess = function() {
539
539
  }, a.Y.disconnect(), a.Y = void 0);
@@ -541,13 +541,13 @@ var Oa, Pa, Ta = {563953:(a, b, c, d, e) => {
541
541
  a.K.close();
542
542
  a.K = void 0;
543
543
  a.nb = void 0;
544
- }, 570060:a => {
544
+ }, 570204:a => {
545
545
  window.h.yb(a);
546
- }, 570110:a => {
546
+ }, 570254:a => {
547
547
  a = window.h.ta(a);
548
548
  a.K.resume();
549
549
  a.state = window.h.ia.ub;
550
- }, 570249:a => {
550
+ }, 570393:a => {
551
551
  a = window.h.ta(a);
552
552
  a.K.suspend();
553
553
  a.state = window.h.ia.stopped;