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.weapp.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,
|
|
@@ -15531,6 +15531,9 @@ var ParseUser = /*#__PURE__*/function (_ParseObject) {
|
|
|
15531
15531
|
if (options.hasOwnProperty('usePost')) {
|
|
15532
15532
|
loginOptions.usePost = options.usePost;
|
|
15533
15533
|
}
|
|
15534
|
+
if (options.hasOwnProperty('context') && Object.prototype.toString.call(options.context) === '[object Object]') {
|
|
15535
|
+
loginOptions.context = options.context;
|
|
15536
|
+
}
|
|
15534
15537
|
var controller = _CoreManager.default.getUserController();
|
|
15535
15538
|
return controller.logIn(this, loginOptions);
|
|
15536
15539
|
}
|