@rive-app/canvas-advanced 2.35.4 → 2.36.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.
@@ -727,7 +727,7 @@ function Ya(a, b) {
727
727
  return Xa(c, a, b);
728
728
  }));
729
729
  }
730
- var Za, $a, db = {478498:(a, b, c, d, e) => {
730
+ var Za, $a, db = {478802:(a, b, c, d, e) => {
731
731
  if ("undefined" === typeof window || void 0 === (window.AudioContext || window.webkitAudioContext)) {
732
732
  return 0;
733
733
  }
@@ -790,11 +790,11 @@ var Za, $a, db = {478498:(a, b, c, d, e) => {
790
790
  }
791
791
  window.h.za += 1;
792
792
  return 1;
793
- }, 480676:() => {
793
+ }, 480980:() => {
794
794
  "undefined" !== typeof window.h && (window.h.Sa.map(function(a) {
795
795
  document.removeEventListener(a, window.h.unlock, !0);
796
796
  }), --window.h.za, 0 === window.h.za && delete window.h);
797
- }, 480980:() => void 0 !== navigator.mediaDevices && void 0 !== navigator.mediaDevices.getUserMedia, 481084:() => {
797
+ }, 481284:() => void 0 !== navigator.mediaDevices && void 0 !== navigator.mediaDevices.getUserMedia, 481388:() => {
798
798
  try {
799
799
  var a = new (window.AudioContext || window.webkitAudioContext)(), b = a.sampleRate;
800
800
  a.close();
@@ -802,7 +802,7 @@ var Za, $a, db = {478498:(a, b, c, d, e) => {
802
802
  } catch (c) {
803
803
  return 0;
804
804
  }
805
- }, 481255:(a, b, c, d, e, f) => {
805
+ }, 481559:(a, b, c, d, e, f) => {
806
806
  if ("undefined" === typeof window.h) {
807
807
  return -1;
808
808
  }
@@ -848,7 +848,7 @@ var Za, $a, db = {478498:(a, b, c, d, e) => {
848
848
  a == window.h.J.xa && g.Z.connect(g.L.destination);
849
849
  g.pb = f;
850
850
  return window.h.sc(g);
851
- }, 484132:a => window.h.qa(a).L.sampleRate, 484205:a => {
851
+ }, 484436:a => window.h.qa(a).L.sampleRate, 484509:a => {
852
852
  a = window.h.qa(a);
853
853
  void 0 !== a.Z && (a.Z.onaudioprocess = function() {
854
854
  }, a.Z.disconnect(), a.Z = void 0);
@@ -856,13 +856,13 @@ var Za, $a, db = {478498:(a, b, c, d, e) => {
856
856
  a.L.close();
857
857
  a.L = void 0;
858
858
  a.pb = void 0;
859
- }, 484605:a => {
859
+ }, 484909:a => {
860
860
  window.h.Ab(a);
861
- }, 484655:a => {
861
+ }, 484959:a => {
862
862
  a = window.h.qa(a);
863
863
  a.L.resume();
864
864
  a.state = window.h.ga.wb;
865
- }, 484794:a => {
865
+ }, 485098:a => {
866
866
  a = window.h.qa(a);
867
867
  a.L.suspend();
868
868
  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.35.4",
3
+ "version": "2.36.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
@@ -994,6 +994,7 @@ export declare class ViewModelInstance {
994
994
  delete(): void;
995
995
  unref(): void;
996
996
  getProperties(): ViewModelProperty[];
997
+ getViewModelName(): string;
997
998
  }
998
999
 
999
1000
  export declare class ViewModel {
Binary file