@tldraw/sync-core 5.2.0-canary.c61eb676972d → 5.2.0-canary.cdd9a45fc580

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/README.md CHANGED
@@ -22,7 +22,7 @@ You can find tldraw on npm [here](https://www.npmjs.com/package/@tldraw/tldraw?a
22
22
 
23
23
  ## Contribution
24
24
 
25
- Please see our [contributing guide](https://github.com/tldraw/tldraw/blob/main/CONTRIBUTING.md). Found a bug? Please [submit an issue](https://github.com/tldraw/tldraw/issues/new).
25
+ Found a bug? Please [submit an issue](https://github.com/tldraw/tldraw/issues/new).
26
26
 
27
27
  ## Community
28
28
 
package/dist-cjs/index.js CHANGED
@@ -61,7 +61,7 @@ var import_TLSyncRoom = require("./lib/TLSyncRoom");
61
61
  var import_TLSyncStorage = require("./lib/TLSyncStorage");
62
62
  (0, import_utils.registerTldrawLibraryVersion)(
63
63
  "@tldraw/sync-core",
64
- "5.2.0-canary.c61eb676972d",
64
+ "5.2.0-canary.cdd9a45fc580",
65
65
  "cjs"
66
66
  );
67
67
  //# sourceMappingURL=index.js.map
@@ -36,7 +36,7 @@ import {
36
36
  } from "./lib/TLSyncStorage.mjs";
37
37
  registerTldrawLibraryVersion(
38
38
  "@tldraw/sync-core",
39
- "5.2.0-canary.c61eb676972d",
39
+ "5.2.0-canary.cdd9a45fc580",
40
40
  "esm"
41
41
  );
42
42
  export {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tldraw/sync-core",
3
3
  "description": "tldraw infinite canvas SDK (multiplayer sync).",
4
- "version": "5.2.0-canary.c61eb676972d",
4
+ "version": "5.2.0-canary.cdd9a45fc580",
5
5
  "author": {
6
6
  "name": "tldraw GB Ltd.",
7
7
  "email": "hello@tldraw.com"
@@ -49,17 +49,17 @@
49
49
  "@types/uuid-readable": "^0.0.3",
50
50
  "react": "^19.2.1",
51
51
  "react-dom": "^19.2.1",
52
- "tldraw": "5.2.0-canary.c61eb676972d",
52
+ "tldraw": "5.2.0-canary.cdd9a45fc580",
53
53
  "typescript": "^5.8.3",
54
54
  "uuid-by-string": "^4.0.0",
55
55
  "uuid-readable": "^0.0.2",
56
- "vitest": "^3.2.4"
56
+ "vitest": "^4.1.7"
57
57
  },
58
58
  "dependencies": {
59
- "@tldraw/state": "5.2.0-canary.c61eb676972d",
60
- "@tldraw/store": "5.2.0-canary.c61eb676972d",
61
- "@tldraw/tlschema": "5.2.0-canary.c61eb676972d",
62
- "@tldraw/utils": "5.2.0-canary.c61eb676972d",
59
+ "@tldraw/state": "5.2.0-canary.cdd9a45fc580",
60
+ "@tldraw/store": "5.2.0-canary.cdd9a45fc580",
61
+ "@tldraw/tlschema": "5.2.0-canary.cdd9a45fc580",
62
+ "@tldraw/utils": "5.2.0-canary.cdd9a45fc580",
63
63
  "nanoevents": "^7.0.1",
64
64
  "ws": "^8.18.0"
65
65
  },
@@ -429,7 +429,7 @@ describe(TLSocketRoom, () => {
429
429
 
430
430
  describe('Session management', () => {
431
431
  let room: TLSocketRoom
432
- let onSessionRemoved: ReturnType<typeof vi.fn>
432
+ let onSessionRemoved: ReturnType<typeof vi.fn<(...args: any[]) => any>>
433
433
 
434
434
  beforeEach(() => {
435
435
  onSessionRemoved = vi.fn()
@@ -488,8 +488,8 @@ describe(TLSocketRoom, () => {
488
488
  describe('Message handling', () => {
489
489
  let room: TLSocketRoom
490
490
  let socket: WebSocketMinimal
491
- let onBeforeSendMessage: ReturnType<typeof vi.fn>
492
- let onAfterReceiveMessage: ReturnType<typeof vi.fn>
491
+ let onBeforeSendMessage: ReturnType<typeof vi.fn<(...args: any[]) => any>>
492
+ let onAfterReceiveMessage: ReturnType<typeof vi.fn<(...args: any[]) => any>>
493
493
 
494
494
  beforeEach(() => {
495
495
  onBeforeSendMessage = vi.fn()