@katn30/trakr 4.0.0 → 4.2.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.
@@ -838,6 +838,9 @@ var Tracker = class {
838
838
  this._commitStateOperation = lastOp;
839
839
  this.reset();
840
840
  }
841
+ getByTrackingId(trackingId) {
842
+ return this.trackedObjects.find((o) => o.trackingId === trackingId);
843
+ }
841
844
  /** @internal */
842
845
  _isInUndoStack(op) {
843
846
  return this._undoOperations.includes(op);