-
Notifications
You must be signed in to change notification settings - Fork 8
Pushing docknetwork libraries to latest version 0.25 #20
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
Pushing docknetwork libraries to latest version 0.25 #20
Conversation
6423bb2 to
1446a0a
Compare
Also adds node v22 and removes v21 from the CI build matrix
This update aligns with API changes in the underlying crypto library (version 0.25) that now requires explicit specification of hash functions for improved type safety and flexibility.
1446a0a to
816a03b
Compare
|
Hi @lovesh, last PR to update this repo to the last dependency versions from the I'm working on testing |
|
@lovesh Update: Just finished testing the crypto-wasm-ts library after these updates, and all tests succeed with no changes needed. |
| strategy: | ||
| matrix: | ||
| node-version: [22.x, 24.x] | ||
| node-version: [22.x, 24.x, 25.x] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it was only testing against the two last TLS versions. We should also test against the last version, and update it regularly. I think 22.x could be dropped as well, but I left this out for now.
| - uses: actions/checkout@v5 | ||
| - name: Install WASM-Pack | ||
| run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh | ||
| - uses: actions/setup-node@v4 | ||
| - uses: actions/setup-node@v6 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not necessary for this PR, but it's always nice to clean up when given the chance.
|
@lanterno Thank you for this. |

Description
With the merge of the last two PRs #17, and #19 the project is now ready to run with Rust 1.89 (latest stable version as of the time of writing).
In the PR, I update Rust version, and also update all the WASM libraries to the latest versions.
Notice the change in the script file
scripts/build-package.shwhere this change arises from a very subtle change in the workings of the librarywasm-bindgen.This encourages a rethink on this part of the build script to avoid future bugs.
Next steps
Update the crypto-wasm-ts library
PR checklist
yarn install; yarn build; yarn testto make sure everything runs as before.Does this PR introduce a breaking change?
Which merge strategy will you use?