forked from seth/ipv4.army
move index to src, add .env add types, fix > to actual bash like input and history
This commit is contained in:
parent
a65ee6fe67
commit
17467258fc
11 changed files with 339 additions and 180 deletions
|
@ -3,9 +3,9 @@ import ReconnectingWebSocket from "reconnecting-websocket";
|
|||
export default class {
|
||||
private _socket: ReconnectingWebSocket;
|
||||
private _keepAlive: NodeJS.Timeout | null;
|
||||
private _callback: (data: { [key: string]: string }) => void;
|
||||
private _callback: (data: LanyardData) => void;
|
||||
|
||||
constructor(callback: (data: { [key: string]: string }) => void) {
|
||||
constructor(callback: (data: LanyardData) => void) {
|
||||
this._socket = new ReconnectingWebSocket(
|
||||
"wss://lanyard.creations.works/socket",
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue