spice-js 2.5.27 → 2.5.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -448,12 +448,12 @@ class SpiceModel {
448
448
  })();
449
449
  }
450
450
 
451
- query(query) {
451
+ query(query, scope) {
452
452
  var _this2 = this;
453
453
 
454
454
  return _asyncToGenerator(function* () {
455
455
  try {
456
- var results = yield _this2.database.query(query);
456
+ var results = yield _this2.database.query(query, scope);
457
457
  return results;
458
458
  } catch (error) {
459
459
  throw error;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "spice-js",
3
- "version": "2.5.27",
3
+ "version": "2.5.28",
4
4
  "description": "spice",
5
5
  "main": "build/index.js",
6
6
  "repository": {