@rive-app/canvas-lite 2.37.0 → 2.37.1
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 +4 -2
- package/rive.d.ts +2 -2
- package/rive.js +1 -1
- package/rive.js.map +1 -1
- package/rive.wasm +0 -0
- package/rive_fallback.wasm +0 -0
- package/runtimeLoader.d.ts +20 -0
- package/utils/finalizationRegistry.d.ts +94 -0
- package/utils/index.d.ts +4 -0
- package/utils/registerTouchInteractions.d.ts +19 -0
- package/utils/riveFont.d.ts +15 -0
- package/utils/sanitizeUrl.d.ts +2 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rive-app/canvas-lite",
|
|
3
|
-
"version": "2.37.
|
|
3
|
+
"version": "2.37.1",
|
|
4
4
|
"description": "A lite version of Rive's canvas based web api.",
|
|
5
5
|
"main": "rive.js",
|
|
6
6
|
"homepage": "https://rive.app",
|
|
@@ -27,7 +27,9 @@
|
|
|
27
27
|
"rive.wasm",
|
|
28
28
|
"rive_fallback.wasm",
|
|
29
29
|
"rive.d.ts",
|
|
30
|
-
"rive_advanced.mjs.d.ts"
|
|
30
|
+
"rive_advanced.mjs.d.ts",
|
|
31
|
+
"runtimeLoader.d.ts",
|
|
32
|
+
"utils"
|
|
31
33
|
],
|
|
32
34
|
"typings": "rive.d.ts",
|
|
33
35
|
"dependencies": {},
|
package/rive.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as rc from "./rive_advanced.mjs";
|
|
2
2
|
import { RuntimeLoader, type RuntimeCallback } from "./runtimeLoader";
|
|
3
3
|
import { ImageWrapper, AudioWrapper, FontWrapper, RiveFont as RiveFontClassUtil } from "./utils";
|
|
4
|
-
export type AssetLoadCallback = (asset: rc.FileAsset, bytes: Uint8Array) =>
|
|
4
|
+
export type AssetLoadCallback = (asset: rc.FileAsset, bytes: Uint8Array) => boolean;
|
|
5
5
|
export { RiveFontClassUtil as RiveFont };
|
|
6
6
|
export type { FileAsset, AudioAsset, FontAsset, ImageAsset, } from "./rive_advanced.mjs";
|
|
7
7
|
/**
|
|
@@ -285,7 +285,7 @@ export interface RiveParameters {
|
|
|
285
285
|
*/
|
|
286
286
|
onloaderror?: EventCallback;
|
|
287
287
|
/**
|
|
288
|
-
* @deprecated Use `
|
|
288
|
+
* @deprecated Use `onPlay()` instead
|
|
289
289
|
*/
|
|
290
290
|
onplay?: EventCallback;
|
|
291
291
|
/**
|
package/rive.js
CHANGED
|
@@ -2474,7 +2474,7 @@ moduleRtn = da;
|
|
|
2474
2474
|
/* 5 */
|
|
2475
2475
|
/***/ ((module) => {
|
|
2476
2476
|
|
|
2477
|
-
module.exports = /*#__PURE__*/JSON.parse('{"name":"@rive-app/canvas-lite","version":"2.37.
|
|
2477
|
+
module.exports = /*#__PURE__*/JSON.parse('{"name":"@rive-app/canvas-lite","version":"2.37.1","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"],"typings":"rive.d.ts","dependencies":{},"browser":{"fs":false,"path":false}}');
|
|
2478
2478
|
|
|
2479
2479
|
/***/ }),
|
|
2480
2480
|
/* 6 */
|