parse 5.0.0-alpha.3 → 5.0.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 +7 -8
- package/dist/parse.min.js +2 -2
- package/dist/parse.weapp.js +7 -8
- package/dist/parse.weapp.min.js +2 -2
- package/lib/browser/CoreManager.js +1 -1
- package/lib/browser/ParseUser.js +1 -6
- package/lib/browser/RESTController.js +4 -0
- package/lib/node/CoreManager.js +1 -1
- package/lib/node/ParseUser.js +1 -6
- package/lib/node/RESTController.js +4 -0
- package/lib/react-native/CoreManager.js +1 -1
- package/lib/react-native/ParseUser.js +1 -6
- package/lib/react-native/RESTController.js +3 -0
- package/lib/weapp/CoreManager.js +1 -1
- package/lib/weapp/ParseUser.js +1 -6
- package/lib/weapp/RESTController.js +4 -0
- package/package.json +2 -2
package/dist/parse.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Parse JavaScript SDK v5.0.0-alpha.
|
|
2
|
+
* Parse JavaScript SDK v5.0.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
|
|
@@ -557,7 +557,7 @@ var config /*: Config & { [key: string]: mixed }*/ = {
|
|
|
557
557
|
SERVER_AUTH_TOKEN: null,
|
|
558
558
|
LIVEQUERY_SERVER_URL: null,
|
|
559
559
|
ENCRYPTED_KEY: null,
|
|
560
|
-
VERSION: 'js' + "5.0.0-alpha.
|
|
560
|
+
VERSION: 'js' + "5.0.0-alpha.4",
|
|
561
561
|
APPLICATION_ID: null,
|
|
562
562
|
JAVASCRIPT_KEY: null,
|
|
563
563
|
MASTER_KEY: null,
|
|
@@ -16179,13 +16179,8 @@ var ParseUser = /*#__PURE__*/function (_ParseObject) {
|
|
|
16179
16179
|
if (typeof password !== 'string') {
|
|
16180
16180
|
return _promise.default.reject(new _ParseError.default(_ParseError.default.OTHER_CAUSE, 'Password must be a string.'));
|
|
16181
16181
|
}
|
|
16182
|
-
options = options || {};
|
|
16183
|
-
var verificationOption = {};
|
|
16184
|
-
if (options.hasOwnProperty('useMasterKey')) {
|
|
16185
|
-
verificationOption.useMasterKey = options.useMasterKey;
|
|
16186
|
-
}
|
|
16187
16182
|
var controller = _CoreManager.default.getUserController();
|
|
16188
|
-
return controller.verifyPassword(username, password,
|
|
16183
|
+
return controller.verifyPassword(username, password, options || {});
|
|
16189
16184
|
}
|
|
16190
16185
|
|
|
16191
16186
|
/**
|
|
@@ -16790,6 +16785,7 @@ var uuidv4 = _dereq_('./uuid');
|
|
|
16790
16785
|
progress?: any,
|
|
16791
16786
|
context?: any,
|
|
16792
16787
|
usePost?: boolean,
|
|
16788
|
+
ignoreEmailVerification?: boolean,
|
|
16793
16789
|
};*/
|
|
16794
16790
|
/*:: export type FullOptions = {
|
|
16795
16791
|
success?: any,
|
|
@@ -17005,6 +17001,9 @@ var RESTController = {
|
|
|
17005
17001
|
throw new Error('Cannot use the Master Key, it has not been provided.');
|
|
17006
17002
|
}
|
|
17007
17003
|
}
|
|
17004
|
+
if (options.ignoreEmailVerification !== undefined) {
|
|
17005
|
+
payload.ignoreEmailVerification = options.ignoreEmailVerification;
|
|
17006
|
+
}
|
|
17008
17007
|
if (_CoreManager.default.get('FORCE_REVOCABLE_SESSION')) {
|
|
17009
17008
|
payload._RevocableSession = '1';
|
|
17010
17009
|
}
|