We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
e.g., passing in hashAlg has no effect,
hashAlg
const Hash = await require('pure-ipfs-only-hash') const data = Buffer.from('hello world\n') hashAlg = 'sha2-256' cidVersion = 0 await Hash.of(data, {cidVersion, hashAlg}) # 'QmT78zSuBmuS4z925WZfrqQ1qHaJ56DQaTfyMUF7F8ff5o' # ... but hashAlg = 'blake2b-8' await Hash.of(data, {cidVersion, hashAlg}) # 'QmT78zSuBmuS4z925WZfrqQ1qHaJ56DQaTfyMUF7F8ff5o'
even though the options object of ipfs-unixfs-importer is supported. For example, setting cidVersion = 1 works as expected.
ipfs-unixfs-importer
cidVersion = 1
Should I be using js-multiformats instead?
js-multiformats
The text was updated successfully, but these errors were encountered:
No branches or pull requests
e.g., passing in
hashAlg
has no effect,even though the options object of
ipfs-unixfs-importer
is supported. For example, settingcidVersion = 1
works as expected.Should I be using
js-multiformats
instead?The text was updated successfully, but these errors were encountered: