mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 08:13:42 +00:00
moved service abstractions to jslib
This commit is contained in:
@@ -2,7 +2,7 @@ import ConstantsService from '../services/constants.service';
|
||||
import LockService from '../services/lock.service';
|
||||
import MainBackground from './main.background';
|
||||
|
||||
import { StorageService } from '../services/abstractions/storage.service';
|
||||
import { StorageService } from '@bitwarden/jslib';
|
||||
|
||||
export default class IdleBackground {
|
||||
private idle: any;
|
||||
|
||||
@@ -35,9 +35,7 @@ import TotpService from '../services/totp.service';
|
||||
import UserService from '../services/user.service';
|
||||
import UtilsService from '../services/utils.service';
|
||||
|
||||
import { MessagingService } from '../services/abstractions/messaging.service';
|
||||
import { PlatformUtilsService } from '../services/abstractions/platformUtils.service';
|
||||
import { StorageService } from '../services/abstractions/storage.service';
|
||||
import { MessagingService, PlatformUtilsService, StorageService } from '@bitwarden/jslib';
|
||||
|
||||
export default class MainBackground {
|
||||
messagingService: MessagingService;
|
||||
|
||||
@@ -8,7 +8,7 @@ import AutofillService from '../services/autofill.service';
|
||||
import CipherService from '../services/cipher.service';
|
||||
import UtilsService from '../services/utils.service';
|
||||
|
||||
import { PlatformUtilsService } from '../services/abstractions/platformUtils.service';
|
||||
import { PlatformUtilsService } from '@bitwarden/jslib';
|
||||
|
||||
export default class RuntimeBackground {
|
||||
private runtime: any;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import CipherService from '../services/cipher.service';
|
||||
|
||||
import { PlatformUtilsService } from '../services/abstractions/platformUtils.service';
|
||||
import { PlatformUtilsService } from '@bitwarden/jslib';
|
||||
|
||||
export default class WebRequestBackground {
|
||||
private pendingAuthRequests: any[] = [];
|
||||
|
||||
Reference in New Issue
Block a user