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 +23 -17
- package/dist/parse.min.js +2 -2
- package/dist/parse.weapp.js +23 -17
- package/dist/parse.weapp.min.js +2 -2
- package/lib/browser/CoreManager.js +1 -1
- package/lib/browser/ParseObject.js +21 -15
- package/lib/node/CoreManager.js +1 -1
- package/lib/node/ParseObject.js +5 -2
- package/lib/react-native/CoreManager.js +1 -1
- package/lib/react-native/ParseObject.js +4 -2
- package/lib/weapp/CoreManager.js +1 -1
- package/lib/weapp/ParseObject.js +21 -15
- package/package.json +1 -1
package/dist/parse.weapp.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Parse JavaScript SDK v4.0.0-alpha.
|
|
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.
|
|
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 =
|
|
13397
|
+
_context15.next = 14;
|
|
13398
13398
|
break;
|
|
13399
13399
|
}
|
|
13400
13400
|
|
|
13401
13401
|
object = _step5.value;
|
|
13402
|
-
|
|
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
|
|
13406
|
-
_context15.next =
|
|
13411
|
+
case 10:
|
|
13412
|
+
_context15.next = 12;
|
|
13407
13413
|
return localDatastore._updateObjectIfPinned(object);
|
|
13408
13414
|
|
|
13409
|
-
case
|
|
13415
|
+
case 12:
|
|
13410
13416
|
_context15.next = 5;
|
|
13411
13417
|
break;
|
|
13412
13418
|
|
|
13413
|
-
case
|
|
13414
|
-
_context15.next =
|
|
13419
|
+
case 14:
|
|
13420
|
+
_context15.next = 19;
|
|
13415
13421
|
break;
|
|
13416
13422
|
|
|
13417
|
-
case
|
|
13418
|
-
_context15.prev =
|
|
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
|
|
13424
|
-
_context15.prev =
|
|
13429
|
+
case 19:
|
|
13430
|
+
_context15.prev = 19;
|
|
13425
13431
|
|
|
13426
13432
|
_iterator5.f();
|
|
13427
13433
|
|
|
13428
|
-
return _context15.finish(
|
|
13434
|
+
return _context15.finish(19);
|
|
13429
13435
|
|
|
13430
|
-
case
|
|
13436
|
+
case 22:
|
|
13431
13437
|
return _context15.abrupt("return", _promise.default.resolve(target));
|
|
13432
13438
|
|
|
13433
|
-
case
|
|
13439
|
+
case 23:
|
|
13434
13440
|
case "end":
|
|
13435
13441
|
return _context15.stop();
|
|
13436
13442
|
}
|
|
13437
|
-
}, _callee11, null, [[3,
|
|
13443
|
+
}, _callee11, null, [[3, 16, 19, 22]]);
|
|
13438
13444
|
})));
|
|
13439
13445
|
});
|
|
13440
13446
|
} else if (target instanceof ParseObject) {
|