@rive-app/canvas-advanced 2.29.1 → 2.29.3
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 +2 -1
- package/rive_fallback.wasm +0 -0
package/canvas_advanced.mjs
CHANGED
|
@@ -726,7 +726,7 @@ function Xa(a, b) {
|
|
|
726
726
|
return Wa(c, a, b);
|
|
727
727
|
}));
|
|
728
728
|
}
|
|
729
|
-
var Ya, Za, cb = {
|
|
729
|
+
var Ya, Za, cb = {456204:(a, b, c, d, e) => {
|
|
730
730
|
if ("undefined" === typeof window || void 0 === (window.AudioContext || window.webkitAudioContext)) {
|
|
731
731
|
return 0;
|
|
732
732
|
}
|
|
@@ -789,11 +789,11 @@ var Ya, Za, cb = {456172:(a, b, c, d, e) => {
|
|
|
789
789
|
}
|
|
790
790
|
window.h.Aa += 1;
|
|
791
791
|
return 1;
|
|
792
|
-
},
|
|
792
|
+
}, 458382:() => {
|
|
793
793
|
"undefined" !== typeof window.h && (window.h.Ta.map(function(a) {
|
|
794
794
|
document.removeEventListener(a, window.h.unlock, !0);
|
|
795
795
|
}), --window.h.Aa, 0 === window.h.Aa && delete window.h);
|
|
796
|
-
},
|
|
796
|
+
}, 458686:() => void 0 !== navigator.mediaDevices && void 0 !== navigator.mediaDevices.getUserMedia, 458790:() => {
|
|
797
797
|
try {
|
|
798
798
|
var a = new (window.AudioContext || window.webkitAudioContext)(), b = a.sampleRate;
|
|
799
799
|
a.close();
|
|
@@ -801,7 +801,7 @@ var Ya, Za, cb = {456172:(a, b, c, d, e) => {
|
|
|
801
801
|
} catch (c) {
|
|
802
802
|
return 0;
|
|
803
803
|
}
|
|
804
|
-
},
|
|
804
|
+
}, 458961:(a, b, c, d, e, f) => {
|
|
805
805
|
if ("undefined" === typeof window.h) {
|
|
806
806
|
return -1;
|
|
807
807
|
}
|
|
@@ -847,7 +847,7 @@ var Ya, Za, cb = {456172:(a, b, c, d, e) => {
|
|
|
847
847
|
a == window.h.I.ya && g.Z.connect(g.J.destination);
|
|
848
848
|
g.qb = f;
|
|
849
849
|
return window.h.yc(g);
|
|
850
|
-
},
|
|
850
|
+
}, 461838:a => window.h.ra(a).J.sampleRate, 461911:a => {
|
|
851
851
|
a = window.h.ra(a);
|
|
852
852
|
void 0 !== a.Z && (a.Z.onaudioprocess = function() {
|
|
853
853
|
}, a.Z.disconnect(), a.Z = void 0);
|
|
@@ -855,13 +855,13 @@ var Ya, Za, cb = {456172:(a, b, c, d, e) => {
|
|
|
855
855
|
a.J.close();
|
|
856
856
|
a.J = void 0;
|
|
857
857
|
a.qb = void 0;
|
|
858
|
-
},
|
|
858
|
+
}, 462311:a => {
|
|
859
859
|
window.h.Cb(a);
|
|
860
|
-
},
|
|
860
|
+
}, 462361:a => {
|
|
861
861
|
a = window.h.ra(a);
|
|
862
862
|
a.J.resume();
|
|
863
863
|
a.state = window.h.ga.yb;
|
|
864
|
-
},
|
|
864
|
+
}, 462500:a => {
|
|
865
865
|
a = window.h.ra(a);
|
|
866
866
|
a.J.suspend();
|
|
867
867
|
a.state = window.h.ga.stopped;
|
package/package.json
CHANGED
package/rive.wasm
CHANGED
|
Binary file
|
package/rive_advanced.mjs.d.ts
CHANGED
|
@@ -925,13 +925,14 @@ export declare class ViewModelInstanceEnum extends ViewModelInstanceValue {
|
|
|
925
925
|
export declare class ViewModelInstanceList extends ViewModelInstanceValue {
|
|
926
926
|
get size(): number;
|
|
927
927
|
addInstance(vmi: ViewModelInstance): void;
|
|
928
|
+
addInstanceAt(vmi: ViewModelInstance, index: number): boolean;
|
|
928
929
|
removeInstance(vmi: ViewModelInstance): void;
|
|
929
930
|
removeInstanceAt(index: number): void;
|
|
930
931
|
instanceAt(index: number): ViewModelInstance;
|
|
931
932
|
swap(a: number, b: number): ViewModelInstance;
|
|
932
933
|
}
|
|
933
934
|
export declare class ViewModelInstanceAssetImage extends ViewModelInstanceValue {
|
|
934
|
-
value(image: ImageInternal):void;
|
|
935
|
+
value(image: ImageInternal | null):void;
|
|
935
936
|
}
|
|
936
937
|
|
|
937
938
|
export declare class ViewModelInstance {
|
package/rive_fallback.wasm
CHANGED
|
Binary file
|