@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 +1 -1
- package/dist-cjs/index.js +1 -1
- package/dist-esm/index.mjs +1 -1
- package/package.json +7 -7
- package/src/test/TLSocketRoom.test.ts +3 -3
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
|
-
|
|
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.
|
|
64
|
+
"5.2.0-canary.cdd9a45fc580",
|
|
65
65
|
"cjs"
|
|
66
66
|
);
|
|
67
67
|
//# sourceMappingURL=index.js.map
|
package/dist-esm/index.mjs
CHANGED
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.
|
|
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.
|
|
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": "^
|
|
56
|
+
"vitest": "^4.1.7"
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"@tldraw/state": "5.2.0-canary.
|
|
60
|
-
"@tldraw/store": "5.2.0-canary.
|
|
61
|
-
"@tldraw/tlschema": "5.2.0-canary.
|
|
62
|
-
"@tldraw/utils": "5.2.0-canary.
|
|
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()
|