mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-09 15:54:47 -07:00
fix websocket refactor mess
This commit is contained in:
parent
fea21b5057
commit
53639a8448
19 changed files with 179 additions and 209 deletions
|
|
@ -1,13 +1,2 @@
|
|||
export { initWebClient } from './initWebClient';
|
||||
export { createWebClientResponse } from './response';
|
||||
export { createWebClientRequest } from './request';
|
||||
|
||||
import { createWebClientRequest } from './request';
|
||||
|
||||
/**
|
||||
* UI-facing request surface. The request implementations are created once
|
||||
* at module load. They access `WebClient.instance` at call time (via lazy
|
||||
* internal references), so the singleton only needs to exist by the first
|
||||
* actual command send.
|
||||
*/
|
||||
export const request = createWebClientRequest();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue