@xmtp/wasm-bindings 1.7.0-rc2 → 1.8.0
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 +14 -6
- package/dist/bindings_wasm.d.ts +520 -384
- package/dist/bindings_wasm.js +552 -218
- package/dist/bindings_wasm_bg.wasm +0 -0
- package/dist/bindings_wasm_bg.wasm.d.ts +86 -76
- package/package.json +42 -29
package/README.md
CHANGED
|
@@ -14,12 +14,20 @@
|
|
|
14
14
|
- `yarn build`: Build a release version of the WASM bindings for the current
|
|
15
15
|
platform
|
|
16
16
|
- `yarn lint`: Run cargo clippy and fmt checks
|
|
17
|
-
- `yarn check
|
|
18
|
-
|
|
17
|
+
- `yarn format:check`: Check formatting of integration tests
|
|
18
|
+
- `yarn typecheck`: Run typecheck on integration tests
|
|
19
|
+
- `yarn test`: Run cargo test with `wasm32-unknown-unknown` target
|
|
20
|
+
- `yarn test:integration`: Run integration tests using vitest
|
|
21
|
+
|
|
22
|
+
### macOS commands
|
|
23
|
+
|
|
24
|
+
These commands require Homebrew and `llvm` to be installed. See above.
|
|
25
|
+
|
|
26
|
+
- `yarn check:macos`: Run cargo check
|
|
27
|
+
- `yarn lint:macos`: Run cargo clippy and fmt checks
|
|
28
|
+
- `yarn build:macos`: Build a release version of the WASM bindings
|
|
29
|
+
- `yarn test:integration:macos`: Run integration tests using vitest
|
|
19
30
|
|
|
20
31
|
# Publishing
|
|
21
32
|
|
|
22
|
-
To release a new version of the bindings, update the version in `package.json`
|
|
23
|
-
with the appropriate semver value and add an entry to the CHANGELOG.md file.
|
|
24
|
-
Once merged, manually trigger the `Release WASM Bindings` workflow to build and
|
|
25
|
-
publish the bindings.
|
|
33
|
+
To release a new version of the bindings, update the version in `package.json` with the appropriate semver value. Once merged, manually trigger the `Release WASM Bindings` workflow to build and publish the bindings.
|