@rive-app/canvas-lite 2.26.9 → 2.27.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 +5 -1
- package/rive.js.map +1 -1
- package/rive.wasm +0 -0
- package/rive_fallback.wasm +0 -0
package/package.json
CHANGED
package/rive.js
CHANGED
|
@@ -2271,7 +2271,7 @@ Qc();
|
|
|
2271
2271
|
/* 2 */
|
|
2272
2272
|
/***/ ((module) => {
|
|
2273
2273
|
|
|
2274
|
-
module.exports = /*#__PURE__*/JSON.parse('{"name":"@rive-app/canvas-lite","version":"2.
|
|
2274
|
+
module.exports = /*#__PURE__*/JSON.parse('{"name":"@rive-app/canvas-lite","version":"2.27.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"],"typings":"rive.d.ts","dependencies":{},"browser":{"fs":false,"path":false}}');
|
|
2275
2275
|
|
|
2276
2276
|
/***/ }),
|
|
2277
2277
|
/* 3 */
|
|
@@ -3356,6 +3356,9 @@ var Animator = /** @class */ (function () {
|
|
|
3356
3356
|
newAnimation.apply(1.0);
|
|
3357
3357
|
this.animations.push(newAnimation);
|
|
3358
3358
|
}
|
|
3359
|
+
else {
|
|
3360
|
+
console.error("Animation with name ".concat(animatables[i], " not found."));
|
|
3361
|
+
}
|
|
3359
3362
|
}
|
|
3360
3363
|
}
|
|
3361
3364
|
};
|
|
@@ -3386,6 +3389,7 @@ var Animator = /** @class */ (function () {
|
|
|
3386
3389
|
}
|
|
3387
3390
|
}
|
|
3388
3391
|
else {
|
|
3392
|
+
console.warn("State Machine with name ".concat(animatables[i], " not found."));
|
|
3389
3393
|
// In order to maintain compatibility with current behavior, if a state machine is not found
|
|
3390
3394
|
// we look for an animation with the same name
|
|
3391
3395
|
this.initLinearAnimations([animatables[i]], playing);
|