@rive-app/canvas-advanced 2.34.0 → 2.34.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.
@@ -719,7 +719,7 @@ function Xa(a, b) {
719
719
  return Wa(c, a, b);
720
720
  }));
721
721
  }
722
- var Za, $a, db = {490114:(a, b, c, d, e) => {
722
+ var Za, $a, db = {490818:(a, b, c, d, e) => {
723
723
  if ("undefined" === typeof window || void 0 === (window.AudioContext || window.webkitAudioContext)) {
724
724
  return 0;
725
725
  }
@@ -782,11 +782,11 @@ var Za, $a, db = {490114:(a, b, c, d, e) => {
782
782
  }
783
783
  window.h.za += 1;
784
784
  return 1;
785
- }, 492292:() => {
785
+ }, 492996:() => {
786
786
  "undefined" !== typeof window.h && (window.h.Sa.map(function(a) {
787
787
  document.removeEventListener(a, window.h.unlock, !0);
788
788
  }), --window.h.za, 0 === window.h.za && delete window.h);
789
- }, 492596:() => void 0 !== navigator.mediaDevices && void 0 !== navigator.mediaDevices.getUserMedia, 492700:() => {
789
+ }, 493300:() => void 0 !== navigator.mediaDevices && void 0 !== navigator.mediaDevices.getUserMedia, 493404:() => {
790
790
  try {
791
791
  var a = new (window.AudioContext || window.webkitAudioContext)(), b = a.sampleRate;
792
792
  a.close();
@@ -794,7 +794,7 @@ var Za, $a, db = {490114:(a, b, c, d, e) => {
794
794
  } catch (c) {
795
795
  return 0;
796
796
  }
797
- }, 492871:(a, b, c, d, e, f) => {
797
+ }, 493575:(a, b, c, d, e, f) => {
798
798
  if ("undefined" === typeof window.h) {
799
799
  return -1;
800
800
  }
@@ -840,7 +840,7 @@ var Za, $a, db = {490114:(a, b, c, d, e) => {
840
840
  a == window.h.J.xa && g.Z.connect(g.L.destination);
841
841
  g.pb = f;
842
842
  return window.h.sc(g);
843
- }, 495748:a => window.h.qa(a).L.sampleRate, 495821:a => {
843
+ }, 496452:a => window.h.qa(a).L.sampleRate, 496525:a => {
844
844
  a = window.h.qa(a);
845
845
  void 0 !== a.Z && (a.Z.onaudioprocess = function() {
846
846
  }, a.Z.disconnect(), a.Z = void 0);
@@ -848,13 +848,13 @@ var Za, $a, db = {490114:(a, b, c, d, e) => {
848
848
  a.L.close();
849
849
  a.L = void 0;
850
850
  a.pb = void 0;
851
- }, 496221:a => {
851
+ }, 496925:a => {
852
852
  window.h.Ab(a);
853
- }, 496271:a => {
853
+ }, 496975:a => {
854
854
  a = window.h.qa(a);
855
855
  a.L.resume();
856
856
  a.state = window.h.ga.wb;
857
- }, 496410:a => {
857
+ }, 497114:a => {
858
858
  a = window.h.qa(a);
859
859
  a.L.suspend();
860
860
  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.34.0",
3
+ "version": "2.34.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