@reactoo/watchtogether-sdk-js 2.7.44-beta.5 → 2.7.45
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.
|
@@ -16879,6 +16879,7 @@ let iot = function () {
|
|
|
16879
16879
|
checkConnection: () => {
|
|
16880
16880
|
return this.__privates.iot.checkConnection().catch(error => {
|
|
16881
16881
|
if ((error === null || error === void 0 ? void 0 : error.cause) === -1) {
|
|
16882
|
+
this.__privates.iot.log("We don't have a topic to check connection with");
|
|
16882
16883
|
return;
|
|
16883
16884
|
}
|
|
16884
16885
|
if (!shouldBeConnected) {
|
|
@@ -16895,6 +16896,7 @@ let iot = function () {
|
|
|
16895
16896
|
keepAliveIntervalId = setInterval(() => {
|
|
16896
16897
|
this.__privates.iot.checkConnection().catch(error => {
|
|
16897
16898
|
if ((error === null || error === void 0 ? void 0 : error.cause) === -1) {
|
|
16899
|
+
this.__privates.iot.log("We don't have a topic to check connection with");
|
|
16898
16900
|
return;
|
|
16899
16901
|
}
|
|
16900
16902
|
if (!document.hidden && shouldBeConnected && !isReconnecting) {
|