mirror of
https://github.com/YuzuZensai/Discord-Presence-Relay.git
synced 2026-09-13 10:49:02 +00:00
♻️ refactor: auto format
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
version: 2
|
version: 2
|
||||||
updates:
|
updates:
|
||||||
- package-ecosystem: "npm" # See documentation for possible values
|
- package-ecosystem: 'npm' # See documentation for possible values
|
||||||
directory: "/" # Location of package manifests
|
directory: '/' # Location of package manifests
|
||||||
schedule:
|
schedule:
|
||||||
interval: "weekly"
|
interval: 'weekly'
|
||||||
|
|||||||
+2
-1
@@ -7,7 +7,8 @@
|
|||||||
"author": "",
|
"author": "",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"format": "prettier --write .",
|
"format": "prettier --check .",
|
||||||
|
"format:fix": "prettier --write .",
|
||||||
"lint": "eslint --cache .",
|
"lint": "eslint --cache .",
|
||||||
"typecheck:node": "tsc --noEmit -p tsconfig.node.json --composite false",
|
"typecheck:node": "tsc --noEmit -p tsconfig.node.json --composite false",
|
||||||
"typecheck:web": "tsc --noEmit -p tsconfig.web.json --composite false",
|
"typecheck:web": "tsc --noEmit -p tsconfig.web.json --composite false",
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ import { encodeFrame, FrameReader, OP_FRAME, OP_HANDSHAKE } from './ipc-protocol
|
|||||||
* A lazily-established connection to a secondary Discord instance that
|
* A lazily-established connection to a secondary Discord instance that
|
||||||
* mirrors the primary connection's handshake and SET_ACTIVITY frames.
|
* mirrors the primary connection's handshake and SET_ACTIVITY frames.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
export class MirrorConnection {
|
export class MirrorConnection {
|
||||||
private readonly sock: net.Socket
|
private readonly sock: net.Socket
|
||||||
private readonly reader = new FrameReader()
|
private readonly reader = new FrameReader()
|
||||||
|
|||||||
Reference in New Issue
Block a user