@rive-app/webgl2 2.25.4 → 2.25.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.25.4",
3
+ "version": "2.25.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
@@ -429,7 +429,7 @@ function Na(a, b) {
429
429
  return Ma(c, a, b);
430
430
  }));
431
431
  }
432
- var Oa, Pa, Ta = {494878:(a, b, c, d, e) => {
432
+ var Oa, Pa, Ta = {500942:(a, b, c, d, e) => {
433
433
  if ("undefined" === typeof window || void 0 === (window.AudioContext || window.webkitAudioContext)) {
434
434
  return 0;
435
435
  }
@@ -492,9 +492,9 @@ var Oa, Pa, Ta = {494878:(a, b, c, d, e) => {
492
492
  }
493
493
  window.h.Da += 1;
494
494
  return 1;
495
- }, 497056:() => {
495
+ }, 503120:() => {
496
496
  "undefined" !== typeof window.h && (--window.h.Da, 0 === window.h.Da && delete window.h);
497
- }, 497220:() => void 0 !== navigator.mediaDevices && void 0 !== navigator.mediaDevices.getUserMedia, 497324:() => {
497
+ }, 503284:() => void 0 !== navigator.mediaDevices && void 0 !== navigator.mediaDevices.getUserMedia, 503388:() => {
498
498
  try {
499
499
  var a = new (window.AudioContext || window.webkitAudioContext)(), b = a.sampleRate;
500
500
  a.close();
@@ -502,7 +502,7 @@ var Oa, Pa, Ta = {494878:(a, b, c, d, e) => {
502
502
  } catch (c) {
503
503
  return 0;
504
504
  }
505
- }, 497495:(a, b, c, d, e, f) => {
505
+ }, 503559:(a, b, c, d, e, f) => {
506
506
  if ("undefined" === typeof window.h) {
507
507
  return -1;
508
508
  }
@@ -548,7 +548,7 @@ var Oa, Pa, Ta = {494878:(a, b, c, d, e) => {
548
548
  a == window.h.H.Ba && g.Z.connect(g.I.destination);
549
549
  g.kb = f;
550
550
  return window.h.mc(g);
551
- }, 500372:a => window.h.va(a).I.sampleRate, 500445:a => {
551
+ }, 506436:a => window.h.va(a).I.sampleRate, 506509:a => {
552
552
  a = window.h.va(a);
553
553
  void 0 !== a.Z && (a.Z.onaudioprocess = function() {
554
554
  }, a.Z.disconnect(), a.Z = void 0);
@@ -556,13 +556,13 @@ var Oa, Pa, Ta = {494878:(a, b, c, d, e) => {
556
556
  a.I.close();
557
557
  a.I = void 0;
558
558
  a.kb = void 0;
559
- }, 500845:a => {
559
+ }, 506909:a => {
560
560
  window.h.xb(a);
561
- }, 500895:a => {
561
+ }, 506959:a => {
562
562
  a = window.h.va(a);
563
563
  a.I.resume();
564
564
  a.state = window.h.ia.sb;
565
- }, 501034:a => {
565
+ }, 507098:a => {
566
566
  a = window.h.va(a);
567
567
  a.I.suspend();
568
568
  a.state = window.h.ia.stopped;
@@ -3256,6 +3256,8 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
3256
3256
  Z.enable(a);
3257
3257
  }, glEnableVertexAttribArray:function(a) {
3258
3258
  Z.enableVertexAttribArray(a);
3259
+ }, glFlush:function() {
3260
+ Z.flush();
3259
3261
  }, glFramebufferRenderbuffer:function(a, b, c, d) {
3260
3262
  Z.framebufferRenderbuffer(a, b, c, xd[d]);
3261
3263
  }, glFramebufferTexture2D:function(a, b, c, d, e) {
@@ -3468,8 +3470,8 @@ m.dynCall_viijii = (a, b, c, d, e, f, g) => (m.dynCall_viijii = A.dynCall_viijii
3468
3470
  m.dynCall_iiiiij = (a, b, c, d, e, f, g) => (m.dynCall_iiiiij = A.dynCall_iiiiij)(a, b, c, d, e, f, g);
3469
3471
  m.dynCall_iiiiijj = (a, b, c, d, e, f, g, n, p) => (m.dynCall_iiiiijj = A.dynCall_iiiiijj)(a, b, c, d, e, f, g, n, p);
3470
3472
  m.dynCall_iiiiiijj = (a, b, c, d, e, f, g, n, p, l) => (m.dynCall_iiiiiijj = A.dynCall_iiiiiijj)(a, b, c, d, e, f, g, n, p, l);
3471
- m.___start_em_js = 492444;
3472
- m.___stop_em_js = 494878;
3473
+ m.___start_em_js = 498508;
3474
+ m.___stop_em_js = 500942;
3473
3475
  var Xd;
3474
3476
  Ga = function Yd() {
3475
3477
  Xd || Zd();
@@ -3529,7 +3531,7 @@ Zd();
3529
3531
  /* 2 */
3530
3532
  /***/ ((module) => {
3531
3533
 
3532
- module.exports = /*#__PURE__*/JSON.parse('{"name":"@rive-app/webgl2","version":"2.25.4","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}}');
3534
+ module.exports = /*#__PURE__*/JSON.parse('{"name":"@rive-app/webgl2","version":"2.25.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}}');
3533
3535
 
3534
3536
  /***/ }),
3535
3537
  /* 3 */