@lexical/yjs 0.34.1-nightly.20250822.0 → 0.34.1-nightly.20250826.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/LexicalYjs.js.flow +5 -5
- package/package.json +4 -4
package/LexicalYjs.js.flow
CHANGED
|
@@ -21,7 +21,7 @@ import type {
|
|
|
21
21
|
TextNode,
|
|
22
22
|
} from 'lexical';
|
|
23
23
|
|
|
24
|
-
// $FlowFixMe: todo
|
|
24
|
+
// $FlowFixMe[unclear-type]: todo
|
|
25
25
|
export type YjsEvent = Object;
|
|
26
26
|
|
|
27
27
|
export type UserState = {
|
|
@@ -45,21 +45,21 @@ declare interface Provider {
|
|
|
45
45
|
connect(): void | Promise<void>;
|
|
46
46
|
disconnect(): void;
|
|
47
47
|
off(type: 'sync', cb: (isSynced: boolean) => void): void;
|
|
48
|
-
// $FlowFixMe: temp
|
|
48
|
+
// $FlowFixMe[unclear-type]: temp
|
|
49
49
|
off(type: 'update', cb: (any) => void): void;
|
|
50
50
|
off(type: 'status', cb: ({status: string}) => void): void;
|
|
51
51
|
off(type: 'reload', cb: (doc: Doc) => void): void;
|
|
52
52
|
on(type: 'sync', cb: (isSynced: boolean) => void): void;
|
|
53
53
|
on(type: 'status', cb: ({status: string}) => void): void;
|
|
54
|
-
// $FlowFixMe: temp
|
|
54
|
+
// $FlowFixMe[unclear-type]: temp
|
|
55
55
|
on(type: 'update', cb: (any) => void): void;
|
|
56
56
|
on(type: 'reload', cb: (doc: Doc) => void): void;
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
export type ClientID = number;
|
|
60
|
-
// $FlowFixMe: work around for internal
|
|
60
|
+
// $FlowFixMe[unclear-type]: work around for internal
|
|
61
61
|
export type XmlElement = Object;
|
|
62
|
-
// $FlowFixMe: work around for internal
|
|
62
|
+
// $FlowFixMe[unclear-type]: work around for internal
|
|
63
63
|
export type YMap = Object;
|
|
64
64
|
// $FlowFixMe: work around for internal
|
|
65
65
|
export type TextOperation = {
|
package/package.json
CHANGED
|
@@ -11,13 +11,13 @@
|
|
|
11
11
|
"crdt"
|
|
12
12
|
],
|
|
13
13
|
"license": "MIT",
|
|
14
|
-
"version": "0.34.1-nightly.
|
|
14
|
+
"version": "0.34.1-nightly.20250826.0",
|
|
15
15
|
"main": "LexicalYjs.js",
|
|
16
16
|
"types": "index.d.ts",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@lexical/offset": "0.34.1-nightly.
|
|
19
|
-
"@lexical/selection": "0.34.1-nightly.
|
|
20
|
-
"lexical": "0.34.1-nightly.
|
|
18
|
+
"@lexical/offset": "0.34.1-nightly.20250826.0",
|
|
19
|
+
"@lexical/selection": "0.34.1-nightly.20250826.0",
|
|
20
|
+
"lexical": "0.34.1-nightly.20250826.0"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
23
23
|
"yjs": ">=13.5.22"
|