@domql/state 2.5.197 → 2.5.198

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.
@@ -164,7 +164,7 @@ const setPathCollection = function(changes, options = {}) {
164
164
  if (change[0] === "update") {
165
165
  const result = setByPath.call(state, change[1], change[2], { preventStateUpdate: true });
166
166
  return (0, import_utils.overwriteDeep)(acc, result);
167
- } else if (change[0] === "remove") {
167
+ } else if (change[0] === "delete") {
168
168
  removeByPath.call(state, change[1], options);
169
169
  }
170
170
  return acc;
@@ -148,7 +148,7 @@ const setPathCollection = function(changes, options = {}) {
148
148
  if (change[0] === "update") {
149
149
  const result = setByPath.call(state, change[1], change[2], { preventStateUpdate: true });
150
150
  return overwriteDeep(acc, result);
151
- } else if (change[0] === "remove") {
151
+ } else if (change[0] === "delete") {
152
152
  removeByPath.call(state, change[1], options);
153
153
  }
154
154
  return acc;
package/methods.js CHANGED
@@ -143,7 +143,7 @@ export const setPathCollection = function (changes, options = {}) {
143
143
  if (change[0] === 'update') {
144
144
  const result = setByPath.call(state, change[1], change[2], { preventStateUpdate: true })
145
145
  return overwriteDeep(acc, result)
146
- } else if (change[0] === 'remove') {
146
+ } else if (change[0] === 'delete') {
147
147
  removeByPath.call(state, change[1], options)
148
148
  }
149
149
  return acc
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@domql/state",
3
- "version": "2.5.197",
3
+ "version": "2.5.198",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "module": "index.js",
@@ -32,5 +32,5 @@
32
32
  "@domql/report": "^2.5.186",
33
33
  "@domql/utils": "^2.5.187"
34
34
  },
35
- "gitHead": "15e733d1bd4581ad936ba6614d8936deee098306"
35
+ "gitHead": "045032f5c80a92a1a05b0dfff68c93c9b32e6bd9"
36
36
  }