@rive-app/webgl2-advanced 2.23.2 → 2.23.3

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-advanced",
3
- "version": "2.23.2",
3
+ "version": "2.23.3",
4
4
  "description": "Rive's webgl2 low-level canvas based web api.",
5
5
  "main": "webgl2_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
  /**
@@ -402,7 +402,7 @@ function Oa(a, b) {
402
402
  return Na(c, a, b);
403
403
  }));
404
404
  }
405
- var Pa, Qa, Ua = {488133:(a, b, c, d, e) => {
405
+ var Pa, Qa, Ua = {488613:(a, b, c, d, e) => {
406
406
  if ("undefined" === typeof window || void 0 === (window.AudioContext || window.webkitAudioContext)) {
407
407
  return 0;
408
408
  }
@@ -465,9 +465,9 @@ var Pa, Qa, Ua = {488133:(a, b, c, d, e) => {
465
465
  }
466
466
  window.h.Da += 1;
467
467
  return 1;
468
- }, 490311:() => {
468
+ }, 490791:() => {
469
469
  "undefined" !== typeof window.h && (--window.h.Da, 0 === window.h.Da && delete window.h);
470
- }, 490475:() => void 0 !== navigator.mediaDevices && void 0 !== navigator.mediaDevices.getUserMedia, 490579:() => {
470
+ }, 490955:() => void 0 !== navigator.mediaDevices && void 0 !== navigator.mediaDevices.getUserMedia, 491059:() => {
471
471
  try {
472
472
  var a = new (window.AudioContext || window.webkitAudioContext)(), b = a.sampleRate;
473
473
  a.close();
@@ -475,7 +475,7 @@ var Pa, Qa, Ua = {488133:(a, b, c, d, e) => {
475
475
  } catch (c) {
476
476
  return 0;
477
477
  }
478
- }, 490750:(a, b, c, d, e, f) => {
478
+ }, 491230:(a, b, c, d, e, f) => {
479
479
  if ("undefined" === typeof window.h) {
480
480
  return -1;
481
481
  }
@@ -521,7 +521,7 @@ var Pa, Qa, Ua = {488133:(a, b, c, d, e) => {
521
521
  a == window.h.I.Ba && g.Y.connect(g.J.destination);
522
522
  g.jb = f;
523
523
  return window.h.lc(g);
524
- }, 493627:a => window.h.va(a).J.sampleRate, 493700:a => {
524
+ }, 494107:a => window.h.va(a).J.sampleRate, 494180:a => {
525
525
  a = window.h.va(a);
526
526
  void 0 !== a.Y && (a.Y.onaudioprocess = function() {
527
527
  }, a.Y.disconnect(), a.Y = void 0);
@@ -529,13 +529,13 @@ var Pa, Qa, Ua = {488133:(a, b, c, d, e) => {
529
529
  a.J.close();
530
530
  a.J = void 0;
531
531
  a.jb = void 0;
532
- }, 494100:a => {
532
+ }, 494580:a => {
533
533
  window.h.wb(a);
534
- }, 494150:a => {
534
+ }, 494630:a => {
535
535
  a = window.h.va(a);
536
536
  a.J.resume();
537
537
  a.state = window.h.ha.rb;
538
- }, 494289:a => {
538
+ }, 494769:a => {
539
539
  a = window.h.va(a);
540
540
  a.J.suspend();
541
541
  a.state = window.h.ha.stopped;
@@ -3446,8 +3446,8 @@ n.dynCall_viijii = (a, b, c, d, e, f, g) => (n.dynCall_viijii = z.dynCall_viijii
3446
3446
  n.dynCall_iiiiij = (a, b, c, d, e, f, g) => (n.dynCall_iiiiij = z.dynCall_iiiiij)(a, b, c, d, e, f, g);
3447
3447
  n.dynCall_iiiiijj = (a, b, c, d, e, f, g, m, p) => (n.dynCall_iiiiijj = z.dynCall_iiiiijj)(a, b, c, d, e, f, g, m, p);
3448
3448
  n.dynCall_iiiiiijj = (a, b, c, d, e, f, g, m, p, l) => (n.dynCall_iiiiiijj = z.dynCall_iiiiiijj)(a, b, c, d, e, f, g, m, p, l);
3449
- n.___start_em_js = 485508;
3450
- n.___stop_em_js = 488133;
3449
+ n.___start_em_js = 485988;
3450
+ n.___stop_em_js = 488613;
3451
3451
  var Xd;
3452
3452
  Ha = function Yd() {
3453
3453
  Xd || Zd();