SDA-4316 Upgrade Electron to latest - 26.2.1 (#1954)

* SDA-4316 Upgrade Electron to latest - 26.2.1

* SDA-4316 Fix wrong types
This commit is contained in:
Salah Benmoussati 2023-09-19 16:47:52 +02:00 committed by GitHub
parent cdc4308091
commit 3c8ef9a693
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 9 deletions

14
package-lock.json generated
View File

@ -41,7 +41,7 @@
"builder-util-runtime": "^9.0.3",
"cross-env": "7.0.3",
"del": "3.0.0",
"electron": "^25.3.1",
"electron": "^26.2.1",
"electron-builder": "^24.2.1",
"electron-icon-maker": "0.0.5",
"electron-osx-sign": "^0.6.0",
@ -6630,9 +6630,9 @@
}
},
"node_modules/electron": {
"version": "25.3.1",
"resolved": "https://repo.symphony.com/artifactory/api/npm/npm-virtual-dev/electron/-/electron-25.3.1.tgz",
"integrity": "sha512-t0QXXqgf0/P0OJ9LU3qpcBMK+wL0FRwTQfooBaaG08v5hywPzc1yplfb3l4tS1xC0Ttw8IBaKLBeEoRgxBRHjg==",
"version": "26.2.1",
"resolved": "https://repo.symphony.com/artifactory/api/npm/npm-virtual-dev/electron/-/electron-26.2.1.tgz",
"integrity": "sha512-SNT24Cf/wRvfcFZQoERXjzswUlg5ouqhIuA2t9x2L7VdTn+2Jbs0QXRtOfzcnOV/raVMz3e8ICyaU2GGeciKLg==",
"dev": true,
"hasInstallScript": true,
"dependencies": {
@ -23075,9 +23075,9 @@
}
},
"electron": {
"version": "25.3.1",
"resolved": "https://repo.symphony.com/artifactory/api/npm/npm-virtual-dev/electron/-/electron-25.3.1.tgz",
"integrity": "sha512-t0QXXqgf0/P0OJ9LU3qpcBMK+wL0FRwTQfooBaaG08v5hywPzc1yplfb3l4tS1xC0Ttw8IBaKLBeEoRgxBRHjg==",
"version": "26.2.1",
"resolved": "https://repo.symphony.com/artifactory/api/npm/npm-virtual-dev/electron/-/electron-26.2.1.tgz",
"integrity": "sha512-SNT24Cf/wRvfcFZQoERXjzswUlg5ouqhIuA2t9x2L7VdTn+2Jbs0QXRtOfzcnOV/raVMz3e8ICyaU2GGeciKLg==",
"dev": true,
"requires": {
"@electron/get": "^2.0.0",

View File

@ -178,7 +178,7 @@
"builder-util-runtime": "^9.0.3",
"cross-env": "7.0.3",
"del": "3.0.0",
"electron": "^25.3.1",
"electron": "^26.2.1",
"electron-builder": "^24.2.1",
"electron-icon-maker": "0.0.5",
"electron-osx-sign": "^0.6.0",

View File

@ -92,6 +92,11 @@ export enum apiName {
export const NOTIFICATION_WINDOW_TITLE = 'Notification - Symphony';
enum ScreenTypes {
Screen = 'screen',
Window = 'window',
}
export interface IApiArgs {
memoryInfo: Electron.ProcessMemoryInfo;
word: string;
@ -133,7 +138,7 @@ export interface IApiArgs {
isBrowserLoginEnabled: boolean;
browserLoginAutoConnect: boolean;
swiftSearchData: any;
types: string[];
types: ScreenTypes[];
thumbnailSize: Size;
pipe: string;
data: Uint8Array;