@fileverse-dev/ddoc 2.2.8-patch-9 → 2.2.8-patch-10

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-C70wW9Zd.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-CSJ6y3Tr.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;
@@ -86505,7 +86505,7 @@ async function o6(e, t) {
86505
86505
  });
86506
86506
  return K === "0x" ? { data: void 0 } : { data: K };
86507
86507
  } catch (U) {
86508
- const P = hxt(U), { offchainLookup: _, offchainLookupSignature: G } = await import("./ccip-BCp4kbxL.mjs");
86508
+ const P = hxt(U), { offchainLookup: _, offchainLookupSignature: G } = await import("./ccip-BSf45KwY.mjs");
86509
86509
  if (e.ccipRead !== !1 && (P == null ? void 0 : P.slice(0, 10)) === G && k)
86510
86510
  return { data: await _(e, { data: P, to: k }) };
86511
86511
  throw D && (P == null ? void 0 : P.slice(0, 10)) === "0x101bb98d" ? new v5t({ factory: c }) : r$(U, {
@@ -143103,27 +143103,6 @@ const AUt = ({
143103
143103
  }, s = a(t.content), l = Oe.fromArray(s);
143104
143104
  return new Qe(l, 0, 0);
143105
143105
  }
143106
- },
143107
- appendTransaction(t, n, r) {
143108
- if (!t[t.length - 1].docChanged) return;
143109
- const { $from: i } = r.selection;
143110
- let a = !1;
143111
- for (let s = i.depth; s >= 0; s--)
143112
- if (i.node(s).type.name === "callout") {
143113
- a = !0;
143114
- break;
143115
- }
143116
- if (!a) {
143117
- let s = null;
143118
- if (r.doc.descendants((l, u) => (l.type.name === "callout" && (s = u + l.content.size - 1), !0)), s != null) {
143119
- const l = ft.create(
143120
- r.doc,
143121
- s
143122
- );
143123
- return r.tr.setSelection(l).scrollIntoView();
143124
- }
143125
- }
143126
- return null;
143127
143106
  }
143128
143107
  })
143129
143108
  ];
package/dist/index.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { D as d, P as r, h as s, u as t } from "./index-C70wW9Zd.mjs";
1
+ import { D as d, P as r, h as s, u as t } from "./index-CSJ6y3Tr.mjs";
2
2
  export {
3
3
  d as DdocEditor,
4
4
  r as PreviewDdocEditor,
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.2.8-patch-9",
5
+ "version": "2.2.8-patch-10",
6
6
  "main": "dist/index.es.js",
7
7
  "module": "dist/index.es.js",
8
8
  "exports": {