Skip to content

Commit f62cce2

Browse files
committed
fix: Revert websocket call changes. Typings are wrong?
1 parent 91f6ee2 commit f62cce2

File tree

3 files changed

+32
-9
lines changed

3 files changed

+32
-9
lines changed

package-lock.json

Lines changed: 29 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
"uuid": "3.3.2",
7676
"uuid-validate": "0.0.3",
7777
"which": "1.3.1",
78-
"ws": "8.18.0",
78+
"ws": "8.18.2",
7979
"yaml": "2.4.1",
8080
"zod": "^3.22.2"
8181
},
@@ -109,7 +109,7 @@
109109
"@types/uuid": "3.4.5",
110110
"@types/uuid-validate": "0.0.1",
111111
"@types/which": "1.3.2",
112-
"@types/ws": "6.0.3",
112+
"@types/ws": "8.18.1",
113113
"babel-plugin-react-compiler": "19.1.0-rc.1",
114114
"chokidar": "^3.5.3",
115115
"coveralls": "3.1.0",

src/main/Main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import { AppPreferencesData } from 'flashpoint-launcher';
1414
import * as fs from 'fs-extra';
1515
import * as path from 'path';
1616
import { argv } from 'process';
17-
import WebSocket from 'ws';
17+
import * as WebSocket from 'ws';
1818
import * as Util from './Util';
1919
import { Init } from './types';
2020

0 commit comments

Comments
 (0)