Skip to content
Snippets Groups Projects
Commit 092b9439 authored by Richard T. Carback III's avatar Richard T. Carback III
Browse files

v0.3.19 - RPC Module

parent 9f7ef561
No related branches found
No related tags found
1 merge request!142RPC Module
......@@ -87,3 +87,50 @@ global.Go = class {
}
}
```
# NPM instructions
## Test options
### Link
Run this to make the package globally available:
```
npm link
```
Then in your app for testing:
```
npm link xxdk-wasm
```
### Pack (tarball)
```
npm pack
```
This will create a file like `xxdk-wasm-0.3.19.tgz`. Then you can
install it in your project as follows:
```
npm i ../xxdk-wasm/xxdk-wasm-0.3.19.tgz
```
Some tools cache (e.g., nextjs), and you'll need to remove that when
doing continuous updates between. You can do that in your repo with:
```
git clean -ffdx
#O
rm -rf .next/cache
```
## Publishing
```
npm login
npm publish
```
{
"name": "xxdk-wasm",
"version": "0.3.18",
"version": "0.3.19",
"description": "WebAssembly bindings for xxDK.",
"main": "dist/bundle.js",
"directories": {
......
......@@ -21,7 +21,7 @@ import (
)
// SEMVER is the current semantic version of xxDK WASM.
const SEMVER = "0.3.18"
const SEMVER = "0.3.19"
// Storage keys.
const (
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment