diff options
| author | Adam Soltys <[email protected]> | 2024-08-26 23:22:02 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-08-26 23:22:02 -0700 |
| commit | 48f9e8b0de151edcf49903277d714d939f0b3d8f (patch) | |
| tree | dec717fb60ff14399872c8c7d36fffa4597e02cd /lib/sockets.ts | |
| parent | 4efa82b36b74c633681ed831d6f567ae5ab08c3b (diff) | |
| download | coinos-server-48f9e8b0de151edcf49903277d714d939f0b3d8f.tar.gz coinos-server-48f9e8b0de151edcf49903277d714d939f0b3d8f.zip | |
more ts housekeeping
Diffstat (limited to 'lib/sockets.ts')
| -rw-r--r-- | lib/sockets.ts | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/sockets.ts b/lib/sockets.ts index 0391a07a..6ac75cb8 100644 --- a/lib/sockets.ts +++ b/lib/sockets.ts @@ -1,16 +1,12 @@ -import config from "$config"; import store from "$lib/store"; import jwt from "jsonwebtoken"; import { v4 } from "uuid"; -import whitelist from "$lib/whitelist"; -import { l, err, warn } from "$lib/logging"; -import { g } from "$lib/db"; -import { fail, getUser, pick } from "$lib/utils"; +import { err, warn } from "$lib/logging"; +import { fail, getUser } from "$lib/utils"; const code = 1000; const all = {}; const subscriptions = []; -const lastSeen = {}; const users = {}; export const emit = (uid, type, data) => { |
