@xmtp/wasm-bindings 0.0.2 → 0.0.4
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 +7 -18
- package/dist/bindings_wasm.d.ts +557 -592
- package/dist/bindings_wasm.js +1623 -1753
- package/dist/bindings_wasm_bg.wasm +0 -0
- package/dist/bindings_wasm_bg.wasm.d.ts +222 -223
- package/dist/snippets/diesel-wasm-sqlite-36e85657e47f3be3/src/js/sqlite3-diesel.js +1 -0
- package/dist/snippets/diesel-wasm-sqlite-36e85657e47f3be3/src/js/sqlite3-opfs-async-proxy.js +1 -692
- package/dist/snippets/diesel-wasm-sqlite-36e85657e47f3be3/src/js/sqlite3.wasm +0 -0
- package/package.json +9 -5
- package/dist/snippets/diesel-wasm-sqlite-36e85657e47f3be3/src/js/wa-sqlite-diesel-bundle.js +0 -14738
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xmtp/wasm-bindings",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.4",
|
|
4
|
+
"type": "module",
|
|
4
5
|
"license": "MIT",
|
|
5
6
|
"description": "WASM bindings for the libXMTP rust library",
|
|
6
7
|
"keywords": [
|
|
@@ -23,12 +24,14 @@
|
|
|
23
24
|
"directory": "bindings_wasm"
|
|
24
25
|
},
|
|
25
26
|
"scripts": {
|
|
26
|
-
"build": "yarn clean && yarn build:web && yarn clean:release",
|
|
27
|
+
"build": "yarn clean && yarn build:web && yarn build:copy && yarn clean:release",
|
|
27
28
|
"build:web": "cargo xtask build BindingsWasm --out-dir ./dist --plain -- --release",
|
|
29
|
+
"build:copy": "node scripts/copyFiles.js",
|
|
28
30
|
"clean:release": "rm -f ./dist/package.json",
|
|
29
31
|
"clean": "rm -rf ./dist",
|
|
30
|
-
"
|
|
31
|
-
"lint": "cargo clippy --all-features --target wasm32-unknown-unknown --no-deps -- -Dwarnings",
|
|
32
|
+
"lint": "yarn lint:clippy && yarn lint:fmt",
|
|
33
|
+
"lint:clippy": "cargo clippy --all-features --target wasm32-unknown-unknown --no-deps -- -Dwarnings",
|
|
34
|
+
"lint:fmt": "cargo fmt --check",
|
|
32
35
|
"prepublishOnly": "yarn build",
|
|
33
36
|
"test": "wasm-pack test --chrome --headless"
|
|
34
37
|
},
|
|
@@ -52,8 +55,9 @@
|
|
|
52
55
|
"registry": "https://registry.npmjs.org/"
|
|
53
56
|
},
|
|
54
57
|
"devDependencies": {
|
|
58
|
+
"@sqlite.org/sqlite-wasm": "^3.47.0-build1",
|
|
55
59
|
"binaryen": "^120.0.0",
|
|
56
|
-
"wasm-pack": "^0.13.
|
|
60
|
+
"wasm-pack": "^0.13.1"
|
|
57
61
|
},
|
|
58
62
|
"packageManager": "yarn@4.5.1"
|
|
59
63
|
}
|