@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-
|
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-
|
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
@@ -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;
|