@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.
- package/dist/editorWorkerMain.js +2 -2
- package/package.json +1 -1
package/dist/editorWorkerMain.js
CHANGED
|
@@ -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 {
|