Skip to content

Commit a7bb00d

Browse files
committed
✨ support multiple status code
1 parent acf0e48 commit a7bb00d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

packages/client/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@xdsec/wsrx",
3-
"version": "0.5.2",
3+
"version": "0.5.3",
44
"description": "Client for WebSocket Reflector X",
55
"license": "MIT",
66
"repository": "XDSEC/WebSocketReflectorX",

packages/client/src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ type FeatureSettings = {
1717
/**
1818
* The status code that should drop the connection when pingfall is detected
1919
*/
20-
status: [number];
20+
status: number[];
2121
/**
2222
* Whether to drop connection when unknown network error is detected
2323
*/

0 commit comments

Comments
 (0)