@katn30/trakr 4.0.0 → 4.1.0

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.
@@ -797,6 +797,9 @@ var Tracker = class {
797
797
  this._commitStateOperation = lastOp;
798
798
  this.reset();
799
799
  }
800
+ getByTrackingId(trackingId) {
801
+ return this.trackedObjects.find((o) => o.trackingId === trackingId);
802
+ }
800
803
  /** @internal */
801
804
  _isInUndoStack(op) {
802
805
  return this._undoOperations.includes(op);