@lvce-editor/extension-search-view 7.14.1 → 7.14.2

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.
@@ -1378,6 +1378,9 @@ const {
1378
1378
  const disableWorkspace$2 = id => {
1379
1379
  return invoke$1('Extensions.disableWorkspace', id);
1380
1380
  };
1381
+ const uninstall$2 = id => {
1382
+ return invoke$1(`Extensions.uninstall`, id);
1383
+ };
1381
1384
 
1382
1385
  const {
1383
1386
  invoke,
@@ -1418,9 +1421,6 @@ const openUri$1 = async (uri, focus, options) => {
1418
1421
  const showErrorDialog = async errorInfo => {
1419
1422
  await invoke('ErrorHandling.showErrorDialog', errorInfo);
1420
1423
  };
1421
- const uninstallExtension = async id => {
1422
- return invoke('ExtensionManagement.uninstall', id);
1423
- };
1424
1424
  const installExtension = async id => {
1425
1425
  return invoke('ExtensionManagement.install', id);
1426
1426
  };
@@ -3958,7 +3958,7 @@ const handleSettingsButtonClick = async (state, index) => {
3958
3958
 
3959
3959
  const handleUninstall = async (state, id) => {
3960
3960
  try {
3961
- await uninstallExtension(id);
3961
+ await uninstall$2(id);
3962
3962
  return setExtensionStatus(state, id, NotInstalled);
3963
3963
  } catch (error) {
3964
3964
  await showErrorDialog(error);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/extension-search-view",
3
- "version": "7.14.1",
3
+ "version": "7.14.2",
4
4
  "description": "Extension Search View Worker",
5
5
  "repository": {
6
6
  "type": "git",