@auxilium/datalynk-client 1.3.10 → 1.3.11
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/index.cjs +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -3422,7 +3422,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
3422
3422
|
this.connect();
|
|
3423
3423
|
}, timeout * 1e3);
|
|
3424
3424
|
if (this.api.online) {
|
|
3425
|
-
this.socket = new WebSocket(this.options.url + (this.api.token ? `?token=${this.api.token}&origin=${location.href}` : ""));
|
|
3425
|
+
this.socket = new WebSocket(this.options.url + (this.api.token ? `?token=${this.api.token}&origin=${typeof location == "undefined" ? "" : location.href}` : ""));
|
|
3426
3426
|
this.socket.onopen = () => clearTimeout(this.retry);
|
|
3427
3427
|
this.socket.onclose = () => {
|
|
3428
3428
|
if (this.open) this.connect(timeout);
|
|
@@ -3500,7 +3500,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
3500
3500
|
} });
|
|
3501
3501
|
}
|
|
3502
3502
|
}
|
|
3503
|
-
const version = "1.3.
|
|
3503
|
+
const version = "1.3.11";
|
|
3504
3504
|
class WebRtc {
|
|
3505
3505
|
constructor(api) {
|
|
3506
3506
|
__publicField(this, "ice");
|
package/dist/index.mjs
CHANGED
|
@@ -3418,7 +3418,7 @@ class Socket {
|
|
|
3418
3418
|
this.connect();
|
|
3419
3419
|
}, timeout * 1e3);
|
|
3420
3420
|
if (this.api.online) {
|
|
3421
|
-
this.socket = new WebSocket(this.options.url + (this.api.token ? `?token=${this.api.token}&origin=${location.href}` : ""));
|
|
3421
|
+
this.socket = new WebSocket(this.options.url + (this.api.token ? `?token=${this.api.token}&origin=${typeof location == "undefined" ? "" : location.href}` : ""));
|
|
3422
3422
|
this.socket.onopen = () => clearTimeout(this.retry);
|
|
3423
3423
|
this.socket.onclose = () => {
|
|
3424
3424
|
if (this.open) this.connect(timeout);
|
|
@@ -3496,7 +3496,7 @@ class Superuser {
|
|
|
3496
3496
|
} });
|
|
3497
3497
|
}
|
|
3498
3498
|
}
|
|
3499
|
-
const version = "1.3.
|
|
3499
|
+
const version = "1.3.11";
|
|
3500
3500
|
class WebRtc {
|
|
3501
3501
|
constructor(api) {
|
|
3502
3502
|
__publicField(this, "ice");
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@auxilium/datalynk-client",
|
|
3
3
|
"description": "Datalynk client library",
|
|
4
4
|
"repository": "https://gitlab.auxiliumgroup.com/auxilium/datalynk/datalynk-client",
|
|
5
|
-
"version": "1.3.
|
|
5
|
+
"version": "1.3.11",
|
|
6
6
|
"author": "Zak Timson <zaktimson@gmail.com>",
|
|
7
7
|
"private": false,
|
|
8
8
|
"main": "./dist/index.cjs",
|