@sprucelabs/data-stores 28.5.98 → 28.5.100

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.
@@ -274,7 +274,7 @@ export default class AbstractStore extends AbstractMutexer {
274
274
  yield this.lock(mutexKey);
275
275
  try {
276
276
  const notFoundHandler = () => __awaiter(this, void 0, void 0, function* () {
277
- const created = yield this.createOne(updates, Object.assign(Object.assign({}, options), { shouldIncludePrivateFields: true }));
277
+ const created = yield this.createOne(updates, Object.assign(Object.assign({}, options), { shouldIncludePrivateFields: options === null || options === void 0 ? void 0 : options.shouldIncludePrivateFields }));
278
278
  //@ts-ignore
279
279
  return created;
280
280
  });
@@ -276,7 +276,7 @@ class AbstractStore extends AbstractMutexer_1.default {
276
276
  await this.lock(mutexKey);
277
277
  try {
278
278
  const notFoundHandler = async () => {
279
- const created = await this.createOne(updates, Object.assign(Object.assign({}, options), { shouldIncludePrivateFields: true }));
279
+ const created = await this.createOne(updates, Object.assign(Object.assign({}, options), { shouldIncludePrivateFields: options === null || options === void 0 ? void 0 : options.shouldIncludePrivateFields }));
280
280
  //@ts-ignore
281
281
  return created;
282
282
  };
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "28.5.98",
6
+ "version": "28.5.100",
7
7
  "files": [
8
8
  "build/**/*",
9
9
  "!build/__tests__",
@@ -67,8 +67,8 @@
67
67
  "@seald-io/nedb": "^4.1.1",
68
68
  "@sprucelabs/error": "^6.0.593",
69
69
  "@sprucelabs/globby": "^2.0.502",
70
- "@sprucelabs/schema": "^31.0.78",
71
- "@sprucelabs/spruce-skill-utils": "^31.2.85",
70
+ "@sprucelabs/schema": "^31.0.79",
71
+ "@sprucelabs/spruce-skill-utils": "^31.2.86",
72
72
  "just-clone": "^6.2.0",
73
73
  "lodash": "^4.17.21",
74
74
  "mongodb": "^6.15.0"
@@ -79,7 +79,7 @@
79
79
  "@sprucelabs/resolve-path-aliases": "^2.0.538",
80
80
  "@sprucelabs/semantic-release": "^5.0.2",
81
81
  "@sprucelabs/test": "^9.0.77",
82
- "@sprucelabs/test-utils": "^5.5.37",
82
+ "@sprucelabs/test-utils": "^5.5.38",
83
83
  "@types/lodash": "^4.17.16",
84
84
  "@types/node": "^22.14.0",
85
85
  "chokidar-cli": "^3.0.0",