connectfy-shared 0.0.127 → 0.0.128

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/index.cjs CHANGED
@@ -11839,7 +11839,7 @@ var Neo4jBaseRepository = class {
11839
11839
  */
11840
11840
  async updateNode(label, idField, idValue, data) {
11841
11841
  const query = `
11842
- MATCH (n:${label} {${idField}: $idValue})
11842
+ MERGE (n:${label} {${idField}: $idValue})
11843
11843
  SET n += $data
11844
11844
  RETURN n
11845
11845
  `;
package/dist/index.mjs CHANGED
@@ -11775,7 +11775,7 @@ var Neo4jBaseRepository = class {
11775
11775
  */
11776
11776
  async updateNode(label, idField, idValue, data) {
11777
11777
  const query = `
11778
- MATCH (n:${label} {${idField}: $idValue})
11778
+ MERGE (n:${label} {${idField}: $idValue})
11779
11779
  SET n += $data
11780
11780
  RETURN n
11781
11781
  `;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "connectfy-shared",
3
- "version": "0.0.127",
3
+ "version": "0.0.128",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "exports": {