@liveblocks/core 3.15.1-rc4 → 3.15.1

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/index.cjs CHANGED
@@ -6,7 +6,7 @@ var __export = (target, all) => {
6
6
 
7
7
  // src/version.ts
8
8
  var PKG_NAME = "@liveblocks/core";
9
- var PKG_VERSION = "3.15.1-rc4";
9
+ var PKG_VERSION = "3.15.1";
10
10
  var PKG_FORMAT = "cjs";
11
11
 
12
12
  // src/dupe-detection.ts
@@ -10298,9 +10298,10 @@ function createRoom(options, config) {
10298
10298
  getOthers_forDevTools: () => others_forDevTools.get(),
10299
10299
  // prettier-ignore
10300
10300
  simulate: {
10301
- // These exist only for our E2E testing app
10301
+ // These exist only for our E2E testing app and unit tests
10302
10302
  explicitClose: (event) => managedSocket._privateSendMachineEvent({ type: "EXPLICIT_SOCKET_CLOSE", event }),
10303
- rawSend: (data) => managedSocket.send(data)
10303
+ rawSend: (data) => managedSocket.send(data),
10304
+ incomingMessage: (data) => handleServerMessage(new MessageEvent("message", { data }))
10304
10305
  },
10305
10306
  attachmentUrlsStore: httpClient.getOrCreateAttachmentUrlsStore(roomId)
10306
10307
  },