rest-client-sdk 7.2.1 → 7.2.3

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.mjs CHANGED
@@ -1819,7 +1819,7 @@ var UnitOfWork = /*#__PURE__*/function () {
1819
1819
  value: function _getDirtyFieldsForAttribute(dirtyFieldsParam, key, attribute, oldValue, newValue) {
1820
1820
  var dirtyFields = dirtyFieldsParam;
1821
1821
 
1822
- if (attribute.type === 'object') {
1822
+ if (attribute.type === 'object' || attribute.type === 'array') {
1823
1823
  if (oldValue === undefined || objectDiffers(oldValue, newValue)) {
1824
1824
  dirtyFields[key] = newValue;
1825
1825
  }