wasm-vips 0.0.7 → 0.0.8

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 CHANGED
@@ -49,12 +49,13 @@ yarn add wasm-vips
49
49
  ### Browser
50
50
 
51
51
  Requires `vips.js`, `vips.wasm` and `vips.worker.js` to be served from
52
- the same directory.
52
+ the same directory. Additionally, when using ES6 modules, it's necessary
53
+ to also serve the `vips-es6.js` and `vips-es6.worker.js` files.
53
54
 
54
55
  Since wasm-vips requires [the `SharedArrayBuffer` API](
55
56
  https://caniuse.com/sharedarraybuffer), the website needs to opt-in to
56
57
  a cross-origin isolated state, by serving the following HTTP headers on
57
- the main document:
58
+ both the main document and worker script (`*.worker.js`):
58
59
 
59
60
  ```http
60
61
  Cross-Origin-Embedder-Policy: require-corp