@fileverse-dev/ddoc 3.0.45-patch-19 → 3.0.45-patch-20

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-CVGRkw0S.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-wPv4ZU7p.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;
@@ -94001,7 +94001,7 @@ async function EC(e, t) {
94001
94001
  });
94002
94002
  return ie === "0x" ? { data: void 0 } : { data: ie };
94003
94003
  } catch (B) {
94004
- const I = SJt(B), { offchainLookup: U, offchainLookupSignature: $ } = await import("./ccip-D1Ffzjuo.mjs");
94004
+ const I = SJt(B), { offchainLookup: U, offchainLookupSignature: $ } = await import("./ccip-DrA56D7W.mjs");
94005
94005
  if (e.ccipRead !== !1 && (I == null ? void 0 : I.slice(0, 10)) === $ && x)
94006
94006
  return { data: await U(e, { data: I, to: x }) };
94007
94007
  throw _ && (I == null ? void 0 : I.slice(0, 10)) === "0x101bb98d" ? new lXt({ factory: f }) : y3e(B, {
@@ -263013,9 +263013,7 @@ const jHn = (e) => e.context.awareness, LHn = (e) => !!(e.context.isReady && e.c
263013
263013
  onFetchCommitContent: L.onFetchCommitContent,
263014
263014
  onCollabSessionTermination: L.onCollabSessionTermination,
263015
263015
  onUnMergedUpdates: L.onUnMergedUpdates
263016
- });
263017
- console.log({ collabConfig: O });
263018
- const U = DIn({
263016
+ }), U = DIn({
263019
263017
  ydoc: I.ydoc,
263020
263018
  initialContent: t,
263021
263019
  enableCollaboration: n,
@@ -270045,6 +270043,7 @@ const s$n = (e) => {
270045
270043
  collaborationKey: lt,
270046
270044
  collaborationKeyPair: Qe,
270047
270045
  collabConfig: Ze,
270046
+ isDDocOwner: ue,
270048
270047
  ...At
270049
270048
  });
270050
270049
  ym(
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-CVGRkw0S.mjs";
1
+ import { D as d, E as r, P as s, R as a, h as t, u as i } from "./index-wPv4ZU7p.mjs";
2
2
  export {
3
3
  d as DdocEditor,
4
4
  r as Editor,
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@fileverse-dev/ddoc",
3
3
  "private": false,
4
4
  "description": "DDoc",
5
- "version": "3.0.45-patch-19",
5
+ "version": "3.0.45-patch-20",
6
6
  "main": "dist/index.es.js",
7
7
  "module": "dist/index.es.js",
8
8
  "exports": {