1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 16:23:44 +00:00

import ts through node_modules alias

This commit is contained in:
Kyle Spearrin
2018-01-09 14:26:20 -05:00
parent e165b5cc70
commit f51bebd99a
49 changed files with 515 additions and 322 deletions

View File

@@ -1,13 +1,13 @@
import CipherService from '../services/cipher.service';
import { Abstractions } from '@bitwarden/jslib';
import { PlatformUtilsService } from 'jslib/abstractions';
export default class WebRequestBackground {
private pendingAuthRequests: any[] = [];
private webRequest: any;
private isFirefox: boolean;
constructor(private platformUtilsService: Abstractions.PlatformUtilsService,
constructor(private platformUtilsService: PlatformUtilsService,
private cipherService: CipherService) {
this.webRequest = (window as any).chrome.webRequest;
this.isFirefox = platformUtilsService.isFirefox();