@classytic/repo-core 0.27.0 → 0.27.1

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.
@@ -140,7 +140,9 @@ var CacheEngine = class {
140
140
  status: "wait",
141
141
  promise: existing.promise
142
142
  };
143
- this.pending.set(key, Promise.withResolvers());
143
+ const deferred = Promise.withResolvers();
144
+ deferred.promise.catch(() => {});
145
+ this.pending.set(key, deferred);
144
146
  return { status: "claimed" };
145
147
  }
146
148
  /** Resolve an in-flight claim with the fresh result + clear it. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@classytic/repo-core",
3
- "version": "0.27.0",
3
+ "version": "0.27.1",
4
4
  "description": "Driver-agnostic repository primitives: hooks, Filter IR, operations, pagination, cache contract. Foundation for mongokit, sqlitekit, pgkit, and prismakit. Lean by design — no plugins ship here; each kit owns its own.",
5
5
  "type": "module",
6
6
  "sideEffects": false,