add missing arg to browser crypto (#8068)
This commit is contained in:
parent
9775e77079
commit
fa43d8c55e
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue