@fileverse-dev/ddoc 1.4.6 → 1.4.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -70,6 +70,5 @@ export declare const TextFormatingPopup: ({ editor, setToolVisibility, }: {
70
70
  }) => import("react/jsx-runtime").JSX.Element;
71
71
  export declare const TextColorPicker: ({ editor, }: {
72
72
  editor: Editor;
73
- setToolVisibility: Dispatch<SetStateAction<IEditorTool>>;
74
73
  }) => import("react/jsx-runtime").JSX.Element;
75
74
  export {};
@@ -4,3 +4,4 @@ export declare const getAddressName: (address: string, ensProviderUrl: string) =
4
4
  }>;
5
5
  export declare const resolveEnsAddress: (address: string, ensProviderUrl: string) => Promise<string | null>;
6
6
  export declare const getEnsProvider: (network: string) => import('ethers').AbstractProvider;
7
+ export declare const getTrimmedName: (name: string, length: number, limit: number) => string;
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.6",
5
+ "version": "1.4.8",
6
6
  "main": "dist/index.umd.js",
7
7
  "module": "dist/index.es.js",
8
8
  "exports": {
@@ -39,6 +39,7 @@
39
39
  "@tiptap/extension-font-family": "^2.4.0",
40
40
  "@tiptap/extension-gapcursor": "^2.4.0",
41
41
  "@tiptap/extension-highlight": "^2.4.0",
42
+ "@tiptap/extension-history": "^2.4.0",
42
43
  "@tiptap/extension-link": "^2.4.0",
43
44
  "@tiptap/extension-placeholder": "^2.4.0",
44
45
  "@tiptap/extension-task-item": "^2.4.0",
@@ -50,11 +51,13 @@
50
51
  "@tiptap/react": "^2.4.0",
51
52
  "@tiptap/starter-kit": "^2.4.0",
52
53
  "@tiptap/suggestion": "^2.4.0",
54
+ "@types/platform": "^1.3.6",
53
55
  "classnames": "^2.5.1",
54
56
  "embla-carousel-react": "^8.1.5",
55
57
  "ethers": "^6.13.1",
56
58
  "framer-motion": "^11.2.12",
57
59
  "lucide-react": "^0.379.0",
60
+ "platform": "^1.3.6",
58
61
  "prosemirror-model": "^1.21.0",
59
62
  "prosemirror-state": "^1.4.3",
60
63
  "react": "^18.2.0",