@rive-app/webgl-advanced 2.31.4 → 2.31.5

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/webgl-advanced",
3
- "version": "2.31.4",
3
+ "version": "2.31.5",
4
4
  "description": "Rive's webgl low-level canvas based web api.",
5
5
  "main": "webgl_advanced.mjs",
6
6
  "homepage": "https://rive.app",
package/rive.wasm CHANGED
Binary file
Binary file
@@ -387,7 +387,7 @@ function Qa(a, b) {
387
387
  return Pa(c, a, b);
388
388
  }));
389
389
  }
390
- var Ra, Sa, Wa = {716568:(a, b, c, d, e) => {
390
+ var Ra, Sa, Wa = {716584:(a, b, c, d, e) => {
391
391
  if ("undefined" === typeof window || void 0 === (window.AudioContext || window.webkitAudioContext)) {
392
392
  return 0;
393
393
  }
@@ -450,11 +450,11 @@ var Ra, Sa, Wa = {716568:(a, b, c, d, e) => {
450
450
  }
451
451
  window.h.Ea += 1;
452
452
  return 1;
453
- }, 718746:() => {
453
+ }, 718762:() => {
454
454
  "undefined" !== typeof window.h && (window.h.Ta.map(function(a) {
455
455
  document.removeEventListener(a, window.h.unlock, !0);
456
456
  }), --window.h.Ea, 0 === window.h.Ea && delete window.h);
457
- }, 719050:() => void 0 !== navigator.mediaDevices && void 0 !== navigator.mediaDevices.getUserMedia, 719154:() => {
457
+ }, 719066:() => void 0 !== navigator.mediaDevices && void 0 !== navigator.mediaDevices.getUserMedia, 719170:() => {
458
458
  try {
459
459
  var a = new (window.AudioContext || window.webkitAudioContext)(), b = a.sampleRate;
460
460
  a.close();
@@ -462,7 +462,7 @@ var Ra, Sa, Wa = {716568:(a, b, c, d, e) => {
462
462
  } catch (c) {
463
463
  return 0;
464
464
  }
465
- }, 719325:(a, b, c, d, e, f) => {
465
+ }, 719341:(a, b, c, d, e, f) => {
466
466
  if ("undefined" === typeof window.h) {
467
467
  return -1;
468
468
  }
@@ -508,7 +508,7 @@ var Ra, Sa, Wa = {716568:(a, b, c, d, e) => {
508
508
  a == window.h.H.Ca && g.X.connect(g.I.destination);
509
509
  g.mb = f;
510
510
  return window.h.nc(g);
511
- }, 722202:a => window.h.ta(a).I.sampleRate, 722275:a => {
511
+ }, 722218:a => window.h.ta(a).I.sampleRate, 722291:a => {
512
512
  a = window.h.ta(a);
513
513
  void 0 !== a.X && (a.X.onaudioprocess = function() {
514
514
  }, a.X.disconnect(), a.X = void 0);
@@ -516,13 +516,13 @@ var Ra, Sa, Wa = {716568:(a, b, c, d, e) => {
516
516
  a.I.close();
517
517
  a.I = void 0;
518
518
  a.mb = void 0;
519
- }, 722675:a => {
519
+ }, 722691:a => {
520
520
  window.h.xb(a);
521
- }, 722725:a => {
521
+ }, 722741:a => {
522
522
  a = window.h.ta(a);
523
523
  a.I.resume();
524
524
  a.state = window.h.ha.tb;
525
- }, 722864:a => {
525
+ }, 722880:a => {
526
526
  a = window.h.ta(a);
527
527
  a.I.suspend();
528
528
  a.state = window.h.ha.stopped;