@fileverse-dev/ddoc 3.0.93-bug-fix-5 → 3.0.93-bug-fix-6
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.d.ts +1 -0
- package/dist/index.es.js +2 -4
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ export { useHeadlessEditor } from './package/hooks/use-headless-editor';
|
|
|
6
6
|
export { useExportHeadlessEditorContent } from './package/hooks/use-export-headless-editor-content';
|
|
7
7
|
export { mergeTabAwareYjsUpdates } from './package/components/tabs/utils/tab-utils';
|
|
8
8
|
export { buildVersionDiffSnapshot } from './package/components/tabs/utils/version-diff-snapshot';
|
|
9
|
+
export type { EditorChangeMetadata } from './package/editor-change-metadata';
|
|
9
10
|
export type { DdocExportModalProps, ExportFormatOption, ExportTabOption, } from './package/components/export-modal';
|
|
10
11
|
export type { VersionTabSnapshot } from './package/components/tabs/utils/version-diff-snapshot';
|
|
11
12
|
export { Editor } from '@tiptap/react';
|
package/dist/index.es.js
CHANGED
|
@@ -178668,9 +178668,7 @@ const qze = { status: "idle" }, Vze = (e) => {
|
|
|
178668
178668
|
collaboration: r,
|
|
178669
178669
|
onIndexedDbError: o
|
|
178670
178670
|
}) => {
|
|
178671
|
-
const [i] = Be(new Yi()), [s, a] = Be(
|
|
178672
|
-
!t || !n
|
|
178673
|
-
), l = (r == null ? void 0 : r.enabled) === !0, u = l ? r.services : void 0, c = l ? r.on : void 0, {
|
|
178671
|
+
const [i] = Be(new Yi()), [s, a] = Be(!t), l = (r == null ? void 0 : r.enabled) === !0, u = l ? r.services : void 0, c = l ? r.on : void 0, {
|
|
178674
178672
|
connect: d,
|
|
178675
178673
|
isReady: p,
|
|
178676
178674
|
isSyncing: h,
|
|
@@ -178703,7 +178701,7 @@ const qze = { status: "idle" }, Vze = (e) => {
|
|
|
178703
178701
|
j6
|
|
178704
178702
|
), w = Se(
|
|
178705
178703
|
(C = j6) => {
|
|
178706
|
-
|
|
178704
|
+
v.current && (clearTimeout(v.current), v.current = null), e == null || e(Qr(Fo(i)), "", C);
|
|
178707
178705
|
},
|
|
178708
178706
|
[i, e]
|
|
178709
178707
|
), D = Se((C) => y.current && C === y.current ? Gze : j6, []);
|