@rive-app/canvas 1.0.53 → 1.0.54
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 +6 -0
package/package.json
CHANGED
package/rive.js
CHANGED
|
@@ -136,7 +136,7 @@ k.run=zc;if(k.preInit)for("function"==typeof k.preInit&&(k.preInit=[k.preInit]);
|
|
|
136
136
|
/* 2 */
|
|
137
137
|
/***/ ((module) => {
|
|
138
138
|
|
|
139
|
-
module.exports = JSON.parse('{"name":"@rive-app/canvas","version":"1.0.
|
|
139
|
+
module.exports = JSON.parse('{"name":"@rive-app/canvas","version":"1.0.54","description":"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.d.ts","rive_advanced.mjs.d.ts"],"typings":"rive.d.ts","dependencies":{},"browser":{"fs":false,"path":false}}');
|
|
140
140
|
|
|
141
141
|
/***/ })
|
|
142
142
|
/******/ ]);
|
package/rive.wasm
CHANGED
|
Binary file
|
package/rive_advanced.mjs.d.ts
CHANGED
|
@@ -184,6 +184,12 @@ interface RiveOptions {
|
|
|
184
184
|
advance(sec: number): any;
|
|
185
185
|
stateChangedCount(): number;
|
|
186
186
|
stateChangedNameByIndex(i: number): string;
|
|
187
|
+
|
|
188
|
+
// Call with coordinates in Artboard space
|
|
189
|
+
pointerDown(x: number, y: number): void;
|
|
190
|
+
pointerMove(x: number, y: number): void;
|
|
191
|
+
pointerUp(x: number, y: number): void;
|
|
192
|
+
|
|
187
193
|
// Deletes the backing Wasm state machine instance
|
|
188
194
|
delete(): void;
|
|
189
195
|
}
|