lmdb-store
Advanced tools
Comparing version 0.2.0 to 0.2.1
@@ -148,3 +148,3 @@ const fs = require('fs-extra') | ||
} catch(error) { | ||
return handleError(error, this, txn, () => this.get(id)) | ||
return handleError(error, this, txn, () => this.get(id, copy)) | ||
} | ||
@@ -184,3 +184,3 @@ }, | ||
throw error // if we are in a transaction, the whole transaction probably needs to restart | ||
return handleError(error, this, txn, () => this.put(id, value)) | ||
return handleError(error, this, txn, () => this.putSync(id, value)) | ||
} | ||
@@ -206,3 +206,3 @@ }, | ||
throw error // if we are in a transaction, the whole transaction probably needs to restart | ||
return handleError(error, this, txn, () => this.remove(id)) | ||
return handleError(error, this, txn, () => this.removeSync(id)) | ||
} | ||
@@ -209,0 +209,0 @@ }, |
{ | ||
"name": "lmdb-store", | ||
"author": "Kris Zyp", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "Simple, effiecent, scalable data store wrapper for LDMB", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
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
100093