From 689c4fc66cdb3691a2cd2e4bd96abc394251b7c3 Mon Sep 17 00:00:00 2001 From: jstuczyn Date: Wed, 16 Sep 2020 15:32:31 +0100 Subject: [PATCH] Updated wasm publishing instructions --- clients/webassembly/README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/clients/webassembly/README.md b/clients/webassembly/README.md index 7fcf221035..8235e6443c 100644 --- a/clients/webassembly/README.md +++ b/clients/webassembly/README.md @@ -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