remult 0.17.0-exp.5 → 0.17.0-exp.6

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.
@@ -34,7 +34,7 @@ export class LiveQueryPublisher {
34
34
  };
35
35
  for (const id of q.ids.filter(y => !currentIds.includes(y))) {
36
36
  let c = changes.find(c => c.oldId == id);
37
- if (id != c.oldId || !currentIds.includes(c.id))
37
+ if (c === undefined || id != c.oldId || !currentIds.includes(c.id))
38
38
  sendMessage({
39
39
  type: "remove",
40
40
  data: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "remult",
3
- "version": "0.17.0-exp.5",
3
+ "version": "0.17.0-exp.6",
4
4
  "description": "A CRUD framework for full-stack TypeScript",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -42,7 +42,7 @@ var LiveQueryPublisher = /** @class */ (function () {
42
42
  };
43
43
  var _loop_2 = function (id) {
44
44
  var c = changes.find(function (c) { return c.oldId == id; });
45
- if (id != c.oldId || !currentIds.includes(c.id))
45
+ if (c === undefined || id != c.oldId || !currentIds.includes(c.id))
46
46
  sendMessage({
47
47
  type: "remove",
48
48
  data: {