@bloopjs/web 0.0.81 → 0.0.82

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
@@ -1346,7 +1346,7 @@ function readTapeHeader(tape) {
1346
1346
  eventCount: view.getUint16(14, true)
1347
1347
  };
1348
1348
  }
1349
- var DEFAULT_WASM_URL = new URL("https://unpkg.com/@bloopjs/engine@0.0.81/wasm/bloop.wasm");
1349
+ var DEFAULT_WASM_URL = new URL("https://unpkg.com/@bloopjs/engine@0.0.82/wasm/bloop.wasm");
1350
1350
  var MAX_ROLLBACK_FRAMES = 500;
1351
1351
  var TIME_CTX_OFFSET = 0;
1352
1352
  var INPUT_CTX_OFFSET = TIME_CTX_OFFSET + 4;
@@ -3078,7 +3078,7 @@ function readTapeHeader2(tape) {
3078
3078
  eventCount: view.getUint16(14, true)
3079
3079
  };
3080
3080
  }
3081
- var DEFAULT_WASM_URL2 = new URL("https://unpkg.com/@bloopjs/engine@0.0.81/wasm/bloop.wasm");
3081
+ var DEFAULT_WASM_URL2 = new URL("https://unpkg.com/@bloopjs/engine@0.0.82/wasm/bloop.wasm");
3082
3082
  var TIME_CTX_OFFSET2 = 0;
3083
3083
  var INPUT_CTX_OFFSET2 = TIME_CTX_OFFSET2 + 4;
3084
3084
  var EVENTS_OFFSET2 = INPUT_CTX_OFFSET2 + 4;
@@ -6627,7 +6627,6 @@ function joinRollbackRoom(roomId, app, opts) {
6627
6627
  };
6628
6628
  app.joinRoom(roomId, {
6629
6629
  onPeerIdAssign: (peerId) => {
6630
- console.log(`Assigned peer ID: ${peerId}`);
6631
6630
  localStringPeerId = peerId;
6632
6631
  },
6633
6632
  onBrokerMessage: (_message) => {},
@@ -6635,7 +6634,6 @@ function joinRollbackRoom(roomId, app, opts) {
6635
6634
  incomingPackets.push(new Uint8Array(data));
6636
6635
  },
6637
6636
  onDataChannelClose(peerId, reliable) {
6638
- console.log(`Data channel closed: ${peerId} (reliable: ${reliable})`);
6639
6637
  if (!reliable && remotePeerId !== null) {
6640
6638
  app.sim.emit.network("peer:leave", { peerId: remotePeerId });
6641
6639
  sessionActive = false;
@@ -6643,7 +6641,6 @@ function joinRollbackRoom(roomId, app, opts) {
6643
6641
  }
6644
6642
  },
6645
6643
  onDataChannelOpen(peerId, reliable, channel) {
6646
- console.log(`Data channel opened: ${peerId} (reliable: ${reliable})`);
6647
6644
  if (!reliable) {
6648
6645
  udp = channel;
6649
6646
  if (localStringPeerId === null) {
@@ -6661,7 +6658,6 @@ function joinRollbackRoom(roomId, app, opts) {
6661
6658
  app.sim.emit.network("peer:assign_local_id", { peerId: localPeerId });
6662
6659
  app.sim.emit.network("session:start", {});
6663
6660
  sessionActive = true;
6664
- console.log(`[netcode] Session started at frame ${app.sim.time.frame}`);
6665
6661
  opts?.onSessionStart?.();
6666
6662
  }
6667
6663
  },
@@ -6705,5 +6701,5 @@ export {
6705
6701
  App
6706
6702
  };
6707
6703
 
6708
- //# debugId=A73DA4EECDE34BD764756E2164756E21
6704
+ //# debugId=21BF1630116D984364756E2164756E21
6709
6705
  //# sourceMappingURL=mod.js.map