Comparing version 7.5.0 to 7.6.0
@@ -500,4 +500,7 @@ 'use strict'; | ||
run(request, callback) { | ||
run(request /* options, callback */) { | ||
const options = arguments.length === 3 ? arguments[1] : {}; | ||
const callback = arguments.length === 3 ? arguments[2] : arguments[1]; | ||
// Extract table name from ReQL object | ||
@@ -515,6 +518,6 @@ | ||
return this._run(request, table, 'run', null, callback); | ||
return this._run(request, options, table, 'run', null, callback); | ||
} | ||
_run(request, table, action, inputs, callback, next) { | ||
_run(request, options, table, action, inputs, callback, next) { | ||
@@ -521,0 +524,0 @@ if (!this._connection) { |
@@ -398,3 +398,3 @@ 'use strict'; | ||
return this._db._run(request, this.name, action, inputs, callback, next); | ||
return this._db._run(request, {}, this.name, action, inputs, callback, next); | ||
} | ||
@@ -401,0 +401,0 @@ |
{ | ||
"name": "penseur", | ||
"description": "Lightweight RethinkDB wrapper", | ||
"version": "7.5.0", | ||
"version": "7.6.0", | ||
"author": "Eran Hammer <eran@hammer.io> (http://hueniverse.com)", | ||
@@ -6,0 +6,0 @@ "repository": "git://github.com/hueniverse/penseur", |
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
57567
1486