-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Labels
Description
Summary:
In version 0.3.1, DotLottieWC allowed setting a custom WebAssembly file via the setWasmUrl export. In the latest version, this functionality is no longer available or documented, breaking local WASM usage and it is taking from cdn.
Steps to Reproduce:
- In version 0.3.1, we were able to set the .wasm file locally as shown:
import { setWasmUrl } from './dotlottie-wc.js';
setWasmUrl('./js/dotlottie/dotlottie-player.wasm');
- After upgrading to the latest version (e.g., @lottiefiles/dotlottie-wc@latest), the setWasmUrl export is missing:
Latest version does NOT include setWasmUrl
export { a as DotLottieWC } from './chunk-F5EFWER6.js';
Expected Behavior:
The setWasmUrl API should be retained or replaced with an alternative documented method to allow loading .wasm from a local path, especially for environments where CDN usage is restricted.