@fileverse-dev/ddoc 1.4.3 → 1.4.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,7 +3,6 @@ import { DdocProps } from './types';
3
3
  import * as Y from 'yjs';
4
4
  export declare const useDdocEditor: ({ isPreviewMode, initialContent, enableCollaboration, collaborationId, ensProviderUrl, username, onAutoSave, onChange, onCollaboratorChange, }: Partial<DdocProps>) => {
5
5
  editor: import('@tiptap/react').Editor | null;
6
- focusEditor: (e: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
7
6
  ref: import('react').RefObject<HTMLDivElement>;
8
7
  loading: boolean;
9
8
  connect: (username: string, isEns?: boolean) => () => void;
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.4.3",
5
+ "version": "1.4.5",
6
6
  "main": "dist/index.umd.js",
7
7
  "module": "dist/index.es.js",
8
8
  "exports": {
@@ -53,6 +53,7 @@
53
53
  "classnames": "^2.5.1",
54
54
  "embla-carousel-react": "^8.1.5",
55
55
  "ethers": "^6.13.1",
56
+ "framer-motion": "^11.2.12",
56
57
  "lucide-react": "^0.379.0",
57
58
  "prosemirror-model": "^1.21.0",
58
59
  "prosemirror-state": "^1.4.3",