blob: e47a74cc3e68833780968016d242ff47146c7ff1 [file] [log] [blame]
// Returns whether the extension is a release version.
export function isReleaseVersion() {
var manifest = chrome.runtime.getManifest();
return ('version' in manifest) && manifest.version != '0';
}
// Returns the extension version
export function getExtVersion() {
var manifest = chrome.runtime.getManifest();
return manifest?.version;
}