cojson-core-wasm 0.18.15 → 0.18.17
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/edge-lite.js +9 -0
- package/package.json +2 -1
package/edge-lite.js
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from "./public/cojson_core_wasm.js";
|
|
2
|
+
|
|
3
|
+
import __wbg_init from "./public/cojson_core_wasm.js";
|
|
4
|
+
// ?module is to support the vercel edge runtime
|
|
5
|
+
import wasm from "./public/cojson_core_wasm.wasm?module";
|
|
6
|
+
|
|
7
|
+
export async function initialize() {
|
|
8
|
+
return await __wbg_init({ module_or_path: wasm });
|
|
9
|
+
}
|
package/package.json
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cojson-core-wasm",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.18.
|
|
4
|
+
"version": "0.18.17",
|
|
5
5
|
"files": [
|
|
6
6
|
"public/cojson_core_wasm.js",
|
|
7
7
|
"public/cojson_core_wasm.d.ts",
|
|
8
8
|
"public/cojson_core_wasm.wasm.js",
|
|
9
9
|
"public/cojson_core_wasm.wasm.d.ts",
|
|
10
10
|
"public/cojson_core_wasm.wasm",
|
|
11
|
+
"edge-lite.js",
|
|
11
12
|
"index.js",
|
|
12
13
|
"index.d.ts"
|
|
13
14
|
],
|