@swmansion/smelter-browser-render 0.2.0-rc.0 → 0.2.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/dist/index.d.ts +1 -1
- package/dist/index.js +1206 -1204
- package/dist/smelter.wasm +0 -0
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { Api } from '@swmansion/smelter';
|
|
|
4
4
|
* Loads and initializes wasm module required for the smelter to work.
|
|
5
5
|
* @param wasmModuleUrl {string} - An URL for `smelter.wasm` file. The file is located in `dist` folder.
|
|
6
6
|
*/
|
|
7
|
-
declare
|
|
7
|
+
declare const loadWasmModule: (wasmModuleUrl: string) => Promise<void>;
|
|
8
8
|
|
|
9
9
|
type Resolution = Api.Resolution;
|
|
10
10
|
type ImageSpec = Required<Pick<Api.ImageSpec, 'asset_type' | 'url'>>;
|