@based/client
Advanced tools
Comparing version 6.5.0 to 6.5.1
@@ -51,3 +51,4 @@ import urlLoader from './urlLoader.js'; | ||
connection.fallBackInProgress = true; | ||
const url = `${realUrl.replace(/^ws/, 'http')}/based:rpstatus`; | ||
const x = realUrl.replace(/^wss?:\/\//, '').split('/'); | ||
const url = `http${realUrl.startsWith('wss') ? 's' : ''}://${x[0]}/based:rpstatus`; | ||
fetch(url).then(async (r) => { | ||
@@ -54,0 +55,0 @@ if (connection.fallBackInProgress) { |
{ | ||
"name": "@based/client", | ||
"version": "6.5.0", | ||
"version": "6.5.1", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
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
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
213486
3407