@rive-app/canvas-lite 2.45.1 → 2.46.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 +1 -1
- package/rive.js +1 -1
- package/rive.wasm +0 -0
- package/rive_advanced.mjs.d.ts +15 -5
- package/rive_fallback.wasm +0 -0
package/package.json
CHANGED
package/rive.js
CHANGED
|
@@ -460,7 +460,7 @@ Cc=await (async function(){function b(c){c=Cc=c.exports;kb=c.free;Ac=c.malloc;jb
|
|
|
460
460
|
/* 5 */
|
|
461
461
|
/***/ ((module) => {
|
|
462
462
|
|
|
463
|
-
module.exports = /*#__PURE__*/JSON.parse('{"name":"@rive-app/canvas-lite","version":"2.
|
|
463
|
+
module.exports = /*#__PURE__*/JSON.parse('{"name":"@rive-app/canvas-lite","version":"2.46.0","description":"A lite version of Rive\'s canvas based web api.","main":"rive.js","homepage":"https://rive.app","repository":{"type":"git","url":"https://github.com/rive-app/rive-wasm/tree/master/js"},"keywords":["rive","animation"],"author":"Rive","contributors":["Luigi Rosso <luigi@rive.app> (https://rive.app)","Maxwell Talbot <max@rive.app> (https://rive.app)","Arthur Vivian <arthur@rive.app> (https://rive.app)","Umberto Sonnino <umberto@rive.app> (https://rive.app)","Matthew Sullivan <matt.j.sullivan@gmail.com> (mailto:matt.j.sullivan@gmail.com)"],"license":"MIT","files":["rive.js","rive.js.map","rive.wasm","rive_fallback.wasm","rive.d.ts","rive_advanced.mjs.d.ts","runtimeLoader.d.ts","utils","semantics"],"typings":"rive.d.ts","dependencies":{},"browser":{"fs":false,"path":false}}');
|
|
464
464
|
|
|
465
465
|
/***/ }),
|
|
466
466
|
/* 6 */
|
package/rive.wasm
CHANGED
|
Binary file
|
package/rive_advanced.mjs.d.ts
CHANGED
|
@@ -1,8 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}
|
|
1
|
+
// The high level wrappers by shape, since the advanced packages ship no utils.
|
|
2
|
+
interface ImageWrapper {
|
|
3
|
+
readonly nativeImage: ImageInternal;
|
|
4
|
+
unref(): void;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
interface AudioWrapper {
|
|
8
|
+
readonly nativeAudio: AudioInternal;
|
|
9
|
+
unref(): void;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
interface FontWrapper {
|
|
13
|
+
readonly nativeFont: FontInternal;
|
|
14
|
+
unref(): void;
|
|
15
|
+
}
|
|
6
16
|
|
|
7
17
|
interface RiveOptions {
|
|
8
18
|
locateFile(file: string): string;
|
package/rive_fallback.wasm
CHANGED
|
Binary file
|