@fileverse-dev/ddoc 1.6.8 → 1.7.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,7 +2,7 @@ import { DdocProps } from './types';
2
2
 
3
3
  import * as Y from 'yjs';
4
4
  export declare const useDdocEditor: ({ isPreviewMode, initialContent, enableCollaboration, collaborationId, walletAddress, username, onChange, onCollaboratorChange, onCommentInteraction, onTextSelection, ensResolutionUrl, handleImageUploadToIpfs, }: Partial<DdocProps>) => {
5
- editor: import('@tiptap/react').Editor;
5
+ editor: import('@tiptap/react').Editor | null;
6
6
  ref: import('react').RefObject<HTMLDivElement>;
7
7
  connect: (username: string | null | undefined, isEns?: boolean) => () => void;
8
8
  ydoc: Y.Doc;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@fileverse-dev/ddoc",
3
3
  "private": false,
4
4
  "description": "DDoc",
5
- "version": "1.6.8",
5
+ "version": "1.7.0",
6
6
  "main": "dist/index.umd.js",
7
7
  "module": "dist/index.es.js",
8
8
  "exports": {