@fileverse-dev/ddoc 2.3.0-rtc-patch-7 → 2.3.0-rtc-patch-9

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.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { D as d, E as r, P as s, R as a, h as t, u as i } from "./index-DAu4s4hP.mjs";
1
+ import { D as d, E as r, P as s, R as a, h as t, u as i } from "./index-DE7Pxf1Z.mjs";
2
2
  export {
3
3
  d as DdocEditor,
4
4
  r as Editor,
@@ -23,6 +23,7 @@ export declare const websocketInitializer: (context: SyncMachineContext, event:
23
23
  isEns: any;
24
24
  wsUrl: any;
25
25
  onCollaborationCommit: (file: File) => Promise<string>;
26
+ onFetchCommitContent: (cid: string) => Promise<any>;
26
27
  };
27
28
  export declare const yjsUpdateHandler: (context: SyncMachineContext, event: SyncMachinEvent) => {
28
29
  uncommittedUpdatesIdList?: undefined;
@@ -197,6 +197,7 @@ export interface ICollaborationConfig {
197
197
  contractAddress?: string;
198
198
  ownerAddress?: string;
199
199
  wsUrl: string;
200
+ isEns?: boolean;
200
201
  roomInfo?: {
201
202
  documentTitle: string;
202
203
  portalAddress: 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": "2.3.0-rtc-patch-7",
5
+ "version": "2.3.0-rtc-patch-9",
6
6
  "main": "dist/index.es.js",
7
7
  "module": "dist/index.es.js",
8
8
  "exports": {