@reactoo/watchtogether-sdk-js 2.7.44-beta.4 → 2.7.44

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.
@@ -16878,6 +16878,10 @@ let iot = function () {
16878
16878
  },
16879
16879
  checkConnection: () => {
16880
16880
  return this.__privates.iot.checkConnection().catch(error => {
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");
16883
+ return;
16884
+ }
16881
16885
  if (!shouldBeConnected) {
16882
16886
  this.__privates.iot.log('Ignoring connection check failure, not connected');
16883
16887
  return Promise.resolve();
@@ -16887,6 +16891,7 @@ let iot = function () {
16887
16891
  });
16888
16892
  },
16889
16893
  setupKeepAliveInterval: () => {
16894
+ this.__privates.iot.log('Setting up keepalive interval');
16890
16895
  clearInterval(keepAliveIntervalId);
16891
16896
  keepAliveIntervalId = setInterval(() => {
16892
16897
  this.__privates.iot.checkConnection().catch(error => {