@tldraw/editor 3.13.0-canary.c7e3df3a9530 → 3.13.0-canary.cb6b7a41c175

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.
@@ -22,10 +22,10 @@ __export(version_exports, {
22
22
  version: () => version
23
23
  });
24
24
  module.exports = __toCommonJS(version_exports);
25
- const version = "3.13.0-canary.c7e3df3a9530";
25
+ const version = "3.13.0-canary.cb6b7a41c175";
26
26
  const publishDates = {
27
27
  major: "2024-09-13T14:36:29.063Z",
28
- minor: "2025-05-11T10:26:18.321Z",
29
- patch: "2025-05-11T10:26:18.321Z"
28
+ minor: "2025-05-09T08:23:24.224Z",
29
+ patch: "2025-05-09T08:23:24.224Z"
30
30
  };
31
31
  //# sourceMappingURL=version.js.map
@@ -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 = '3.13.0-canary.c7e3df3a9530'\nexport const publishDates = {\n\tmajor: '2024-09-13T14:36:29.063Z',\n\tminor: '2025-05-11T10:26:18.321Z',\n\tpatch: '2025-05-11T10:26:18.321Z',\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 = '3.13.0-canary.cb6b7a41c175'\nexport const publishDates = {\n\tmajor: '2024-09-13T14:36:29.063Z',\n\tminor: '2025-05-09T08:23:24.224Z',\n\tpatch: '2025-05-09T08:23:24.224Z',\n}\n"],
5
5
  "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAGO,MAAM,UAAU;AAChB,MAAM,eAAe;AAAA,EAC3B,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AACR;",
6
6
  "names": []
7
7
  }
@@ -286,7 +286,7 @@ function debugEnableLicensing() {
286
286
  }
287
287
  registerTldrawLibraryVersion(
288
288
  "@tldraw/editor",
289
- "3.13.0-canary.c7e3df3a9530",
289
+ "3.13.0-canary.cb6b7a41c175",
290
290
  "esm"
291
291
  );
292
292
  export {
@@ -458,6 +458,7 @@ class Editor extends (_a = EventEmitter, _getIsShapeHiddenCache_dec = [computed]
458
458
  ) : getShapeVisibility;
459
459
  this.options = { ...defaultTldrawOptions, ...options };
460
460
  this.store = store;
461
+ this.disposables.add(this.store.dispose.bind(this.store));
461
462
  this.history = new HistoryManager({
462
463
  store,
463
464
  annotateError: (error) => {
@@ -869,7 +870,6 @@ class Editor extends (_a = EventEmitter, _getIsShapeHiddenCache_dec = [computed]
869
870
  dispose() {
870
871
  this.disposables.forEach((dispose) => dispose());
871
872
  this.disposables.clear();
872
- this.store.dispose();
873
873
  this.isDisposed = true;
874
874
  }
875
875
  getShapeUtil(arg) {