@rive-app/canvas-advanced 2.18.0 → 2.19.1

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.
@@ -715,7 +715,7 @@ function Ya(a, b) {
715
715
  return Xa(c, a, b);
716
716
  }));
717
717
  }
718
- var Za, $a, db = {431580:(a, b, c, d, e) => {
718
+ var Za, $a, db = {433900:(a, b, c, d, e) => {
719
719
  if ("undefined" === typeof window || void 0 === (window.AudioContext || window.webkitAudioContext)) {
720
720
  return 0;
721
721
  }
@@ -778,9 +778,9 @@ var Za, $a, db = {431580:(a, b, c, d, e) => {
778
778
  }
779
779
  window.h.Aa += 1;
780
780
  return 1;
781
- }, 433758:() => {
781
+ }, 436078:() => {
782
782
  "undefined" !== typeof window.h && (--window.h.Aa, 0 === window.h.Aa && delete window.h);
783
- }, 433922:() => void 0 !== navigator.mediaDevices && void 0 !== navigator.mediaDevices.getUserMedia, 434026:() => {
783
+ }, 436242:() => void 0 !== navigator.mediaDevices && void 0 !== navigator.mediaDevices.getUserMedia, 436346:() => {
784
784
  try {
785
785
  var a = new (window.AudioContext || window.webkitAudioContext)(), b = a.sampleRate;
786
786
  a.close();
@@ -788,7 +788,7 @@ var Za, $a, db = {431580:(a, b, c, d, e) => {
788
788
  } catch (c) {
789
789
  return 0;
790
790
  }
791
- }, 434197:(a, b, c, d, e, f) => {
791
+ }, 436517:(a, b, c, d, e, f) => {
792
792
  if ("undefined" === typeof window.h) {
793
793
  return -1;
794
794
  }
@@ -834,7 +834,7 @@ var Za, $a, db = {431580:(a, b, c, d, e) => {
834
834
  a == window.h.H.ya && g.Z.connect(g.I.destination);
835
835
  g.pb = f;
836
836
  return window.h.yc(g);
837
- }, 437074:a => window.h.ra(a).I.sampleRate, 437147:a => {
837
+ }, 439394:a => window.h.ra(a).I.sampleRate, 439467:a => {
838
838
  a = window.h.ra(a);
839
839
  void 0 !== a.Z && (a.Z.onaudioprocess = function() {
840
840
  }, a.Z.disconnect(), a.Z = void 0);
@@ -842,13 +842,13 @@ var Za, $a, db = {431580:(a, b, c, d, e) => {
842
842
  a.I.close();
843
843
  a.I = void 0;
844
844
  a.pb = void 0;
845
- }, 437547:a => {
845
+ }, 439867:a => {
846
846
  window.h.Cb(a);
847
- }, 437597:a => {
847
+ }, 439917:a => {
848
848
  a = window.h.ra(a);
849
849
  a.I.resume();
850
850
  a.state = window.h.ga.xb;
851
- }, 437736:a => {
851
+ }, 440056:a => {
852
852
  a = window.h.ra(a);
853
853
  a.I.suspend();
854
854
  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.18.0",
3
+ "version": "2.19.1",
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