@rive-app/webgl-advanced 2.23.2 → 2.23.4

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.23.2",
3
+ "version": "2.23.4",
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
@@ -370,13 +370,13 @@ export declare class Artboard {
370
370
  /**
371
371
  * Getter and setter for the artboard width
372
372
  */
373
- get artboardWidth(): number | undefined;
373
+ get artboardWidth(): number;
374
374
  set artboardWidth(val: number);
375
375
 
376
376
  /**
377
377
  * Getter and setter for the artboard height
378
378
  */
379
- get artboardHeight(): number | undefined;
379
+ get artboardHeight(): number;
380
380
  set artboardHeight(val: number);
381
381
 
382
382
  /**
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 = {696428:(a, b, c, d, e) => {
390
+ var Ra, Sa, Wa = {697468:(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 = {696428:(a, b, c, d, e) => {
450
450
  }
451
451
  window.h.Ea += 1;
452
452
  return 1;
453
- }, 698606:() => {
453
+ }, 699646:() => {
454
454
  "undefined" !== typeof window.h && (--window.h.Ea, 0 === window.h.Ea && delete window.h);
455
- }, 698770:() => void 0 !== navigator.mediaDevices && void 0 !== navigator.mediaDevices.getUserMedia, 698874:() => {
455
+ }, 699810:() => void 0 !== navigator.mediaDevices && void 0 !== navigator.mediaDevices.getUserMedia, 699914:() => {
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 = {696428:(a, b, c, d, e) => {
460
460
  } catch (c) {
461
461
  return 0;
462
462
  }
463
- }, 699045:(a, b, c, d, e, f) => {
463
+ }, 700085:(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 = {696428:(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
- }, 701922:a => window.h.ta(a).I.sampleRate, 701995:a => {
509
+ }, 702962:a => window.h.ta(a).I.sampleRate, 703035: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 = {696428:(a, b, c, d, e) => {
514
514
  a.I.close();
515
515
  a.I = void 0;
516
516
  a.lb = void 0;
517
- }, 702395:a => {
517
+ }, 703435:a => {
518
518
  window.h.xb(a);
519
- }, 702445:a => {
519
+ }, 703485:a => {
520
520
  a = window.h.ta(a);
521
521
  a.I.resume();
522
522
  a.state = window.h.ha.sb;
523
- }, 702584:a => {
523
+ }, 703624:a => {
524
524
  a = window.h.ta(a);
525
525
  a.I.suspend();
526
526
  a.state = window.h.ha.stopped;