parse 5.3.0-alpha.4 → 5.3.0-alpha.5
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/README.md +2 -1
- package/dist/parse.js +4 -4
- package/dist/parse.min.js +2 -2
- package/dist/parse.weapp.js +4 -4
- package/dist/parse.weapp.min.js +2 -2
- package/lib/browser/Cloud.js +2 -2
- package/lib/browser/CoreManager.js +1 -1
- package/lib/node/Cloud.js +2 -2
- package/lib/node/CoreManager.js +1 -1
- package/lib/react-native/Cloud.js +2 -2
- package/lib/react-native/CoreManager.js +1 -1
- package/lib/react-native/ParseInstallation.js +3 -3
- package/lib/react-native/ParseRole.js +3 -3
- package/lib/react-native/ParseUser.js +3 -3
- package/lib/weapp/Cloud.js +2 -2
- package/lib/weapp/CoreManager.js +1 -1
- package/package.json +24 -24
package/dist/parse.weapp.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Parse JavaScript SDK v5.3.0-alpha.
|
|
2
|
+
* Parse JavaScript SDK v5.3.0-alpha.5
|
|
3
3
|
*
|
|
4
4
|
* The source tree of this library can be found at
|
|
5
5
|
* https://github.com/ParsePlatform/Parse-SDK-JS
|
|
@@ -244,8 +244,8 @@ function run(name, data, options) {
|
|
|
244
244
|
throw new TypeError('Cloud function name must be a string.');
|
|
245
245
|
}
|
|
246
246
|
const requestOptions = {};
|
|
247
|
-
if (options.useMasterKey) {
|
|
248
|
-
requestOptions.useMasterKey = options.useMasterKey;
|
|
247
|
+
if (options.hasOwnProperty('useMasterKey')) {
|
|
248
|
+
requestOptions.useMasterKey = !!options.useMasterKey;
|
|
249
249
|
}
|
|
250
250
|
if (options.sessionToken) {
|
|
251
251
|
requestOptions.sessionToken = options.sessionToken;
|
|
@@ -358,7 +358,7 @@ const config = {
|
|
|
358
358
|
SERVER_AUTH_TOKEN: null,
|
|
359
359
|
LIVEQUERY_SERVER_URL: null,
|
|
360
360
|
ENCRYPTED_KEY: null,
|
|
361
|
-
VERSION: 'js' + "5.3.0-alpha.
|
|
361
|
+
VERSION: 'js' + "5.3.0-alpha.5",
|
|
362
362
|
APPLICATION_ID: null,
|
|
363
363
|
JAVASCRIPT_KEY: null,
|
|
364
364
|
MASTER_KEY: null,
|