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.weapp.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,
|
|
@@ -7973,7 +7973,7 @@ class ParseObject {
|
|
|
7973
7973
|
*/
|
|
7974
7974
|
destroy(options) {
|
|
7975
7975
|
if (!this.id) {
|
|
7976
|
-
return _promise.default.resolve();
|
|
7976
|
+
return _promise.default.resolve(undefined);
|
|
7977
7977
|
}
|
|
7978
7978
|
const destroyOptions = ParseObject._getRequestOptions(options);
|
|
7979
7979
|
return _CoreManager.default.getObjectController().destroy(this, destroyOptions);
|
|
@@ -8957,6 +8957,7 @@ const DefaultController = {
|
|
|
8957
8957
|
const batchReady = [];
|
|
8958
8958
|
const batchTasks = [];
|
|
8959
8959
|
(0, _forEach.default)(batch).call(batch, (obj, index) => {
|
|
8960
|
+
// eslint-disable-next-line
|
|
8960
8961
|
const ready = (0, _promiseUtils.resolvingPromise)();
|
|
8961
8962
|
batchReady.push(ready);
|
|
8962
8963
|
stateController.pushPendingState(obj._getStateIdentifier());
|
|
@@ -9125,7 +9126,7 @@ function opFromJSON(json) {
|
|
|
9125
9126
|
class Op {
|
|
9126
9127
|
// Empty parent class
|
|
9127
9128
|
applyTo() {} /* eslint-disable-line @typescript-eslint/no-unused-vars */
|
|
9128
|
-
mergeWith() {} /* eslint-disable-line
|
|
9129
|
+
mergeWith() {} /* eslint-disable-line */
|
|
9129
9130
|
toJSON() {} /* eslint-disable-line @typescript-eslint/no-unused-vars */
|
|
9130
9131
|
}
|
|
9131
9132
|
exports.Op = Op;
|
|
@@ -14737,6 +14738,7 @@ class TaskQueue {
|
|
|
14737
14738
|
this.queue = [];
|
|
14738
14739
|
}
|
|
14739
14740
|
enqueue(task) {
|
|
14741
|
+
// eslint-disable-next-line
|
|
14740
14742
|
const taskComplete = (0, _promiseUtils.resolvingPromise)();
|
|
14741
14743
|
this.queue.push({
|
|
14742
14744
|
task: task,
|