remoterigs-raspberrypi 0.1.7 → 0.1.9

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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "remoterigs-raspberrypi",
3
3
  "type": "module",
4
- "version": "0.1.7",
4
+ "version": "0.1.9",
5
5
  "main": "./index.js",
6
6
  "files": [
7
7
  "index.js",
@@ -76,6 +76,7 @@ export default class SignalR {
76
76
  }
77
77
  static ScheduleReconnect() {
78
78
  if (SignalR.intentionalStop) {
79
+ 1;
79
80
  return;
80
81
  }
81
82
  if (SignalR.reconnectTimer != null) {
@@ -100,10 +101,10 @@ export default class SignalR {
100
101
  if (SignalR.hubConnection) {
101
102
  SignalR.hubConnection.stop()
102
103
  .then(() => {
103
- Debug.Log(LogSettingType.SignalR, undefined, SignalR.GetName(), 'hub connection stopped');
104
+ Debug.LogAlways(SignalR.GetName(), 'hub connection stopped', false);
104
105
  })
105
106
  .catch((err) => {
106
- Debug.Error(SignalR.GetName(), err);
107
+ Debug.LogAlways(SignalR.GetName(), "StopConnection err: '" + err + "'", false);
107
108
  });
108
109
  }
109
110
  }
@@ -132,7 +133,7 @@ export default class SignalR {
132
133
  });
133
134
  }
134
135
  else {
135
- Debug.Error(SignalR.GetName(), "sign in canceled: no hub connection");
136
+ Debug.LogAlways(SignalR.GetName(), "sign in canceled: no hub connection", false);
136
137
  }
137
138
  }
138
139
  static UpdateStatus(pStatusModel) {
@@ -151,7 +152,7 @@ export default class SignalR {
151
152
  });
152
153
  }
153
154
  else {
154
- Debug.Error(SignalR.GetName(), "outgoing UpdateStatus: no hub connection");
155
+ Debug.LogAlways(SignalR.GetName(), "outgoing UpdateStatus: no hub connection", false);
155
156
  }
156
157
  }
157
158
  static SendWebRTCMessage(message) {
@@ -166,7 +167,7 @@ export default class SignalR {
166
167
  });
167
168
  }
168
169
  else {
169
- Debug.Error(SignalR.GetName(), "SendWebRTCMessage: no hub connection");
170
+ Debug.LogAlways(SignalR.GetName(), "SendWebRTCMessage: no hub connection", false);
170
171
  }
171
172
  }
172
173
  static AddHighScorePoints(message) {
@@ -181,7 +182,7 @@ export default class SignalR {
181
182
  });
182
183
  }
183
184
  else {
184
- Debug.Error(SignalR.GetName(), "outgoing AddHighScorePoints: no hub connection");
185
+ Debug.LogAlways(SignalR.GetName(), "outgoing AddHighScorePoints: no hub connection", false);
185
186
  }
186
187
  }
187
188
  }