diff --git a/jslib b/jslib index 6b8508579f..8130fce404 160000 --- a/jslib +++ b/jslib @@ -1 +1 @@ -Subproject commit 6b8508579f89b4c54afa6aab2b7155aac70fb8a9 +Subproject commit 8130fce40459d6597239eb283e1c8dfc28edb16f diff --git a/src/services/browserPlatformUtils.service.ts b/src/services/browserPlatformUtils.service.ts index 878c1e2624..bd6afcff30 100644 --- a/src/services/browserPlatformUtils.service.ts +++ b/src/services/browserPlatformUtils.service.ts @@ -1,6 +1,7 @@ import { BrowserApi } from "../browser/browserApi"; import { SafariApp } from "../browser/safariApp"; +import { ClientType } from "jslib-common/enums/clientType"; import { DeviceType } from "jslib-common/enums/deviceType"; import { ThemeType } from "jslib-common/enums/themeType"; @@ -12,8 +13,6 @@ import { StateService } from "../services/abstractions/state.service"; const DialogPromiseExpiration = 600000; // 10 minutes export default class BrowserPlatformUtilsService implements PlatformUtilsService { - identityClientId: string = "browser"; - private showDialogResolves = new Map void; date: Date }>(); private passwordDialogResolves = new Map< number, @@ -63,6 +62,10 @@ export default class BrowserPlatformUtilsService implements PlatformUtilsService return device.replace("extension", ""); } + getClientType(): ClientType { + return ClientType.Browser; + } + isFirefox(): boolean { return this.getDevice() === DeviceType.FirefoxExtension; }