diff --git a/blake2b.js b/blake2b.js index da12f0e..5cd0435 100644 --- a/blake2b.js +++ b/blake2b.js @@ -1,6 +1,6 @@ // File generated by build.js, do not edit -import blakejs from 'blakejs' +import blakejs from '@rvagg/blake2' import { from } from 'multiformats/hashes/hasher' import { bytes } from 'multiformats' diff --git a/blake2s.js b/blake2s.js index c82e6d5..956914e 100644 --- a/blake2s.js +++ b/blake2s.js @@ -1,6 +1,6 @@ // File generated by build.js, do not edit -import blakejs from 'blakejs' +import blakejs from '@rvagg/blake2' import { from } from 'multiformats/hashes/hasher' import { bytes } from 'multiformats' diff --git a/build.js b/build.js index d31667e..6c2ee8d 100755 --- a/build.js +++ b/build.js @@ -10,7 +10,7 @@ const __dirname = path.dirname(__filename) async function write (mode) { let contents = `// File generated by build.js, do not edit -import blakejs from 'blakejs' +import blakejs from '@rvagg/blake2' import { from } from 'multiformats/hashes/hasher' import { bytes } from 'multiformats' diff --git a/package.json b/package.json index 6672f6c..d7bb71f 100644 --- a/package.json +++ b/package.json @@ -46,6 +46,7 @@ "standard": "^14.3.4" }, "dependencies": { + "@rvagg/blake2": "^0.0.1", "blakejs": "^1.1.0", "multiformats": "^4.2.0" },