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
Problem
=======
DSNP 1.2.0 updated to use multiformat hashes instead of the pre-1.2.0
object format.
Closes: #19
Solution
========
- Removed the old way completely as it was in limited use.
- Updated to the new setup for validating and creating
- Added some additional utilities around hashing.
Double Checks:
---------------
- [x] Did you update the changelog?
- [x] Any new modules need to be exported?
- [x] Are new methods in the right module?
- [x] Do you have good documentation on exported methods?
Change summary:
---------------
* Lots of tests to update
* Added the new multiformat dependencies
* Removed js-sha3 dependency
* Updated how jest runs tests some to support TextEncoder
* Now compiles the esm version instead of the commonjs version as most
things support both now.
Steps to Verify:
----------------
This is not so easy, as there are not many sites out there to build
multiformat hashes. I suggest looking closely at the tests, and perhaps
creating some against it yourself.
The DSNP Spec is preparing to release v1.2.0 with a few minor changes to the Activity Content portion of the Spec.
Hash
Data structure DIP-210: Content Hashing Algorithm Changes spec#210published
field DIP-158 Makepublished
required in Activity Content Type Note spec#158The text was updated successfully, but these errors were encountered: