Comparing version
@@ -18,4 +18,4 @@ /** | ||
REQUEST_ATTEMPT_LIMIT: 5, | ||
SERVER_URL: 'https://api.parse.com', | ||
VERSION: '1.6.9', | ||
SERVER_URL: 'https://api.parse.com/1', | ||
VERSION: 'js' + '1.6.11', | ||
APPLICATION_ID: null, | ||
@@ -22,0 +22,0 @@ JAVASCRIPT_KEY: null, |
@@ -324,3 +324,3 @@ /** | ||
value: function is(promise) { | ||
return typeof promise !== 'undefined' && typeof promise.then === 'function'; | ||
return promise != null && typeof promise.then === 'function'; | ||
} | ||
@@ -327,0 +327,0 @@ |
@@ -61,4 +61,3 @@ /** | ||
* @constructor | ||
* @param objectClass - | ||
* An instance of a subclass of Parse.Object, or a Parse className string. | ||
* @param {} objectClass An instance of a subclass of Parse.Object, or a Parse className string. | ||
* | ||
@@ -65,0 +64,0 @@ * <p>Parse.Query defines a query that is used to fetch Parse.Objects. The |
@@ -806,6 +806,7 @@ /** | ||
// Synchronize the current user with the auth provider. | ||
var current = ParseUser.current(); | ||
if (current) { | ||
current._synchronizeAuthData(provider.getAuthType()); | ||
} | ||
ParseUser.currentAsync().then(function (current) { | ||
if (current) { | ||
current._synchronizeAuthData(provider.getAuthType()); | ||
} | ||
}); | ||
} | ||
@@ -812,0 +813,0 @@ }, { |
@@ -141,3 +141,6 @@ /** | ||
var url = _CoreManager2['default'].get('SERVER_URL'); | ||
url += '/1/' + path; | ||
if (url[url.length - 1] !== '/') { | ||
url += '/'; | ||
} | ||
url += path; | ||
@@ -158,3 +161,3 @@ var payload = {}; | ||
payload._JavaScriptKey = _CoreManager2['default'].get('JAVASCRIPT_KEY'); | ||
payload._ClientVersion = 'js' + _CoreManager2['default'].get('VERSION'); | ||
payload._ClientVersion = _CoreManager2['default'].get('VERSION'); | ||
@@ -161,0 +164,0 @@ var useMasterKey = options.useMasterKey; |
@@ -18,4 +18,4 @@ /** | ||
REQUEST_ATTEMPT_LIMIT: 5, | ||
SERVER_URL: 'https://api.parse.com', | ||
VERSION: '1.6.9', | ||
SERVER_URL: 'https://api.parse.com/1', | ||
VERSION: 'js' + '1.6.11', | ||
APPLICATION_ID: null, | ||
@@ -22,0 +22,0 @@ JAVASCRIPT_KEY: null, |
@@ -324,3 +324,3 @@ /** | ||
value: function is(promise) { | ||
return typeof promise !== 'undefined' && typeof promise.then === 'function'; | ||
return promise != null && typeof promise.then === 'function'; | ||
} | ||
@@ -327,0 +327,0 @@ |
@@ -61,4 +61,3 @@ /** | ||
* @constructor | ||
* @param objectClass - | ||
* An instance of a subclass of Parse.Object, or a Parse className string. | ||
* @param {} objectClass An instance of a subclass of Parse.Object, or a Parse className string. | ||
* | ||
@@ -65,0 +64,0 @@ * <p>Parse.Query defines a query that is used to fetch Parse.Objects. The |
@@ -806,6 +806,7 @@ /** | ||
// Synchronize the current user with the auth provider. | ||
var current = ParseUser.current(); | ||
if (current) { | ||
current._synchronizeAuthData(provider.getAuthType()); | ||
} | ||
ParseUser.currentAsync().then(function (current) { | ||
if (current) { | ||
current._synchronizeAuthData(provider.getAuthType()); | ||
} | ||
}); | ||
} | ||
@@ -812,0 +813,0 @@ }, { |
@@ -143,3 +143,6 @@ /** | ||
var url = _CoreManager2['default'].get('SERVER_URL'); | ||
url += '/1/' + path; | ||
if (url[url.length - 1] !== '/') { | ||
url += '/'; | ||
} | ||
url += path; | ||
@@ -160,3 +163,3 @@ var payload = {}; | ||
payload._JavaScriptKey = _CoreManager2['default'].get('JAVASCRIPT_KEY'); | ||
payload._ClientVersion = 'js' + _CoreManager2['default'].get('VERSION'); | ||
payload._ClientVersion = _CoreManager2['default'].get('VERSION'); | ||
@@ -163,0 +166,0 @@ var useMasterKey = options.useMasterKey; |
@@ -18,4 +18,4 @@ /** | ||
REQUEST_ATTEMPT_LIMIT: 5, | ||
SERVER_URL: 'https://api.parse.com', | ||
VERSION: '1.6.9', | ||
SERVER_URL: 'https://api.parse.com/1', | ||
VERSION: 'js' + '1.6.11', | ||
APPLICATION_ID: null, | ||
@@ -22,0 +22,0 @@ JAVASCRIPT_KEY: null, |
@@ -324,3 +324,3 @@ /** | ||
value: function is(promise) { | ||
return typeof promise !== 'undefined' && typeof promise.then === 'function'; | ||
return promise != null && typeof promise.then === 'function'; | ||
} | ||
@@ -327,0 +327,0 @@ |
@@ -61,4 +61,3 @@ /** | ||
* @constructor | ||
* @param objectClass - | ||
* An instance of a subclass of Parse.Object, or a Parse className string. | ||
* @param {} objectClass An instance of a subclass of Parse.Object, or a Parse className string. | ||
* | ||
@@ -65,0 +64,0 @@ * <p>Parse.Query defines a query that is used to fetch Parse.Objects. The |
@@ -806,6 +806,7 @@ /** | ||
// Synchronize the current user with the auth provider. | ||
var current = ParseUser.current(); | ||
if (current) { | ||
current._synchronizeAuthData(provider.getAuthType()); | ||
} | ||
ParseUser.currentAsync().then(function (current) { | ||
if (current) { | ||
current._synchronizeAuthData(provider.getAuthType()); | ||
} | ||
}); | ||
} | ||
@@ -812,0 +813,0 @@ }, { |
@@ -141,3 +141,6 @@ /** | ||
var url = _CoreManager2['default'].get('SERVER_URL'); | ||
url += '/1/' + path; | ||
if (url[url.length - 1] !== '/') { | ||
url += '/'; | ||
} | ||
url += path; | ||
@@ -158,3 +161,3 @@ var payload = {}; | ||
payload._JavaScriptKey = _CoreManager2['default'].get('JAVASCRIPT_KEY'); | ||
payload._ClientVersion = 'js' + _CoreManager2['default'].get('VERSION'); | ||
payload._ClientVersion = _CoreManager2['default'].get('VERSION'); | ||
@@ -161,0 +164,0 @@ var useMasterKey = options.useMasterKey; |
{ | ||
"name": "parse", | ||
"version": "1.6.9", | ||
"version": "1.6.11", | ||
"description": "The Parse JavaScript SDK", | ||
@@ -5,0 +5,0 @@ "homepage": "https://www.parse.com", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
1308252
0.02%34235
0.04%