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

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.
@@ -6817,6 +6817,7 @@ export declare interface TLEventMap {
6817
6817
  'edited-shapes': [TLRecord[]];
6818
6818
  'deleted-shapes': [TLShapeId[]];
6819
6819
  edit: [];
6820
+ dispose: [];
6820
6821
  }
6821
6822
 
6822
6823
  /** @public */
package/dist-cjs/index.js CHANGED
@@ -370,7 +370,7 @@ var import_uniq = require("./lib/utils/uniq");
370
370
  var import_window_open = require("./lib/utils/window-open");
371
371
  (0, import_utils.registerTldrawLibraryVersion)(
372
372
  "@tldraw/editor",
373
- "4.3.0-canary.eb3bbfa1daab",
373
+ "4.3.0-canary.ef37ae623ce8",
374
374
  "cjs"
375
375
  );
376
376
  //# sourceMappingURL=index.js.map
@@ -860,6 +860,7 @@ class Editor extends (_a = import_eventemitter3.default, _getIsShapeHiddenCache_
860
860
  this.disposables.clear();
861
861
  this.store.dispose();
862
862
  this.isDisposed = true;
863
+ this.emit("dispose");
863
864
  }
864
865
  getShapeUtil(arg) {
865
866
  const type = typeof arg === "string" ? arg : arg.type;