@rive-app/webgl-advanced 2.31.4 → 2.31.6
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_fallback.wasm +0 -0
- package/webgl_advanced.mjs +8 -8
package/package.json
CHANGED
package/rive.wasm
CHANGED
|
Binary file
|
package/rive_fallback.wasm
CHANGED
|
Binary file
|
package/webgl_advanced.mjs
CHANGED
|
@@ -387,7 +387,7 @@ function Qa(a, b) {
|
|
|
387
387
|
return Pa(c, a, b);
|
|
388
388
|
}));
|
|
389
389
|
}
|
|
390
|
-
var Ra, Sa, Wa = {
|
|
390
|
+
var Ra, Sa, Wa = {717160:(a, b, c, d, e) => {
|
|
391
391
|
if ("undefined" === typeof window || void 0 === (window.AudioContext || window.webkitAudioContext)) {
|
|
392
392
|
return 0;
|
|
393
393
|
}
|
|
@@ -450,11 +450,11 @@ var Ra, Sa, Wa = {716568:(a, b, c, d, e) => {
|
|
|
450
450
|
}
|
|
451
451
|
window.h.Ea += 1;
|
|
452
452
|
return 1;
|
|
453
|
-
},
|
|
453
|
+
}, 719338:() => {
|
|
454
454
|
"undefined" !== typeof window.h && (window.h.Ta.map(function(a) {
|
|
455
455
|
document.removeEventListener(a, window.h.unlock, !0);
|
|
456
456
|
}), --window.h.Ea, 0 === window.h.Ea && delete window.h);
|
|
457
|
-
},
|
|
457
|
+
}, 719642:() => void 0 !== navigator.mediaDevices && void 0 !== navigator.mediaDevices.getUserMedia, 719746:() => {
|
|
458
458
|
try {
|
|
459
459
|
var a = new (window.AudioContext || window.webkitAudioContext)(), b = a.sampleRate;
|
|
460
460
|
a.close();
|
|
@@ -462,7 +462,7 @@ var Ra, Sa, Wa = {716568:(a, b, c, d, e) => {
|
|
|
462
462
|
} catch (c) {
|
|
463
463
|
return 0;
|
|
464
464
|
}
|
|
465
|
-
},
|
|
465
|
+
}, 719917:(a, b, c, d, e, f) => {
|
|
466
466
|
if ("undefined" === typeof window.h) {
|
|
467
467
|
return -1;
|
|
468
468
|
}
|
|
@@ -508,7 +508,7 @@ var Ra, Sa, Wa = {716568:(a, b, c, d, e) => {
|
|
|
508
508
|
a == window.h.H.Ca && g.X.connect(g.I.destination);
|
|
509
509
|
g.mb = f;
|
|
510
510
|
return window.h.nc(g);
|
|
511
|
-
},
|
|
511
|
+
}, 722794:a => window.h.ta(a).I.sampleRate, 722867:a => {
|
|
512
512
|
a = window.h.ta(a);
|
|
513
513
|
void 0 !== a.X && (a.X.onaudioprocess = function() {
|
|
514
514
|
}, a.X.disconnect(), a.X = void 0);
|
|
@@ -516,13 +516,13 @@ var Ra, Sa, Wa = {716568:(a, b, c, d, e) => {
|
|
|
516
516
|
a.I.close();
|
|
517
517
|
a.I = void 0;
|
|
518
518
|
a.mb = void 0;
|
|
519
|
-
},
|
|
519
|
+
}, 723267:a => {
|
|
520
520
|
window.h.xb(a);
|
|
521
|
-
},
|
|
521
|
+
}, 723317:a => {
|
|
522
522
|
a = window.h.ta(a);
|
|
523
523
|
a.I.resume();
|
|
524
524
|
a.state = window.h.ha.tb;
|
|
525
|
-
},
|
|
525
|
+
}, 723456:a => {
|
|
526
526
|
a = window.h.ta(a);
|
|
527
527
|
a.I.suspend();
|
|
528
528
|
a.state = window.h.ha.stopped;
|