add iconUrl to manifest
This commit is contained in:
@@ -34,7 +34,11 @@ async function onSubmit() {
|
||||
return console.error(error);
|
||||
}
|
||||
|
||||
const packageData = { ...result, versionsUrl: `${url}@${version || 'latest'}` };
|
||||
const packageData = {
|
||||
...result, // { manifest, publishState, creationDate, ts }
|
||||
versionsUrl: `${url}@${version || 'latest'}`,
|
||||
iconUrl: result.manifest.iconUrl // compat with app store format
|
||||
};
|
||||
|
||||
emit('success', packageData);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user