@rive-app/canvas-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.
@@ -715,7 +715,7 @@ function Ya(a, b) {
715
715
  return Xa(c, a, b);
716
716
  }));
717
717
  }
718
- var Za, $a, db = {430124:(a, b, c, d, e) => {
718
+ var Za, $a, db = {430252:(a, b, c, d, e) => {
719
719
  if ("undefined" === typeof window || void 0 === (window.AudioContext || window.webkitAudioContext)) {
720
720
  return 0;
721
721
  }
@@ -778,9 +778,9 @@ var Za, $a, db = {430124:(a, b, c, d, e) => {
778
778
  }
779
779
  window.h.Aa += 1;
780
780
  return 1;
781
- }, 432302:() => {
781
+ }, 432430:() => {
782
782
  "undefined" !== typeof window.h && (--window.h.Aa, 0 === window.h.Aa && delete window.h);
783
- }, 432466:() => void 0 !== navigator.mediaDevices && void 0 !== navigator.mediaDevices.getUserMedia, 432570:() => {
783
+ }, 432594:() => void 0 !== navigator.mediaDevices && void 0 !== navigator.mediaDevices.getUserMedia, 432698:() => {
784
784
  try {
785
785
  var a = new (window.AudioContext || window.webkitAudioContext)(), b = a.sampleRate;
786
786
  a.close();
@@ -788,7 +788,7 @@ var Za, $a, db = {430124:(a, b, c, d, e) => {
788
788
  } catch (c) {
789
789
  return 0;
790
790
  }
791
- }, 432741:(a, b, c, d, e, f) => {
791
+ }, 432869:(a, b, c, d, e, f) => {
792
792
  if ("undefined" === typeof window.h) {
793
793
  return -1;
794
794
  }
@@ -834,7 +834,7 @@ var Za, $a, db = {430124:(a, b, c, d, e) => {
834
834
  a == window.h.H.ya && g.Z.connect(g.I.destination);
835
835
  g.pb = f;
836
836
  return window.h.yc(g);
837
- }, 435618:a => window.h.ra(a).I.sampleRate, 435691:a => {
837
+ }, 435746:a => window.h.ra(a).I.sampleRate, 435819:a => {
838
838
  a = window.h.ra(a);
839
839
  void 0 !== a.Z && (a.Z.onaudioprocess = function() {
840
840
  }, a.Z.disconnect(), a.Z = void 0);
@@ -842,13 +842,13 @@ var Za, $a, db = {430124:(a, b, c, d, e) => {
842
842
  a.I.close();
843
843
  a.I = void 0;
844
844
  a.pb = void 0;
845
- }, 436091:a => {
845
+ }, 436219:a => {
846
846
  window.h.Cb(a);
847
- }, 436141:a => {
847
+ }, 436269:a => {
848
848
  a = window.h.ra(a);
849
849
  a.I.resume();
850
850
  a.state = window.h.ga.xb;
851
- }, 436280:a => {
851
+ }, 436408:a => {
852
852
  a = window.h.ra(a);
853
853
  a.I.suspend();
854
854
  a.state = window.h.ga.stopped;
@@ -2958,7 +2958,7 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
2958
2958
  Vc(a, {fc:!0, name:b, argPackAdvance:0, fromWireType:function() {
2959
2959
  }, toWireType:function() {
2960
2960
  },});
2961
- }, _emval_as:function(a, b, c) {
2961
+ }, _emscripten_get_now_is_monotonic:() => !0, _emval_as:function(a, b, c) {
2962
2962
  a = rc(a);
2963
2963
  b = Fc(b, "emval::as");
2964
2964
  var d = [], e = sc(d);
@@ -3034,7 +3034,9 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
3034
3034
  c += 105 != d & c, Kd.push(105 == d ? L[c] : Ia[c++ >> 1]), ++c;
3035
3035
  }
3036
3036
  return db[a].apply(null, Kd);
3037
- }, emscripten_memcpy_big:(a, b, c) => E.copyWithin(a, b, b + c), emscripten_resize_heap:a => {
3037
+ }, emscripten_date_now:function() {
3038
+ return Date.now();
3039
+ }, emscripten_get_now:() => performance.now(), emscripten_memcpy_big:(a, b, c) => E.copyWithin(a, b, b + c), emscripten_resize_heap:a => {
3038
3040
  var b = E.length;
3039
3041
  a >>>= 0;
3040
3042
  if (2147483648 < a) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rive-app/canvas-advanced",
3
- "version": "2.15.6",
3
+ "version": "2.17.0",
4
4
  "description": "Rive's lightweight low-level canvas based web api.",
5
5
  "main": "canvas_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