@usex/mikrotik-mcp 3.14.0 → 3.15.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.
package/dist/index.d.ts CHANGED
@@ -178,6 +178,12 @@ declare class SafeModeManager {
178
178
  /** Close the session to trigger MikroTik's automatic safe-mode revert. */
179
179
  rollback(): Promise<string>;
180
180
  status(): string;
181
+ /**
182
+ * Read from the channel until `isDone(cleaned)` is satisfied or the timeout
183
+ * elapses. Defaults to "any RouterOS prompt appeared". Mode transitions pass a
184
+ * stricter predicate so they wait for the prompt that reflects the NEW state
185
+ * (safe-mode marker present/absent), not merely the first prompt-shaped line.
186
+ */
181
187
  private readUntilPrompt;
182
188
  private extractOutput;
183
189
  private cleanup;