@rive-app/canvas-advanced 2.20.1 → 2.21.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/canvas_advanced.mjs +8 -8
- package/package.json +1 -1
- package/rive.wasm +0 -0
- package/rive_advanced.mjs.d.ts +6 -0
- package/rive_fallback.wasm +0 -0
package/canvas_advanced.mjs
CHANGED
|
@@ -717,7 +717,7 @@ function Ya(a, b) {
|
|
|
717
717
|
return Xa(c, a, b);
|
|
718
718
|
}));
|
|
719
719
|
}
|
|
720
|
-
var Za, $a, db = {
|
|
720
|
+
var Za, $a, db = {437468:(a, b, c, d, e) => {
|
|
721
721
|
if ("undefined" === typeof window || void 0 === (window.AudioContext || window.webkitAudioContext)) {
|
|
722
722
|
return 0;
|
|
723
723
|
}
|
|
@@ -780,9 +780,9 @@ var Za, $a, db = {437404:(a, b, c, d, e) => {
|
|
|
780
780
|
}
|
|
781
781
|
window.h.Aa += 1;
|
|
782
782
|
return 1;
|
|
783
|
-
},
|
|
783
|
+
}, 439646:() => {
|
|
784
784
|
"undefined" !== typeof window.h && (--window.h.Aa, 0 === window.h.Aa && delete window.h);
|
|
785
|
-
},
|
|
785
|
+
}, 439810:() => void 0 !== navigator.mediaDevices && void 0 !== navigator.mediaDevices.getUserMedia, 439914:() => {
|
|
786
786
|
try {
|
|
787
787
|
var a = new (window.AudioContext || window.webkitAudioContext)(), b = a.sampleRate;
|
|
788
788
|
a.close();
|
|
@@ -790,7 +790,7 @@ var Za, $a, db = {437404:(a, b, c, d, e) => {
|
|
|
790
790
|
} catch (c) {
|
|
791
791
|
return 0;
|
|
792
792
|
}
|
|
793
|
-
},
|
|
793
|
+
}, 440085:(a, b, c, d, e, f) => {
|
|
794
794
|
if ("undefined" === typeof window.h) {
|
|
795
795
|
return -1;
|
|
796
796
|
}
|
|
@@ -836,7 +836,7 @@ var Za, $a, db = {437404:(a, b, c, d, e) => {
|
|
|
836
836
|
a == window.h.I.ya && g.Z.connect(g.J.destination);
|
|
837
837
|
g.pb = f;
|
|
838
838
|
return window.h.yc(g);
|
|
839
|
-
},
|
|
839
|
+
}, 442962:a => window.h.ra(a).J.sampleRate, 443035:a => {
|
|
840
840
|
a = window.h.ra(a);
|
|
841
841
|
void 0 !== a.Z && (a.Z.onaudioprocess = function() {
|
|
842
842
|
}, a.Z.disconnect(), a.Z = void 0);
|
|
@@ -844,13 +844,13 @@ var Za, $a, db = {437404:(a, b, c, d, e) => {
|
|
|
844
844
|
a.J.close();
|
|
845
845
|
a.J = void 0;
|
|
846
846
|
a.pb = void 0;
|
|
847
|
-
},
|
|
847
|
+
}, 443435:a => {
|
|
848
848
|
window.h.Cb(a);
|
|
849
|
-
},
|
|
849
|
+
}, 443485:a => {
|
|
850
850
|
a = window.h.ra(a);
|
|
851
851
|
a.J.resume();
|
|
852
852
|
a.state = window.h.ga.xb;
|
|
853
|
-
},
|
|
853
|
+
}, 443624:a => {
|
|
854
854
|
a = window.h.ra(a);
|
|
855
855
|
a.J.suspend();
|
|
856
856
|
a.state = window.h.ga.stopped;
|
package/package.json
CHANGED
package/rive.wasm
CHANGED
|
Binary file
|
package/rive_advanced.mjs.d.ts
CHANGED
|
@@ -456,6 +456,12 @@ export declare class Artboard {
|
|
|
456
456
|
* @param path - Path of where the input exists at an artboard level
|
|
457
457
|
*/
|
|
458
458
|
inputByPath(name: string, path: string): SMIInput;
|
|
459
|
+
/**
|
|
460
|
+
* Returns a reference for a TextValueRun object to get/set a text value for
|
|
461
|
+
* @param name - Name of the Text Run to grab a reference to
|
|
462
|
+
* @param path - Path of where the text exists at an artboard level
|
|
463
|
+
*/
|
|
464
|
+
textByPath(name: string, path: string): TextValueRun;
|
|
459
465
|
}
|
|
460
466
|
|
|
461
467
|
export declare class Bone extends TransformComponent {
|
package/rive_fallback.wasm
CHANGED
|
Binary file
|