@rive-app/canvas 2.21.2 → 2.21.4
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 +1 -1
- package/rive.js +9 -9
- package/rive.js.map +1 -1
- package/rive.wasm +0 -0
- package/rive_fallback.wasm +0 -0
package/package.json
CHANGED
package/rive.js
CHANGED
|
@@ -738,7 +738,7 @@ function Ya(a, b) {
|
|
|
738
738
|
return Xa(c, a, b);
|
|
739
739
|
}));
|
|
740
740
|
}
|
|
741
|
-
var Za, $a, db = {
|
|
741
|
+
var Za, $a, db = {437756:(a, b, c, d, e) => {
|
|
742
742
|
if ("undefined" === typeof window || void 0 === (window.AudioContext || window.webkitAudioContext)) {
|
|
743
743
|
return 0;
|
|
744
744
|
}
|
|
@@ -801,9 +801,9 @@ var Za, $a, db = {437468:(a, b, c, d, e) => {
|
|
|
801
801
|
}
|
|
802
802
|
window.h.Aa += 1;
|
|
803
803
|
return 1;
|
|
804
|
-
},
|
|
804
|
+
}, 439934:() => {
|
|
805
805
|
"undefined" !== typeof window.h && (--window.h.Aa, 0 === window.h.Aa && delete window.h);
|
|
806
|
-
},
|
|
806
|
+
}, 440098:() => void 0 !== navigator.mediaDevices && void 0 !== navigator.mediaDevices.getUserMedia, 440202:() => {
|
|
807
807
|
try {
|
|
808
808
|
var a = new (window.AudioContext || window.webkitAudioContext)(), b = a.sampleRate;
|
|
809
809
|
a.close();
|
|
@@ -811,7 +811,7 @@ var Za, $a, db = {437468:(a, b, c, d, e) => {
|
|
|
811
811
|
} catch (c) {
|
|
812
812
|
return 0;
|
|
813
813
|
}
|
|
814
|
-
},
|
|
814
|
+
}, 440373:(a, b, c, d, e, f) => {
|
|
815
815
|
if ("undefined" === typeof window.h) {
|
|
816
816
|
return -1;
|
|
817
817
|
}
|
|
@@ -857,7 +857,7 @@ var Za, $a, db = {437468:(a, b, c, d, e) => {
|
|
|
857
857
|
a == window.h.I.ya && g.Z.connect(g.J.destination);
|
|
858
858
|
g.pb = f;
|
|
859
859
|
return window.h.yc(g);
|
|
860
|
-
},
|
|
860
|
+
}, 443250:a => window.h.ra(a).J.sampleRate, 443323:a => {
|
|
861
861
|
a = window.h.ra(a);
|
|
862
862
|
void 0 !== a.Z && (a.Z.onaudioprocess = function() {
|
|
863
863
|
}, a.Z.disconnect(), a.Z = void 0);
|
|
@@ -865,13 +865,13 @@ var Za, $a, db = {437468:(a, b, c, d, e) => {
|
|
|
865
865
|
a.J.close();
|
|
866
866
|
a.J = void 0;
|
|
867
867
|
a.pb = void 0;
|
|
868
|
-
},
|
|
868
|
+
}, 443723:a => {
|
|
869
869
|
window.h.Cb(a);
|
|
870
|
-
},
|
|
870
|
+
}, 443773:a => {
|
|
871
871
|
a = window.h.ra(a);
|
|
872
872
|
a.J.resume();
|
|
873
873
|
a.state = window.h.ga.xb;
|
|
874
|
-
},
|
|
874
|
+
}, 443912:a => {
|
|
875
875
|
a = window.h.ra(a);
|
|
876
876
|
a.J.suspend();
|
|
877
877
|
a.state = window.h.ga.stopped;
|
|
@@ -3357,7 +3357,7 @@ Zd();
|
|
|
3357
3357
|
/* 2 */
|
|
3358
3358
|
/***/ ((module) => {
|
|
3359
3359
|
|
|
3360
|
-
module.exports = JSON.parse('{"name":"@rive-app/canvas","version":"2.21.
|
|
3360
|
+
module.exports = JSON.parse('{"name":"@rive-app/canvas","version":"2.21.4","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}}');
|
|
3361
3361
|
|
|
3362
3362
|
/***/ }),
|
|
3363
3363
|
/* 3 */
|