@raydiant/playlist-window-manager 0.0.0-test-22 → 0.0.0-test-23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@raydiant/playlist-window-manager",
|
|
3
|
-
"version": "0.0.0-test-
|
|
3
|
+
"version": "0.0.0-test-23",
|
|
4
4
|
"description": "Window manager for playlist playback.",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"@types/jschannel": "^1.0.1",
|
|
25
25
|
"@types/lodash": "^4.14.200",
|
|
26
26
|
"@types/uuid": "8.3.0",
|
|
27
|
-
"electron": "
|
|
27
|
+
"electron": "27.0.2",
|
|
28
28
|
"jest": "^24.8.0",
|
|
29
29
|
"ts-jest": "^24.0.2",
|
|
30
30
|
"typescript": "^4.1.2"
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
screen,
|
|
7
7
|
IpcMainEvent,
|
|
8
8
|
Event,
|
|
9
|
-
|
|
9
|
+
RenderProcessGoneDetails,
|
|
10
10
|
BrowserWindowConstructorOptions,
|
|
11
11
|
BrowserViewConstructorOptions,
|
|
12
12
|
} from 'electron';
|
|
@@ -35,7 +35,10 @@ interface BrowserWindowRendererWindow {
|
|
|
35
35
|
payload?: any
|
|
36
36
|
) => void;
|
|
37
37
|
unresponsiveCallback: () => void;
|
|
38
|
-
renderProcessGoneCallback: (
|
|
38
|
+
renderProcessGoneCallback: (
|
|
39
|
+
event: Event,
|
|
40
|
+
details: RenderProcessGoneDetails
|
|
41
|
+
) => void;
|
|
39
42
|
}
|
|
40
43
|
|
|
41
44
|
interface BrowserWindowRendererOptions {
|
|
@@ -180,7 +183,10 @@ export default class BrowserWindowRenderer
|
|
|
180
183
|
);
|
|
181
184
|
},
|
|
182
185
|
|
|
183
|
-
renderProcessGoneCallback: (
|
|
186
|
+
renderProcessGoneCallback: (
|
|
187
|
+
_: Event,
|
|
188
|
+
details: RenderProcessGoneDetails
|
|
189
|
+
) => {
|
|
184
190
|
this.logger.error(
|
|
185
191
|
`Window received 'render-process-gone' event. Reason: ${details.reason}`,
|
|
186
192
|
{ windowId }
|