@fileverse-dev/ddoc 3.0.97-patch.1 → 3.0.97-patch.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.
- package/dist/index.es.js +9212 -9169
- package/dist/package/sync-local/types/index.d.ts +4 -0
- package/package.json +1 -1
|
@@ -109,6 +109,10 @@ export interface SyncManagerConfig {
|
|
|
109
109
|
services?: CollabServices;
|
|
110
110
|
callbacks?: CollabCallbacks;
|
|
111
111
|
onLocalUpdate?: (updatedDocContent: Data['editorJSONData'], updateChunk: string) => void;
|
|
112
|
+
/** Origins to ignore in the ydoc update handler (e.g. IndexedDB provider) */
|
|
113
|
+
ignoredOrigins?: Array<{
|
|
114
|
+
current: unknown;
|
|
115
|
+
}>;
|
|
112
116
|
}
|
|
113
117
|
export declare enum ServerErrorCode {
|
|
114
118
|
AUTH_TOKEN_MISSING = "AUTH_TOKEN_MISSING",
|