multiformats
Advanced tools
Comparing version 0.0.9 to 0.0.10
{ | ||
"name": "multiformats", | ||
"version": "0.0.9", | ||
"version": "0.0.10", | ||
"description": "Interface for multihash, multicodec, multibase and CID.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -17,3 +17,3 @@ # multiformats | ||
const { multihash, multicodec, CID } = require('multiformats')() | ||
const sha2 = require('@multiformats/sha2') | ||
const sha2 = require('multiformats/hashes/sha2') | ||
const dagcbor = require('@ipld/dag-cbor') | ||
@@ -65,2 +65,3 @@ multihash.add(sha2) | ||
| `sha2-256`, `sha2-512` | `require('multiformats/hashes/sha2')` | [multiformats/js-multiformats](https://github.com/multiformats/js-multiformats/tree/master/hashes) | | ||
| `sha3-224`, `sha3-256`, `sha3-384`,`sha3-512`, `shake-128`, `shake-256`, `keccak-224`, `keccak-256`, `keccak-384`, `keccak-512` | `require('@multiformats/sha3')` | [multiformats/js-sha3](https://github.com/multiformats/js-sha3) | | ||
@@ -67,0 +68,0 @@ ## Codec Implementations (multicodec) |
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
58675
161