@rive-app/webgl2 2.23.5 → 2.23.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rive-app/webgl2",
3
- "version": "2.23.5",
3
+ "version": "2.23.6",
4
4
  "description": "Rive's webgl2 based web api.",
5
5
  "main": "rive.js",
6
6
  "homepage": "https://rive.app",
package/rive.js CHANGED
@@ -423,7 +423,7 @@ function Na(a, b) {
423
423
  return Ma(c, a, b);
424
424
  }));
425
425
  }
426
- var Oa, Pa, Ta = {491140:(a, b, c, d, e) => {
426
+ var Oa, Pa, Ta = {491082:(a, b, c, d, e) => {
427
427
  if ("undefined" === typeof window || void 0 === (window.AudioContext || window.webkitAudioContext)) {
428
428
  return 0;
429
429
  }
@@ -486,9 +486,9 @@ var Oa, Pa, Ta = {491140:(a, b, c, d, e) => {
486
486
  }
487
487
  window.h.Da += 1;
488
488
  return 1;
489
- }, 493318:() => {
489
+ }, 493260:() => {
490
490
  "undefined" !== typeof window.h && (--window.h.Da, 0 === window.h.Da && delete window.h);
491
- }, 493482:() => void 0 !== navigator.mediaDevices && void 0 !== navigator.mediaDevices.getUserMedia, 493586:() => {
491
+ }, 493424:() => void 0 !== navigator.mediaDevices && void 0 !== navigator.mediaDevices.getUserMedia, 493528:() => {
492
492
  try {
493
493
  var a = new (window.AudioContext || window.webkitAudioContext)(), b = a.sampleRate;
494
494
  a.close();
@@ -496,7 +496,7 @@ var Oa, Pa, Ta = {491140:(a, b, c, d, e) => {
496
496
  } catch (c) {
497
497
  return 0;
498
498
  }
499
- }, 493757:(a, b, c, d, e, f) => {
499
+ }, 493699:(a, b, c, d, e, f) => {
500
500
  if ("undefined" === typeof window.h) {
501
501
  return -1;
502
502
  }
@@ -542,7 +542,7 @@ var Oa, Pa, Ta = {491140:(a, b, c, d, e) => {
542
542
  a == window.h.I.Ba && g.Y.connect(g.J.destination);
543
543
  g.jb = f;
544
544
  return window.h.lc(g);
545
- }, 496634:a => window.h.va(a).J.sampleRate, 496707:a => {
545
+ }, 496576:a => window.h.va(a).J.sampleRate, 496649:a => {
546
546
  a = window.h.va(a);
547
547
  void 0 !== a.Y && (a.Y.onaudioprocess = function() {
548
548
  }, a.Y.disconnect(), a.Y = void 0);
@@ -550,13 +550,13 @@ var Oa, Pa, Ta = {491140:(a, b, c, d, e) => {
550
550
  a.J.close();
551
551
  a.J = void 0;
552
552
  a.jb = void 0;
553
- }, 497107:a => {
553
+ }, 497049:a => {
554
554
  window.h.wb(a);
555
- }, 497157:a => {
555
+ }, 497099:a => {
556
556
  a = window.h.va(a);
557
557
  a.J.resume();
558
558
  a.state = window.h.ha.rb;
559
- }, 497296:a => {
559
+ }, 497238:a => {
560
560
  a = window.h.va(a);
561
561
  a.J.suspend();
562
562
  a.state = window.h.ha.stopped;
@@ -3412,7 +3412,7 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
3412
3412
  var c = n.images;
3413
3413
  if (c) {
3414
3414
  var d = c.get(b);
3415
- d ? (a = r[a].H, console.log("GL IS", a, d), a.texImage2D(a.TEXTURE_2D, 0, a.RGBA, a.RGBA, a.UNSIGNED_BYTE, d), c.delete(b)) : console.log("NO IMAGE");
3415
+ d && (a = r[a].H, a.texImage2D(a.TEXTURE_2D, 0, a.RGBA, a.RGBA, a.UNSIGNED_BYTE, d), c.delete(b));
3416
3416
  }
3417
3417
  }, webgl_texSubImage2DWithOffset:function(a, b, c, d, e, f, g, m, p, l) {
3418
3418
  a = r[a].H;
@@ -3466,7 +3466,7 @@ n.dynCall_iiiiij = (a, b, c, d, e, f, g) => (n.dynCall_iiiiij = A.dynCall_iiiiij
3466
3466
  n.dynCall_iiiiijj = (a, b, c, d, e, f, g, m, p) => (n.dynCall_iiiiijj = A.dynCall_iiiiijj)(a, b, c, d, e, f, g, m, p);
3467
3467
  n.dynCall_iiiiiijj = (a, b, c, d, e, f, g, m, p, l) => (n.dynCall_iiiiiijj = A.dynCall_iiiiiijj)(a, b, c, d, e, f, g, m, p, l);
3468
3468
  n.___start_em_js = 488500;
3469
- n.___stop_em_js = 491140;
3469
+ n.___stop_em_js = 491082;
3470
3470
  var Xd;
3471
3471
  Ga = function Yd() {
3472
3472
  Xd || Zd();
@@ -3526,7 +3526,7 @@ Zd();
3526
3526
  /* 2 */
3527
3527
  /***/ ((module) => {
3528
3528
 
3529
- module.exports = JSON.parse('{"name":"@rive-app/webgl2","version":"2.23.5","description":"Rive\'s webgl2 based web api.","main":"rive.js","homepage":"https://rive.app","repository":{"type":"git","url":"https://github.com/rive-app/rive-wasm/tree/master/js"},"keywords":["rive","animation"],"author":"Rive","contributors":["Luigi Rosso <luigi@rive.app> (https://rive.app)","Maxwell Talbot <max@rive.app> (https://rive.app)","Arthur Vivian <arthur@rive.app> (https://rive.app)","Umberto Sonnino <umberto@rive.app> (https://rive.app)","Matthew Sullivan <matt.j.sullivan@gmail.com> (mailto:matt.j.sullivan@gmail.com)","Chris Dalton <chris@rive.app> (https://rive.app)"],"license":"MIT","files":["rive.js","rive.wasm","rive.js.map","rive.d.ts","rive_advanced.mjs.d.ts"],"typings":"rive.d.ts","dependencies":{},"browser":{"fs":false,"path":false}}');
3529
+ module.exports = JSON.parse('{"name":"@rive-app/webgl2","version":"2.23.6","description":"Rive\'s webgl2 based web api.","main":"rive.js","homepage":"https://rive.app","repository":{"type":"git","url":"https://github.com/rive-app/rive-wasm/tree/master/js"},"keywords":["rive","animation"],"author":"Rive","contributors":["Luigi Rosso <luigi@rive.app> (https://rive.app)","Maxwell Talbot <max@rive.app> (https://rive.app)","Arthur Vivian <arthur@rive.app> (https://rive.app)","Umberto Sonnino <umberto@rive.app> (https://rive.app)","Matthew Sullivan <matt.j.sullivan@gmail.com> (mailto:matt.j.sullivan@gmail.com)","Chris Dalton <chris@rive.app> (https://rive.app)"],"license":"MIT","files":["rive.js","rive.wasm","rive.js.map","rive.d.ts","rive_advanced.mjs.d.ts"],"typings":"rive.d.ts","dependencies":{},"browser":{"fs":false,"path":false}}');
3530
3530
 
3531
3531
  /***/ }),
3532
3532
  /* 3 */