parse 4.0.0 → 4.0.1-beta.1

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.
Files changed (154) hide show
  1. package/LICENSE +167 -25
  2. package/NOTICE +10 -0
  3. package/README.md +1 -3
  4. package/dist/parse.js +188 -374
  5. package/dist/parse.min.js +7 -6
  6. package/dist/parse.weapp.js +188 -374
  7. package/dist/parse.weapp.min.js +7 -6
  8. package/lib/browser/Analytics.js +0 -7
  9. package/lib/browser/AnonymousUtils.js +0 -7
  10. package/lib/browser/Cloud.js +0 -7
  11. package/lib/browser/CoreManager.js +1 -8
  12. package/lib/browser/EventEmitter.js +0 -7
  13. package/lib/browser/FacebookUtils.js +0 -7
  14. package/lib/browser/InstallationController.js +0 -7
  15. package/lib/browser/LocalDatastoreUtils.js +0 -7
  16. package/lib/browser/OfflineQuery.js +27 -8
  17. package/lib/browser/Parse.js +0 -9
  18. package/lib/browser/ParseACL.js +0 -7
  19. package/lib/browser/ParseConfig.js +0 -7
  20. package/lib/browser/ParseError.js +0 -9
  21. package/lib/browser/ParseGeoPoint.js +0 -7
  22. package/lib/browser/ParseObject.js +158 -126
  23. package/lib/browser/ParsePolygon.js +0 -7
  24. package/lib/browser/ParseRelation.js +0 -7
  25. package/lib/browser/ParseSchema.js +0 -7
  26. package/lib/browser/Push.js +0 -7
  27. package/lib/browser/RESTController.js +0 -7
  28. package/lib/browser/SingleInstanceStateController.js +0 -7
  29. package/lib/browser/Storage.js +0 -7
  30. package/lib/browser/StorageController.browser.js +0 -7
  31. package/lib/browser/StorageController.default.js +0 -7
  32. package/lib/browser/StorageController.react-native.js +0 -7
  33. package/lib/browser/StorageController.weapp.js +0 -7
  34. package/lib/browser/TaskQueue.js +0 -7
  35. package/lib/browser/UniqueInstanceStateController.js +0 -7
  36. package/lib/browser/arrayContainsObject.js +0 -7
  37. package/lib/browser/canBeSerialized.js +0 -7
  38. package/lib/browser/decode.js +0 -7
  39. package/lib/browser/encode.js +0 -7
  40. package/lib/browser/equals.js +0 -9
  41. package/lib/browser/escape.js +0 -7
  42. package/lib/browser/isRevocableSession.js +0 -7
  43. package/lib/browser/parseDate.js +0 -7
  44. package/lib/browser/unique.js +0 -7
  45. package/lib/browser/unsavedChildren.js +0 -7
  46. package/lib/node/Analytics.js +0 -7
  47. package/lib/node/AnonymousUtils.js +0 -7
  48. package/lib/node/Cloud.js +0 -7
  49. package/lib/node/CoreManager.js +1 -8
  50. package/lib/node/EventEmitter.js +0 -7
  51. package/lib/node/FacebookUtils.js +0 -7
  52. package/lib/node/InstallationController.js +0 -7
  53. package/lib/node/LiveQueryClient.js +0 -10
  54. package/lib/node/LiveQuerySubscription.js +0 -10
  55. package/lib/node/LocalDatastore.js +0 -7
  56. package/lib/node/LocalDatastoreController.js +0 -7
  57. package/lib/node/LocalDatastoreController.react-native.js +0 -7
  58. package/lib/node/LocalDatastoreUtils.js +0 -7
  59. package/lib/node/ObjectStateMutations.js +0 -7
  60. package/lib/node/OfflineQuery.js +8 -0
  61. package/lib/node/Parse.js +0 -9
  62. package/lib/node/ParseACL.js +0 -7
  63. package/lib/node/ParseCLP.js +0 -7
  64. package/lib/node/ParseConfig.js +0 -7
  65. package/lib/node/ParseError.js +0 -9
  66. package/lib/node/ParseFile.js +0 -7
  67. package/lib/node/ParseGeoPoint.js +0 -7
  68. package/lib/node/ParseInstallation.js +0 -7
  69. package/lib/node/ParseLiveQuery.js +0 -7
  70. package/lib/node/ParseObject.js +40 -29
  71. package/lib/node/ParseOp.js +0 -7
  72. package/lib/node/ParsePolygon.js +0 -7
  73. package/lib/node/ParseQuery.js +0 -7
  74. package/lib/node/ParseRelation.js +0 -7
  75. package/lib/node/ParseRole.js +0 -7
  76. package/lib/node/ParseSchema.js +0 -7
  77. package/lib/node/ParseSession.js +0 -7
  78. package/lib/node/ParseUser.js +0 -7
  79. package/lib/node/Push.js +0 -7
  80. package/lib/node/RESTController.js +0 -7
  81. package/lib/node/SingleInstanceStateController.js +0 -7
  82. package/lib/node/Storage.js +0 -7
  83. package/lib/node/StorageController.browser.js +0 -7
  84. package/lib/node/StorageController.default.js +0 -7
  85. package/lib/node/StorageController.react-native.js +0 -7
  86. package/lib/node/StorageController.weapp.js +0 -7
  87. package/lib/node/TaskQueue.js +0 -7
  88. package/lib/node/UniqueInstanceStateController.js +0 -7
  89. package/lib/node/arrayContainsObject.js +0 -7
  90. package/lib/node/canBeSerialized.js +0 -7
  91. package/lib/node/decode.js +0 -7
  92. package/lib/node/encode.js +0 -7
  93. package/lib/node/equals.js +0 -9
  94. package/lib/node/escape.js +0 -7
  95. package/lib/node/isRevocableSession.js +0 -7
  96. package/lib/node/parseDate.js +0 -7
  97. package/lib/node/unique.js +0 -7
  98. package/lib/node/unsavedChildren.js +0 -7
  99. package/lib/react-native/CoreManager.js +2 -2
  100. package/lib/react-native/EventuallyQueue.js +169 -676
  101. package/lib/react-native/LiveQueryClient.js +3 -46
  102. package/lib/react-native/LocalDatastore.js +303 -863
  103. package/lib/react-native/LocalDatastoreController.js +75 -535
  104. package/lib/react-native/LocalDatastoreController.react-native.js +95 -503
  105. package/lib/react-native/ObjectStateMutations.js +2 -31
  106. package/lib/react-native/OfflineQuery.js +24 -60
  107. package/lib/react-native/ParseCLP.js +55 -129
  108. package/lib/react-native/ParseFile.js +63 -468
  109. package/lib/react-native/ParseLiveQuery.js +60 -455
  110. package/lib/react-native/ParseObject.js +263 -897
  111. package/lib/react-native/ParseQuery.js +207 -643
  112. package/lib/react-native/ParseSchema.js +3 -3
  113. package/lib/react-native/ParseUser.js +118 -573
  114. package/lib/react-native/RESTController.js +1 -29
  115. package/lib/weapp/Analytics.js +0 -7
  116. package/lib/weapp/AnonymousUtils.js +0 -7
  117. package/lib/weapp/Cloud.js +0 -7
  118. package/lib/weapp/CoreManager.js +1 -8
  119. package/lib/weapp/EventEmitter.js +0 -7
  120. package/lib/weapp/FacebookUtils.js +0 -7
  121. package/lib/weapp/InstallationController.js +0 -7
  122. package/lib/weapp/LocalDatastoreUtils.js +0 -7
  123. package/lib/weapp/OfflineQuery.js +27 -8
  124. package/lib/weapp/Parse.js +0 -9
  125. package/lib/weapp/ParseACL.js +0 -7
  126. package/lib/weapp/ParseConfig.js +0 -7
  127. package/lib/weapp/ParseError.js +0 -9
  128. package/lib/weapp/ParseGeoPoint.js +0 -7
  129. package/lib/weapp/ParseObject.js +158 -126
  130. package/lib/weapp/ParsePolygon.js +0 -7
  131. package/lib/weapp/ParseRelation.js +0 -7
  132. package/lib/weapp/ParseSchema.js +0 -7
  133. package/lib/weapp/Push.js +0 -7
  134. package/lib/weapp/RESTController.js +0 -7
  135. package/lib/weapp/SingleInstanceStateController.js +0 -7
  136. package/lib/weapp/Storage.js +0 -7
  137. package/lib/weapp/StorageController.browser.js +0 -7
  138. package/lib/weapp/StorageController.default.js +0 -7
  139. package/lib/weapp/StorageController.react-native.js +0 -7
  140. package/lib/weapp/StorageController.weapp.js +0 -7
  141. package/lib/weapp/TaskQueue.js +0 -7
  142. package/lib/weapp/UniqueInstanceStateController.js +0 -7
  143. package/lib/weapp/arrayContainsObject.js +0 -7
  144. package/lib/weapp/canBeSerialized.js +0 -7
  145. package/lib/weapp/decode.js +0 -7
  146. package/lib/weapp/encode.js +0 -7
  147. package/lib/weapp/equals.js +0 -9
  148. package/lib/weapp/escape.js +0 -7
  149. package/lib/weapp/isRevocableSession.js +0 -7
  150. package/lib/weapp/parseDate.js +0 -7
  151. package/lib/weapp/unique.js +0 -7
  152. package/lib/weapp/unsavedChildren.js +0 -7
  153. package/package.json +9 -9
  154. package/PATENTS +0 -37
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Parse JavaScript SDK v4.0.0
2
+ * Parse JavaScript SDK v4.0.1-beta.1
3
3
  *
4
4
  * The source tree of this library can be found at
5
5
  * https://github.com/ParsePlatform/Parse-SDK-JS
@@ -19,13 +19,6 @@ exports.track = track;
19
19
 
20
20
  var _CoreManager = _interopRequireDefault(_dereq_("./CoreManager"));
21
21
  /**
22
- * Copyright (c) 2015-present, Parse, LLC.
23
- * All rights reserved.
24
- *
25
- * This source code is licensed under the BSD-style license found in the
26
- * LICENSE file in the root directory of this source tree. An additional grant
27
- * of patent rights can be found in the PATENTS file in the same directory.
28
- *
29
22
  * @flow
30
23
  */
31
24
 
@@ -121,13 +114,6 @@ exports.default = void 0;
121
114
 
122
115
  var _ParseUser = _interopRequireDefault(_dereq_("./ParseUser"));
123
116
  /**
124
- * Copyright (c) 2015-present, Parse, LLC.
125
- * All rights reserved.
126
- *
127
- * This source code is licensed under the BSD-style license found in the
128
- * LICENSE file in the root directory of this source tree. An additional grant
129
- * of patent rights can be found in the PATENTS file in the same directory.
130
- *
131
117
  * @flow-weak
132
118
  */
133
119
 
@@ -300,13 +286,6 @@ var _ParseQuery = _interopRequireDefault(_dereq_("./ParseQuery"));
300
286
 
301
287
  var _ParseObject = _interopRequireDefault(_dereq_("./ParseObject"));
302
288
  /**
303
- * Copyright (c) 2015-present, Parse, LLC.
304
- * All rights reserved.
305
- *
306
- * This source code is licensed under the BSD-style license found in the
307
- * LICENSE file in the root directory of this source tree. An additional grant
308
- * of patent rights can be found in the PATENTS file in the same directory.
309
- *
310
289
  * @flow
311
290
  */
312
291
 
@@ -481,13 +460,6 @@ var _concat = _interopRequireDefault(_dereq_("@babel/runtime-corejs3/core-js-sta
481
460
 
482
461
  var _forEach = _interopRequireDefault(_dereq_("@babel/runtime-corejs3/core-js-stable/instance/for-each"));
483
462
  /*
484
- * Copyright (c) 2015-present, Parse, LLC.
485
- * All rights reserved.
486
- *
487
- * This source code is licensed under the BSD-style license found in the
488
- * LICENSE file in the root directory of this source tree. An additional grant
489
- * of patent rights can be found in the PATENTS file in the same directory.
490
- *
491
463
  * @flow
492
464
  */
493
465
 
@@ -699,7 +671,7 @@ var config
699
671
  SERVER_AUTH_TOKEN: null,
700
672
  LIVEQUERY_SERVER_URL: null,
701
673
  ENCRYPTED_KEY: null,
702
- VERSION: 'js' + "4.0.0",
674
+ VERSION: 'js' + "4.0.1-beta.1",
703
675
  APPLICATION_ID: null,
704
676
  JAVASCRIPT_KEY: null,
705
677
  MASTER_KEY: null,
@@ -1019,13 +991,6 @@ module.exports = CryptoController;
1019
991
  },{"@babel/runtime-corejs3/core-js-stable/json/stringify":77,"@babel/runtime-corejs3/helpers/interopRequireDefault":129,"crypto-js/aes":597,"crypto-js/enc-utf8":601}],6:[function(_dereq_,module,exports){
1020
992
  "use strict";
1021
993
  /**
1022
- * Copyright (c) 2015-present, Parse, LLC.
1023
- * All rights reserved.
1024
- *
1025
- * This source code is licensed under the BSD-style license found in the
1026
- * LICENSE file in the root directory of this source tree. An additional grant
1027
- * of patent rights can be found in the PATENTS file in the same directory.
1028
- *
1029
994
  * This is a simple wrapper to unify EventEmitter implementations across platforms.
1030
995
  */
1031
996
 
@@ -2134,13 +2099,6 @@ exports.default = void 0;
2134
2099
 
2135
2100
  var _ParseUser = _interopRequireDefault(_dereq_("./ParseUser"));
2136
2101
  /**
2137
- * Copyright (c) 2015-present, Parse, LLC.
2138
- * All rights reserved.
2139
- *
2140
- * This source code is licensed under the BSD-style license found in the
2141
- * LICENSE file in the root directory of this source tree. An additional grant
2142
- * of patent rights can be found in the PATENTS file in the same directory.
2143
- *
2144
2102
  * @flow-weak
2145
2103
  */
2146
2104
 
@@ -2393,13 +2351,6 @@ var _promise = _interopRequireDefault(_dereq_("@babel/runtime-corejs3/core-js-st
2393
2351
 
2394
2352
  var _Storage = _interopRequireDefault(_dereq_("./Storage"));
2395
2353
  /**
2396
- * Copyright (c) 2015-present, Parse, LLC.
2397
- * All rights reserved.
2398
- *
2399
- * This source code is licensed under the BSD-style license found in the
2400
- * LICENSE file in the root directory of this source tree. An additional grant
2401
- * of patent rights can be found in the PATENTS file in the same directory.
2402
- *
2403
2354
  * @flow
2404
2355
  */
2405
2356
 
@@ -5471,13 +5422,6 @@ exports.isLocalDatastoreKey = isLocalDatastoreKey;
5471
5422
 
5472
5423
  var _startsWith = _interopRequireDefault(_dereq_("@babel/runtime-corejs3/core-js-stable/instance/starts-with"));
5473
5424
  /**
5474
- * Copyright (c) 2015-present, Parse, LLC.
5475
- * All rights reserved.
5476
- *
5477
- * This source code is licensed under the BSD-style license found in the
5478
- * LICENSE file in the root directory of this source tree. An additional grant
5479
- * of patent rights can be found in the PATENTS file in the same directory.
5480
- *
5481
5425
  * @flow
5482
5426
  * @private
5483
5427
  */
@@ -5817,10 +5761,10 @@ var _slice = _interopRequireDefault(_dereq_("@babel/runtime-corejs3/core-js-stab
5817
5761
 
5818
5762
  var _filter = _interopRequireDefault(_dereq_("@babel/runtime-corejs3/core-js-stable/instance/filter"));
5819
5763
 
5820
- var _isArray = _interopRequireDefault(_dereq_("@babel/runtime-corejs3/core-js-stable/array/is-array"));
5821
-
5822
5764
  var _indexOf = _interopRequireDefault(_dereq_("@babel/runtime-corejs3/core-js-stable/instance/index-of"));
5823
5765
 
5766
+ var _isArray = _interopRequireDefault(_dereq_("@babel/runtime-corejs3/core-js-stable/array/is-array"));
5767
+
5824
5768
  function _createForOfIteratorHelper(o, allowArrayLike) {
5825
5769
  var it = typeof _Symbol !== "undefined" && _getIteratorMethod(o) || o["@@iterator"];
5826
5770
 
@@ -5937,6 +5881,25 @@ function contains(haystack, needle) {
5937
5881
  return false;
5938
5882
  }
5939
5883
 
5884
+ if ((0, _isArray.default)(needle)) {
5885
+ var _iterator = _createForOfIteratorHelper(needle),
5886
+ _step;
5887
+
5888
+ try {
5889
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
5890
+ var need = _step.value;
5891
+
5892
+ if (contains(haystack, need)) {
5893
+ return true;
5894
+ }
5895
+ }
5896
+ } catch (err) {
5897
+ _iterator.e(err);
5898
+ } finally {
5899
+ _iterator.f();
5900
+ }
5901
+ }
5902
+
5940
5903
  return (0, _indexOf.default)(haystack).call(haystack, needle) > -1;
5941
5904
  }
5942
5905
 
@@ -6494,21 +6457,21 @@ function matchesKeyConstraints(className, object, objects, key, constraints) {
6494
6457
 
6495
6458
  case '$containedBy':
6496
6459
  {
6497
- var _iterator = _createForOfIteratorHelper(object[key]),
6498
- _step;
6460
+ var _iterator2 = _createForOfIteratorHelper(object[key]),
6461
+ _step2;
6499
6462
 
6500
6463
  try {
6501
- for (_iterator.s(); !(_step = _iterator.n()).done;) {
6502
- var value = _step.value;
6464
+ for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
6465
+ var value = _step2.value;
6503
6466
 
6504
6467
  if (!contains(compareTo, value)) {
6505
6468
  return false;
6506
6469
  }
6507
6470
  }
6508
6471
  } catch (err) {
6509
- _iterator.e(err);
6472
+ _iterator2.e(err);
6510
6473
  } finally {
6511
- _iterator.f();
6474
+ _iterator2.f();
6512
6475
  }
6513
6476
 
6514
6477
  return true;
@@ -6673,15 +6636,6 @@ function _interopRequireWildcard(obj, nodeInterop) {
6673
6636
 
6674
6637
  return newObj;
6675
6638
  }
6676
- /**
6677
- * Copyright (c) 2015-present, Parse, LLC.
6678
- * All rights reserved.
6679
- *
6680
- * This source code is licensed under the BSD-style license found in the
6681
- * LICENSE file in the root directory of this source tree. An additional grant
6682
- * of patent rights can be found in the PATENTS file in the same directory.
6683
- */
6684
-
6685
6639
  /**
6686
6640
  * Contains all Parse API classes and functions.
6687
6641
  *
@@ -7078,13 +7032,6 @@ var _ParseRole = _interopRequireDefault(_dereq_("./ParseRole"));
7078
7032
 
7079
7033
  var _ParseUser = _interopRequireDefault(_dereq_("./ParseUser"));
7080
7034
  /**
7081
- * Copyright (c) 2015-present, Parse, LLC.
7082
- * All rights reserved.
7083
- *
7084
- * This source code is licensed under the BSD-style license found in the
7085
- * LICENSE file in the root directory of this source tree. An additional grant
7086
- * of patent rights can be found in the PATENTS file in the same directory.
7087
- *
7088
7035
  * @flow
7089
7036
  */
7090
7037
 
@@ -8562,13 +8509,6 @@ var _ParseError = _interopRequireDefault(_dereq_("./ParseError"));
8562
8509
 
8563
8510
  var _Storage = _interopRequireDefault(_dereq_("./Storage"));
8564
8511
  /**
8565
- * Copyright (c) 2015-present, Parse, LLC.
8566
- * All rights reserved.
8567
- *
8568
- * This source code is licensed under the BSD-style license found in the
8569
- * LICENSE file in the root directory of this source tree. An additional grant
8570
- * of patent rights can be found in the PATENTS file in the same directory.
8571
- *
8572
8512
  * @flow
8573
8513
  */
8574
8514
 
@@ -8896,15 +8836,6 @@ function _isNativeReflectConstruct() {
8896
8836
  return false;
8897
8837
  }
8898
8838
  }
8899
- /**
8900
- * Copyright (c) 2015-present, Parse, LLC.
8901
- * All rights reserved.
8902
- *
8903
- * This source code is licensed under the BSD-style license found in the
8904
- * LICENSE file in the root directory of this source tree. An additional grant
8905
- * of patent rights can be found in the PATENTS file in the same directory.
8906
- */
8907
-
8908
8839
  /**
8909
8840
  * Constructs a new Parse.Error object with the given code and message.
8910
8841
  *
@@ -10695,13 +10626,6 @@ var _createClass2 = _interopRequireDefault(_dereq_("@babel/runtime-corejs3/helpe
10695
10626
 
10696
10627
  var _defineProperty2 = _interopRequireDefault(_dereq_("@babel/runtime-corejs3/helpers/defineProperty"));
10697
10628
  /**
10698
- * Copyright (c) 2015-present, Parse, LLC.
10699
- * All rights reserved.
10700
- *
10701
- * This source code is licensed under the BSD-style license found in the
10702
- * LICENSE file in the root directory of this source tree. An additional grant
10703
- * of patent rights can be found in the PATENTS file in the same directory.
10704
- *
10705
10629
  * @flow
10706
10630
  */
10707
10631
 
@@ -11676,6 +11600,8 @@ var _map = _interopRequireDefault(_dereq_("@babel/runtime-corejs3/core-js-stable
11676
11600
 
11677
11601
  var _find = _interopRequireDefault(_dereq_("@babel/runtime-corejs3/core-js-stable/instance/find"));
11678
11602
 
11603
+ var _toConsumableArray2 = _interopRequireDefault(_dereq_("@babel/runtime-corejs3/helpers/toConsumableArray"));
11604
+
11679
11605
  var _defineProperty2 = _interopRequireDefault(_dereq_("@babel/runtime-corejs3/core-js-stable/object/define-property"));
11680
11606
 
11681
11607
  var _create = _interopRequireDefault(_dereq_("@babel/runtime-corejs3/core-js-stable/object/create"));
@@ -11855,12 +11781,12 @@ function _createForOfIteratorHelper(o, allowArrayLike) {
11855
11781
  }
11856
11782
 
11857
11783
  function _unsupportedIterableToArray(o, minLen) {
11858
- var _context20;
11784
+ var _context21;
11859
11785
 
11860
11786
  if (!o) return;
11861
11787
  if (typeof o === "string") return _arrayLikeToArray(o, minLen);
11862
11788
 
11863
- var n = _sliceInstanceProperty(_context20 = Object.prototype.toString.call(o)).call(_context20, 8, -1);
11789
+ var n = _sliceInstanceProperty(_context21 = Object.prototype.toString.call(o)).call(_context21, 8, -1);
11864
11790
 
11865
11791
  if (n === "Object" && o.constructor) n = o.constructor.name;
11866
11792
  if (n === "Map" || n === "Set") return _Array$from(o);
@@ -11992,9 +11918,9 @@ function _regeneratorRuntime() {
11992
11918
  var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = _Object$create2(IteratorPrototype);
11993
11919
 
11994
11920
  function defineIteratorMethods(prototype) {
11995
- var _context18;
11921
+ var _context19;
11996
11922
 
11997
- _forEachInstanceProperty2(_context18 = ["next", "throw", "return"]).call(_context18, function (method) {
11923
+ _forEachInstanceProperty2(_context19 = ["next", "throw", "return"]).call(_context19, function (method) {
11998
11924
  define(prototype, method, function (arg) {
11999
11925
  return this._invoke(method, arg);
12000
11926
  });
@@ -12142,9 +12068,9 @@ function _regeneratorRuntime() {
12142
12068
  }, exports.values = values, Context.prototype = {
12143
12069
  constructor: Context,
12144
12070
  reset: function (skipTempReset) {
12145
- var _context19;
12071
+ var _context20;
12146
12072
 
12147
- if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, _forEachInstanceProperty2(_context19 = this.tryEntries).call(_context19, resetTryEntry), !skipTempReset) for (var name in this) {
12073
+ if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, _forEachInstanceProperty2(_context20 = this.tryEntries).call(_context20, resetTryEntry), !skipTempReset) for (var name in this) {
12148
12074
  "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+_sliceInstanceProperty(name).call(name, 1)) && (this[name] = undefined);
12149
12075
  }
12150
12076
  },
@@ -12251,12 +12177,12 @@ function ownKeys(object, enumerableOnly) {
12251
12177
 
12252
12178
  function _objectSpread(target) {
12253
12179
  for (var i = 1; i < arguments.length; i++) {
12254
- var _context16, _context17;
12180
+ var _context17, _context18;
12255
12181
 
12256
12182
  var source = null != arguments[i] ? arguments[i] : {};
12257
- i % 2 ? _forEachInstanceProperty2(_context16 = ownKeys(Object(source), !0)).call(_context16, function (key) {
12183
+ i % 2 ? _forEachInstanceProperty2(_context17 = ownKeys(Object(source), !0)).call(_context17, function (key) {
12258
12184
  (0, _defineProperty3.default)(target, key, source[key]);
12259
- }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(target, _Object$getOwnPropertyDescriptors(source)) : _forEachInstanceProperty2(_context17 = ownKeys(Object(source))).call(_context17, function (key) {
12185
+ }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(target, _Object$getOwnPropertyDescriptors(source)) : _forEachInstanceProperty2(_context18 = ownKeys(Object(source))).call(_context18, function (key) {
12260
12186
  _Object$defineProperty2(target, key, _Object$getOwnPropertyDescriptor(source, key));
12261
12187
  });
12262
12188
  }
@@ -14927,8 +14853,6 @@ var ParseObject = /*#__PURE__*/function () {
14927
14853
 
14928
14854
  if (this.hasOwnProperty('__super__') && this.__super__) {
14929
14855
  parentProto = this.prototype;
14930
- } else if (classMap[adjustedClassName]) {
14931
- parentProto = classMap[adjustedClassName].prototype;
14932
14856
  }
14933
14857
 
14934
14858
  var ParseObjectSubclass = function ParseObjectSubclass(attributes, options) {
@@ -14939,6 +14863,22 @@ var ParseObject = /*#__PURE__*/function () {
14939
14863
  this.initialize.apply(this, arguments);
14940
14864
  }
14941
14865
 
14866
+ if (this._initializers) {
14867
+ var _iterator2 = _createForOfIteratorHelper(this._initializers),
14868
+ _step2;
14869
+
14870
+ try {
14871
+ for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
14872
+ var initializer = _step2.value;
14873
+ initializer.apply(this, arguments);
14874
+ }
14875
+ } catch (err) {
14876
+ _iterator2.e(err);
14877
+ } finally {
14878
+ _iterator2.f();
14879
+ }
14880
+ }
14881
+
14942
14882
  if (attributes && (0, _typeof2.default)(attributes) === 'object') {
14943
14883
  if (!this.set(attributes || {}, options)) {
14944
14884
  throw new Error("Can't create an invalid Parse Object");
@@ -14946,19 +14886,44 @@ var ParseObject = /*#__PURE__*/function () {
14946
14886
  }
14947
14887
  };
14948
14888
 
14949
- ParseObjectSubclass.className = adjustedClassName;
14950
- ParseObjectSubclass.__super__ = parentProto;
14951
- ParseObjectSubclass.prototype = (0, _create.default)(parentProto, {
14952
- constructor: {
14953
- value: ParseObjectSubclass,
14954
- enumerable: false,
14955
- writable: true,
14956
- configurable: true
14957
- }
14958
- });
14889
+ if (classMap[adjustedClassName]) {
14890
+ ParseObjectSubclass = classMap[adjustedClassName];
14891
+ } else {
14892
+ ParseObjectSubclass.extend = function (name, protoProps, classProps) {
14893
+ if (typeof name === 'string') {
14894
+ return ParseObject.extend.call(ParseObjectSubclass, name, protoProps, classProps);
14895
+ }
14896
+
14897
+ return ParseObject.extend.call(ParseObjectSubclass, adjustedClassName, name, protoProps);
14898
+ };
14899
+
14900
+ ParseObjectSubclass.createWithoutData = ParseObject.createWithoutData;
14901
+ ParseObjectSubclass.className = adjustedClassName;
14902
+ ParseObjectSubclass.__super__ = parentProto;
14903
+ ParseObjectSubclass.prototype = (0, _create.default)(parentProto, {
14904
+ constructor: {
14905
+ value: ParseObjectSubclass,
14906
+ enumerable: false,
14907
+ writable: true,
14908
+ configurable: true
14909
+ }
14910
+ });
14911
+ }
14959
14912
 
14960
14913
  if (protoProps) {
14961
14914
  for (var prop in protoProps) {
14915
+ if (prop === 'initialize') {
14916
+ var _context9;
14917
+
14918
+ (0, _defineProperty2.default)(ParseObjectSubclass.prototype, '_initializers', {
14919
+ value: (0, _concat.default)(_context9 = []).call(_context9, (0, _toConsumableArray2.default)(ParseObjectSubclass.prototype._initializers || []), [protoProps[prop]]),
14920
+ enumerable: false,
14921
+ writable: true,
14922
+ configurable: true
14923
+ });
14924
+ continue;
14925
+ }
14926
+
14962
14927
  if (prop !== 'className') {
14963
14928
  (0, _defineProperty2.default)(ParseObjectSubclass.prototype, prop, {
14964
14929
  value: protoProps[prop],
@@ -14983,15 +14948,6 @@ var ParseObject = /*#__PURE__*/function () {
14983
14948
  }
14984
14949
  }
14985
14950
 
14986
- ParseObjectSubclass.extend = function (name, protoProps, classProps) {
14987
- if (typeof name === 'string') {
14988
- return ParseObject.extend.call(ParseObjectSubclass, name, protoProps, classProps);
14989
- }
14990
-
14991
- return ParseObject.extend.call(ParseObjectSubclass, adjustedClassName, name, protoProps);
14992
- };
14993
-
14994
- ParseObjectSubclass.createWithoutData = ParseObject.createWithoutData;
14995
14951
  classMap[adjustedClassName] = ParseObjectSubclass;
14996
14952
  return ParseObjectSubclass;
14997
14953
  }
@@ -15272,11 +15228,11 @@ var DefaultController = {
15272
15228
  query._limit = ids.length;
15273
15229
  return (0, _find.default)(query).call(query, options).then( /*#__PURE__*/function () {
15274
15230
  var _ref = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regeneratorRuntime().mark(function _callee6(objects) {
15275
- var idMap, i, obj, _i, _obj, id, _iterator2, _step2, object;
15231
+ var idMap, i, obj, _i, _obj, id, _iterator3, _step3, object;
15276
15232
 
15277
- return _regeneratorRuntime().wrap(function _callee6$(_context9) {
15233
+ return _regeneratorRuntime().wrap(function _callee6$(_context10) {
15278
15234
  while (1) {
15279
- switch (_context9.prev = _context9.next) {
15235
+ switch (_context10.prev = _context10.next) {
15280
15236
  case 0:
15281
15237
  idMap = {};
15282
15238
  (0, _forEach.default)(objects).call(objects, function (o) {
@@ -15286,27 +15242,27 @@ var DefaultController = {
15286
15242
 
15287
15243
  case 3:
15288
15244
  if (!(i < objs.length)) {
15289
- _context9.next = 11;
15245
+ _context10.next = 11;
15290
15246
  break;
15291
15247
  }
15292
15248
 
15293
15249
  obj = objs[i];
15294
15250
 
15295
15251
  if (!(!obj || !obj.id || !idMap[obj.id])) {
15296
- _context9.next = 8;
15252
+ _context10.next = 8;
15297
15253
  break;
15298
15254
  }
15299
15255
 
15300
15256
  if (!forceFetch) {
15301
- _context9.next = 8;
15257
+ _context10.next = 8;
15302
15258
  break;
15303
15259
  }
15304
15260
 
15305
- return _context9.abrupt("return", _promise.default.reject(new _ParseError.default(_ParseError.default.OBJECT_NOT_FOUND, 'All objects must exist on the server.')));
15261
+ return _context10.abrupt("return", _promise.default.reject(new _ParseError.default(_ParseError.default.OBJECT_NOT_FOUND, 'All objects must exist on the server.')));
15306
15262
 
15307
15263
  case 8:
15308
15264
  i++;
15309
- _context9.next = 3;
15265
+ _context10.next = 3;
15310
15266
  break;
15311
15267
 
15312
15268
  case 11:
@@ -15325,48 +15281,48 @@ var DefaultController = {
15325
15281
  }
15326
15282
  }
15327
15283
 
15328
- _iterator2 = _createForOfIteratorHelper(results);
15329
- _context9.prev = 13;
15284
+ _iterator3 = _createForOfIteratorHelper(results);
15285
+ _context10.prev = 13;
15330
15286
 
15331
- _iterator2.s();
15287
+ _iterator3.s();
15332
15288
 
15333
15289
  case 15:
15334
- if ((_step2 = _iterator2.n()).done) {
15335
- _context9.next = 21;
15290
+ if ((_step3 = _iterator3.n()).done) {
15291
+ _context10.next = 21;
15336
15292
  break;
15337
15293
  }
15338
15294
 
15339
- object = _step2.value;
15340
- _context9.next = 19;
15295
+ object = _step3.value;
15296
+ _context10.next = 19;
15341
15297
  return localDatastore._updateObjectIfPinned(object);
15342
15298
 
15343
15299
  case 19:
15344
- _context9.next = 15;
15300
+ _context10.next = 15;
15345
15301
  break;
15346
15302
 
15347
15303
  case 21:
15348
- _context9.next = 26;
15304
+ _context10.next = 26;
15349
15305
  break;
15350
15306
 
15351
15307
  case 23:
15352
- _context9.prev = 23;
15353
- _context9.t0 = _context9["catch"](13);
15308
+ _context10.prev = 23;
15309
+ _context10.t0 = _context10["catch"](13);
15354
15310
 
15355
- _iterator2.e(_context9.t0);
15311
+ _iterator3.e(_context10.t0);
15356
15312
 
15357
15313
  case 26:
15358
- _context9.prev = 26;
15314
+ _context10.prev = 26;
15359
15315
 
15360
- _iterator2.f();
15316
+ _iterator3.f();
15361
15317
 
15362
- return _context9.finish(26);
15318
+ return _context10.finish(26);
15363
15319
 
15364
15320
  case 29:
15365
- return _context9.abrupt("return", _promise.default.resolve(results));
15321
+ return _context10.abrupt("return", _promise.default.resolve(results));
15366
15322
 
15367
15323
  case 30:
15368
15324
  case "end":
15369
- return _context9.stop();
15325
+ return _context10.stop();
15370
15326
  }
15371
15327
  }
15372
15328
  }, _callee6, null, [[13, 23, 26, 29]]);
@@ -15391,9 +15347,9 @@ var DefaultController = {
15391
15347
 
15392
15348
  return RESTController.request('GET', 'classes/' + target.className + '/' + target._getId(), params, options).then( /*#__PURE__*/function () {
15393
15349
  var _ref2 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regeneratorRuntime().mark(function _callee7(response) {
15394
- return _regeneratorRuntime().wrap(function _callee7$(_context10) {
15350
+ return _regeneratorRuntime().wrap(function _callee7$(_context11) {
15395
15351
  while (1) {
15396
- switch (_context10.prev = _context10.next) {
15352
+ switch (_context11.prev = _context11.next) {
15397
15353
  case 0:
15398
15354
  target._clearPendingOps();
15399
15355
 
@@ -15401,15 +15357,15 @@ var DefaultController = {
15401
15357
 
15402
15358
  target._finishFetch(response);
15403
15359
 
15404
- _context10.next = 5;
15360
+ _context11.next = 5;
15405
15361
  return localDatastore._updateObjectIfPinned(target);
15406
15362
 
15407
15363
  case 5:
15408
- return _context10.abrupt("return", target);
15364
+ return _context11.abrupt("return", target);
15409
15365
 
15410
15366
  case 6:
15411
15367
  case "end":
15412
- return _context10.stop();
15368
+ return _context11.stop();
15413
15369
  }
15414
15370
  }
15415
15371
  }, _callee7);
@@ -15432,25 +15388,25 @@ var DefaultController = {
15432
15388
  {
15433
15389
  return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regeneratorRuntime().mark(function _callee10() {
15434
15390
  var batchSize, localDatastore, RESTController, batches, deleteCompleted, errors;
15435
- return _regeneratorRuntime().wrap(function _callee10$(_context13) {
15391
+ return _regeneratorRuntime().wrap(function _callee10$(_context14) {
15436
15392
  while (1) {
15437
- switch (_context13.prev = _context13.next) {
15393
+ switch (_context14.prev = _context14.next) {
15438
15394
  case 0:
15439
15395
  batchSize = options && options.batchSize ? options.batchSize : _CoreManager.default.get('REQUEST_BATCH_SIZE');
15440
15396
  localDatastore = _CoreManager.default.getLocalDatastore();
15441
15397
  RESTController = _CoreManager.default.getRESTController();
15442
15398
 
15443
15399
  if (!(0, _isArray.default)(target)) {
15444
- _context13.next = 15;
15400
+ _context14.next = 15;
15445
15401
  break;
15446
15402
  }
15447
15403
 
15448
15404
  if (!(target.length < 1)) {
15449
- _context13.next = 6;
15405
+ _context14.next = 6;
15450
15406
  break;
15451
15407
  }
15452
15408
 
15453
- return _context13.abrupt("return", _promise.default.resolve([]));
15409
+ return _context14.abrupt("return", _promise.default.resolve([]));
15454
15410
 
15455
15411
  case 6:
15456
15412
  batches = [[]];
@@ -15494,65 +15450,65 @@ var DefaultController = {
15494
15450
  });
15495
15451
  });
15496
15452
  });
15497
- return _context13.abrupt("return", deleteCompleted.then( /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regeneratorRuntime().mark(function _callee8() {
15498
- var aggregate, _iterator3, _step3, object;
15453
+ return _context14.abrupt("return", deleteCompleted.then( /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regeneratorRuntime().mark(function _callee8() {
15454
+ var aggregate, _iterator4, _step4, object;
15499
15455
 
15500
- return _regeneratorRuntime().wrap(function _callee8$(_context11) {
15456
+ return _regeneratorRuntime().wrap(function _callee8$(_context12) {
15501
15457
  while (1) {
15502
- switch (_context11.prev = _context11.next) {
15458
+ switch (_context12.prev = _context12.next) {
15503
15459
  case 0:
15504
15460
  if (!errors.length) {
15505
- _context11.next = 4;
15461
+ _context12.next = 4;
15506
15462
  break;
15507
15463
  }
15508
15464
 
15509
15465
  aggregate = new _ParseError.default(_ParseError.default.AGGREGATE_ERROR);
15510
15466
  aggregate.errors = errors;
15511
- return _context11.abrupt("return", _promise.default.reject(aggregate));
15467
+ return _context12.abrupt("return", _promise.default.reject(aggregate));
15512
15468
 
15513
15469
  case 4:
15514
- _iterator3 = _createForOfIteratorHelper(target);
15515
- _context11.prev = 5;
15470
+ _iterator4 = _createForOfIteratorHelper(target);
15471
+ _context12.prev = 5;
15516
15472
 
15517
- _iterator3.s();
15473
+ _iterator4.s();
15518
15474
 
15519
15475
  case 7:
15520
- if ((_step3 = _iterator3.n()).done) {
15521
- _context11.next = 13;
15476
+ if ((_step4 = _iterator4.n()).done) {
15477
+ _context12.next = 13;
15522
15478
  break;
15523
15479
  }
15524
15480
 
15525
- object = _step3.value;
15526
- _context11.next = 11;
15481
+ object = _step4.value;
15482
+ _context12.next = 11;
15527
15483
  return localDatastore._destroyObjectIfPinned(object);
15528
15484
 
15529
15485
  case 11:
15530
- _context11.next = 7;
15486
+ _context12.next = 7;
15531
15487
  break;
15532
15488
 
15533
15489
  case 13:
15534
- _context11.next = 18;
15490
+ _context12.next = 18;
15535
15491
  break;
15536
15492
 
15537
15493
  case 15:
15538
- _context11.prev = 15;
15539
- _context11.t0 = _context11["catch"](5);
15494
+ _context12.prev = 15;
15495
+ _context12.t0 = _context12["catch"](5);
15540
15496
 
15541
- _iterator3.e(_context11.t0);
15497
+ _iterator4.e(_context12.t0);
15542
15498
 
15543
15499
  case 18:
15544
- _context11.prev = 18;
15500
+ _context12.prev = 18;
15545
15501
 
15546
- _iterator3.f();
15502
+ _iterator4.f();
15547
15503
 
15548
- return _context11.finish(18);
15504
+ return _context12.finish(18);
15549
15505
 
15550
15506
  case 21:
15551
- return _context11.abrupt("return", _promise.default.resolve(target));
15507
+ return _context12.abrupt("return", _promise.default.resolve(target));
15552
15508
 
15553
15509
  case 22:
15554
15510
  case "end":
15555
- return _context11.stop();
15511
+ return _context12.stop();
15556
15512
  }
15557
15513
  }
15558
15514
  }, _callee8, null, [[5, 15, 18, 21]]);
@@ -15560,35 +15516,35 @@ var DefaultController = {
15560
15516
 
15561
15517
  case 15:
15562
15518
  if (!(target instanceof ParseObject)) {
15563
- _context13.next = 17;
15519
+ _context14.next = 17;
15564
15520
  break;
15565
15521
  }
15566
15522
 
15567
- return _context13.abrupt("return", RESTController.request('DELETE', 'classes/' + target.className + '/' + target._getId(), {}, options).then( /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regeneratorRuntime().mark(function _callee9() {
15568
- return _regeneratorRuntime().wrap(function _callee9$(_context12) {
15523
+ return _context14.abrupt("return", RESTController.request('DELETE', 'classes/' + target.className + '/' + target._getId(), {}, options).then( /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regeneratorRuntime().mark(function _callee9() {
15524
+ return _regeneratorRuntime().wrap(function _callee9$(_context13) {
15569
15525
  while (1) {
15570
- switch (_context12.prev = _context12.next) {
15526
+ switch (_context13.prev = _context13.next) {
15571
15527
  case 0:
15572
- _context12.next = 2;
15528
+ _context13.next = 2;
15573
15529
  return localDatastore._destroyObjectIfPinned(target);
15574
15530
 
15575
15531
  case 2:
15576
- return _context12.abrupt("return", _promise.default.resolve(target));
15532
+ return _context13.abrupt("return", _promise.default.resolve(target));
15577
15533
 
15578
15534
  case 3:
15579
15535
  case "end":
15580
- return _context12.stop();
15536
+ return _context13.stop();
15581
15537
  }
15582
15538
  }
15583
15539
  }, _callee9);
15584
15540
  }))));
15585
15541
 
15586
15542
  case 17:
15587
- return _context13.abrupt("return", _promise.default.resolve(target));
15543
+ return _context14.abrupt("return", _promise.default.resolve(target));
15588
15544
 
15589
15545
  case 18:
15590
15546
  case "end":
15591
- return _context13.stop();
15547
+ return _context14.stop();
15592
15548
  }
15593
15549
  }
15594
15550
  }, _callee10);
@@ -15715,66 +15671,66 @@ var DefaultController = {
15715
15671
  });
15716
15672
  return (0, _promiseUtils.when)(batchTasks);
15717
15673
  }).then( /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regeneratorRuntime().mark(function _callee11() {
15718
- var _iterator4, _step4, object;
15674
+ var _iterator5, _step5, object;
15719
15675
 
15720
- return _regeneratorRuntime().wrap(function _callee11$(_context14) {
15676
+ return _regeneratorRuntime().wrap(function _callee11$(_context15) {
15721
15677
  while (1) {
15722
- switch (_context14.prev = _context14.next) {
15678
+ switch (_context15.prev = _context15.next) {
15723
15679
  case 0:
15724
15680
  if (!objectError) {
15725
- _context14.next = 2;
15681
+ _context15.next = 2;
15726
15682
  break;
15727
15683
  }
15728
15684
 
15729
- return _context14.abrupt("return", _promise.default.reject(objectError));
15685
+ return _context15.abrupt("return", _promise.default.reject(objectError));
15730
15686
 
15731
15687
  case 2:
15732
- _iterator4 = _createForOfIteratorHelper(target);
15733
- _context14.prev = 3;
15688
+ _iterator5 = _createForOfIteratorHelper(target);
15689
+ _context15.prev = 3;
15734
15690
 
15735
- _iterator4.s();
15691
+ _iterator5.s();
15736
15692
 
15737
15693
  case 5:
15738
- if ((_step4 = _iterator4.n()).done) {
15739
- _context14.next = 13;
15694
+ if ((_step5 = _iterator5.n()).done) {
15695
+ _context15.next = 13;
15740
15696
  break;
15741
15697
  }
15742
15698
 
15743
- object = _step4.value;
15744
- _context14.next = 9;
15699
+ object = _step5.value;
15700
+ _context15.next = 9;
15745
15701
  return localDatastore._updateLocalIdForObject(mapIdForPin[object.id], object);
15746
15702
 
15747
15703
  case 9:
15748
- _context14.next = 11;
15704
+ _context15.next = 11;
15749
15705
  return localDatastore._updateObjectIfPinned(object);
15750
15706
 
15751
15707
  case 11:
15752
- _context14.next = 5;
15708
+ _context15.next = 5;
15753
15709
  break;
15754
15710
 
15755
15711
  case 13:
15756
- _context14.next = 18;
15712
+ _context15.next = 18;
15757
15713
  break;
15758
15714
 
15759
15715
  case 15:
15760
- _context14.prev = 15;
15761
- _context14.t0 = _context14["catch"](3);
15716
+ _context15.prev = 15;
15717
+ _context15.t0 = _context15["catch"](3);
15762
15718
 
15763
- _iterator4.e(_context14.t0);
15719
+ _iterator5.e(_context15.t0);
15764
15720
 
15765
15721
  case 18:
15766
- _context14.prev = 18;
15722
+ _context15.prev = 18;
15767
15723
 
15768
- _iterator4.f();
15724
+ _iterator5.f();
15769
15725
 
15770
- return _context14.finish(18);
15726
+ return _context15.finish(18);
15771
15727
 
15772
15728
  case 21:
15773
- return _context14.abrupt("return", _promise.default.resolve(target));
15729
+ return _context15.abrupt("return", _promise.default.resolve(target));
15774
15730
 
15775
15731
  case 22:
15776
15732
  case "end":
15777
- return _context14.stop();
15733
+ return _context15.stop();
15778
15734
  }
15779
15735
  }
15780
15736
  }, _callee11, null, [[3, 15, 18, 21]]);
@@ -15809,23 +15765,23 @@ var DefaultController = {
15809
15765
 
15810
15766
  stateController.pushPendingState(target._getStateIdentifier());
15811
15767
  return stateController.enqueueTask(target._getStateIdentifier(), task).then( /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regeneratorRuntime().mark(function _callee12() {
15812
- return _regeneratorRuntime().wrap(function _callee12$(_context15) {
15768
+ return _regeneratorRuntime().wrap(function _callee12$(_context16) {
15813
15769
  while (1) {
15814
- switch (_context15.prev = _context15.next) {
15770
+ switch (_context16.prev = _context16.next) {
15815
15771
  case 0:
15816
- _context15.next = 2;
15772
+ _context16.next = 2;
15817
15773
  return localDatastore._updateLocalIdForObject(localId, target);
15818
15774
 
15819
15775
  case 2:
15820
- _context15.next = 4;
15776
+ _context16.next = 4;
15821
15777
  return localDatastore._updateObjectIfPinned(target);
15822
15778
 
15823
15779
  case 4:
15824
- return _context15.abrupt("return", target);
15780
+ return _context16.abrupt("return", target);
15825
15781
 
15826
15782
  case 5:
15827
15783
  case "end":
15828
- return _context15.stop();
15784
+ return _context16.stop();
15829
15785
  }
15830
15786
  }
15831
15787
  }, _callee12);
@@ -15842,7 +15798,7 @@ _CoreManager.default.setObjectController(DefaultController);
15842
15798
 
15843
15799
  var _default = ParseObject;
15844
15800
  exports.default = _default;
15845
- },{"./CoreManager":4,"./EventuallyQueue":7,"./LocalDatastoreUtils":14,"./ParseACL":18,"./ParseError":21,"./ParseFile":22,"./ParseOp":27,"./ParseQuery":29,"./ParseRelation":30,"./SingleInstanceStateController":37,"./UniqueInstanceStateController":42,"./canBeSerialized":45,"./decode":46,"./encode":47,"./escape":49,"./parseDate":51,"./promiseUtils":52,"./unique":53,"./unsavedChildren":54,"./uuid":55,"@babel/runtime-corejs3/core-js-stable/array/from":56,"@babel/runtime-corejs3/core-js-stable/array/is-array":57,"@babel/runtime-corejs3/core-js-stable/instance/concat":59,"@babel/runtime-corejs3/core-js-stable/instance/filter":62,"@babel/runtime-corejs3/core-js-stable/instance/find":64,"@babel/runtime-corejs3/core-js-stable/instance/for-each":65,"@babel/runtime-corejs3/core-js-stable/instance/includes":66,"@babel/runtime-corejs3/core-js-stable/instance/index-of":67,"@babel/runtime-corejs3/core-js-stable/instance/map":69,"@babel/runtime-corejs3/core-js-stable/instance/reverse":71,"@babel/runtime-corejs3/core-js-stable/instance/slice":72,"@babel/runtime-corejs3/core-js-stable/json/stringify":77,"@babel/runtime-corejs3/core-js-stable/object/create":81,"@babel/runtime-corejs3/core-js-stable/object/define-properties":82,"@babel/runtime-corejs3/core-js-stable/object/define-property":83,"@babel/runtime-corejs3/core-js-stable/object/freeze":85,"@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor":86,"@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors":87,"@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols":88,"@babel/runtime-corejs3/core-js-stable/object/get-prototype-of":89,"@babel/runtime-corejs3/core-js-stable/object/keys":90,"@babel/runtime-corejs3/core-js-stable/object/set-prototype-of":91,"@babel/runtime-corejs3/core-js-stable/promise":93,"@babel/runtime-corejs3/core-js-stable/symbol":98,"@babel/runtime-corejs3/core-js-stable/weak-map":99,"@babel/runtime-corejs3/core-js/get-iterator-method":102,"@babel/runtime-corejs3/helpers/asyncToGenerator":121,"@babel/runtime-corejs3/helpers/classCallCheck":122,"@babel/runtime-corejs3/helpers/createClass":124,"@babel/runtime-corejs3/helpers/defineProperty":125,"@babel/runtime-corejs3/helpers/interopRequireDefault":129,"@babel/runtime-corejs3/helpers/typeof":141}],27:[function(_dereq_,module,exports){
15801
+ },{"./CoreManager":4,"./EventuallyQueue":7,"./LocalDatastoreUtils":14,"./ParseACL":18,"./ParseError":21,"./ParseFile":22,"./ParseOp":27,"./ParseQuery":29,"./ParseRelation":30,"./SingleInstanceStateController":37,"./UniqueInstanceStateController":42,"./canBeSerialized":45,"./decode":46,"./encode":47,"./escape":49,"./parseDate":51,"./promiseUtils":52,"./unique":53,"./unsavedChildren":54,"./uuid":55,"@babel/runtime-corejs3/core-js-stable/array/from":56,"@babel/runtime-corejs3/core-js-stable/array/is-array":57,"@babel/runtime-corejs3/core-js-stable/instance/concat":59,"@babel/runtime-corejs3/core-js-stable/instance/filter":62,"@babel/runtime-corejs3/core-js-stable/instance/find":64,"@babel/runtime-corejs3/core-js-stable/instance/for-each":65,"@babel/runtime-corejs3/core-js-stable/instance/includes":66,"@babel/runtime-corejs3/core-js-stable/instance/index-of":67,"@babel/runtime-corejs3/core-js-stable/instance/map":69,"@babel/runtime-corejs3/core-js-stable/instance/reverse":71,"@babel/runtime-corejs3/core-js-stable/instance/slice":72,"@babel/runtime-corejs3/core-js-stable/json/stringify":77,"@babel/runtime-corejs3/core-js-stable/object/create":81,"@babel/runtime-corejs3/core-js-stable/object/define-properties":82,"@babel/runtime-corejs3/core-js-stable/object/define-property":83,"@babel/runtime-corejs3/core-js-stable/object/freeze":85,"@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor":86,"@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors":87,"@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols":88,"@babel/runtime-corejs3/core-js-stable/object/get-prototype-of":89,"@babel/runtime-corejs3/core-js-stable/object/keys":90,"@babel/runtime-corejs3/core-js-stable/object/set-prototype-of":91,"@babel/runtime-corejs3/core-js-stable/promise":93,"@babel/runtime-corejs3/core-js-stable/symbol":98,"@babel/runtime-corejs3/core-js-stable/weak-map":99,"@babel/runtime-corejs3/core-js/get-iterator-method":102,"@babel/runtime-corejs3/helpers/asyncToGenerator":121,"@babel/runtime-corejs3/helpers/classCallCheck":122,"@babel/runtime-corejs3/helpers/createClass":124,"@babel/runtime-corejs3/helpers/defineProperty":125,"@babel/runtime-corejs3/helpers/interopRequireDefault":129,"@babel/runtime-corejs3/helpers/toConsumableArray":140,"@babel/runtime-corejs3/helpers/typeof":141}],27:[function(_dereq_,module,exports){
15846
15802
  "use strict";
15847
15803
 
15848
15804
  var _interopRequireDefault = _dereq_("@babel/runtime-corejs3/helpers/interopRequireDefault");
@@ -16697,13 +16653,6 @@ var _defineProperty2 = _interopRequireDefault(_dereq_("@babel/runtime-corejs3/he
16697
16653
 
16698
16654
  var _ParseGeoPoint = _interopRequireDefault(_dereq_("./ParseGeoPoint"));
16699
16655
  /**
16700
- * Copyright (c) 2015-present, Parse, LLC.
16701
- * All rights reserved.
16702
- *
16703
- * This source code is licensed under the BSD-style license found in the
16704
- * LICENSE file in the root directory of this source tree. An additional grant
16705
- * of patent rights can be found in the PATENTS file in the same directory.
16706
- *
16707
16656
  * @flow
16708
16657
  */
16709
16658
 
@@ -20381,13 +20330,6 @@ var _ParseObject = _interopRequireDefault(_dereq_("./ParseObject"));
20381
20330
 
20382
20331
  var _ParseQuery = _interopRequireDefault(_dereq_("./ParseQuery"));
20383
20332
  /**
20384
- * Copyright (c) 2015-present, Parse, LLC.
20385
- * All rights reserved.
20386
- *
20387
- * This source code is licensed under the BSD-style license found in the
20388
- * LICENSE file in the root directory of this source tree. An additional grant
20389
- * of patent rights can be found in the PATENTS file in the same directory.
20390
- *
20391
20333
  * @flow
20392
20334
  */
20393
20335
 
@@ -20854,13 +20796,6 @@ var _ParseObject = _interopRequireDefault(_dereq_("./ParseObject"));
20854
20796
 
20855
20797
  var _ParseCLP = _interopRequireDefault(_dereq_("./ParseCLP"));
20856
20798
  /**
20857
- * Copyright (c) 2015-present, Parse, LLC.
20858
- * All rights reserved.
20859
- *
20860
- * This source code is licensed under the BSD-style license found in the
20861
- * LICENSE file in the root directory of this source tree. An additional grant
20862
- * of patent rights can be found in the PATENTS file in the same directory.
20863
- *
20864
20799
  * @flow
20865
20800
  */
20866
20801
 
@@ -24037,13 +23972,6 @@ var _CoreManager = _interopRequireDefault(_dereq_("./CoreManager"));
24037
23972
 
24038
23973
  var _ParseQuery = _interopRequireDefault(_dereq_("./ParseQuery"));
24039
23974
  /**
24040
- * Copyright (c) 2015-present, Parse, LLC.
24041
- * All rights reserved.
24042
- *
24043
- * This source code is licensed under the BSD-style license found in the
24044
- * LICENSE file in the root directory of this source tree. An additional grant
24045
- * of patent rights can be found in the PATENTS file in the same directory.
24046
- *
24047
23975
  * @flow
24048
23976
  */
24049
23977
 
@@ -24235,13 +24163,6 @@ function _objectSpread(target) {
24235
24163
  return target;
24236
24164
  }
24237
24165
  /**
24238
- * Copyright (c) 2015-present, Parse, LLC.
24239
- * All rights reserved.
24240
- *
24241
- * This source code is licensed under the BSD-style license found in the
24242
- * LICENSE file in the root directory of this source tree. An additional grant
24243
- * of patent rights can be found in the PATENTS file in the same directory.
24244
- *
24245
24166
  * @flow
24246
24167
  */
24247
24168
 
@@ -24705,13 +24626,6 @@ function _interopRequireWildcard(obj, nodeInterop) {
24705
24626
  return newObj;
24706
24627
  }
24707
24628
  /**
24708
- * Copyright (c) 2015-present, Parse, LLC.
24709
- * All rights reserved.
24710
- *
24711
- * This source code is licensed under the BSD-style license found in the
24712
- * LICENSE file in the root directory of this source tree. An additional grant
24713
- * of patent rights can be found in the PATENTS file in the same directory.
24714
- *
24715
24629
  * @flow
24716
24630
  */
24717
24631
 
@@ -24980,13 +24894,6 @@ var _promise = _interopRequireDefault(_dereq_("@babel/runtime-corejs3/core-js-st
24980
24894
 
24981
24895
  var _CoreManager = _interopRequireDefault(_dereq_("./CoreManager"));
24982
24896
  /**
24983
- * Copyright (c) 2015-present, Parse, LLC.
24984
- * All rights reserved.
24985
- *
24986
- * This source code is licensed under the BSD-style license found in the
24987
- * LICENSE file in the root directory of this source tree. An additional grant
24988
- * of patent rights can be found in the PATENTS file in the same directory.
24989
- *
24990
24897
  * @flow
24991
24898
  */
24992
24899
 
@@ -25140,13 +25047,6 @@ var _interopRequireDefault = _dereq_("@babel/runtime-corejs3/helpers/interopRequ
25140
25047
 
25141
25048
  var _keys = _interopRequireDefault(_dereq_("@babel/runtime-corejs3/core-js-stable/instance/keys"));
25142
25049
  /**
25143
- * Copyright (c) 2015-present, Parse, LLC.
25144
- * All rights reserved.
25145
- *
25146
- * This source code is licensed under the BSD-style license found in the
25147
- * LICENSE file in the root directory of this source tree. An additional grant
25148
- * of patent rights can be found in the PATENTS file in the same directory.
25149
- *
25150
25050
  * @flow
25151
25051
  * @private
25152
25052
  */
@@ -25198,13 +25098,6 @@ var _defineProperty2 = _interopRequireDefault(_dereq_("@babel/runtime-corejs3/he
25198
25098
 
25199
25099
  var _promiseUtils = _dereq_("./promiseUtils");
25200
25100
  /**
25201
- * Copyright (c) 2015-present, Parse, LLC.
25202
- * All rights reserved.
25203
- *
25204
- * This source code is licensed under the BSD-style license found in the
25205
- * LICENSE file in the root directory of this source tree. An additional grant
25206
- * of patent rights can be found in the PATENTS file in the same directory.
25207
- *
25208
25101
  * @flow
25209
25102
  */
25210
25103
 
@@ -25360,13 +25253,6 @@ function _interopRequireWildcard(obj, nodeInterop) {
25360
25253
  return newObj;
25361
25254
  }
25362
25255
  /**
25363
- * Copyright (c) 2015-present, Parse, LLC.
25364
- * All rights reserved.
25365
- *
25366
- * This source code is licensed under the BSD-style license found in the
25367
- * LICENSE file in the root directory of this source tree. An additional grant
25368
- * of patent rights can be found in the PATENTS file in the same directory.
25369
- *
25370
25256
  * @flow
25371
25257
  */
25372
25258
 
@@ -25718,13 +25604,6 @@ var _indexOf = _interopRequireDefault(_dereq_("@babel/runtime-corejs3/core-js-st
25718
25604
 
25719
25605
  var _ParseObject = _interopRequireDefault(_dereq_("./ParseObject"));
25720
25606
  /**
25721
- * Copyright (c) 2015-present, Parse, LLC.
25722
- * All rights reserved.
25723
- *
25724
- * This source code is licensed under the BSD-style license found in the
25725
- * LICENSE file in the root directory of this source tree. An additional grant
25726
- * of patent rights can be found in the PATENTS file in the same directory.
25727
- *
25728
25607
  * @flow
25729
25608
  */
25730
25609
 
@@ -25771,13 +25650,6 @@ var _ParseObject = _interopRequireDefault(_dereq_("./ParseObject"));
25771
25650
 
25772
25651
  var _ParseRelation = _interopRequireDefault(_dereq_("./ParseRelation"));
25773
25652
  /**
25774
- * Copyright (c) 2015-present, Parse, LLC.
25775
- * All rights reserved.
25776
- *
25777
- * This source code is licensed under the BSD-style license found in the
25778
- * LICENSE file in the root directory of this source tree. An additional grant
25779
- * of patent rights can be found in the PATENTS file in the same directory.
25780
- *
25781
25653
  * @flow
25782
25654
  */
25783
25655
 
@@ -25880,13 +25752,6 @@ var _ParseOp = _dereq_("./ParseOp");
25880
25752
 
25881
25753
  var _ParseRelation = _interopRequireDefault(_dereq_("./ParseRelation"));
25882
25754
  /**
25883
- * Copyright (c) 2015-present, Parse, LLC.
25884
- * All rights reserved.
25885
- *
25886
- * This source code is licensed under the BSD-style license found in the
25887
- * LICENSE file in the root directory of this source tree. An additional grant
25888
- * of patent rights can be found in the PATENTS file in the same directory.
25889
- *
25890
25755
  * @flow
25891
25756
  */
25892
25757
  // eslint-disable-line no-unused-vars
@@ -25996,13 +25861,6 @@ var _ParseOp = _dereq_("./ParseOp");
25996
25861
 
25997
25862
  var _ParseRelation = _interopRequireDefault(_dereq_("./ParseRelation"));
25998
25863
  /**
25999
- * Copyright (c) 2015-present, Parse, LLC.
26000
- * All rights reserved.
26001
- *
26002
- * This source code is licensed under the BSD-style license found in the
26003
- * LICENSE file in the root directory of this source tree. An additional grant
26004
- * of patent rights can be found in the PATENTS file in the same directory.
26005
- *
26006
25864
  * @flow
26007
25865
  */
26008
25866
 
@@ -26130,15 +25988,6 @@ var _ParseFile = _interopRequireDefault(_dereq_("./ParseFile"));
26130
25988
  var _ParseGeoPoint = _interopRequireDefault(_dereq_("./ParseGeoPoint"));
26131
25989
 
26132
25990
  var _ParseObject = _interopRequireDefault(_dereq_("./ParseObject"));
26133
- /**
26134
- * Copyright (c) 2015-present, Parse, LLC.
26135
- * All rights reserved.
26136
- *
26137
- * This source code is licensed under the BSD-style license found in the
26138
- * LICENSE file in the root directory of this source tree. An additional grant
26139
- * of patent rights can be found in the PATENTS file in the same directory.
26140
- */
26141
-
26142
25991
 
26143
25992
  function equals(a, b) {
26144
25993
  var toString = Object.prototype.toString;
@@ -26209,13 +26058,6 @@ _Object$defineProperty(exports, "__esModule", {
26209
26058
 
26210
26059
  exports.default = escape;
26211
26060
  /*
26212
- * Copyright (c) 2015-present, Parse, LLC.
26213
- * All rights reserved.
26214
- *
26215
- * This source code is licensed under the BSD-style license found in the
26216
- * LICENSE file in the root directory of this source tree. An additional grant
26217
- * of patent rights can be found in the PATENTS file in the same directory.
26218
- *
26219
26061
  * @flow
26220
26062
  */
26221
26063
 
@@ -26252,13 +26094,6 @@ exports.default = isRevocableSession;
26252
26094
 
26253
26095
  var _indexOf = _interopRequireDefault(_dereq_("@babel/runtime-corejs3/core-js-stable/instance/index-of"));
26254
26096
  /**
26255
- * Copyright (c) 2015-present, Parse, LLC.
26256
- * All rights reserved.
26257
- *
26258
- * This source code is licensed under the BSD-style license found in the
26259
- * LICENSE file in the root directory of this source tree. An additional grant
26260
- * of patent rights can be found in the PATENTS file in the same directory.
26261
- *
26262
26097
  * @flow
26263
26098
  */
26264
26099
 
@@ -26285,13 +26120,6 @@ exports.default = parseDate;
26285
26120
 
26286
26121
  var _parseInt2 = _interopRequireDefault(_dereq_("@babel/runtime-corejs3/core-js-stable/parse-int"));
26287
26122
  /**
26288
- * Copyright (c) 2015-present, Parse, LLC.
26289
- * All rights reserved.
26290
- *
26291
- * This source code is licensed under the BSD-style license found in the
26292
- * LICENSE file in the root directory of this source tree. An additional grant
26293
- * of patent rights can be found in the PATENTS file in the same directory.
26294
- *
26295
26123
  * @flow
26296
26124
  */
26297
26125
 
@@ -26438,13 +26266,6 @@ var _arrayContainsObject = _interopRequireDefault(_dereq_("./arrayContainsObject
26438
26266
 
26439
26267
  var _ParseObject = _interopRequireDefault(_dereq_("./ParseObject"));
26440
26268
  /**
26441
- * Copyright (c) 2015-present, Parse, LLC.
26442
- * All rights reserved.
26443
- *
26444
- * This source code is licensed under the BSD-style license found in the
26445
- * LICENSE file in the root directory of this source tree. An additional grant
26446
- * of patent rights can be found in the PATENTS file in the same directory.
26447
- *
26448
26269
  * @flow
26449
26270
  */
26450
26271
 
@@ -26499,13 +26320,6 @@ var _ParseObject = _interopRequireDefault(_dereq_("./ParseObject"));
26499
26320
 
26500
26321
  var _ParseRelation = _interopRequireDefault(_dereq_("./ParseRelation"));
26501
26322
  /**
26502
- * Copyright (c) 2015-present, Parse, LLC.
26503
- * All rights reserved.
26504
- *
26505
- * This source code is licensed under the BSD-style license found in the
26506
- * LICENSE file in the root directory of this source tree. An additional grant
26507
- * of patent rights can be found in the PATENTS file in the same directory.
26508
- *
26509
26323
  * @flow
26510
26324
  */
26511
26325