ps-direct-sdk
Advanced tools
Comparing version 3.0.0 to 3.0.1
@@ -64,2 +64,7 @@ "use strict"; | ||
return hydrateString(db, local, x.join("")); | ||
}) | ||
.consume((err, hydratedString, push) => { | ||
if(err && err.type === "DefaultAsKeyNotFound") push(null, err.message); | ||
else if(err) push(err); | ||
else push(null, hydratedString); | ||
}); | ||
@@ -66,0 +71,0 @@ }); |
{ | ||
"name": "ps-direct-sdk", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "Directly ", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -86,5 +86,4 @@ "use strict"; | ||
.flatMap(hydrateKey({}, '${key;null}')) | ||
.pull((err, res) => { | ||
assert.equal(err.type, "DefaultAsKeyNotFound"); | ||
assert.equal(err.message, "null"); | ||
.pull((err, value) => { | ||
assert.equal(value, "null"); | ||
done(); | ||
@@ -91,0 +90,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
33552
762