orbit-db-eventstore
Advanced tools
Comparing version 1.1.0 to 1.1.1
{ | ||
"name": "orbit-db-eventstore", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Eventlog for orbit-db", | ||
@@ -5,0 +5,0 @@ "main": "src/EventStore.js", |
@@ -9,7 +9,7 @@ 'use strict' | ||
get() { | ||
return this._index.values ? this._index.values : [] | ||
return this._index ? this._index : [] | ||
} | ||
updateIndex(oplog) { | ||
this._index = oplog | ||
this._index = oplog.values | ||
} | ||
@@ -16,0 +16,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
1269595