sykpcomposer 0.0.45 → 0.0.47

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/index.es.js CHANGED
@@ -44908,15 +44908,8 @@ function P2({ collabApiKey: y, spfList: d, userObj: g }) {
44908
44908
  u.current && u.current.start(p).then(() => {
44909
44909
  console.log("[Lexical Demo][codox.start] success"), f(!0);
44910
44910
  }).catch((w) => console.log("[Lexical Demo][codox.start] error", w));
44911
- };
44912
- sr(
44913
- () => () => {
44914
- b();
44915
- },
44916
- []
44917
- );
44918
- const b = () => {
44919
- u.current && (console.log("i am stop"), u.current.stop()), f(!1);
44911
+ }, b = () => {
44912
+ u.current && (console.log("Codox stoped"), u.current.stop()), f(!1);
44920
44913
  };
44921
44914
  let _ = {
44922
44915
  root: {
@@ -44977,7 +44970,11 @@ function P2({ collabApiKey: y, spfList: d, userObj: g }) {
44977
44970
  ));
44978
44971
  }), /* @__PURE__ */ Ee.jsx("div", { className: "flexContainer", children: w });
44979
44972
  };
44980
- return /* @__PURE__ */ Ee.jsx("div", { children: u && /* @__PURE__ */ Ee.jsxs(Dy, { initialConfig: O2, children: [
44973
+ return console.log("iam user object", g), console.log("i am CodoxStarted", t), sr(() => {
44974
+ setTimeout(() => {
44975
+ (!u || !u.current) && m();
44976
+ }, 5e3);
44977
+ }, []), /* @__PURE__ */ Ee.jsx("div", { children: t && /* @__PURE__ */ Ee.jsxs(Dy, { initialConfig: O2, children: [
44981
44978
  v(),
44982
44979
  /* @__PURE__ */ Ee.jsxs("div", { className: "editor-container", children: [
44983
44980
  /* @__PURE__ */ Ee.jsx(E2, {}),