@ones-editor/editor 1.1.10-beta.5 → 1.1.10-beta.6

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.js CHANGED
@@ -8043,6 +8043,7 @@ var __publicField = (obj, key, value) => {
8043
8043
  reject(err);
8044
8044
  input2.remove();
8045
8045
  };
8046
+ document.body.append(input2);
8046
8047
  input2.click();
8047
8048
  });
8048
8049
  }
@@ -34376,7 +34377,8 @@ ${codeText}
34376
34377
  }
34377
34378
  } catch (err) {
34378
34379
  logger$2p.error(err);
34379
- setTimeout(() => this.handleAuthError(), 2 * this.retryCount * 1e3);
34380
+ const maxInterval = 30 * 1e3;
34381
+ setTimeout(() => this.handleAuthError(), Math.min(2 * this.retryCount * 1e3, maxInterval));
34380
34382
  }
34381
34383
  }
34382
34384
  }
@@ -75633,7 +75635,7 @@ ${data.flowchartText}
75633
75635
  }
75634
75636
  }
75635
75637
  });
75636
- editor.version = "1.1.10-beta.5";
75638
+ editor.version = "1.1.10-beta.6";
75637
75639
  return editor;
75638
75640
  }
75639
75641
  function isDoc(doc2) {
@@ -75706,7 +75708,7 @@ ${data.flowchartText}
75706
75708
  });
75707
75709
  editor.addCustom(DOC_RE_AUTH_KEYS, (editor2) => new DocReAuthCallbacks(editor2));
75708
75710
  OnesEditorToolbar.register(editor);
75709
- editor.version = "1.1.10-beta.5";
75711
+ editor.version = "1.1.10-beta.6";
75710
75712
  return editor;
75711
75713
  }
75712
75714
  async function showDocVersions(editor, options, serverUrl) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ones-editor/editor",
3
- "version": "1.1.10-beta.5",
3
+ "version": "1.1.10-beta.6",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",