Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hotfix/0.8.1 #357

Merged
merged 10 commits into from
Sep 28, 2020
Prev Previous commit
Next Next commit
Updated wasm publishing instructions
jstuczyn committed Sep 16, 2020

Verified

This commit was signed with the committer’s verified signature.
alexvuong Alex Vuong
commit 689c4fc66cdb3691a2cd2e4bd96abc394251b7c3
5 changes: 2 additions & 3 deletions clients/webassembly/README.md
Original file line number Diff line number Diff line change
@@ -38,6 +38,5 @@ To be clear, this is not something that most JS developers need to worry about,
If you're a Nym platform developer who's made changes to the Rust (or JS) files and wants to re-publish the package to NPM, here's how you do it:

1. `wasm-pack build --scope nymproject` builds the wasm binaries into the `pkg` directory (not in source control)
2. copy `client.js` into the `pkg` folder and update `package.json` manifest with the provided one
3. bump version numbers as necessary for SemVer
4. `wasm-pack publish --access=public` will publish your changed package to NPM
2. bump version numbers as necessary for SemVer
3. `wasm-pack publish --access=public` will publish your changed package to NPM