@rive-app/webgl-advanced 2.26.8 → 2.27.0

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rive-app/webgl-advanced",
3
- "version": "2.26.8",
3
+ "version": "2.27.0",
4
4
  "description": "Rive's webgl low-level canvas based web api.",
5
5
  "main": "webgl_advanced.mjs",
6
6
  "homepage": "https://rive.app",
package/rive.wasm CHANGED
Binary file
Binary file
@@ -387,7 +387,7 @@ function Qa(a, b) {
387
387
  return Pa(c, a, b);
388
388
  }));
389
389
  }
390
- var Ra, Sa, Wa = {704620:(a, b, c, d, e) => {
390
+ var Ra, Sa, Wa = {704988:(a, b, c, d, e) => {
391
391
  if ("undefined" === typeof window || void 0 === (window.AudioContext || window.webkitAudioContext)) {
392
392
  return 0;
393
393
  }
@@ -450,9 +450,9 @@ var Ra, Sa, Wa = {704620:(a, b, c, d, e) => {
450
450
  }
451
451
  window.h.Ea += 1;
452
452
  return 1;
453
- }, 706798:() => {
453
+ }, 707166:() => {
454
454
  "undefined" !== typeof window.h && (--window.h.Ea, 0 === window.h.Ea && delete window.h);
455
- }, 706962:() => void 0 !== navigator.mediaDevices && void 0 !== navigator.mediaDevices.getUserMedia, 707066:() => {
455
+ }, 707330:() => void 0 !== navigator.mediaDevices && void 0 !== navigator.mediaDevices.getUserMedia, 707434:() => {
456
456
  try {
457
457
  var a = new (window.AudioContext || window.webkitAudioContext)(), b = a.sampleRate;
458
458
  a.close();
@@ -460,7 +460,7 @@ var Ra, Sa, Wa = {704620:(a, b, c, d, e) => {
460
460
  } catch (c) {
461
461
  return 0;
462
462
  }
463
- }, 707237:(a, b, c, d, e, f) => {
463
+ }, 707605:(a, b, c, d, e, f) => {
464
464
  if ("undefined" === typeof window.h) {
465
465
  return -1;
466
466
  }
@@ -506,7 +506,7 @@ var Ra, Sa, Wa = {704620:(a, b, c, d, e) => {
506
506
  a == window.h.H.Ca && g.X.connect(g.I.destination);
507
507
  g.lb = f;
508
508
  return window.h.nc(g);
509
- }, 710114:a => window.h.ta(a).I.sampleRate, 710187:a => {
509
+ }, 710482:a => window.h.ta(a).I.sampleRate, 710555:a => {
510
510
  a = window.h.ta(a);
511
511
  void 0 !== a.X && (a.X.onaudioprocess = function() {
512
512
  }, a.X.disconnect(), a.X = void 0);
@@ -514,13 +514,13 @@ var Ra, Sa, Wa = {704620:(a, b, c, d, e) => {
514
514
  a.I.close();
515
515
  a.I = void 0;
516
516
  a.lb = void 0;
517
- }, 710587:a => {
517
+ }, 710955:a => {
518
518
  window.h.xb(a);
519
- }, 710637:a => {
519
+ }, 711005:a => {
520
520
  a = window.h.ta(a);
521
521
  a.I.resume();
522
522
  a.state = window.h.ha.sb;
523
- }, 710776:a => {
523
+ }, 711144:a => {
524
524
  a = window.h.ta(a);
525
525
  a.I.suspend();
526
526
  a.state = window.h.ha.stopped;