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/README.md
CHANGED
|
@@ -113,7 +113,7 @@ Types are updated manually after every release. If a definition doesn't exist, p
|
|
|
113
113
|
|
|
114
114
|
#### Core Manager
|
|
115
115
|
|
|
116
|
-
The SDK has a [Core Manager]
|
|
116
|
+
The SDK has a [Core Manager][core-manager] that handles all configurations and controllers. These modules can be swapped out for customization before you initialize the SDK. For full list of all available modules take a look at the [Core Manager Documentation][core-manager].
|
|
117
117
|
|
|
118
118
|
```js
|
|
119
119
|
// Configuration example
|
|
@@ -144,6 +144,7 @@ We really want Parse to be yours, to see it grow and thrive in the open source c
|
|
|
144
144
|
|
|
145
145
|
[3rd-party-auth]: http://docs.parseplatform.org/parse-server/guide/#oauth-and-3rd-party-authentication
|
|
146
146
|
[contributing]: https://github.com/parse-community/Parse-SDK-JS/blob/master/CONTRIBUTING.md
|
|
147
|
+
[core-manager]: https://github.com/parse-community/Parse-SDK-JS/blob/alpha/src/CoreManager.ts
|
|
147
148
|
[custom-auth-module]: https://docs.parseplatform.org/js/guide/#custom-authentication-module
|
|
148
149
|
[link-with]: https://docs.parseplatform.org/js/guide/#linking-users
|
|
149
150
|
[open-collective-link]: https://opencollective.com/parse-server
|
package/dist/parse.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,
|