@lvce-editor/editor-worker 7.0.0 → 7.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.
@@ -7719,11 +7719,11 @@ const remove$7 = widget => {
7719
7719
  return [['Viewlet.dispose', widget.newState.uid]];
7720
7720
  };
7721
7721
  const createFn = key => {
7722
- const fn = async state => {
7722
+ const fn = async (state, ...args) => {
7723
7723
  const {
7724
7724
  uid
7725
7725
  } = state;
7726
- await invoke$3(`Completions.${key}`, uid);
7726
+ await invoke$3(`Completions.${key}`, uid, ...args);
7727
7727
  const diff = await invoke$3('Completions.diff2', uid);
7728
7728
  const commands = await invoke$3('Completions.render2', uid, diff);
7729
7729
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/editor-worker",
3
- "version": "7.0.0",
3
+ "version": "7.1.0",
4
4
  "description": "",
5
5
  "license": "MIT",
6
6
  "author": "Lvce Editor",