@lvce-editor/main-area-worker 9.56.0 → 9.56.1

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.
@@ -1745,6 +1745,9 @@ const {
1745
1745
  const wrapAsyncCommand = fn => {
1746
1746
  return registry.wrapAsyncCommand(withActiveEditorChangeAsync(fn));
1747
1747
  };
1748
+ const wrapCommand = fn => {
1749
+ return registry.wrapCommand(withActiveEditorChange(fn));
1750
+ };
1748
1751
  const wrapSerialAsyncCommand = fn => {
1749
1752
  return registry.wrapSerialAsyncCommand(withActiveEditorChangeAsync(fn));
1750
1753
  };
@@ -8384,7 +8387,7 @@ const applyComponentState = (currentState, state) => {
8384
8387
  maxOpenEditors: maxOpenEditors ?? currentMaxOpenEditors
8385
8388
  };
8386
8389
  };
8387
- const setComponentState = wrapSerialCommand(applyComponentState);
8390
+ const setComponentState = wrapCommand(applyComponentState);
8388
8391
 
8389
8392
  const flipDirection = direction => {
8390
8393
  return direction === Horizontal ? Vertical : Horizontal;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/main-area-worker",
3
- "version": "9.56.0",
3
+ "version": "9.56.1",
4
4
  "description": "Main Area Worker",
5
5
  "repository": {
6
6
  "type": "git",