@lvce-editor/extension-detail-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.
|
@@ -4196,7 +4196,10 @@ const getExtension$1 = async (id, platform) => {
|
|
|
4196
4196
|
const getExtensionNew = async id => {
|
|
4197
4197
|
try {
|
|
4198
4198
|
const rpc = get$2(ExtensionManagementWorker);
|
|
4199
|
-
|
|
4199
|
+
const extension = await rpc.invoke('Extensions.getExtension', id);
|
|
4200
|
+
if (extension) {
|
|
4201
|
+
return extension;
|
|
4202
|
+
}
|
|
4200
4203
|
} catch {
|
|
4201
4204
|
// ignore
|
|
4202
4205
|
}
|