@ones-editor/editor 2.8.37 → 2.8.38

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.
@@ -15,6 +15,7 @@ export interface AutoConnectionEvents {
15
15
  writeConflictError: (error: Error) => void;
16
16
  maxUsersError: () => void;
17
17
  requestReloadError: (error: Error) => void;
18
+ opReceived: () => void;
18
19
  ready: () => void;
19
20
  }
20
21
  export declare class AuthConnection extends TypedEmitter<AutoConnectionEvents> {
@@ -8,6 +8,6 @@ export declare class EditStatus {
8
8
  private dirtyTimeout;
9
9
  private waitingForSave;
10
10
  constructor(options: EditStatusOptions);
11
- setStatus(status: 'clean' | 'dirty'): void;
11
+ setStatus(status: 'clean' | 'dirty' | 'busy'): void;
12
12
  destroy(): void;
13
13
  }
@@ -26,6 +26,7 @@ export default class ShareDBDoc extends EventCallbacks<ShareDBDocCallbacks> impl
26
26
  private handleReload;
27
27
  private handleReset;
28
28
  private handleWriteConflictError;
29
+ private handleOpReceived;
29
30
  private setStatus;
30
31
  initEvents(): void;
31
32
  clearEvents(): void;