Comparing version 1.2.8 to 1.2.9
{ | ||
"name": "ipfs-log", | ||
"version": "1.2.8", | ||
"version": "1.2.9", | ||
"description": "Append-only log for IPFS", | ||
@@ -5,0 +5,0 @@ "main": "src/log.js", |
@@ -44,2 +44,3 @@ 'use strict'; | ||
const current = Lazy(this._currentBatch).difference(this._items).toArray(); | ||
const diff = _.differenceWith(other.items, current, Node.equals); | ||
const others = _.differenceWith(other.items, this._items, Node.equals); | ||
@@ -60,3 +61,3 @@ const final = _.unionWith(current, others, Node.equals); | ||
}); | ||
return Promise.all(promises).then((r) => this); | ||
return Promise.all(promises).then((r) => diff); | ||
} | ||
@@ -63,0 +64,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
1617463
43387