@rive-app/webgl-advanced 2.15.6 → 2.17.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.15.6",
3
+ "version": "2.17.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
@@ -450,6 +450,12 @@ export declare class Artboard {
450
450
  * @param name - Name of the Text Run to grab a reference to
451
451
  */
452
452
  textRun(name: string): TextValueRun;
453
+ /**
454
+ * Returns a reference for a SMIInput object to get/set an input value for
455
+ * @param name - Name of the Input to grab a reference to
456
+ * @param path - Path of where the input exists at an artboard level
457
+ */
458
+ inputByPath(name: string, path: string): SMIInput;
453
459
  }
454
460
 
455
461
  export declare class Bone extends TransformComponent {
Binary file
@@ -379,7 +379,7 @@ function Qa(a, b) {
379
379
  return Pa(c, a, b);
380
380
  }));
381
381
  }
382
- var Ra, Sa, Wa = {685180:(a, b, c, d, e) => {
382
+ var Ra, Sa, Wa = {685308:(a, b, c, d, e) => {
383
383
  if ("undefined" === typeof window || void 0 === (window.AudioContext || window.webkitAudioContext)) {
384
384
  return 0;
385
385
  }
@@ -442,9 +442,9 @@ var Ra, Sa, Wa = {685180:(a, b, c, d, e) => {
442
442
  }
443
443
  window.h.Ea += 1;
444
444
  return 1;
445
- }, 687358:() => {
445
+ }, 687486:() => {
446
446
  "undefined" !== typeof window.h && (--window.h.Ea, 0 === window.h.Ea && delete window.h);
447
- }, 687522:() => void 0 !== navigator.mediaDevices && void 0 !== navigator.mediaDevices.getUserMedia, 687626:() => {
447
+ }, 687650:() => void 0 !== navigator.mediaDevices && void 0 !== navigator.mediaDevices.getUserMedia, 687754:() => {
448
448
  try {
449
449
  var a = new (window.AudioContext || window.webkitAudioContext)(), b = a.sampleRate;
450
450
  a.close();
@@ -452,7 +452,7 @@ var Ra, Sa, Wa = {685180:(a, b, c, d, e) => {
452
452
  } catch (c) {
453
453
  return 0;
454
454
  }
455
- }, 687797:(a, b, c, d, e, f) => {
455
+ }, 687925:(a, b, c, d, e, f) => {
456
456
  if ("undefined" === typeof window.h) {
457
457
  return -1;
458
458
  }
@@ -498,7 +498,7 @@ var Ra, Sa, Wa = {685180:(a, b, c, d, e) => {
498
498
  a == window.h.H.Ca && g.X.connect(g.I.destination);
499
499
  g.lb = f;
500
500
  return window.h.nc(g);
501
- }, 690674:a => window.h.ta(a).I.sampleRate, 690747:a => {
501
+ }, 690802:a => window.h.ta(a).I.sampleRate, 690875:a => {
502
502
  a = window.h.ta(a);
503
503
  void 0 !== a.X && (a.X.onaudioprocess = function() {
504
504
  }, a.X.disconnect(), a.X = void 0);
@@ -506,13 +506,13 @@ var Ra, Sa, Wa = {685180:(a, b, c, d, e) => {
506
506
  a.I.close();
507
507
  a.I = void 0;
508
508
  a.lb = void 0;
509
- }, 691147:a => {
509
+ }, 691275:a => {
510
510
  window.h.xb(a);
511
- }, 691197:a => {
511
+ }, 691325:a => {
512
512
  a = window.h.ta(a);
513
513
  a.I.resume();
514
514
  a.state = window.h.ha.sb;
515
- }, 691336:a => {
515
+ }, 691464:a => {
516
516
  a = window.h.ta(a);
517
517
  a.I.suspend();
518
518
  a.state = window.h.ha.stopped;