@fileverse-dev/ddoc 1.5.3 → 1.5.4
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +19 -19
- package/dist/index.es.js +1973 -1969
- package/dist/index.umd.js +71 -71
- package/dist/packages/ddoc/types.d.ts +1 -0
- package/dist/packages/ddoc/use-ddoc-editor.d.ts +1 -1
- package/package.json +1 -1
- package/dist/constants/index.d.ts +0 -8
@@ -1,7 +1,7 @@
|
|
1
1
|
import { DdocProps } from './types';
|
2
2
|
|
3
3
|
import * as Y from 'yjs';
|
4
|
-
export declare const useDdocEditor: ({ isPreviewMode, initialContent, enableCollaboration, collaborationId, walletAddress, username, onAutoSave, onChange, onCollaboratorChange, onCommentInteraction, onTextSelection, }: Partial<DdocProps>) => {
|
4
|
+
export declare const useDdocEditor: ({ isPreviewMode, initialContent, enableCollaboration, collaborationId, walletAddress, username, onAutoSave, onChange, onCollaboratorChange, onCommentInteraction, onTextSelection, ensResolutionUrl, }: Partial<DdocProps>) => {
|
5
5
|
editor: import('@tiptap/react').Editor | null;
|
6
6
|
ref: import('react').RefObject<HTMLDivElement>;
|
7
7
|
loading: boolean;
|
package/package.json
CHANGED
@@ -1,8 +0,0 @@
|
|
1
|
-
export declare const DEFAULT_AUTHENTICATED_HEADER: {
|
2
|
-
Authorization: string;
|
3
|
-
invoker: string;
|
4
|
-
contract: string;
|
5
|
-
chain: number;
|
6
|
-
};
|
7
|
-
export declare const API_URL = "https://dev-fileverse-storage.herokuapp.com";
|
8
|
-
export declare const ENS_RESOLUTION_URL = "https://eth-mainnet.g.alchemy.com/v2/uzKE0HT-Vc3LmUAA_dNVEt2rO8LtJGA3";
|