@soundworks/core 5.1.1 → 5.1.2
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/package.json
CHANGED
|
@@ -61,7 +61,7 @@ class ClientSocket {
|
|
|
61
61
|
path = `${this.#config.env.baseUrl}/${path}`;
|
|
62
62
|
}
|
|
63
63
|
|
|
64
|
-
|
|
64
|
+
let port = this.#config.env.port;
|
|
65
65
|
let protocol = this.#config.env.useHttps ? 'wss:' : 'ws:';
|
|
66
66
|
let serverAddress;
|
|
67
67
|
let webSocketOptions;
|
|
@@ -75,6 +75,7 @@ class ClientSocket {
|
|
|
75
75
|
// stuff, there are too much weird edge cases to handle
|
|
76
76
|
if (this.#config.env.useHttps === false && window.location.protocol === 'https:') {
|
|
77
77
|
protocol = 'wss:';
|
|
78
|
+
port = 443;
|
|
78
79
|
}
|
|
79
80
|
|
|
80
81
|
if (this.#config.env.serverAddress === '') {
|
package/src/common/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// [WARNING] This file is generated, do not edit
|
|
2
|
-
export default '5.1.
|
|
2
|
+
export default '5.1.2';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "5.1.
|
|
1
|
+
declare const _default: "5.1.2";
|
|
2
2
|
export default _default;
|