@rive-app/canvas-advanced 2.31.3 → 2.31.5
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 +6 -3
- 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 = {461592:(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 = {461560:(a, b, c, d, e) => {
|
|
|
789
789
|
}
|
|
790
790
|
window.h.Aa += 1;
|
|
791
791
|
return 1;
|
|
792
|
-
},
|
|
792
|
+
}, 463770:() => {
|
|
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
|
+
}, 464074:() => void 0 !== navigator.mediaDevices && void 0 !== navigator.mediaDevices.getUserMedia, 464178:() => {
|
|
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 = {461560:(a, b, c, d, e) => {
|
|
|
801
801
|
} catch (c) {
|
|
802
802
|
return 0;
|
|
803
803
|
}
|
|
804
|
-
},
|
|
804
|
+
}, 464349:(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 = {461560:(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
|
+
}, 467226:a => window.h.ra(a).J.sampleRate, 467299: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 = {461560:(a, b, c, d, e) => {
|
|
|
855
855
|
a.J.close();
|
|
856
856
|
a.J = void 0;
|
|
857
857
|
a.qb = void 0;
|
|
858
|
-
},
|
|
858
|
+
}, 467699:a => {
|
|
859
859
|
window.h.Cb(a);
|
|
860
|
-
},
|
|
860
|
+
}, 467749:a => {
|
|
861
861
|
a = window.h.ra(a);
|
|
862
862
|
a.J.resume();
|
|
863
863
|
a.state = window.h.ga.yb;
|
|
864
|
-
},
|
|
864
|
+
}, 467888: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
|
@@ -932,10 +932,10 @@ export declare class ViewModelInstanceList extends ViewModelInstanceValue {
|
|
|
932
932
|
swap(a: number, b: number): ViewModelInstance;
|
|
933
933
|
}
|
|
934
934
|
export declare class ViewModelInstanceAssetImage extends ViewModelInstanceValue {
|
|
935
|
-
value(image: ImageInternal | null):void;
|
|
935
|
+
value(image: ImageInternal | null): void;
|
|
936
936
|
}
|
|
937
937
|
export declare class ViewModelInstanceArtboard extends ViewModelInstanceValue {
|
|
938
|
-
value(artboard: Artboard):void;
|
|
938
|
+
value(artboard: Artboard): void;
|
|
939
939
|
}
|
|
940
940
|
|
|
941
941
|
export declare class ViewModelInstance {
|
|
@@ -1171,7 +1171,6 @@ export declare class AudioAsset extends FileAsset {
|
|
|
1171
1171
|
setAudioSource(audio: Audio): void;
|
|
1172
1172
|
}
|
|
1173
1173
|
|
|
1174
|
-
|
|
1175
1174
|
export declare class ImageAssetInternal extends FileAssetInternal {
|
|
1176
1175
|
setRenderImage(image: ImageInternal): void;
|
|
1177
1176
|
}
|
|
@@ -1200,3 +1199,7 @@ export declare class CustomFileAssetLoader extends FileAssetLoader {
|
|
|
1200
1199
|
constructor({ loadContents }: { loadContents: Function });
|
|
1201
1200
|
loadContents(asset: FileAsset, bytes: any): boolean;
|
|
1202
1201
|
}
|
|
1202
|
+
|
|
1203
|
+
export interface FinalizableTarget {
|
|
1204
|
+
selfUnref: boolean;
|
|
1205
|
+
}
|
package/rive_fallback.wasm
CHANGED
|
Binary file
|