♻️ refactor: auto format

This commit is contained in:
2026-06-16 01:23:38 +07:00
parent 553df6a62c
commit 289b04cf1c
3 changed files with 6 additions and 4 deletions
+3 -3
View File
@@ -5,7 +5,7 @@
version: 2
updates:
- package-ecosystem: "npm" # See documentation for possible values
directory: "/" # Location of package manifests
- package-ecosystem: 'npm' # See documentation for possible values
directory: '/' # Location of package manifests
schedule:
interval: "weekly"
interval: 'weekly'
+2 -1
View File
@@ -7,7 +7,8 @@
"author": "",
"private": true,
"scripts": {
"format": "prettier --write .",
"format": "prettier --check .",
"format:fix": "prettier --write .",
"lint": "eslint --cache .",
"typecheck:node": "tsc --noEmit -p tsconfig.node.json --composite false",
"typecheck:web": "tsc --noEmit -p tsconfig.web.json --composite false",
+1
View File
@@ -5,6 +5,7 @@ import { encodeFrame, FrameReader, OP_FRAME, OP_HANDSHAKE } from './ipc-protocol
* A lazily-established connection to a secondary Discord instance that
* mirrors the primary connection's handshake and SET_ACTIVITY frames.
*/
export class MirrorConnection {
private readonly sock: net.Socket
private readonly reader = new FrameReader()