parse 4.0.0-alpha.8 → 4.0.0-alpha.9

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 v4.0.0-alpha.8
2
+ * Parse JavaScript SDK v4.0.0-alpha.9
3
3
  *
4
4
  * The source tree of this library can be found at
5
5
  * https://github.com/ParsePlatform/Parse-SDK-JS
@@ -671,7 +671,7 @@ var config
671
671
  SERVER_AUTH_TOKEN: null,
672
672
  LIVEQUERY_SERVER_URL: null,
673
673
  ENCRYPTED_KEY: null,
674
- VERSION: 'js' + "4.0.0-alpha.8",
674
+ VERSION: 'js' + "4.0.0-alpha.9",
675
675
  APPLICATION_ID: null,
676
676
  JAVASCRIPT_KEY: null,
677
677
  MASTER_KEY: null,
@@ -13394,47 +13394,53 @@ var DefaultController = {
13394
13394
 
13395
13395
  case 5:
13396
13396
  if ((_step5 = _iterator5.n()).done) {
13397
- _context15.next = 13;
13397
+ _context15.next = 14;
13398
13398
  break;
13399
13399
  }
13400
13400
 
13401
13401
  object = _step5.value;
13402
- _context15.next = 9;
13402
+
13403
+ if (!(object instanceof ParseObject)) {
13404
+ _context15.next = 12;
13405
+ break;
13406
+ }
13407
+
13408
+ _context15.next = 10;
13403
13409
  return localDatastore._updateLocalIdForObject(mapIdForPin[object.id], object);
13404
13410
 
13405
- case 9:
13406
- _context15.next = 11;
13411
+ case 10:
13412
+ _context15.next = 12;
13407
13413
  return localDatastore._updateObjectIfPinned(object);
13408
13414
 
13409
- case 11:
13415
+ case 12:
13410
13416
  _context15.next = 5;
13411
13417
  break;
13412
13418
 
13413
- case 13:
13414
- _context15.next = 18;
13419
+ case 14:
13420
+ _context15.next = 19;
13415
13421
  break;
13416
13422
 
13417
- case 15:
13418
- _context15.prev = 15;
13423
+ case 16:
13424
+ _context15.prev = 16;
13419
13425
  _context15.t0 = _context15["catch"](3);
13420
13426
 
13421
13427
  _iterator5.e(_context15.t0);
13422
13428
 
13423
- case 18:
13424
- _context15.prev = 18;
13429
+ case 19:
13430
+ _context15.prev = 19;
13425
13431
 
13426
13432
  _iterator5.f();
13427
13433
 
13428
- return _context15.finish(18);
13434
+ return _context15.finish(19);
13429
13435
 
13430
- case 21:
13436
+ case 22:
13431
13437
  return _context15.abrupt("return", _promise.default.resolve(target));
13432
13438
 
13433
- case 22:
13439
+ case 23:
13434
13440
  case "end":
13435
13441
  return _context15.stop();
13436
13442
  }
13437
- }, _callee11, null, [[3, 15, 18, 21]]);
13443
+ }, _callee11, null, [[3, 16, 19, 22]]);
13438
13444
  })));
13439
13445
  });
13440
13446
  } else if (target instanceof ParseObject) {