@azrico/webobject 1.5.7 → 1.5.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.
@@ -186,14 +186,17 @@ var SimpleObject = exports.SimpleObject = /*#__PURE__*/function (_MapableObject)
186
186
  return _context.abrupt("return", false);
187
187
  case 8:
188
188
  if (!(typeof key === "string" && key.includes("."))) {
189
- _context.next = 13;
189
+ _context.next = 15;
190
190
  break;
191
191
  }
192
192
  keysp = key.split(".");
193
193
  key_part = keysp.shift();
194
194
  subkey_part = keysp.shift();
195
- return _context.abrupt("return", this.setSubValue(key_part, subkey_part, value));
196
- case 13:
195
+ _context.next = 14;
196
+ return this.setSubValue(key_part, subkey_part, value, shouldNotify);
197
+ case 14:
198
+ return _context.abrupt("return", _context.sent);
199
+ case 15:
197
200
  /* --------------------------- set if not changed --------------------------- */
198
201
  keyExists = key in this.__delta;
199
202
  old_value = this.get(key);
@@ -219,14 +222,14 @@ var SimpleObject = exports.SimpleObject = /*#__PURE__*/function (_MapableObject)
219
222
  }
220
223
  /* --------------------------------- notify --------------------------------- */
221
224
  if (!(shouldNotify === true || shouldNotify === "auto" && needsChange)) {
222
- _context.next = 21;
225
+ _context.next = 23;
223
226
  break;
224
227
  }
225
- _context.next = 21;
228
+ _context.next = 23;
226
229
  return this.notifyChanged("", key, value);
227
- case 21:
230
+ case 23:
228
231
  return _context.abrupt("return", needsChange);
229
- case 22:
232
+ case 24:
230
233
  case "end":
231
234
  return _context.stop();
232
235
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azrico/webobject",
3
- "version": "1.5.7",
3
+ "version": "1.5.8",
4
4
  "description": "Stateful object",
5
5
  "author": "Azrideus",
6
6
  "license": "MIT",