parse 4.2.0-alpha.7 → 4.2.0-alpha.8
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 +5 -2
- package/dist/parse.min.js +2 -2
- package/dist/parse.weapp.js +5 -2
- package/dist/parse.weapp.min.js +2 -2
- package/lib/browser/CoreManager.js +1 -1
- package/lib/browser/ParseUser.js +3 -0
- package/lib/node/CoreManager.js +1 -1
- package/lib/node/ParseUser.js +3 -0
- package/lib/react-native/CoreManager.js +1 -1
- package/lib/react-native/ParseUser.js +3 -0
- package/lib/weapp/CoreManager.js +1 -1
- package/lib/weapp/ParseUser.js +3 -0
- package/package.json +1 -1
package/dist/parse.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Parse JavaScript SDK v4.2.0-alpha.
|
|
2
|
+
* Parse JavaScript SDK v4.2.0-alpha.8
|
|
3
3
|
*
|
|
4
4
|
* The source tree of this library can be found at
|
|
5
5
|
* https://github.com/ParsePlatform/Parse-SDK-JS
|
|
@@ -538,7 +538,7 @@ var config /*: Config & { [key: string]: mixed }*/ = {
|
|
|
538
538
|
SERVER_AUTH_TOKEN: null,
|
|
539
539
|
LIVEQUERY_SERVER_URL: null,
|
|
540
540
|
ENCRYPTED_KEY: null,
|
|
541
|
-
VERSION: 'js' + "4.2.0-alpha.
|
|
541
|
+
VERSION: 'js' + "4.2.0-alpha.8",
|
|
542
542
|
APPLICATION_ID: null,
|
|
543
543
|
JAVASCRIPT_KEY: null,
|
|
544
544
|
MASTER_KEY: null,
|
|
@@ -15573,6 +15573,9 @@ var ParseUser = /*#__PURE__*/function (_ParseObject) {
|
|
|
15573
15573
|
if (options.hasOwnProperty('usePost')) {
|
|
15574
15574
|
loginOptions.usePost = options.usePost;
|
|
15575
15575
|
}
|
|
15576
|
+
if (options.hasOwnProperty('context') && Object.prototype.toString.call(options.context) === '[object Object]') {
|
|
15577
|
+
loginOptions.context = options.context;
|
|
15578
|
+
}
|
|
15576
15579
|
var controller = _CoreManager.default.getUserController();
|
|
15577
15580
|
return controller.logIn(this, loginOptions);
|
|
15578
15581
|
}
|