@rive-app/canvas 2.28.0 → 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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rive-app/canvas",
3
- "version": "2.28.0",
3
+ "version": "2.29.0",
4
4
  "description": "Rive's canvas based web api.",
5
5
  "main": "rive.js",
6
6
  "homepage": "https://rive.app",
package/rive.js CHANGED
@@ -746,7 +746,7 @@ function Ya(a, b) {
746
746
  return Xa(c, a, b);
747
747
  }));
748
748
  }
749
- var Za, $a, db = {453404:(a, b, c, d, e) => {
749
+ var Za, $a, db = {453532:(a, b, c, d, e) => {
750
750
  if ("undefined" === typeof window || void 0 === (window.AudioContext || window.webkitAudioContext)) {
751
751
  return 0;
752
752
  }
@@ -809,11 +809,11 @@ var Za, $a, db = {453404:(a, b, c, d, e) => {
809
809
  }
810
810
  window.h.Aa += 1;
811
811
  return 1;
812
- }, 455582:() => {
812
+ }, 455710:() => {
813
813
  "undefined" !== typeof window.h && (window.h.Ta.map(function(a) {
814
814
  document.removeEventListener(a, window.h.unlock, !0);
815
815
  }), --window.h.Aa, 0 === window.h.Aa && delete window.h);
816
- }, 455886:() => void 0 !== navigator.mediaDevices && void 0 !== navigator.mediaDevices.getUserMedia, 455990:() => {
816
+ }, 456014:() => void 0 !== navigator.mediaDevices && void 0 !== navigator.mediaDevices.getUserMedia, 456118:() => {
817
817
  try {
818
818
  var a = new (window.AudioContext || window.webkitAudioContext)(), b = a.sampleRate;
819
819
  a.close();
@@ -821,7 +821,7 @@ var Za, $a, db = {453404:(a, b, c, d, e) => {
821
821
  } catch (c) {
822
822
  return 0;
823
823
  }
824
- }, 456161:(a, b, c, d, e, f) => {
824
+ }, 456289:(a, b, c, d, e, f) => {
825
825
  if ("undefined" === typeof window.h) {
826
826
  return -1;
827
827
  }
@@ -867,7 +867,7 @@ var Za, $a, db = {453404:(a, b, c, d, e) => {
867
867
  a == window.h.I.ya && g.Z.connect(g.J.destination);
868
868
  g.qb = f;
869
869
  return window.h.yc(g);
870
- }, 459038:a => window.h.ra(a).J.sampleRate, 459111:a => {
870
+ }, 459166:a => window.h.ra(a).J.sampleRate, 459239:a => {
871
871
  a = window.h.ra(a);
872
872
  void 0 !== a.Z && (a.Z.onaudioprocess = function() {
873
873
  }, a.Z.disconnect(), a.Z = void 0);
@@ -875,13 +875,13 @@ var Za, $a, db = {453404:(a, b, c, d, e) => {
875
875
  a.J.close();
876
876
  a.J = void 0;
877
877
  a.qb = void 0;
878
- }, 459511:a => {
878
+ }, 459639:a => {
879
879
  window.h.Cb(a);
880
- }, 459561:a => {
880
+ }, 459689:a => {
881
881
  a = window.h.ra(a);
882
882
  a.J.resume();
883
883
  a.state = window.h.ga.yb;
884
- }, 459700:a => {
884
+ }, 459828:a => {
885
885
  a = window.h.ra(a);
886
886
  a.J.suspend();
887
887
  a.state = window.h.ga.stopped;
@@ -3369,7 +3369,7 @@ $d();
3369
3369
  /* 2 */
3370
3370
  /***/ ((module) => {
3371
3371
 
3372
- module.exports = /*#__PURE__*/JSON.parse('{"name":"@rive-app/canvas","version":"2.28.0","description":"Rive\'s canvas based web api.","main":"rive.js","homepage":"https://rive.app","repository":{"type":"git","url":"https://github.com/rive-app/rive-wasm/tree/master/js"},"keywords":["rive","animation"],"author":"Rive","contributors":["Luigi Rosso <luigi@rive.app> (https://rive.app)","Maxwell Talbot <max@rive.app> (https://rive.app)","Arthur Vivian <arthur@rive.app> (https://rive.app)","Umberto Sonnino <umberto@rive.app> (https://rive.app)","Matthew Sullivan <matt.j.sullivan@gmail.com> (mailto:matt.j.sullivan@gmail.com)"],"license":"MIT","files":["rive.js","rive.js.map","rive.wasm","rive_fallback.wasm","rive.d.ts","rive_advanced.mjs.d.ts"],"typings":"rive.d.ts","dependencies":{},"browser":{"fs":false,"path":false}}');
3372
+ module.exports = /*#__PURE__*/JSON.parse('{"name":"@rive-app/canvas","version":"2.29.0","description":"Rive\'s canvas based web api.","main":"rive.js","homepage":"https://rive.app","repository":{"type":"git","url":"https://github.com/rive-app/rive-wasm/tree/master/js"},"keywords":["rive","animation"],"author":"Rive","contributors":["Luigi Rosso <luigi@rive.app> (https://rive.app)","Maxwell Talbot <max@rive.app> (https://rive.app)","Arthur Vivian <arthur@rive.app> (https://rive.app)","Umberto Sonnino <umberto@rive.app> (https://rive.app)","Matthew Sullivan <matt.j.sullivan@gmail.com> (mailto:matt.j.sullivan@gmail.com)"],"license":"MIT","files":["rive.js","rive.js.map","rive.wasm","rive_fallback.wasm","rive.d.ts","rive_advanced.mjs.d.ts"],"typings":"rive.d.ts","dependencies":{},"browser":{"fs":false,"path":false}}');
3373
3373
 
3374
3374
  /***/ }),
3375
3375
  /* 3 */