@fileverse-dev/ddoc 3.3.0 → 3.3.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.d.ts CHANGED
@@ -10,3 +10,5 @@ export type { DdocExportModalProps, ExportFormatOption, ExportTabOption, } from
10
10
  export type { VersionTabSnapshot } from './package/components/tabs/utils/version-diff-snapshot';
11
11
  export { Editor } from '@tiptap/react';
12
12
  export type { CollaborationProps, CollabConnectionConfig, CollabSessionMeta, CollabServices, CollabCallbacks, CollabState, CollabError, CollabErrorCode, CollabStatus, } from './package/sync-local/types';
13
+ export type { CommentMutationMeta, SuggestionType } from './package/types';
14
+ export type { IComment } from './package/extensions/comment/comment.ts';
package/dist/index.es.js CHANGED
@@ -184644,7 +184644,9 @@ const VKe = { status: "idle" }, KKe = (e) => {
184644
184644
  if (!i || !e.ydoc) return;
184645
184645
  const h = (f, g) => {
184646
184646
  var m;
184647
- g === "self" || g === "remote" || !o.isConnected || (m = e.ignoredOrigins) != null && m.some((b) => b.current === g) || o.enqueueLocalUpdate(f);
184647
+ g === "self" || g === "remote" || !o.isConnected || (m = e.ignoredOrigins) != null && m.some(
184648
+ (b) => b.current !== null && b.current === g
184649
+ ) || o.enqueueLocalUpdate(f);
184648
184650
  };
184649
184651
  return e.ydoc.on("update", h), () => {
184650
184652
  e.ydoc.off("update", h);
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@fileverse-dev/ddoc",
3
3
  "private": false,
4
4
  "description": "DDoc",
5
- "version": "3.3.0",
5
+ "version": "3.3.2",
6
6
  "main": "dist/index.es.js",
7
7
  "module": "dist/index.es.js",
8
8
  "exports": {
@@ -154,4 +154,4 @@
154
154
  "typescript": "^5.2.2",
155
155
  "vite": "^5.0.0"
156
156
  }
157
- }
157
+ }