@ones-editor/editor 2.1.1-beta.39 → 2.1.1-beta.40

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
@@ -45779,9 +45779,9 @@ ${codeText}
45779
45779
  }
45780
45780
  }
45781
45781
  const commandsChunk = [];
45782
- Object.keys(allCommandsMap).sort((a, b) => Number(a) - Number(b)).forEach((key) => {
45782
+ Array.from(allCommandsMap.keys()).sort((a, b) => a - b).forEach((key) => {
45783
45783
  var _a2;
45784
- const value = (_a2 = allCommandsMap.get(Number(key))) != null ? _a2 : [];
45784
+ const value = (_a2 = allCommandsMap.get(key)) != null ? _a2 : [];
45785
45785
  commandsChunk.push(value.sort((item1, item2) => {
45786
45786
  var _a3, _b2;
45787
45787
  return ((_a3 = item1.order) != null ? _a3 : 0) - ((_b2 = item2.order) != null ? _b2 : 0);
@@ -85036,7 +85036,7 @@ ${data2.flowchartText}
85036
85036
  }
85037
85037
  }
85038
85038
  });
85039
- editor.version = "2.1.1-beta.39";
85039
+ editor.version = "2.1.1-beta.40";
85040
85040
  if (Logger$2.level === LogLevel.DEBUG) {
85041
85041
  window.setReauthFail = (fail) => {
85042
85042
  window.isReauthError = fail;
@@ -85135,7 +85135,7 @@ ${data2.flowchartText}
85135
85135
  });
85136
85136
  editor.addCustom(DOC_RE_AUTH_KEYS, (editor2) => new DocReAuthCallbacks(editor2));
85137
85137
  OnesEditorToolbar.register(editor);
85138
- editor.version = "2.1.1-beta.39";
85138
+ editor.version = "2.1.1-beta.40";
85139
85139
  return editor;
85140
85140
  }
85141
85141
  async function showDocVersions(editor, options, serverUrl) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ones-editor/editor",
3
- "version": "2.1.1-beta.39",
3
+ "version": "2.1.1-beta.40",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",