@rive-app/canvas-advanced 2.31.1 → 2.31.2

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.
@@ -726,7 +726,7 @@ function Xa(a, b) {
726
726
  return Wa(c, a, b);
727
727
  }));
728
728
  }
729
- var Ya, Za, cb = {460364:(a, b, c, d, e) => {
729
+ var Ya, Za, cb = {460492:(a, b, c, d, e) => {
730
730
  if ("undefined" === typeof window || void 0 === (window.AudioContext || window.webkitAudioContext)) {
731
731
  return 0;
732
732
  }
@@ -789,11 +789,11 @@ var Ya, Za, cb = {460364:(a, b, c, d, e) => {
789
789
  }
790
790
  window.h.Aa += 1;
791
791
  return 1;
792
- }, 462542:() => {
792
+ }, 462670:() => {
793
793
  "undefined" !== typeof window.h && (window.h.Ta.map(function(a) {
794
794
  document.removeEventListener(a, window.h.unlock, !0);
795
795
  }), --window.h.Aa, 0 === window.h.Aa && delete window.h);
796
- }, 462846:() => void 0 !== navigator.mediaDevices && void 0 !== navigator.mediaDevices.getUserMedia, 462950:() => {
796
+ }, 462974:() => void 0 !== navigator.mediaDevices && void 0 !== navigator.mediaDevices.getUserMedia, 463078:() => {
797
797
  try {
798
798
  var a = new (window.AudioContext || window.webkitAudioContext)(), b = a.sampleRate;
799
799
  a.close();
@@ -801,7 +801,7 @@ var Ya, Za, cb = {460364:(a, b, c, d, e) => {
801
801
  } catch (c) {
802
802
  return 0;
803
803
  }
804
- }, 463121:(a, b, c, d, e, f) => {
804
+ }, 463249:(a, b, c, d, e, f) => {
805
805
  if ("undefined" === typeof window.h) {
806
806
  return -1;
807
807
  }
@@ -847,7 +847,7 @@ var Ya, Za, cb = {460364:(a, b, c, d, e) => {
847
847
  a == window.h.I.ya && g.Z.connect(g.J.destination);
848
848
  g.qb = f;
849
849
  return window.h.yc(g);
850
- }, 465998:a => window.h.ra(a).J.sampleRate, 466071:a => {
850
+ }, 466126:a => window.h.ra(a).J.sampleRate, 466199:a => {
851
851
  a = window.h.ra(a);
852
852
  void 0 !== a.Z && (a.Z.onaudioprocess = function() {
853
853
  }, a.Z.disconnect(), a.Z = void 0);
@@ -855,13 +855,13 @@ var Ya, Za, cb = {460364:(a, b, c, d, e) => {
855
855
  a.J.close();
856
856
  a.J = void 0;
857
857
  a.qb = void 0;
858
- }, 466471:a => {
858
+ }, 466599:a => {
859
859
  window.h.Cb(a);
860
- }, 466521:a => {
860
+ }, 466649:a => {
861
861
  a = window.h.ra(a);
862
862
  a.J.resume();
863
863
  a.state = window.h.ga.yb;
864
- }, 466660:a => {
864
+ }, 466788:a => {
865
865
  a = window.h.ra(a);
866
866
  a.J.suspend();
867
867
  a.state = window.h.ga.stopped;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rive-app/canvas-advanced",
3
- "version": "2.31.1",
3
+ "version": "2.31.2",
4
4
  "description": "Rive's lightweight low-level canvas based web api.",
5
5
  "main": "canvas_advanced.mjs",
6
6
  "homepage": "https://rive.app",
package/rive.wasm CHANGED
Binary file
Binary file