@@ -58,7 +58,7 @@ interface IStoredWebExtension {
58
58
readonly identifier : IExtensionIdentifier ;
59
59
readonly version : string ;
60
60
readonly location : UriComponents ;
61
- readonly manifest ?: string ;
61
+ readonly manifest ?: IExtensionManifest ;
62
62
readonly readmeUri ?: UriComponents ;
63
63
readonly changelogUri ?: UriComponents ;
64
64
// deprecated in favor of packageNLSUris & fallbackPackageNLSUri
@@ -806,7 +806,7 @@ export class WebExtensionsScannerService extends Disposable implements IWebExten
806
806
identifier : e . identifier ,
807
807
version : e . version ,
808
808
location : URI . revive ( e . location ) ,
809
- manifest : e . manifest ? JSON . parse ( e . manifest ) : undefined ,
809
+ manifest : e . manifest ,
810
810
readmeUri : URI . revive ( e . readmeUri ) ,
811
811
changelogUri : URI . revive ( e . changelogUri ) ,
812
812
packageNLSUris,
@@ -869,7 +869,7 @@ export class WebExtensionsScannerService extends Disposable implements IWebExten
869
869
const storedWebExtensions : IStoredWebExtension [ ] = webExtensions . map ( e => ( {
870
870
identifier : e . identifier ,
871
871
version : e . version ,
872
- manifest : e . manifest ? JSON . stringify ( e . manifest ) : undefined ,
872
+ manifest : e . manifest ,
873
873
location : e . location . toJSON ( ) ,
874
874
readmeUri : e . readmeUri ?. toJSON ( ) ,
875
875
changelogUri : e . changelogUri ?. toJSON ( ) ,
0 commit comments