@xmtp/wasm-bindings 0.0.1 → 0.0.3
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 +509 -531
- package/dist/bindings_wasm.js +2302 -2385
- package/dist/bindings_wasm_bg.wasm +0 -0
- package/dist/bindings_wasm_bg.wasm.d.ts +211 -210
- package/package.json +7 -3
package/README.md
CHANGED
|
@@ -1,21 +1,10 @@
|
|
|
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 subject to change and it is not yet recommended for production use.
|
|
4
5
|
|
|
5
|
-
|
|
6
|
+
## Useful commands
|
|
6
7
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
cd bindings_wasm
|
|
11
|
-
npm i
|
|
12
|
-
npm run build
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Test the WASM bindings from Node.js
|
|
16
|
-
|
|
17
|
-
Use the steps above to generate the bindings first.
|
|
18
|
-
|
|
19
|
-
```shell
|
|
20
|
-
node test.mjs
|
|
21
|
-
```
|
|
8
|
+
- `yarn`: Installs all dependencies (required before building)
|
|
9
|
+
- `yarn build`: Build a release version of the WASM bindings for the current platform
|
|
10
|
+
- `yarn lint`: Run cargo clippy and fmt checks
|