motely-wasm 15.4.0 → 16.0.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/README.md +2 -2
- package/index.mjs +22 -944
- package/jaml.schema.json +1 -1
- package/package.json +1 -1
- package/types/bindings.g.d.ts +178 -0
package/README.md
CHANGED
|
@@ -71,13 +71,13 @@ For environments where bundling 11 MB of WASM into every deployment artifact is
|
|
|
71
71
|
|
|
72
72
|
```ts
|
|
73
73
|
const mod = await import(
|
|
74
|
-
"https://unpkg.com/motely-wasm@
|
|
74
|
+
"https://unpkg.com/motely-wasm@16.0.0/index.mjs"
|
|
75
75
|
);
|
|
76
76
|
await mod.default.boot();
|
|
77
77
|
const { MotelyWasm, MotelyWasmEvents } = mod;
|
|
78
78
|
```
|
|
79
79
|
|
|
80
|
-
Equivalent jsDelivr URL: `https://cdn.jsdelivr.net/npm/motely-wasm@
|
|
80
|
+
Equivalent jsDelivr URL: `https://cdn.jsdelivr.net/npm/motely-wasm@16.0.0/index.mjs`. **Pin the version** — `@latest` defeats long-term browser caching.
|
|
81
81
|
|
|
82
82
|
### Content Security Policy
|
|
83
83
|
|