You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-1Lines changed: 8 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,4 +47,11 @@ See `src/example_usage.ts` for a runnable example of the above usage.
47
47
You can run this example with `npm run example`.
48
48
49
49
You may also register to specific account updates using `connection.onAccountChange` in the solana web3 API, then
50
-
use the methods in `index.ts` to parse the on-chain data structures into Javascript-friendly objects.
50
+
use the methods in `index.ts` to parse the on-chain data structures into Javascript-friendly objects.
51
+
52
+
## Releases
53
+
54
+
In order to release a new version of this library and publish it to npm, follow these steps:
55
+
1. Update `CHANGELOG.md` with a description of the changes in this version.
56
+
2. Run `npm version <new version number>`. This command will update the version of the package, tag the branch in git, and push your changes to github.
57
+
3. Once your change is merged into `main`, a github action will automatically publish a new version of the package to npm.
0 commit comments