@bloopjs/web 0.0.70 → 0.0.71

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/mod.js CHANGED
@@ -1142,7 +1142,10 @@ class NetContext {
1142
1142
  return this.dataView.getUint8(0);
1143
1143
  }
1144
1144
  get isInSession() {
1145
- return this.peerCount > 0;
1145
+ if (!this.dataView) {
1146
+ throw new Error("NetContext DataView is not initialized");
1147
+ }
1148
+ return this.dataView.getUint8(2) !== 0;
1146
1149
  }
1147
1150
  get matchFrame() {
1148
1151
  if (!this.dataView) {
@@ -6307,5 +6310,5 @@ export {
6307
6310
  App
6308
6311
  };
6309
6312
 
6310
- //# debugId=078D8D6E658CC75D64756E2164756E21
6313
+ //# debugId=82CD9EA2C73FCE8364756E2164756E21
6311
6314
  //# sourceMappingURL=mod.js.map