File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed
Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -7,15 +7,16 @@ contextBridge.exposeInMainWorld("api", {
77 "toMain" ,
88 "check-for-update" ,
99 "confirm-clear-history" ,
10+ "export-collection" ,
11+ "fatalError" ,
12+ "import-collection" ,
1013 "import-proto" ,
11- "quit-and-install" ,
12- "protoParserFunc-request" ,
1314 "open-http" ,
1415 "open-gql" ,
15- "import-collection" ,
16- "export-collection" ,
17- "open-http" ,
1816 "open-grpc" ,
17+ "protoParserFunc-request" ,
18+ "quit-and-install" ,
19+ "uncaughtException" ,
1920 ] ;
2021 if ( allowedChannels . includes ( channel ) ) {
2122 ipcRenderer . send ( channel , ...data ) ;
@@ -28,11 +29,11 @@ contextBridge.exposeInMainWorld("api", {
2829 "fromMain" ,
2930 "add-collection" ,
3031 "clear-history-response" ,
31- "proto-info" ,
3232 "message" ,
33+ "proto-info" ,
3334 "protoParserFunc-return" ,
34- "reqResUpdate" ,
3535 "reply-gql" ,
36+ "reqResUpdate" ,
3637 ] ;
3738 if ( allowedChannels . includes ( channel ) ) {
3839 ipcRenderer . on ( channel , ( event , ...args ) => cb ( ...args ) ) ;
You can’t perform that action at this time.
0 commit comments