@rive-app/canvas-advanced 2.34.0 → 2.34.2
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/canvas_advanced.mjs +8 -8
- package/package.json +1 -1
- package/rive.wasm +0 -0
- package/rive_fallback.wasm +0 -0
package/canvas_advanced.mjs
CHANGED
|
@@ -719,7 +719,7 @@ function Xa(a, b) {
|
|
|
719
719
|
return Wa(c, a, b);
|
|
720
720
|
}));
|
|
721
721
|
}
|
|
722
|
-
var Za, $a, db = {
|
|
722
|
+
var Za, $a, db = {490818:(a, b, c, d, e) => {
|
|
723
723
|
if ("undefined" === typeof window || void 0 === (window.AudioContext || window.webkitAudioContext)) {
|
|
724
724
|
return 0;
|
|
725
725
|
}
|
|
@@ -782,11 +782,11 @@ var Za, $a, db = {490114:(a, b, c, d, e) => {
|
|
|
782
782
|
}
|
|
783
783
|
window.h.za += 1;
|
|
784
784
|
return 1;
|
|
785
|
-
},
|
|
785
|
+
}, 492996:() => {
|
|
786
786
|
"undefined" !== typeof window.h && (window.h.Sa.map(function(a) {
|
|
787
787
|
document.removeEventListener(a, window.h.unlock, !0);
|
|
788
788
|
}), --window.h.za, 0 === window.h.za && delete window.h);
|
|
789
|
-
},
|
|
789
|
+
}, 493300:() => void 0 !== navigator.mediaDevices && void 0 !== navigator.mediaDevices.getUserMedia, 493404:() => {
|
|
790
790
|
try {
|
|
791
791
|
var a = new (window.AudioContext || window.webkitAudioContext)(), b = a.sampleRate;
|
|
792
792
|
a.close();
|
|
@@ -794,7 +794,7 @@ var Za, $a, db = {490114:(a, b, c, d, e) => {
|
|
|
794
794
|
} catch (c) {
|
|
795
795
|
return 0;
|
|
796
796
|
}
|
|
797
|
-
},
|
|
797
|
+
}, 493575:(a, b, c, d, e, f) => {
|
|
798
798
|
if ("undefined" === typeof window.h) {
|
|
799
799
|
return -1;
|
|
800
800
|
}
|
|
@@ -840,7 +840,7 @@ var Za, $a, db = {490114:(a, b, c, d, e) => {
|
|
|
840
840
|
a == window.h.J.xa && g.Z.connect(g.L.destination);
|
|
841
841
|
g.pb = f;
|
|
842
842
|
return window.h.sc(g);
|
|
843
|
-
},
|
|
843
|
+
}, 496452:a => window.h.qa(a).L.sampleRate, 496525:a => {
|
|
844
844
|
a = window.h.qa(a);
|
|
845
845
|
void 0 !== a.Z && (a.Z.onaudioprocess = function() {
|
|
846
846
|
}, a.Z.disconnect(), a.Z = void 0);
|
|
@@ -848,13 +848,13 @@ var Za, $a, db = {490114:(a, b, c, d, e) => {
|
|
|
848
848
|
a.L.close();
|
|
849
849
|
a.L = void 0;
|
|
850
850
|
a.pb = void 0;
|
|
851
|
-
},
|
|
851
|
+
}, 496925:a => {
|
|
852
852
|
window.h.Ab(a);
|
|
853
|
-
},
|
|
853
|
+
}, 496975:a => {
|
|
854
854
|
a = window.h.qa(a);
|
|
855
855
|
a.L.resume();
|
|
856
856
|
a.state = window.h.ga.wb;
|
|
857
|
-
},
|
|
857
|
+
}, 497114:a => {
|
|
858
858
|
a = window.h.qa(a);
|
|
859
859
|
a.L.suspend();
|
|
860
860
|
a.state = window.h.ga.stopped;
|
package/package.json
CHANGED
package/rive.wasm
CHANGED
|
Binary file
|
package/rive_fallback.wasm
CHANGED
|
Binary file
|