@jcbuisson/express-x-client 3.1.7 → 3.1.8

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/package.json +1 -1
  2. package/src/client.mts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jcbuisson/express-x-client",
3
- "version": "3.1.7",
3
+ "version": "3.1.8",
4
4
  "type": "module",
5
5
  "description": "Client library for ExpressX framework",
6
6
  "main": "src/client.mts",
package/src/client.mts CHANGED
@@ -304,7 +304,7 @@ export function offlinePlugin(app) {
304
304
  })
305
305
  const predicate = wherePredicate(where)
306
306
  return from(liveQuery(() => db.values.filter(value => !value.__deleted__ && predicate(value)).toArray())).pipe(
307
- startWith(undefined),
307
+ // startWith(undefined),
308
308
  distinctUntilChanged((prev, curr) => {
309
309
  // Deep equality check to prevent unnecessary emissions (in particular on database write)
310
310
  return JSON.stringify(prev) === JSON.stringify(curr)