blob: 78832585b5f245a14bad5e54a013e59c312a1351 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
const load = async() => {
let { version } = await browser.storage.local.get('version');
return version;
};
const save = (version) => {
return browser.storage.local.set({ version });
};
export { load, save };
|