@tldraw/editor 4.3.0-canary.eb3bbfa1daab → 4.3.0-canary.f656e4353c2e

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.
@@ -1,8 +1,8 @@
1
- const version = "4.3.0-canary.eb3bbfa1daab";
1
+ const version = "4.3.0-canary.f656e4353c2e";
2
2
  const publishDates = {
3
3
  major: "2025-09-18T14:39:22.803Z",
4
- minor: "2025-11-30T22:51:06.079Z",
5
- patch: "2025-11-30T22:51:06.079Z"
4
+ minor: "2025-12-01T15:18:13.117Z",
5
+ patch: "2025-12-01T15:18:13.117Z"
6
6
  };
7
7
  export {
8
8
  publishDates,
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../src/version.ts"],
4
- "sourcesContent": ["// This file is automatically generated by internal/scripts/refresh-assets.ts.\n// Do not edit manually. Or do, I'm a comment, not a cop.\n\nexport const version = '4.3.0-canary.eb3bbfa1daab'\nexport const publishDates = {\n\tmajor: '2025-09-18T14:39:22.803Z',\n\tminor: '2025-11-30T22:51:06.079Z',\n\tpatch: '2025-11-30T22:51:06.079Z',\n}\n"],
4
+ "sourcesContent": ["// This file is automatically generated by internal/scripts/refresh-assets.ts.\n// Do not edit manually. Or do, I'm a comment, not a cop.\n\nexport const version = '4.3.0-canary.f656e4353c2e'\nexport const publishDates = {\n\tmajor: '2025-09-18T14:39:22.803Z',\n\tminor: '2025-12-01T15:18:13.117Z',\n\tpatch: '2025-12-01T15:18:13.117Z',\n}\n"],
5
5
  "mappings": "AAGO,MAAM,UAAU;AAChB,MAAM,eAAe;AAAA,EAC3B,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AACR;",
6
6
  "names": []
7
7
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tldraw/editor",
3
3
  "description": "tldraw infinite canvas SDK (editor).",
4
- "version": "4.3.0-canary.eb3bbfa1daab",
4
+ "version": "4.3.0-canary.f656e4353c2e",
5
5
  "author": {
6
6
  "name": "tldraw Inc.",
7
7
  "email": "hello@tldraw.com"
@@ -50,12 +50,12 @@
50
50
  "@tiptap/core": "^3.6.2",
51
51
  "@tiptap/pm": "^3.6.2",
52
52
  "@tiptap/react": "^3.6.2",
53
- "@tldraw/state": "4.3.0-canary.eb3bbfa1daab",
54
- "@tldraw/state-react": "4.3.0-canary.eb3bbfa1daab",
55
- "@tldraw/store": "4.3.0-canary.eb3bbfa1daab",
56
- "@tldraw/tlschema": "4.3.0-canary.eb3bbfa1daab",
57
- "@tldraw/utils": "4.3.0-canary.eb3bbfa1daab",
58
- "@tldraw/validate": "4.3.0-canary.eb3bbfa1daab",
53
+ "@tldraw/state": "4.3.0-canary.f656e4353c2e",
54
+ "@tldraw/state-react": "4.3.0-canary.f656e4353c2e",
55
+ "@tldraw/store": "4.3.0-canary.f656e4353c2e",
56
+ "@tldraw/tlschema": "4.3.0-canary.f656e4353c2e",
57
+ "@tldraw/utils": "4.3.0-canary.f656e4353c2e",
58
+ "@tldraw/validate": "4.3.0-canary.f656e4353c2e",
59
59
  "@types/core-js": "^2.5.8",
60
60
  "@use-gesture/react": "^10.3.1",
61
61
  "classnames": "^2.5.1",
@@ -969,6 +969,7 @@ export class Editor extends EventEmitter<TLEventMap> {
969
969
  this.disposables.clear()
970
970
  this.store.dispose()
971
971
  this.isDisposed = true
972
+ this.emit('dispose')
972
973
  }
973
974
 
974
975
  /* ------------------- Shape Utils ------------------ */
@@ -23,6 +23,7 @@ export interface TLEventMap {
23
23
  'edited-shapes': [TLRecord[]]
24
24
  'deleted-shapes': [TLShapeId[]]
25
25
  edit: []
26
+ dispose: []
26
27
  }
27
28
 
28
29
  /** @public */
package/src/version.ts CHANGED
@@ -1,9 +1,9 @@
1
1
  // This file is automatically generated by internal/scripts/refresh-assets.ts.
2
2
  // Do not edit manually. Or do, I'm a comment, not a cop.
3
3
 
4
- export const version = '4.3.0-canary.eb3bbfa1daab'
4
+ export const version = '4.3.0-canary.f656e4353c2e'
5
5
  export const publishDates = {
6
6
  major: '2025-09-18T14:39:22.803Z',
7
- minor: '2025-11-30T22:51:06.079Z',
8
- patch: '2025-11-30T22:51:06.079Z',
7
+ minor: '2025-12-01T15:18:13.117Z',
8
+ patch: '2025-12-01T15:18:13.117Z',
9
9
  }