@xmtp/wasm-bindings 0.0.3 → 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/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "@xmtp/wasm-bindings",
3
- "version": "0.0.3",
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,8 +24,9 @@
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
32
  "lint": "yarn lint:clippy && yarn lint:fmt",
@@ -53,6 +55,7 @@
53
55
  "registry": "https://registry.npmjs.org/"
54
56
  },
55
57
  "devDependencies": {
58
+ "@sqlite.org/sqlite-wasm": "^3.47.0-build1",
56
59
  "binaryen": "^120.0.0",
57
60
  "wasm-pack": "^0.13.1"
58
61
  },