@fileverse-dev/ddoc 2.3.0-rtc-patch-21 → 2.3.0-rtc-patch-22
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-D-0SitKj.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 Ov(e, t) {
|
|
89873
89873
|
});
|
89874
89874
|
return U === "0x" ? { data: void 0 } : { data: U };
|
89875
89875
|
} catch (I) {
|
89876
|
-
const _ = IAt(I), { offchainLookup: O, offchainLookupSignature: z } = await import("./ccip-
|
89876
|
+
const _ = IAt(I), { offchainLookup: O, offchainLookupSignature: z } = await import("./ccip-BUdvOGGA.mjs");
|
89877
89877
|
if (e.ccipRead !== !1 && (_ == null ? void 0 : _.slice(0, 10)) === z && x)
|
89878
89878
|
return { data: await O(e, { data: _, to: x }) };
|
89879
89879
|
throw j && (_ == null ? void 0 : _.slice(0, 10)) === "0x101bb98d" ? new zEt({ factory: u }) : lre(I, {
|
@@ -234600,7 +234600,7 @@ const _0n = (e) => e.context.awareness, P0n = (e) => e.context.isReady && e.cont
|
|
234600
234600
|
terminateSession: G,
|
234601
234601
|
awareness: Y
|
234602
234602
|
} = V0n({
|
234603
|
-
onError:
|
234603
|
+
onError: R.onCollabError,
|
234604
234604
|
ydoc: _,
|
234605
234605
|
onCollaborationConnectCallback: R.onCollaborationConnectCallback,
|
234606
234606
|
onCollaborationCommit: R.onCollaborationCommit,
|
package/dist/index.es.js
CHANGED
package/dist/package/types.d.ts
CHANGED
@@ -159,6 +159,7 @@ export interface DdocProps extends CommentAccountProps {
|
|
159
159
|
onFetchCommitContent?: (cid: string) => Promise<any>;
|
160
160
|
onCollabSessionTermination?: () => void;
|
161
161
|
onUnMergedUpdates?: (state: boolean) => void;
|
162
|
+
onCollabError?: (error: any) => void;
|
162
163
|
}
|
163
164
|
export interface IEditorSelectionData {
|
164
165
|
from: number;
|