sykpcomposer 0.0.13 → 0.0.14

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
@@ -35467,7 +35467,7 @@ const mb = {
35467
35467
  function vb({ ckey: o }) {
35468
35468
  const a = gl(null);
35469
35469
  return zo(() => {
35470
- const t = () => {
35470
+ (() => {
35471
35471
  if (window.Codox) {
35472
35472
  const e = new window.Codox(), s = {
35473
35473
  docId: "mydoc",
@@ -35479,10 +35479,7 @@ function vb({ ckey: o }) {
35479
35479
  e.start(s);
35480
35480
  } else
35481
35481
  console.error("Codox library is not loaded");
35482
- };
35483
- setTimeout(() => {
35484
- t();
35485
- }, 4e3);
35482
+ })();
35486
35483
  }, []), zo(() => {
35487
35484
  const t = document.getElementById("editor");
35488
35485
  yb.setRootElement(t);