@fileverse-dev/ddoc 2.4.11 → 2.4.12

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-RoR9gPqB.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-yZbcVTPq.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;
@@ -89868,7 +89868,7 @@ async function Sk(e, t) {
89868
89868
  });
89869
89869
  return V === "0x" ? { data: void 0 } : { data: V };
89870
89870
  } catch (B) {
89871
- const L = BWt(B), { offchainLookup: j, offchainLookupSignature: N } = await import("./ccip-E_Hcq7Wg.mjs");
89871
+ const L = BWt(B), { offchainLookup: j, offchainLookupSignature: N } = await import("./ccip-BAm9EVjo.mjs");
89872
89872
  if (e.ccipRead !== !1 && (L == null ? void 0 : L.slice(0, 10)) === N && b)
89873
89873
  return { data: await j(e, { data: L, to: b }) };
89874
89874
  throw S && (L == null ? void 0 : L.slice(0, 10)) === "0x101bb98d" ? new HVt({ factory: c }) : cpe(B, {
@@ -99869,7 +99869,7 @@ const KR = new wn("inline-ui"), L4 = [], RJt = () => new un({
99869
99869
  if (!o || i.empty && o === 2) {
99870
99870
  a = document.createElement("div"), a.textContent = n;
99871
99871
  const l = L4.length * 60;
99872
- return a.className = "py-2 px-4 animate-pulse bg-black text-white text-sm font-medium rounded text-center w-fit mx-auto z-[999] left-0 right-0 absolute transition-all duration-300", a.style.bottom = `${30 + l}px`, a.style.transform = "translateY(-1px)", L4.push(a), document.body.appendChild(a), a;
99872
+ return a.className = "py-2 px-4 animate-pulse bg-black text-white text-sm font-medium rounded text-center w-fit mx-auto z-[999] left-0 right-0 absolute transition-all", a.style.bottom = `${30 + l}px`, a.style.transform = "translateY(-1px)", L4.push(a), document.body.appendChild(a), a;
99873
99873
  }
99874
99874
  r.setMeta(KR, {
99875
99875
  add: {
@@ -101488,7 +101488,7 @@ const cen = (e, t, n) => an.create({
101488
101488
  }, h.readAsText(u);
101489
101489
  } else
101490
101490
  o == null || o(
101491
- "Oops! That file type isnt supported. Give it another go with a .md file."
101491
+ "Oops! That file type isn't supported. Give it another go with a .md file."
101492
101492
  );
101493
101493
  }
101494
101494
  }, a.click(), !0;
@@ -153515,7 +153515,7 @@ const h9n = an.create({
153515
153515
  if (!a || a.length === 0) return;
153516
153516
  const s = a[0];
153517
153517
  if (!(s.type === "application/vnd.openxmlformats-officedocument.wordprocessingml.document" || s.name.endsWith(".docx"))) {
153518
- const p = "Oops! That file type isnt supported. Please upload a .docx file.";
153518
+ const p = "Oops! That file type isn't supported. Give it another go with a .docx file.";
153519
153519
  throw t == null || t(p), new Error(p);
153520
153520
  }
153521
153521
  const { showLoader: u, removeLoader: c } = Xf(
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-RoR9gPqB.mjs";
1
+ import { D as d, E as r, P as s, R as a, h as t, u as i } from "./index-yZbcVTPq.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": "2.4.11",
5
+ "version": "2.4.12",
6
6
  "main": "dist/index.es.js",
7
7
  "module": "dist/index.es.js",
8
8
  "exports": {