@rive-app/canvas-advanced 2.21.5 → 2.21.7

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.
@@ -717,7 +717,7 @@ function Ya(a, b) {
717
717
  return Xa(c, a, b);
718
718
  }));
719
719
  }
720
- var Za, $a, db = {437756:(a, b, c, d, e) => {
720
+ var Za, $a, db = {438492:(a, b, c, d, e) => {
721
721
  if ("undefined" === typeof window || void 0 === (window.AudioContext || window.webkitAudioContext)) {
722
722
  return 0;
723
723
  }
@@ -780,9 +780,9 @@ var Za, $a, db = {437756:(a, b, c, d, e) => {
780
780
  }
781
781
  window.h.Aa += 1;
782
782
  return 1;
783
- }, 439934:() => {
783
+ }, 440670:() => {
784
784
  "undefined" !== typeof window.h && (--window.h.Aa, 0 === window.h.Aa && delete window.h);
785
- }, 440098:() => void 0 !== navigator.mediaDevices && void 0 !== navigator.mediaDevices.getUserMedia, 440202:() => {
785
+ }, 440834:() => void 0 !== navigator.mediaDevices && void 0 !== navigator.mediaDevices.getUserMedia, 440938:() => {
786
786
  try {
787
787
  var a = new (window.AudioContext || window.webkitAudioContext)(), b = a.sampleRate;
788
788
  a.close();
@@ -790,7 +790,7 @@ var Za, $a, db = {437756:(a, b, c, d, e) => {
790
790
  } catch (c) {
791
791
  return 0;
792
792
  }
793
- }, 440373:(a, b, c, d, e, f) => {
793
+ }, 441109:(a, b, c, d, e, f) => {
794
794
  if ("undefined" === typeof window.h) {
795
795
  return -1;
796
796
  }
@@ -836,7 +836,7 @@ var Za, $a, db = {437756:(a, b, c, d, e) => {
836
836
  a == window.h.I.ya && g.Z.connect(g.J.destination);
837
837
  g.pb = f;
838
838
  return window.h.yc(g);
839
- }, 443250:a => window.h.ra(a).J.sampleRate, 443323:a => {
839
+ }, 443986:a => window.h.ra(a).J.sampleRate, 444059:a => {
840
840
  a = window.h.ra(a);
841
841
  void 0 !== a.Z && (a.Z.onaudioprocess = function() {
842
842
  }, a.Z.disconnect(), a.Z = void 0);
@@ -844,13 +844,13 @@ var Za, $a, db = {437756:(a, b, c, d, e) => {
844
844
  a.J.close();
845
845
  a.J = void 0;
846
846
  a.pb = void 0;
847
- }, 443723:a => {
847
+ }, 444459:a => {
848
848
  window.h.Cb(a);
849
- }, 443773:a => {
849
+ }, 444509:a => {
850
850
  a = window.h.ra(a);
851
851
  a.J.resume();
852
852
  a.state = window.h.ga.xb;
853
- }, 443912:a => {
853
+ }, 444648:a => {
854
854
  a = window.h.ra(a);
855
855
  a.J.suspend();
856
856
  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.21.5",
3
+ "version": "2.21.7",
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