Update jslib (#1895)

* Update jslib

* Update jslib

* Revert `isDesktopClient`
This commit is contained in:
Matt Gibson 2021-06-15 13:40:49 -05:00 committed by Thomas Rittson
parent 2c2746d848
commit 2ba9d6e6d0
1 changed files with 4 additions and 0 deletions

View File

@ -19,6 +19,10 @@ export default class BrowserStorageService implements StorageService {
});
}
async has(key: string): Promise<boolean> {
return this.get(key) != null;
}
async save(key: string, obj: any): Promise<any> {
if (obj == null) {
// Fix safari not liking null in set