@rive-app/webgl-advanced 2.14.0 → 2.14.1
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 +5 -0
- package/webgl_advanced.mjs +8 -8
package/package.json
CHANGED
package/rive.wasm
CHANGED
|
Binary file
|
package/rive_advanced.mjs.d.ts
CHANGED
|
@@ -340,6 +340,11 @@ export declare class Artboard {
|
|
|
340
340
|
get bounds(): AABB;
|
|
341
341
|
get frameOrigin(): boolean;
|
|
342
342
|
set frameOrigin(val: boolean);
|
|
343
|
+
/**
|
|
344
|
+
* Getter and setter for the artboard volume
|
|
345
|
+
*/
|
|
346
|
+
get volume(): number;
|
|
347
|
+
set volume(val: number);
|
|
343
348
|
/**
|
|
344
349
|
* Deletes the underlying instance created via the WASM. It's important to clean up this
|
|
345
350
|
* instance when no longer in use
|
package/webgl_advanced.mjs
CHANGED
|
@@ -374,7 +374,7 @@ function Ra(a, b) {
|
|
|
374
374
|
return Qa(c, a, b);
|
|
375
375
|
}));
|
|
376
376
|
}
|
|
377
|
-
var E, F, Va = {
|
|
377
|
+
var E, F, Va = {688588:(a, b, c, d, e) => {
|
|
378
378
|
if ("undefined" === typeof window || void 0 === (window.AudioContext || window.webkitAudioContext)) {
|
|
379
379
|
return 0;
|
|
380
380
|
}
|
|
@@ -437,9 +437,9 @@ var E, F, Va = {688572:(a, b, c, d, e) => {
|
|
|
437
437
|
}
|
|
438
438
|
window.h.Ea += 1;
|
|
439
439
|
return 1;
|
|
440
|
-
},
|
|
440
|
+
}, 690766:() => {
|
|
441
441
|
"undefined" !== typeof window.h && (--window.h.Ea, 0 === window.h.Ea && delete window.h);
|
|
442
|
-
},
|
|
442
|
+
}, 690930:() => void 0 !== navigator.mediaDevices && void 0 !== navigator.mediaDevices.getUserMedia, 691034:() => {
|
|
443
443
|
try {
|
|
444
444
|
var a = new (window.AudioContext || window.webkitAudioContext)(), b = a.sampleRate;
|
|
445
445
|
a.close();
|
|
@@ -447,7 +447,7 @@ var E, F, Va = {688572:(a, b, c, d, e) => {
|
|
|
447
447
|
} catch (c) {
|
|
448
448
|
return 0;
|
|
449
449
|
}
|
|
450
|
-
},
|
|
450
|
+
}, 691205:(a, b, c, d, e, f) => {
|
|
451
451
|
if ("undefined" === typeof window.h) {
|
|
452
452
|
return -1;
|
|
453
453
|
}
|
|
@@ -493,7 +493,7 @@ var E, F, Va = {688572:(a, b, c, d, e) => {
|
|
|
493
493
|
a == window.h.H.Da && g.Y.connect(g.I.destination);
|
|
494
494
|
g.mb = f;
|
|
495
495
|
return window.h.vc(g);
|
|
496
|
-
},
|
|
496
|
+
}, 694082:a => window.h.ua(a).I.sampleRate, 694155:a => {
|
|
497
497
|
a = window.h.ua(a);
|
|
498
498
|
void 0 !== a.Y && (a.Y.onaudioprocess = function() {
|
|
499
499
|
}, a.Y.disconnect(), a.Y = void 0);
|
|
@@ -501,13 +501,13 @@ var E, F, Va = {688572:(a, b, c, d, e) => {
|
|
|
501
501
|
a.I.close();
|
|
502
502
|
a.I = void 0;
|
|
503
503
|
a.mb = void 0;
|
|
504
|
-
},
|
|
504
|
+
}, 694555:a => {
|
|
505
505
|
window.h.yb(a);
|
|
506
|
-
},
|
|
506
|
+
}, 694605:a => {
|
|
507
507
|
a = window.h.ua(a);
|
|
508
508
|
a.I.resume();
|
|
509
509
|
a.state = window.h.ha.tb;
|
|
510
|
-
},
|
|
510
|
+
}, 694744:a => {
|
|
511
511
|
a = window.h.ua(a);
|
|
512
512
|
a.I.suspend();
|
|
513
513
|
a.state = window.h.ha.stopped;
|