@rive-app/webgl-advanced 2.32.1 → 2.33.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.32.1",
3
+ "version": "2.33.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
@@ -576,6 +576,8 @@ export declare class Artboard {
576
576
  * @param instance - Renderer context to draw with
577
577
  */
578
578
  bindViewModelInstance(instance: ViewModelInstance): void;
579
+
580
+ didChange(): boolean;
579
581
  }
580
582
 
581
583
  export declare class BindableArtboard {
Binary file
@@ -372,7 +372,7 @@ function Ra(a, b) {
372
372
  return Qa(c, a, b);
373
373
  }));
374
374
  }
375
- var Sa, Ta, Xa = {719232:(a, b, c, d, e) => {
375
+ var Sa, Ta, Xa = {722258:(a, b, c, d, e) => {
376
376
  if ("undefined" === typeof window || void 0 === (window.AudioContext || window.webkitAudioContext)) {
377
377
  return 0;
378
378
  }
@@ -435,11 +435,11 @@ var Sa, Ta, Xa = {719232:(a, b, c, d, e) => {
435
435
  }
436
436
  window.h.Ca += 1;
437
437
  return 1;
438
- }, 721410:() => {
438
+ }, 724436:() => {
439
439
  "undefined" !== typeof window.h && (window.h.Ra.map(function(a) {
440
440
  document.removeEventListener(a, window.h.unlock, !0);
441
441
  }), --window.h.Ca, 0 === window.h.Ca && delete window.h);
442
- }, 721714:() => void 0 !== navigator.mediaDevices && void 0 !== navigator.mediaDevices.getUserMedia, 721818:() => {
442
+ }, 724740:() => void 0 !== navigator.mediaDevices && void 0 !== navigator.mediaDevices.getUserMedia, 724844:() => {
443
443
  try {
444
444
  var a = new (window.AudioContext || window.webkitAudioContext)(), b = a.sampleRate;
445
445
  a.close();
@@ -447,7 +447,7 @@ var Sa, Ta, Xa = {719232:(a, b, c, d, e) => {
447
447
  } catch (c) {
448
448
  return 0;
449
449
  }
450
- }, 721989:(a, b, c, d, e, f) => {
450
+ }, 725015:(a, b, c, d, e, f) => {
451
451
  if ("undefined" === typeof window.h) {
452
452
  return -1;
453
453
  }
@@ -493,7 +493,7 @@ var Sa, Ta, Xa = {719232:(a, b, c, d, e) => {
493
493
  a == window.h.H.Aa && g.W.connect(g.J.destination);
494
494
  g.kb = f;
495
495
  return window.h.fc(g);
496
- }, 724866:a => window.h.ra(a).J.sampleRate, 724939:a => {
496
+ }, 727892:a => window.h.ra(a).J.sampleRate, 727965:a => {
497
497
  a = window.h.ra(a);
498
498
  void 0 !== a.W && (a.W.onaudioprocess = function() {
499
499
  }, a.W.disconnect(), a.W = void 0);
@@ -501,13 +501,13 @@ var Sa, Ta, Xa = {719232:(a, b, c, d, e) => {
501
501
  a.J.close();
502
502
  a.J = void 0;
503
503
  a.kb = void 0;
504
- }, 725339:a => {
504
+ }, 728365:a => {
505
505
  window.h.ub(a);
506
- }, 725389:a => {
506
+ }, 728415:a => {
507
507
  a = window.h.ra(a);
508
508
  a.J.resume();
509
509
  a.state = window.h.ga.qb;
510
- }, 725528:a => {
510
+ }, 728554:a => {
511
511
  a = window.h.ra(a);
512
512
  a.J.suspend();
513
513
  a.state = window.h.ga.stopped;
@@ -3589,7 +3589,9 @@ var Ie = {__syscall_fcntl64:function(a, b, c) {
3589
3589
  }
3590
3590
  return E.Y;
3591
3591
  }
3592
- }, glBindFramebuffer:Ud, glGetIntegerv:ae, invoke_ii:te, invoke_iii:ue, invoke_iiii:ve, invoke_iiiii:we, invoke_iiiiii:xe, invoke_iiiiiii:ye, invoke_iiiiiiiiii:ze, invoke_v:Ae, invoke_vi:Be, invoke_vii:Ce, invoke_viii:De, invoke_viiii:Ee, invoke_viiiiii:Fe, invoke_viiiiiii:Ge, invoke_viiiiiiii:He, strftime_l:(a, b, c, d) => oe(a, b, c, d)}, W = function() {
3592
+ }, glBindFramebuffer:Ud, glGetIntegerv:ae, invoke_ii:te, invoke_iii:ue, invoke_iiii:ve, invoke_iiiii:we, invoke_iiiiii:xe, invoke_iiiiiii:ye, invoke_iiiiiiiiii:ze, invoke_v:Ae, invoke_vi:Be, invoke_vii:Ce, invoke_viii:De, invoke_viiii:Ee, invoke_viiiiii:Fe, invoke_viiiiiii:Ge, invoke_viiiiiiii:He, isWindowsBrowser:function() {
3593
+ return -1 < navigator.platform.indexOf("Win");
3594
+ }, strftime_l:(a, b, c, d) => oe(a, b, c, d)}, W = function() {
3593
3595
  function a(c) {
3594
3596
  W = c.exports;
3595
3597
  ya = W.memory;