@azrico/webobject 1.3.9 → 1.3.10

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.
@@ -84,7 +84,7 @@ export declare class SimpleObject extends MapableObject {
84
84
  get __use_delta(): boolean;
85
85
  get isSaved(): boolean;
86
86
  get isNew(): boolean;
87
- get_lastChanged(): boolean;
87
+ get lastChanged(): string;
88
88
  get manager(): ObjectManager<any> | null;
89
89
  get_managerClass: () => ObjectManager<any> | null;
90
90
  static isDeleted<T extends SimpleObject>(obj: T): boolean;
@@ -334,11 +334,11 @@ var SimpleObject = /*#__PURE__*/function (_MapableObject) {
334
334
  if (value === undefined && type != "meta") value = this.getValue(key);
335
335
  this.__changed = true;
336
336
  lc = "";
337
- if (type) lc += "[".concat(String(type), "] ");
337
+ if (type) lc += "$".concat(String(type), "$");
338
338
  if (subvalue) {
339
- lc += "".concat(String(key), "->").concat(value, " = ").concat(subvalue);
339
+ lc += "".concat(String(key), ".").concat(value);
340
340
  } else {
341
- lc += "".concat(String(key), " = ").concat(value);
341
+ lc += "".concat(String(key));
342
342
  }
343
343
  this.__lastChanged = lc;
344
344
  /* --------------------------- notify the manager --------------------------- */
@@ -501,9 +501,9 @@ var SimpleObject = /*#__PURE__*/function (_MapableObject) {
501
501
  return false;
502
502
  }
503
503
  }, {
504
- key: "get_lastChanged",
505
- value: function get_lastChanged() {
506
- return !this.__lastChanged;
504
+ key: "lastChanged",
505
+ get: function get() {
506
+ return this.__lastChanged;
507
507
  }
508
508
  }, {
509
509
  key: "manager",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azrico/webobject",
3
- "version": "1.3.9",
3
+ "version": "1.3.10",
4
4
  "description": "Stateful object",
5
5
  "author": "Azrideus",
6
6
  "license": "MIT",