@xmtp/wasm-bindings 0.0.16 → 0.0.18
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 +12 -4
- package/dist/bindings_wasm.d.ts +299 -189
- package/dist/bindings_wasm.js +1037 -471
- package/dist/bindings_wasm_bg.wasm +0 -0
- package/dist/bindings_wasm_bg.wasm.d.ts +226 -176
- package/package.json +9 -5
- package/dist/snippets/sqlite-web-90f8afa7b0cd2303/src/js/sqlite3-diesel.js +0 -1
- package/dist/snippets/sqlite-web-90f8afa7b0cd2303/src/js/sqlite3-opfs-async-proxy.js +0 -1
- package/dist/snippets/sqlite-web-90f8afa7b0cd2303/src/js/sqlite3.wasm +0 -0
package/README.md
CHANGED
|
@@ -1,15 +1,23 @@
|
|
|
1
1
|
# WASM bindings for the libXMTP rust library
|
|
2
2
|
|
|
3
3
|
> [!CAUTION]
|
|
4
|
-
> These bindings are currently in alpha and under heavy development. The API is
|
|
4
|
+
> These bindings are currently in alpha and under heavy development. The API is
|
|
5
|
+
> subject to change and it is not yet recommended for production use.
|
|
5
6
|
|
|
6
7
|
## Useful commands
|
|
7
8
|
|
|
9
|
+
Requires the emscripten toolchain to build
|
|
10
|
+
|
|
8
11
|
- `yarn`: Installs all dependencies (required before building)
|
|
9
|
-
- `yarn build`: Build a release version of the WASM bindings for the current
|
|
12
|
+
- `yarn build`: Build a release version of the WASM bindings for the current
|
|
13
|
+
platform
|
|
10
14
|
- `yarn lint`: Run cargo clippy and fmt checks
|
|
11
|
-
- `yarn check:macos`: Run cargo check for macOS (requires Homebrew and `llvm` to
|
|
15
|
+
- `yarn check:macos`: Run cargo check for macOS (requires Homebrew and `llvm` to
|
|
16
|
+
be installed)
|
|
12
17
|
|
|
13
18
|
# Publishing
|
|
14
19
|
|
|
15
|
-
To release a new version of the bindings, update the version in `package.json`
|
|
20
|
+
To release a new version of the bindings, update the version in `package.json`
|
|
21
|
+
with the appropriate semver value and add an entry to the CHANGELOG.md file.
|
|
22
|
+
Once merged, manually trigger the `Release WASM Bindings` workflow to build and
|
|
23
|
+
publish the bindings.
|