@rive-app/canvas-advanced 2.27.5 → 2.29.0

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.
@@ -725,7 +725,7 @@ function Ya(a, b) {
725
725
  return Xa(c, a, b);
726
726
  }));
727
727
  }
728
- var Za, $a, db = {453404:(a, b, c, d, e) => {
728
+ var Za, $a, db = {453532:(a, b, c, d, e) => {
729
729
  if ("undefined" === typeof window || void 0 === (window.AudioContext || window.webkitAudioContext)) {
730
730
  return 0;
731
731
  }
@@ -788,11 +788,11 @@ var Za, $a, db = {453404:(a, b, c, d, e) => {
788
788
  }
789
789
  window.h.Aa += 1;
790
790
  return 1;
791
- }, 455582:() => {
791
+ }, 455710:() => {
792
792
  "undefined" !== typeof window.h && (window.h.Ta.map(function(a) {
793
793
  document.removeEventListener(a, window.h.unlock, !0);
794
794
  }), --window.h.Aa, 0 === window.h.Aa && delete window.h);
795
- }, 455886:() => void 0 !== navigator.mediaDevices && void 0 !== navigator.mediaDevices.getUserMedia, 455990:() => {
795
+ }, 456014:() => void 0 !== navigator.mediaDevices && void 0 !== navigator.mediaDevices.getUserMedia, 456118:() => {
796
796
  try {
797
797
  var a = new (window.AudioContext || window.webkitAudioContext)(), b = a.sampleRate;
798
798
  a.close();
@@ -800,7 +800,7 @@ var Za, $a, db = {453404:(a, b, c, d, e) => {
800
800
  } catch (c) {
801
801
  return 0;
802
802
  }
803
- }, 456161:(a, b, c, d, e, f) => {
803
+ }, 456289:(a, b, c, d, e, f) => {
804
804
  if ("undefined" === typeof window.h) {
805
805
  return -1;
806
806
  }
@@ -846,7 +846,7 @@ var Za, $a, db = {453404:(a, b, c, d, e) => {
846
846
  a == window.h.I.ya && g.Z.connect(g.J.destination);
847
847
  g.qb = f;
848
848
  return window.h.yc(g);
849
- }, 459038:a => window.h.ra(a).J.sampleRate, 459111:a => {
849
+ }, 459166:a => window.h.ra(a).J.sampleRate, 459239:a => {
850
850
  a = window.h.ra(a);
851
851
  void 0 !== a.Z && (a.Z.onaudioprocess = function() {
852
852
  }, a.Z.disconnect(), a.Z = void 0);
@@ -854,13 +854,13 @@ var Za, $a, db = {453404:(a, b, c, d, e) => {
854
854
  a.J.close();
855
855
  a.J = void 0;
856
856
  a.qb = void 0;
857
- }, 459511:a => {
857
+ }, 459639:a => {
858
858
  window.h.Cb(a);
859
- }, 459561:a => {
859
+ }, 459689:a => {
860
860
  a = window.h.ra(a);
861
861
  a.J.resume();
862
862
  a.state = window.h.ga.yb;
863
- }, 459700:a => {
863
+ }, 459828:a => {
864
864
  a = window.h.ra(a);
865
865
  a.J.suspend();
866
866
  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.27.5",
3
+ "version": "2.29.0",
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