hypercore-xsalsa20-onwrite-hook
Advanced tools
Comparing version 0.1.3 to 0.2.0
@@ -23,4 +23,3 @@ const { keyPair } = require('hypercore-crypto') | ||
replicate(feed, copy.replicate({ live: true }), other.replicate({ live: true }), { | ||
userData: Buffer.from([0xfa, 0xce]), | ||
replicate(feed, replicate(copy, { live: true }), replicate(other, { live: true }), { | ||
live: true | ||
@@ -27,0 +26,0 @@ }) |
{ | ||
"name": "hypercore-xsalsa20-onwrite-hook", | ||
"version": "0.1.3", | ||
"version": "0.2.0", | ||
"description": "A write hook to decrypt data using a XSalsa20 cipher into a hypercore storage when replicating from peers", | ||
@@ -18,4 +18,4 @@ "main": "index.js", | ||
"devDependencies": { | ||
"hypercore": "^7.0.0", | ||
"hypercore-replicate": "^0.1.0", | ||
"hypercore": "^8.0.0", | ||
"hypercore-replicate": "^0.2.0", | ||
"random-access-memory": "^3.1.1", | ||
@@ -22,0 +22,0 @@ "xsalsa20-encoding": "^0.1.0" |
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
6470
77