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

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