@azrico/webobject 1.5.38 → 1.5.41

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.
@@ -695,15 +695,17 @@ var WebObject = exports.WebObject = /*#__PURE__*/function (_SimpleObject) {
695
695
  * intersection of keys in delta and keys that are defined as changeable
696
696
  */
697
697
  changableKeys = (0, _object.array_intersection)(Object.keys(changedFields), WebObject.getChangeableKeys(this, p));
698
- _context13.next = 17;
699
- return _convert["default"].applyFormats({
698
+ if (p.changableKeys) {
699
+ changableKeys = (0, _object.array_intersection)(changableKeys, p.changableKeys);
700
+ }
701
+ _convert["default"].format({
702
+ original: this,
700
703
  inputobject: changedFields,
701
704
  formats: (0, _object.object_getStatic)(this, "__formatList"),
702
705
  isNew: this.isNew,
703
706
  changableKeys: changableKeys,
704
707
  applyDefaults: true
705
708
  });
706
- case 17:
707
709
  /* -------------------------------------------------------------------------- */
708
710
  /* __functionProperties */
709
711
  /* -------------------------------------------------------------------------- */
@@ -11,6 +11,7 @@ export type deltaParams = {
11
11
  type?: string;
12
12
  useDelta?: boolean;
13
13
  isChild?: boolean;
14
+ changableKeys?: string[];
14
15
  allProperties?: boolean;
15
16
  extraProperties?: boolean;
16
17
  tempProperties?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azrico/webobject",
3
- "version": "1.5.38",
3
+ "version": "1.5.41",
4
4
  "description": "Stateful object",
5
5
  "author": "Azrideus",
6
6
  "license": "MIT",
@@ -69,12 +69,12 @@
69
69
  "@azrico/uid": "*"
70
70
  },
71
71
  "dependencies": {
72
- "@azrico/convert": "^1.0.19",
73
- "@azrico/event": "^1.2.62",
72
+ "@azrico/convert": "^1.1.3",
73
+ "@azrico/event": "^1.2.67",
74
74
  "@azrico/global": "^1.3.85",
75
75
  "@azrico/math": "^1.0.5",
76
- "@azrico/object": "^1.4.128",
77
- "@azrico/string": "^1.3.4",
76
+ "@azrico/object": "^1.4.135",
77
+ "@azrico/string": "^1.3.7",
78
78
  "@azrico/types": "^1.0.11",
79
79
  "@azrico/uid": "^1.0.8"
80
80
  },