blob: 4c71d05a6dc20b506b45cc74b28bfd3ad3278e8b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
export default class VersionRepository {
async get() {
let { version } = await browser.storage.local.get('version');
return version;
}
update(version) {
return browser.storage.local.set({ version });
}
}
|