@fileverse-dev/ddoc 2.3.1 → 2.3.2

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-DnFRu9cp.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-DK7CAo5N.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;
@@ -89854,7 +89854,7 @@ async function i5(e, t) {
89854
89854
  });
89855
89855
  return Q === "0x" ? { data: void 0 } : { data: Q };
89856
89856
  } catch (G) {
89857
- const z = Skt(G), { offchainLookup: O, offchainLookupSignature: H } = await import("./ccip-iE3tr7jb.mjs");
89857
+ const z = Skt(G), { offchainLookup: O, offchainLookupSignature: H } = await import("./ccip-OTZyMJ99.mjs");
89858
89858
  if (e.ccipRead !== !1 && (z == null ? void 0 : z.slice(0, 10)) === H && x)
89859
89859
  return { data: await O(e, { data: z, to: x }) };
89860
89860
  throw D && (z == null ? void 0 : z.slice(0, 10)) === "0x101bb98d" ? new O7t({ factory: u }) : kQ(G, {
@@ -227176,9 +227176,13 @@ User prompt: ${l} /no_think` : `${l} /no_think`;
227176
227176
  placeholder: "Paste URL",
227177
227177
  className: "w-full text-base",
227178
227178
  defaultValue: v().url,
227179
+ autoFocus: !0,
227179
227180
  onChange: (w) => {
227180
227181
  w.preventDefault(), f(w.target.value);
227181
227182
  },
227183
+ onKeyDown: (w) => {
227184
+ w.key === "Enter" && (w.preventDefault(), k());
227185
+ },
227182
227186
  isValid: b,
227183
227187
  message: b ? "" : "Invalid URL"
227184
227188
  }
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-DnFRu9cp.mjs";
1
+ import { D as d, E as r, P as s, R as a, h as t, u as i } from "./index-DK7CAo5N.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.3.1",
5
+ "version": "2.3.2",
6
6
  "main": "dist/index.es.js",
7
7
  "module": "dist/index.es.js",
8
8
  "exports": {