parse 5.2.0-beta.1 → 5.2.0

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.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Parse JavaScript SDK v5.2.0-beta.1
2
+ * Parse JavaScript SDK v5.2.0
3
3
  *
4
4
  * The source tree of this library can be found at
5
5
  * https://github.com/ParsePlatform/Parse-SDK-JS
@@ -358,7 +358,7 @@ const config = {
358
358
  SERVER_AUTH_TOKEN: null,
359
359
  LIVEQUERY_SERVER_URL: null,
360
360
  ENCRYPTED_KEY: null,
361
- VERSION: 'js' + "5.2.0-beta.1",
361
+ VERSION: 'js' + "5.2.0",
362
362
  APPLICATION_ID: null,
363
363
  JAVASCRIPT_KEY: null,
364
364
  MASTER_KEY: null,
@@ -2756,10 +2756,10 @@ function nestedSet(obj, key, value) {
2756
2756
  function commitServerChanges(serverData, objectCache, changes) {
2757
2757
  const ParseObject = _CoreManager.default.getParseObject();
2758
2758
  for (const attr in changes) {
2759
- var _context;
2759
+ var _context, _context2;
2760
2760
  let val = changes[attr];
2761
2761
  // Check for JSON array { '0': { something }, '1': { something } }
2762
- if (val && typeof val === 'object' && !(0, _isArray.default)(val) && (0, _keys.default)(val).length > 0 && (0, _some.default)(_context = (0, _keys.default)(val)).call(_context, k => !isNaN((0, _parseInt2.default)(k)))) {
2762
+ if (val && typeof val === 'object' && !(0, _isArray.default)(val) && (0, _keys.default)(val).length > 0 && (0, _some.default)(_context = (0, _keys.default)(val)).call(_context, k => !isNaN((0, _parseInt2.default)(k))) && !(0, _includes.default)(_context2 = ['sentPerUTCOffset', 'failedPerUTCOffset']).call(_context2, attr)) {
2763
2763
  val = (0, _values.default)(val);
2764
2764
  }
2765
2765
  nestedSet(serverData, attr, val);