@lexical/yjs 0.12.3 → 0.12.5
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/SyncCursors.d.ts +2 -2
- package/package.json +3 -3
package/SyncCursors.d.ts
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*
|
|
7
7
|
*/
|
|
8
8
|
import type { Binding } from './Bindings';
|
|
9
|
-
import type {
|
|
9
|
+
import type { BaseSelection, NodeKey } from 'lexical';
|
|
10
10
|
import { Provider } from '.';
|
|
11
11
|
export type CursorSelection = {
|
|
12
12
|
anchor: {
|
|
@@ -29,4 +29,4 @@ export type Cursor = {
|
|
|
29
29
|
};
|
|
30
30
|
export declare function syncLocalCursorPosition(binding: Binding, provider: Provider): void;
|
|
31
31
|
export declare function syncCursorPositions(binding: Binding, provider: Provider): void;
|
|
32
|
-
export declare function syncLexicalSelectionToYjs(binding: Binding, provider: Provider, prevSelection: null |
|
|
32
|
+
export declare function syncLexicalSelectionToYjs(binding: Binding, provider: Provider, prevSelection: null | BaseSelection, nextSelection: null | BaseSelection): void;
|
package/package.json
CHANGED
|
@@ -11,13 +11,13 @@
|
|
|
11
11
|
"crdt"
|
|
12
12
|
],
|
|
13
13
|
"license": "MIT",
|
|
14
|
-
"version": "0.12.
|
|
14
|
+
"version": "0.12.5",
|
|
15
15
|
"main": "LexicalYjs.js",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@lexical/offset": "0.12.
|
|
17
|
+
"@lexical/offset": "0.12.5"
|
|
18
18
|
},
|
|
19
19
|
"peerDependencies": {
|
|
20
|
-
"lexical": "0.12.
|
|
20
|
+
"lexical": "0.12.5",
|
|
21
21
|
"yjs": ">=13.5.22"
|
|
22
22
|
},
|
|
23
23
|
"repository": {
|