@signaldb/core 2.0.0-beta.20 → 2.0.0-beta.21
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.
- package/dist/index29.cjs.js +1 -1
- package/dist/index29.mjs +1 -1
- package/package.json +1 -1
package/dist/index29.cjs.js
CHANGED
|
@@ -362,7 +362,7 @@ var Collection = class Collection extends require_EventEmitter.default {
|
|
|
362
362
|
selector,
|
|
363
363
|
options
|
|
364
364
|
}) - 1);
|
|
365
|
-
if (newListeners === 0
|
|
365
|
+
if (newListeners === 0) {
|
|
366
366
|
this.backend.unregisterQuery(selector, options || {});
|
|
367
367
|
this.settledQueriesSet.delete(require_queryId.default(selector, options));
|
|
368
368
|
}
|
package/dist/index29.mjs
CHANGED
|
@@ -362,7 +362,7 @@ var Collection = class Collection extends EventEmitter {
|
|
|
362
362
|
selector,
|
|
363
363
|
options
|
|
364
364
|
}) - 1);
|
|
365
|
-
if (newListeners === 0
|
|
365
|
+
if (newListeners === 0) {
|
|
366
366
|
this.backend.unregisterQuery(selector, options || {});
|
|
367
367
|
this.settledQueriesSet.delete(queryId(selector, options));
|
|
368
368
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@signaldb/core",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
3
|
+
"version": "2.0.0-beta.21",
|
|
4
4
|
"description": "SignalDB is a client-side database that provides a simple MongoDB-like interface to the data with first-class typescript support to achieve an optimistic UI. Data persistence can be achieved by using storage providers that store the data through a JSON interface to places such as localStorage.",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "rimraf dist && vite build",
|