blob: cabf8cb7f81393c3ae2a806a5e7c5ddcf4461cfc [file] [log] [blame]
// Returns whether the extension is a production version (released stable or
// beta version).
export function isProdVersion() {
// #!if production && !canary
return true;
// #!else
return false;
// #!endif
}
// Returns the extension version
export function getExtVersion() {
var manifest = chrome.runtime.getManifest();
return manifest?.version;
}