mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 16:23:44 +00:00
add missing arg to browser crypto (#8068)
This commit is contained in:
@@ -262,6 +262,7 @@ function getBgService<T>(service: keyof MainBackground) {
|
|||||||
{
|
{
|
||||||
provide: CryptoService,
|
provide: CryptoService,
|
||||||
useFactory: (
|
useFactory: (
|
||||||
|
keyGenerationService: KeyGenerationService,
|
||||||
cryptoFunctionService: CryptoFunctionService,
|
cryptoFunctionService: CryptoFunctionService,
|
||||||
encryptService: EncryptService,
|
encryptService: EncryptService,
|
||||||
platformUtilsService: PlatformUtilsService,
|
platformUtilsService: PlatformUtilsService,
|
||||||
@@ -271,6 +272,7 @@ function getBgService<T>(service: keyof MainBackground) {
|
|||||||
stateProvider: StateProvider,
|
stateProvider: StateProvider,
|
||||||
) => {
|
) => {
|
||||||
const cryptoService = new BrowserCryptoService(
|
const cryptoService = new BrowserCryptoService(
|
||||||
|
keyGenerationService,
|
||||||
cryptoFunctionService,
|
cryptoFunctionService,
|
||||||
encryptService,
|
encryptService,
|
||||||
platformUtilsService,
|
platformUtilsService,
|
||||||
|
|||||||
Reference in New Issue
Block a user