@rive-app/canvas-advanced 2.34.2 → 2.35.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/canvas_advanced.mjs +8 -8
- package/package.json +1 -1
- package/rive.wasm +0 -0
- package/rive_advanced.mjs.d.ts +3 -2
- 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 = {491138:(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 = {490818:(a, b, c, d, e) => {
|
|
|
782
782
|
}
|
|
783
783
|
window.h.za += 1;
|
|
784
784
|
return 1;
|
|
785
|
-
},
|
|
785
|
+
}, 493316:() => {
|
|
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
|
+
}, 493620:() => void 0 !== navigator.mediaDevices && void 0 !== navigator.mediaDevices.getUserMedia, 493724:() => {
|
|
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 = {490818:(a, b, c, d, e) => {
|
|
|
794
794
|
} catch (c) {
|
|
795
795
|
return 0;
|
|
796
796
|
}
|
|
797
|
-
},
|
|
797
|
+
}, 493895:(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 = {490818:(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
|
+
}, 496772:a => window.h.qa(a).L.sampleRate, 496845: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 = {490818:(a, b, c, d, e) => {
|
|
|
848
848
|
a.L.close();
|
|
849
849
|
a.L = void 0;
|
|
850
850
|
a.pb = void 0;
|
|
851
|
-
},
|
|
851
|
+
}, 497245:a => {
|
|
852
852
|
window.h.Ab(a);
|
|
853
|
-
},
|
|
853
|
+
}, 497295:a => {
|
|
854
854
|
a = window.h.qa(a);
|
|
855
855
|
a.L.resume();
|
|
856
856
|
a.state = window.h.ga.wb;
|
|
857
|
-
},
|
|
857
|
+
}, 497434: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_advanced.mjs.d.ts
CHANGED
|
@@ -395,10 +395,11 @@ export declare class File {
|
|
|
395
395
|
* @returns BindableArtboard
|
|
396
396
|
*/
|
|
397
397
|
internalBindableArtboardFromArtboard(artboard: Artboard): BindableArtboard;
|
|
398
|
+
|
|
398
399
|
/**
|
|
399
|
-
*
|
|
400
|
-
* @param index - Index of the Artboard in the file to create an Artboard instance for
|
|
400
|
+
* If the file has an audio asset, returns true
|
|
401
401
|
*/
|
|
402
|
+
get hasAudio(): boolean;
|
|
402
403
|
}
|
|
403
404
|
|
|
404
405
|
/**
|
package/rive_fallback.wasm
CHANGED
|
Binary file
|