@wangeditor-next/yjs 0.1.2-beta.0 → 0.1.2

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.
@@ -25,7 +25,7 @@ export declare const CursorEditor: {
25
25
  isCursorEditor(value: unknown): value is CursorEditor<Record<string, unknown>>;
26
26
  sendCursorPosition<TCursorData extends Record<string, unknown>>(editor: CursorEditor<TCursorData>, range?: Range | null): void;
27
27
  sendCursorData<TCursorData_1 extends Record<string, unknown>>(editor: CursorEditor<TCursorData_1>, data: TCursorData_1): void;
28
- on<TCursorData_2 extends Record<string, unknown>>(editor: CursorEditor<TCursorData_2>, event: 'change', handler: RemoteCursorChangeEventListener): void;
28
+ on<TCursorData_2 extends Record<string, unknown>>(editor: CursorEditor<TCursorData_2> | null, event: 'change', handler: RemoteCursorChangeEventListener): void;
29
29
  off<TCursorData_3 extends Record<string, unknown>>(editor: CursorEditor<TCursorData_3>, event: 'change', listener: RemoteCursorChangeEventListener): void;
30
30
  cursorState<TCursorData_4 extends Record<string, unknown>>(editor: CursorEditor<TCursorData_4>, clientId: number): CursorState<TCursorData_4> | null;
31
31
  cursorStates<TCursorData_5 extends Record<string, unknown>>(editor: CursorEditor<TCursorData_5>): Record<string, CursorState<TCursorData_5>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wangeditor-next/yjs",
3
- "version": "0.1.2-beta.0",
3
+ "version": "0.1.2",
4
4
  "author": "cycleccc <2991205548@qq.com>",
5
5
  "contributors": [],
6
6
  "description": "Yjs binding for wangeditor-next.",