@deepagents/react-input 7.0.2 → 7.1.0

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.
package/dist/browser.js CHANGED
@@ -1849,7 +1849,7 @@ function or(e) {
1849
1849
  return t[0] !== e || t[1] !== n ? (r = /* @__PURE__ */ x(cr, { ...e }, n), t[0] = e, t[1] = n, t[2] = r) : r = t[2], r;
1850
1850
  }
1851
1851
  function sr(e) {
1852
- return typeof e == "object" && !!e && typeof e.then == "function";
1852
+ return typeof e == "object" && !!e && "then" in e && typeof e.then == "function";
1853
1853
  }
1854
1854
  function cr({ initialDraft: e, draftKey: t, disabled: n = !1, isTaskRunning: r = !1, queueSubmissions: i = !1, hasInteracted: a = !1, maxExpandedTextChars: o, editorAriaLabel: c = "Rich prompt composer", className: l, children: u, validateSubmission: d, onSubmit: f, onStateChange: v }) {
1855
1855
  let y = At(u), b = h({