notherbase-fs 3.2.15 → 3.2.16

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.
Files changed (2) hide show
  1. package/models/spirit.js +2 -2
  2. package/package.json +1 -1
package/models/spirit.js CHANGED
@@ -66,10 +66,10 @@ export default class Spirit {
66
66
  * @param {String} service The name of the spirit.
67
67
  * @returns All spirits of the given name.
68
68
  */
69
- static recallAll = async (service) => {
69
+ static recallAll = async (service, extraQuery) => {
70
70
  let spirit = new Spirit();
71
71
 
72
- let found = await Spirit.db.find({ service: service });
72
+ let found = await Spirit.db.find({ service: service, ...extraQuery });
73
73
 
74
74
  if (found) {
75
75
  spirit.memory = found;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "notherbase-fs",
3
- "version": "3.2.15",
3
+ "version": "3.2.16",
4
4
  "description": "Functions to help make developing for NotherBase easier.",
5
5
  "exports": "./notherbase-fs.js",
6
6
  "scripts": {