@fileverse-dev/ddoc 2.3.0-rtc-patch-27 → 2.3.0-rtc-patch-29
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/{ccip-CTLS74Oe.mjs → ccip-6RfBwSKM.mjs} +1 -1
- package/dist/{index-BGPTiMUl.mjs → index-CT3AMJnE.mjs} +9278 -9253
- package/dist/index.es.js +1 -1
- package/dist/package/sync-local/actions/index.d.ts +3 -0
- package/dist/package/sync-local/services/syncMachineServices.d.ts +1 -1
- package/dist/package/sync-local/types/index.d.ts +1 -0
- package/dist/package/sync-local/useSyncMachine.d.ts +1 -0
- package/dist/package/types.d.ts +1 -0
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
@@ -139,3 +139,6 @@ export declare const terminateSessionHandler: (context: SyncMachineContext) => {
|
|
139
139
|
errorCount: number;
|
140
140
|
errorMessage: string;
|
141
141
|
};
|
142
|
+
export declare const setDocumentDecryptionStateHandler: (_: SyncMachineContext, event: SyncMachinEvent) => {
|
143
|
+
initalDocumentDecryptionState: any;
|
144
|
+
};
|
@@ -9,7 +9,7 @@ export declare const syncMachineServices: {
|
|
9
9
|
queueOffset: number;
|
10
10
|
} | undefined>;
|
11
11
|
processCommit: (context: SyncMachineContext) => (send: Sender<SyncMachinEvent>) => Promise<void>;
|
12
|
-
syncLatestCommitFromIpfs: (context: SyncMachineContext) => () => Promise<{
|
12
|
+
syncLatestCommitFromIpfs: (context: SyncMachineContext) => (send: Sender<SyncMachinEvent>) => Promise<{
|
13
13
|
ids: string[];
|
14
14
|
unbroadcastedUpdate: string | null;
|
15
15
|
}>;
|
@@ -60,6 +60,7 @@ export interface SyncMachineContext {
|
|
60
60
|
errorCount: number;
|
61
61
|
errorMaxRetryCount: number;
|
62
62
|
errorMessage: string;
|
63
|
+
initalDocumentDecryptionState: 'done' | 'pending';
|
63
64
|
onCollaborationConnectCallback: (response: any) => void;
|
64
65
|
onCollaborationCommit: (file: File) => Promise<string>;
|
65
66
|
onFetchCommitContent: (cid: string) => Promise<any>;
|
package/dist/package/types.d.ts
CHANGED
@@ -160,6 +160,7 @@ export interface DdocProps extends CommentAccountProps {
|
|
160
160
|
onCollabSessionTermination?: () => void;
|
161
161
|
onUnMergedUpdates?: (state: boolean) => void;
|
162
162
|
onCollabError?: (error: any) => void;
|
163
|
+
isExistingCollabSession?: boolean;
|
163
164
|
}
|
164
165
|
export interface IEditorSelectionData {
|
165
166
|
from: number;
|