mirror of
https://github.com/bitwarden/browser
synced 2025-01-28 03:59:50 +01:00
getDomain now in jslib
This commit is contained in:
parent
03898183f7
commit
d06a7463bb
2
jslib
2
jslib
@ -1 +1 @@
|
|||||||
Subproject commit 9fa99f3a6ecf7c4a14e5d7271562b3908cf64728
|
Subproject commit 0d30a1a1c9bd2c323189069fe4ec233ab85c35fe
|
@ -95,7 +95,7 @@ const userService = new UserService(tokenService, storageService);
|
|||||||
const settingsService = new SettingsService(userService, storageService);
|
const settingsService = new SettingsService(userService, storageService);
|
||||||
export let searchService: SearchService = null;
|
export let searchService: SearchService = null;
|
||||||
const cipherService = new CipherService(cryptoService, userService, settingsService,
|
const cipherService = new CipherService(cryptoService, userService, settingsService,
|
||||||
apiService, storageService, i18nService, platformUtilsService, () => searchService);
|
apiService, storageService, i18nService, () => searchService);
|
||||||
const folderService = new FolderService(cryptoService, userService, apiService, storageService,
|
const folderService = new FolderService(cryptoService, userService, apiService, storageService,
|
||||||
i18nService, cipherService);
|
i18nService, cipherService);
|
||||||
const collectionService = new CollectionService(cryptoService, userService, storageService, i18nService);
|
const collectionService = new CollectionService(cryptoService, userService, storageService, i18nService);
|
||||||
@ -107,7 +107,7 @@ const syncService = new SyncService(userService, apiService, settingsService,
|
|||||||
async (expired: boolean) => messagingService.send('logout', { expired: expired }));
|
async (expired: boolean) => messagingService.send('logout', { expired: expired }));
|
||||||
const passwordGenerationService = new PasswordGenerationService(cryptoService, storageService);
|
const passwordGenerationService = new PasswordGenerationService(cryptoService, storageService);
|
||||||
const totpService = new TotpService(storageService, cryptoFunctionService);
|
const totpService = new TotpService(storageService, cryptoFunctionService);
|
||||||
const containerService = new ContainerService(cryptoService, platformUtilsService);
|
const containerService = new ContainerService(cryptoService);
|
||||||
const authService = new AuthService(cryptoService, apiService,
|
const authService = new AuthService(cryptoService, apiService,
|
||||||
userService, tokenService, appIdService, i18nService, platformUtilsService, messagingService);
|
userService, tokenService, appIdService, i18nService, platformUtilsService, messagingService);
|
||||||
const exportService = new ExportService(folderService, cipherService, apiService);
|
const exportService = new ExportService(folderService, cipherService, apiService);
|
||||||
@ -117,7 +117,7 @@ const notificationsService = new NotificationsService(userService, syncService,
|
|||||||
const environmentService = new EnvironmentService(apiService, storageService, notificationsService);
|
const environmentService = new EnvironmentService(apiService, storageService, notificationsService);
|
||||||
|
|
||||||
const analytics = new Analytics(window, () => isDev(), platformUtilsService, storageService, appIdService);
|
const analytics = new Analytics(window, () => isDev(), platformUtilsService, storageService, appIdService);
|
||||||
containerService.attachToWindow(window);
|
containerService.attachToGlobal(window);
|
||||||
|
|
||||||
export function initFactory(): Function {
|
export function initFactory(): Function {
|
||||||
return async () => {
|
return async () => {
|
||||||
|
@ -11,6 +11,9 @@
|
|||||||
"types": [],
|
"types": [],
|
||||||
"baseUrl": ".",
|
"baseUrl": ".",
|
||||||
"paths": {
|
"paths": {
|
||||||
|
"tldjs": [
|
||||||
|
"jslib/src/misc/tldjs.noop"
|
||||||
|
],
|
||||||
"jslib/*": [
|
"jslib/*": [
|
||||||
"jslib/src/*"
|
"jslib/src/*"
|
||||||
],
|
],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user