@lvce-editor/editor-worker 17.0.0 → 17.1.0

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.
@@ -1177,6 +1177,8 @@ const OpenerWorker = 4561;
1177
1177
  const RendererWorker$1 = 1;
1178
1178
  const TextMeasurementWorker = 7011;
1179
1179
 
1180
+ const SetFocusContext$1 = 'Viewlet.setFocusContext';
1181
+
1180
1182
  const FocusEditorText$1 = 12;
1181
1183
 
1182
1184
  const rpcs = Object.create(null);
@@ -11035,7 +11037,7 @@ const renderFocus$1 = {
11035
11037
  };
11036
11038
  const renderFocusContext = {
11037
11039
  apply(oldState, newState) {
11038
- return ['Viewlet.setFocusContext', newState.uid, newState.focus];
11040
+ return [SetFocusContext$1, newState.uid, newState.focus, 0, newState.uid, 'Editor'];
11039
11041
  },
11040
11042
  isEqual(oldState, newState) {
11041
11043
  return oldState.focus === newState.focus;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/editor-worker",
3
- "version": "17.0.0",
3
+ "version": "17.1.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git@github.com:lvce-editor/editor-worker.git"