@lvce-editor/extension-management-worker 4.75.0 → 4.75.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.
@@ -3521,7 +3521,8 @@ const disposeLanguageServers = async (extensionIds, disposeAll) => {
3521
3521
  };
3522
3522
  const getRetainedExtensionIds = async getExtensions => {
3523
3523
  try {
3524
- const extensions = await getExtensions('', 0);
3524
+ const platform = await invoke$4('Layout.getPlatform');
3525
+ const extensions = await getExtensions('', platform);
3525
3526
  return new Set(extensions.filter(extension => extension.preserveRuntimeOnWorkspaceChange === true).map(extension => extension.id).filter(id => typeof id === 'string'));
3526
3527
  } catch {
3527
3528
  return new Set();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/extension-management-worker",
3
- "version": "4.75.0",
3
+ "version": "4.75.1",
4
4
  "description": "Webworker for the Extension Management functionality in Lvce Editor.",
5
5
  "keywords": [
6
6
  "web-worker"