multiformats
Advanced tools
Comparing version 2.0.0 to 2.0.1
{ | ||
"name": "multiformats", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Interface for multihash, multicodec, multibase and CID.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -135,12 +135,4 @@ # multiformats | ||
to encode V0 into anything but base58btc. this means that you can't have | ||
deterministic hash keys without also requiring base58btc support, so we | ||
deterministic hash keys without also requiring base58btc support, so we | ||
removed this feature. | ||
* no longer accept bare multihash buffers as V0, only base58btc encoded strings | ||
or the complete set of parts with the multihash as the third argument. | ||
* The logic for treating these as V0 was problematic and could lead to | ||
unwanted errors. In practice, the places we need to handle V0 are known | ||
and we can move this logic there if necessary and then instantiate a CID | ||
with all the necessary args. | ||
* Some of the prior code relied on knowing the full set of possible base | ||
prefixes, which we can no longer do. | ||
* no more .toBaseEncodedString(), just toString() | ||
@@ -147,0 +139,0 @@ * no more .multibaseName |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
877940
146