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.
package/dist/parse.js CHANGED
@@ -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,
@@ -13447,47 +13447,53 @@ var DefaultController = {
13447
13447
 
13448
13448
  case 5:
13449
13449
  if ((_step5 = _iterator5.n()).done) {
13450
- _context15.next = 13;
13450
+ _context15.next = 14;
13451
13451
  break;
13452
13452
  }
13453
13453
 
13454
13454
  object = _step5.value;
13455
- _context15.next = 9;
13455
+
13456
+ if (!(object instanceof ParseObject)) {
13457
+ _context15.next = 12;
13458
+ break;
13459
+ }
13460
+
13461
+ _context15.next = 10;
13456
13462
  return localDatastore._updateLocalIdForObject(mapIdForPin[object.id], object);
13457
13463
 
13458
- case 9:
13459
- _context15.next = 11;
13464
+ case 10:
13465
+ _context15.next = 12;
13460
13466
  return localDatastore._updateObjectIfPinned(object);
13461
13467
 
13462
- case 11:
13468
+ case 12:
13463
13469
  _context15.next = 5;
13464
13470
  break;
13465
13471
 
13466
- case 13:
13467
- _context15.next = 18;
13472
+ case 14:
13473
+ _context15.next = 19;
13468
13474
  break;
13469
13475
 
13470
- case 15:
13471
- _context15.prev = 15;
13476
+ case 16:
13477
+ _context15.prev = 16;
13472
13478
  _context15.t0 = _context15["catch"](3);
13473
13479
 
13474
13480
  _iterator5.e(_context15.t0);
13475
13481
 
13476
- case 18:
13477
- _context15.prev = 18;
13482
+ case 19:
13483
+ _context15.prev = 19;
13478
13484
 
13479
13485
  _iterator5.f();
13480
13486
 
13481
- return _context15.finish(18);
13487
+ return _context15.finish(19);
13482
13488
 
13483
- case 21:
13489
+ case 22:
13484
13490
  return _context15.abrupt("return", _promise.default.resolve(target));
13485
13491
 
13486
- case 22:
13492
+ case 23:
13487
13493
  case "end":
13488
13494
  return _context15.stop();
13489
13495
  }
13490
- }, _callee11, null, [[3, 15, 18, 21]]);
13496
+ }, _callee11, null, [[3, 16, 19, 22]]);
13491
13497
  })));
13492
13498
  });
13493
13499
  } else if (target instanceof ParseObject) {