@raydiant/playlist-window-manager 0.0.0-test-25 → 0.0.0-test-26
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-26",
|
|
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": "10.1.5",
|
|
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
|
+
Details,
|
|
10
10
|
BrowserWindowConstructorOptions,
|
|
11
11
|
BrowserViewConstructorOptions,
|
|
12
12
|
} from 'electron';
|
|
@@ -35,10 +35,7 @@ interface BrowserWindowRendererWindow {
|
|
|
35
35
|
payload?: any
|
|
36
36
|
) => void;
|
|
37
37
|
unresponsiveCallback: () => void;
|
|
38
|
-
renderProcessGoneCallback: (
|
|
39
|
-
event: Event,
|
|
40
|
-
details: RenderProcessGoneDetails
|
|
41
|
-
) => void;
|
|
38
|
+
renderProcessGoneCallback: (event: Event, details: Details) => void;
|
|
42
39
|
}
|
|
43
40
|
|
|
44
41
|
interface BrowserWindowRendererOptions {
|
|
@@ -183,10 +180,7 @@ export default class BrowserWindowRenderer
|
|
|
183
180
|
);
|
|
184
181
|
},
|
|
185
182
|
|
|
186
|
-
renderProcessGoneCallback: (
|
|
187
|
-
_: Event,
|
|
188
|
-
details: RenderProcessGoneDetails
|
|
189
|
-
) => {
|
|
183
|
+
renderProcessGoneCallback: (_: Event, details: Details) => {
|
|
190
184
|
this.logger.error(
|
|
191
185
|
`Window received 'render-process-gone' event. Reason: ${details.reason}`,
|
|
192
186
|
{ windowId }
|