mirror of
https://github.com/bitwarden/browser
synced 2025-12-22 11:13:46 +00:00
rename browserType to deviceType
This commit is contained in:
@@ -1,15 +1,15 @@
|
||||
import { BrowserType } from '../../enums/browserType.enum';
|
||||
import { DeviceType } from '../../enums/deviceType.enum';
|
||||
import { BrowserUtilsService } from '../../services/abstractions/browserUtils.service';
|
||||
|
||||
class DeviceRequest {
|
||||
type: BrowserType;
|
||||
type: DeviceType;
|
||||
name: string;
|
||||
identifier: string;
|
||||
pushToken?: string;
|
||||
|
||||
constructor(appId: string, browserUtilsService: BrowserUtilsService) {
|
||||
this.type = browserUtilsService.getBrowser();
|
||||
this.name = browserUtilsService.getBrowserString();
|
||||
this.type = browserUtilsService.getDevice();
|
||||
this.name = browserUtilsService.getDeviceString();
|
||||
this.identifier = appId;
|
||||
this.pushToken = null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user