@rive-app/webgl2-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/package.json +1 -1
- package/rive.wasm +0 -0
- package/rive_advanced.mjs.d.ts +6 -3
- package/webgl2_advanced.mjs +10 -10
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/webgl2_advanced.mjs
CHANGED
|
@@ -421,7 +421,7 @@ function Oa(a, b) {
|
|
|
421
421
|
return Na(c, a, b);
|
|
422
422
|
}));
|
|
423
423
|
}
|
|
424
|
-
var Pa, Qa, Ua = {
|
|
424
|
+
var Pa, Qa, Ua = {534231:(a, b, c, d, e) => {
|
|
425
425
|
if ("undefined" === typeof window || void 0 === (window.AudioContext || window.webkitAudioContext)) {
|
|
426
426
|
return 0;
|
|
427
427
|
}
|
|
@@ -484,11 +484,11 @@ var Pa, Qa, Ua = {534199:(a, b, c, d, e) => {
|
|
|
484
484
|
}
|
|
485
485
|
window.h.Ga += 1;
|
|
486
486
|
return 1;
|
|
487
|
-
},
|
|
487
|
+
}, 536409:() => {
|
|
488
488
|
"undefined" !== typeof window.h && (window.h.Za.map(function(a) {
|
|
489
489
|
document.removeEventListener(a, window.h.unlock, !0);
|
|
490
490
|
}), --window.h.Ga, 0 === window.h.Ga && delete window.h);
|
|
491
|
-
},
|
|
491
|
+
}, 536713:() => void 0 !== navigator.mediaDevices && void 0 !== navigator.mediaDevices.getUserMedia, 536817:() => {
|
|
492
492
|
try {
|
|
493
493
|
var a = new (window.AudioContext || window.webkitAudioContext)(), b = a.sampleRate;
|
|
494
494
|
a.close();
|
|
@@ -496,7 +496,7 @@ var Pa, Qa, Ua = {534199:(a, b, c, d, e) => {
|
|
|
496
496
|
} catch (c) {
|
|
497
497
|
return 0;
|
|
498
498
|
}
|
|
499
|
-
},
|
|
499
|
+
}, 536988:(a, b, c, d, e, f) => {
|
|
500
500
|
if ("undefined" === typeof window.h) {
|
|
501
501
|
return -1;
|
|
502
502
|
}
|
|
@@ -542,7 +542,7 @@ var Pa, Qa, Ua = {534199:(a, b, c, d, e) => {
|
|
|
542
542
|
a == window.h.I.Ea && g.Z.connect(g.J.destination);
|
|
543
543
|
g.pb = f;
|
|
544
544
|
return window.h.rc(g);
|
|
545
|
-
},
|
|
545
|
+
}, 539865:a => window.h.va(a).J.sampleRate, 539938:a => {
|
|
546
546
|
a = window.h.va(a);
|
|
547
547
|
void 0 !== a.Z && (a.Z.onaudioprocess = function() {
|
|
548
548
|
}, a.Z.disconnect(), a.Z = void 0);
|
|
@@ -550,13 +550,13 @@ var Pa, Qa, Ua = {534199:(a, b, c, d, e) => {
|
|
|
550
550
|
a.J.close();
|
|
551
551
|
a.J = void 0;
|
|
552
552
|
a.pb = void 0;
|
|
553
|
-
},
|
|
553
|
+
}, 540338:a => {
|
|
554
554
|
window.h.Bb(a);
|
|
555
|
-
},
|
|
555
|
+
}, 540388:a => {
|
|
556
556
|
a = window.h.va(a);
|
|
557
557
|
a.J.resume();
|
|
558
558
|
a.state = window.h.ja.xb;
|
|
559
|
-
},
|
|
559
|
+
}, 540527:a => {
|
|
560
560
|
a = window.h.va(a);
|
|
561
561
|
a.J.suspend();
|
|
562
562
|
a.state = window.h.ja.stopped;
|
|
@@ -3531,8 +3531,8 @@ k.dynCall_viijii = (a, b, c, d, e, f, g) => (k.dynCall_viijii = C.dynCall_viijii
|
|
|
3531
3531
|
k.dynCall_iiiiij = (a, b, c, d, e, f, g) => (k.dynCall_iiiiij = C.dynCall_iiiiij)(a, b, c, d, e, f, g);
|
|
3532
3532
|
k.dynCall_iiiiijj = (a, b, c, d, e, f, g, l, p) => (k.dynCall_iiiiijj = C.dynCall_iiiiijj)(a, b, c, d, e, f, g, l, p);
|
|
3533
3533
|
k.dynCall_iiiiiijj = (a, b, c, d, e, f, g, l, p, m) => (k.dynCall_iiiiiijj = C.dynCall_iiiiiijj)(a, b, c, d, e, f, g, l, p, m);
|
|
3534
|
-
k.___start_em_js =
|
|
3535
|
-
k.___stop_em_js =
|
|
3534
|
+
k.___start_em_js = 531476;
|
|
3535
|
+
k.___stop_em_js = 534231;
|
|
3536
3536
|
var $d;
|
|
3537
3537
|
Ha = function ae() {
|
|
3538
3538
|
$d || be();
|