@fileverse-dev/ddoc 3.0.39-toast-6 → 3.0.39-toast-7
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-DGcQLx42.mjs → ccip-DuDWbXlp.mjs} +1 -1
- package/dist/{index-gv3jXFKh.mjs → index-dlGpn7Go.mjs} +5155 -5150
- package/dist/index.es.js +1 -1
- package/dist/package/hooks/use-rtc-websocket-disconnector.d.ts +1 -0
- package/dist/package/sync-local/actions/index.d.ts +0 -19
- package/dist/package/sync-local/useSyncMachine.d.ts +10 -0
- package/dist/style.css +1 -1
- package/package.json +2 -2
package/dist/index.es.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useRtcWebsocketDisconnector: (syncState: any, enableCollaboration: boolean | undefined) => void;
|
|
@@ -113,25 +113,6 @@ export declare const disconnectedStateHandler: () => {
|
|
|
113
113
|
uncommittedUpdatesIdList: never[];
|
|
114
114
|
updateQueue: never[];
|
|
115
115
|
};
|
|
116
|
-
export declare const handleDisconnectionDueToError: (_context: SyncMachineContext, _event: SyncMachinEvent) => {
|
|
117
|
-
socketClient: null;
|
|
118
|
-
roomId: string;
|
|
119
|
-
roomMembers: never[];
|
|
120
|
-
isConnected: boolean;
|
|
121
|
-
awareness: null;
|
|
122
|
-
_awarenessUpdateHandler: null;
|
|
123
|
-
roomKey: string;
|
|
124
|
-
wsUrl: string;
|
|
125
|
-
uncommittedUpdatesIdList: never[];
|
|
126
|
-
updateQueue: never[];
|
|
127
|
-
isOwner: boolean;
|
|
128
|
-
isReady: boolean;
|
|
129
|
-
isNewDoc: boolean;
|
|
130
|
-
contentTobeAppliedQueue: never[];
|
|
131
|
-
initialUpdate: null;
|
|
132
|
-
errorCount: number;
|
|
133
|
-
errorMessage: string;
|
|
134
|
-
};
|
|
135
116
|
export declare const terminateSessionHandler: (context: SyncMachineContext) => {
|
|
136
117
|
socketClient: null;
|
|
137
118
|
roomId: string;
|
|
@@ -25,5 +25,15 @@ export declare const useSyncMachine: (config: Partial<SyncMachineContext>) => {
|
|
|
25
25
|
terminateSession: () => void;
|
|
26
26
|
awareness: any;
|
|
27
27
|
hasCollabContentInitialised: boolean;
|
|
28
|
+
state: import('xstate').State<SyncMachineContext, {
|
|
29
|
+
type: string;
|
|
30
|
+
data: any;
|
|
31
|
+
}, any, {
|
|
32
|
+
value: any;
|
|
33
|
+
context: SyncMachineContext;
|
|
34
|
+
}, import('xstate').ResolveTypegenMeta<import('xstate').TypegenDisabled, {
|
|
35
|
+
type: string;
|
|
36
|
+
data: any;
|
|
37
|
+
}, import('xstate').BaseActionObject, import('xstate').ServiceMap>>;
|
|
28
38
|
};
|
|
29
39
|
export {};
|