parse 6.1.0-alpha.3 → 6.1.0-alpha.4
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 +6 -4
- package/dist/parse.min.js +2 -2
- package/dist/parse.weapp.js +6 -4
- package/dist/parse.weapp.min.js +2 -2
- package/lib/browser/CoreManager.js +1 -1
- package/lib/browser/ParseObject.js +2 -1
- package/lib/browser/ParseOp.js +1 -1
- package/lib/browser/TaskQueue.js +1 -0
- package/lib/node/CoreManager.js +1 -1
- package/lib/node/ParseObject.js +2 -1
- package/lib/node/ParseOp.js +1 -1
- package/lib/node/TaskQueue.js +1 -0
- package/lib/react-native/CoreManager.js +1 -1
- package/lib/react-native/ObjectStateMutations.js +13 -13
- package/lib/react-native/ParseACL.js +7 -7
- package/lib/react-native/ParseCLP.js +15 -15
- package/lib/react-native/ParseObject.js +9 -9
- package/lib/react-native/ParseUser.js +15 -15
- package/lib/weapp/CoreManager.js +1 -1
- package/lib/weapp/ParseObject.js +2 -1
- package/lib/weapp/ParseOp.js +1 -1
- package/lib/weapp/TaskQueue.js +1 -0
- package/package.json +8 -8
- package/types/Analytics.d.ts +1 -3
- package/types/CoreManager.d.ts +56 -62
- package/types/LocalDatastore.d.ts +3 -3
- package/types/LocalDatastoreController.default.d.ts +1 -1
- package/types/LocalDatastoreController.react-native.d.ts +1 -1
- package/types/ObjectStateMutations.d.ts +12 -18
- package/types/Parse.d.ts +49 -310
- package/types/ParseACL.d.ts +2 -6
- package/types/ParseCLP.d.ts +2 -6
- package/types/ParseConfig.d.ts +3 -11
- package/types/ParseFile.d.ts +8 -12
- package/types/ParseInstallation.d.ts +4 -4
- package/types/ParseObject.d.ts +24 -26
- package/types/ParseOp.d.ts +13 -15
- package/types/ParsePolygon.d.ts +3 -3
- package/types/ParseQuery.d.ts +38 -46
- package/types/ParseSchema.d.ts +12 -28
- package/types/ParseUser.d.ts +8 -14
- package/types/Push.d.ts +2 -2
- package/types/RESTController.d.ts +4 -4
- package/types/SingleInstanceStateController.d.ts +1 -1
- package/types/Storage.d.ts +2 -2
- package/types/StorageController.react-native.d.ts +2 -2
- package/types/TaskQueue.d.ts +3 -3
- package/types/UniqueInstanceStateController.d.ts +1 -1
- package/types/arrayContainsObject.d.ts +1 -1
- package/types/encode.d.ts +1 -1
- package/types/eslint.config.mjs +30 -0
- package/types/unique.d.ts +1 -1
- package/types/unsavedChildren.d.ts +1 -1
package/dist/parse.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Parse JavaScript SDK v6.1.0-alpha.
|
|
2
|
+
* Parse JavaScript SDK v6.1.0-alpha.4
|
|
3
3
|
*
|
|
4
4
|
* The source tree of this library can be found at
|
|
5
5
|
* https://github.com/ParsePlatform/Parse-SDK-JS
|
|
@@ -355,7 +355,7 @@ const config = {
|
|
|
355
355
|
SERVER_AUTH_TOKEN: null,
|
|
356
356
|
LIVEQUERY_SERVER_URL: null,
|
|
357
357
|
ENCRYPTED_KEY: null,
|
|
358
|
-
VERSION: 'js' + "6.1.0-alpha.
|
|
358
|
+
VERSION: 'js' + "6.1.0-alpha.4",
|
|
359
359
|
APPLICATION_ID: null,
|
|
360
360
|
JAVASCRIPT_KEY: null,
|
|
361
361
|
MAINTENANCE_KEY: null,
|
|
@@ -7978,7 +7978,7 @@ class ParseObject {
|
|
|
7978
7978
|
*/
|
|
7979
7979
|
destroy(options) {
|
|
7980
7980
|
if (!this.id) {
|
|
7981
|
-
return _promise.default.resolve();
|
|
7981
|
+
return _promise.default.resolve(undefined);
|
|
7982
7982
|
}
|
|
7983
7983
|
const destroyOptions = ParseObject._getRequestOptions(options);
|
|
7984
7984
|
return _CoreManager.default.getObjectController().destroy(this, destroyOptions);
|
|
@@ -8962,6 +8962,7 @@ const DefaultController = {
|
|
|
8962
8962
|
const batchReady = [];
|
|
8963
8963
|
const batchTasks = [];
|
|
8964
8964
|
(0, _forEach.default)(batch).call(batch, (obj, index) => {
|
|
8965
|
+
// eslint-disable-next-line
|
|
8965
8966
|
const ready = (0, _promiseUtils.resolvingPromise)();
|
|
8966
8967
|
batchReady.push(ready);
|
|
8967
8968
|
stateController.pushPendingState(obj._getStateIdentifier());
|
|
@@ -9130,7 +9131,7 @@ function opFromJSON(json) {
|
|
|
9130
9131
|
class Op {
|
|
9131
9132
|
// Empty parent class
|
|
9132
9133
|
applyTo() {} /* eslint-disable-line @typescript-eslint/no-unused-vars */
|
|
9133
|
-
mergeWith() {} /* eslint-disable-line
|
|
9134
|
+
mergeWith() {} /* eslint-disable-line */
|
|
9134
9135
|
toJSON() {} /* eslint-disable-line @typescript-eslint/no-unused-vars */
|
|
9135
9136
|
}
|
|
9136
9137
|
exports.Op = Op;
|
|
@@ -14741,6 +14742,7 @@ class TaskQueue {
|
|
|
14741
14742
|
this.queue = [];
|
|
14742
14743
|
}
|
|
14743
14744
|
enqueue(task) {
|
|
14745
|
+
// eslint-disable-next-line
|
|
14744
14746
|
const taskComplete = (0, _promiseUtils.resolvingPromise)();
|
|
14745
14747
|
this.queue.push({
|
|
14746
14748
|
task: task,
|