satori 0.0.39 → 0.0.40

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.
Files changed (2) hide show
  1. package/package.json +3 -2
  2. package/wasm.js +4 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "satori",
3
- "version": "0.0.39",
3
+ "version": "0.0.40",
4
4
  "description": "Enlightened library to convert HTML and CSS to SVG.",
5
5
  "module": "./dist/esm/index.js",
6
6
  "main": "./dist/esm/index.js",
@@ -8,7 +8,8 @@
8
8
  "type": "module",
9
9
  "license": "MPL-2.0",
10
10
  "files": [
11
- "dist/**"
11
+ "dist/**",
12
+ "wasm.js"
12
13
  ],
13
14
  "exports": {
14
15
  "./package.json": "./package.json",
package/wasm.js ADDED
@@ -0,0 +1,4 @@
1
+ import Satori, { init } from './dist/esm/index.wasm.js'
2
+
3
+ export default Satori
4
+ export { init }