@iobroker/db-objects-jsonl 4.0.0-alpha.49-20220121-e7aa4308 → 4.0.0-alpha.52-20220126-dad3d5b3

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.
@@ -348,7 +348,7 @@ class ObjectsInMemoryServer extends ObjectsInMemoryJsonlDB {
348
348
  )
349
349
  );
350
350
  }
351
- const res = objs.rows.map(obj => JSON.stringify(this.dataset[obj.value._id || obj.id]));
351
+ const res = objs.rows.map(obj => JSON.stringify(obj.value));
352
352
  handler.sendArray(responseId, res);
353
353
  }
354
354
  } else if (this.knownScripts[data[0]].func && data.length > 4) {
@@ -361,7 +361,7 @@ class ObjectsInMemoryServer extends ObjectsInMemoryJsonlDB {
361
361
  endkey: data[4],
362
362
  include_docs: true
363
363
  });
364
- const res = objs.rows.map(obj => JSON.stringify(this.dataset[obj.value._id || obj.id]));
364
+ const res = objs.rows.map(obj => JSON.stringify(obj.value));
365
365
 
366
366
  return void handler.sendArray(responseId, res);
367
367
  } else if (this.knownScripts[data[0]].redlock) {
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@iobroker/db-objects-jsonl",
3
- "version": "4.0.0-alpha.49-20220121-e7aa4308",
3
+ "version": "4.0.0-alpha.52-20220126-dad3d5b3",
4
4
  "engines": {
5
5
  "node": ">=12.0.0"
6
6
  },
7
7
  "dependencies": {
8
8
  "@alcalzone/jsonl-db": "~2.4.1",
9
- "@iobroker/db-base": "4.0.0-alpha.49-20220121-e7aa4308",
10
- "@iobroker/db-objects-file": "4.0.0-alpha.49-20220121-e7aa4308",
11
- "@iobroker/db-objects-redis": "4.0.0-alpha.49-20220121-e7aa4308",
9
+ "@iobroker/db-base": "4.0.0-alpha.52-20220126-dad3d5b3",
10
+ "@iobroker/db-objects-file": "4.0.0-alpha.52-20220126-dad3d5b3",
11
+ "@iobroker/db-objects-redis": "4.0.0-alpha.52-20220126-dad3d5b3",
12
12
  "deep-clone": "^3.0.3",
13
13
  "fs-extra": "^10.0.0"
14
14
  },
@@ -37,5 +37,5 @@
37
37
  "lib/",
38
38
  "index.js"
39
39
  ],
40
- "gitHead": "f42f117b74d3c4bfac0bc872c087d382ca897b7c"
40
+ "gitHead": "42c56c6be45fb2f407f75cb8ecbc22800292ac98"
41
41
  }