Comparing version 1.8.4 to 1.8.5
@@ -20,3 +20,3 @@ /** | ||
LIVEQUERY_SERVER_URL: null, | ||
VERSION: 'js' + '1.8.4', | ||
VERSION: 'js' + '1.8.5', | ||
APPLICATION_ID: null, | ||
@@ -23,0 +23,0 @@ JAVASCRIPT_KEY: null, |
@@ -122,4 +122,10 @@ 'use strict'; | ||
if (!liveQueryServerURL) { | ||
var host = _CoreManager2['default'].get('SERVER_URL').replace(/^https?:\/\//, ''); | ||
liveQueryServerURL = 'ws://' + host; | ||
var tempServerURL = _CoreManager2['default'].get('SERVER_URL'); | ||
var protocol = 'ws://'; | ||
// If Parse is being served over SSL/HTTPS, ensure LiveQuery Server uses 'wss://' prefix | ||
if (tempServerURL.indexOf('https') === 0) { | ||
protocol = 'wss://'; | ||
} | ||
var host = tempServerURL.replace(/^https?:\/\//, ''); | ||
liveQueryServerURL = protocol + host; | ||
_CoreManager2['default'].set('LIVEQUERY_SERVER_URL', liveQueryServerURL); | ||
@@ -126,0 +132,0 @@ } |
@@ -20,3 +20,3 @@ /** | ||
LIVEQUERY_SERVER_URL: null, | ||
VERSION: 'js' + '1.8.4', | ||
VERSION: 'js' + '1.8.5', | ||
APPLICATION_ID: null, | ||
@@ -23,0 +23,0 @@ JAVASCRIPT_KEY: null, |
@@ -122,4 +122,10 @@ 'use strict'; | ||
if (!liveQueryServerURL) { | ||
var host = _CoreManager2['default'].get('SERVER_URL').replace(/^https?:\/\//, ''); | ||
liveQueryServerURL = 'ws://' + host; | ||
var tempServerURL = _CoreManager2['default'].get('SERVER_URL'); | ||
var protocol = 'ws://'; | ||
// If Parse is being served over SSL/HTTPS, ensure LiveQuery Server uses 'wss://' prefix | ||
if (tempServerURL.indexOf('https') === 0) { | ||
protocol = 'wss://'; | ||
} | ||
var host = tempServerURL.replace(/^https?:\/\//, ''); | ||
liveQueryServerURL = protocol + host; | ||
_CoreManager2['default'].set('LIVEQUERY_SERVER_URL', liveQueryServerURL); | ||
@@ -126,0 +132,0 @@ } |
@@ -20,3 +20,3 @@ /** | ||
LIVEQUERY_SERVER_URL: null, | ||
VERSION: 'js' + '1.8.4', | ||
VERSION: 'js' + '1.8.5', | ||
APPLICATION_ID: null, | ||
@@ -23,0 +23,0 @@ JAVASCRIPT_KEY: null, |
@@ -122,4 +122,10 @@ 'use strict'; | ||
if (!liveQueryServerURL) { | ||
var host = _CoreManager2['default'].get('SERVER_URL').replace(/^https?:\/\//, ''); | ||
liveQueryServerURL = 'ws://' + host; | ||
var tempServerURL = _CoreManager2['default'].get('SERVER_URL'); | ||
var protocol = 'ws://'; | ||
// If Parse is being served over SSL/HTTPS, ensure LiveQuery Server uses 'wss://' prefix | ||
if (tempServerURL.indexOf('https') === 0) { | ||
protocol = 'wss://'; | ||
} | ||
var host = tempServerURL.replace(/^https?:\/\//, ''); | ||
liveQueryServerURL = protocol + host; | ||
_CoreManager2['default'].set('LIVEQUERY_SERVER_URL', liveQueryServerURL); | ||
@@ -126,0 +132,0 @@ } |
{ | ||
"name": "parse", | ||
"version": "1.8.4", | ||
"version": "1.8.5", | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
1604540
41424