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

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.
@@ -1,4 +1,4 @@
1
- import { B as p, g as m, s as w, d as k, i as b, l as L, a as O, c as E, b as x, e as R, H as y, f as M } from "./index-DAu4s4hP.mjs";
1
+ import { B as p, g as m, s as w, d as k, i as b, l as L, a as O, c as E, b as x, e as R, H as y, f as M } from "./index-DpZqG2yO.mjs";
2
2
  class S extends p {
3
3
  constructor({ callbackSelector: r, cause: a, data: n, extraData: i, sender: f, urls: t }) {
4
4
  var o;
@@ -89873,7 +89873,7 @@ async function Nv(e, t) {
89873
89873
  });
89874
89874
  return Z === "0x" ? { data: void 0 } : { data: Z };
89875
89875
  } catch (N) {
89876
- const H = NAt(N), { offchainLookup: I, offchainLookupSignature: z } = await import("./ccip-Cxc8sq1Y.mjs");
89876
+ const H = NAt(N), { offchainLookup: I, offchainLookupSignature: z } = await import("./ccip-Bpix1pa5.mjs");
89877
89877
  if (e.ccipRead !== !1 && (H == null ? void 0 : H.slice(0, 10)) === z && x)
89878
89878
  return { data: await I(e, { data: H, to: x }) };
89879
89879
  throw j && (H == null ? void 0 : H.slice(0, 10)) === "0x101bb98d" ? new PEt({ factory: u }) : are(N, {
@@ -233572,7 +233572,8 @@ const Gdn = (e, t) => {
233572
233572
  isOwner: t.data.isOwner,
233573
233573
  isEns: t.data.isEns,
233574
233574
  wsUrl: t.data.wsUrl,
233575
- onCollaborationCommit: e.onCollaborationCommit
233575
+ onCollaborationCommit: e.onCollaborationCommit,
233576
+ onFetchCommitContent: e.onFetchCommitContent
233576
233577
  };
233577
233578
  }, Ydn = (e, t) => {
233578
233579
  if (!e.ydoc)
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-DpZqG2yO.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;
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-8",
6
6
  "main": "dist/index.es.js",
7
7
  "module": "dist/index.es.js",
8
8
  "exports": {