mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-11 03:24:16 +00:00
include version on shared state
This commit is contained in:
parent
203553d7d1
commit
7cf2f71fb7
@ -1,3 +1,4 @@
|
|||||||
|
import pkg from "../package.json"
|
||||||
import EventEmitter from "@foxify/events"
|
import EventEmitter from "@foxify/events"
|
||||||
|
|
||||||
import axios from "axios"
|
import axios from "axios"
|
||||||
@ -145,6 +146,7 @@ export default function createClient({
|
|||||||
instances: Object(),
|
instances: Object(),
|
||||||
wsInstances: Object(),
|
wsInstances: Object(),
|
||||||
rest: null,
|
rest: null,
|
||||||
|
version: pkg.version,
|
||||||
}
|
}
|
||||||
|
|
||||||
if (globalThis.isServerMode) {
|
if (globalThis.isServerMode) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user