Comparing version 0.13.3 to 0.14.0
@@ -251,4 +251,2 @@ var naan = require('naan'); | ||
}); | ||
} else if (namedResults.length == 1 && !resultsAreObjects) { | ||
namedResults = namedResults[0]; | ||
} | ||
@@ -255,0 +253,0 @@ } |
@@ -11,3 +11,3 @@ { | ||
"description": "A thin and familiar layer between node and neo4j's REST api.", | ||
"version": "0.13.3", | ||
"version": "0.14.0", | ||
"repository": { | ||
@@ -28,3 +28,3 @@ "url": "https://github.com/brikteknologier/seraph" | ||
"request": "^2.36.0", | ||
"seraph-core": "^1.0.1", | ||
"seraph-core": "^1.1.0", | ||
"thunkify": "^2.1.2", | ||
@@ -31,0 +31,0 @@ "underscore": "^1.8.3" |
@@ -200,5 +200,3 @@ # Seraph.js | ||
representing them (`[2,3]` rather than `"2,3"`). | ||
* `callback` - (err, result). Result is an array of objects, if the number of | ||
objects is more than one. If the result is a single object, it is returned | ||
**(not an array)**. | ||
* `callback` - (err, result). Result is an array of objects. | ||
@@ -205,0 +203,0 @@ __Example__ |
@@ -530,4 +530,4 @@ var db = require('./util/database').db(); | ||
assert(!e); | ||
assert(!Array.isArray(res)); | ||
assert(res.totalNodes); | ||
assert(Array.isArray(res)); | ||
assert(res[0].totalNodes); | ||
done() | ||
@@ -534,0 +534,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
186161
4013
1457
Updatedseraph-core@^1.1.0