1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-09-20 17:51:35 +02:00

Merge branch 'master' into unittests

This commit is contained in:
Flam3rboy 2021-09-23 16:07:25 +02:00
commit c238f86932
6 changed files with 12109 additions and 934 deletions

View File

@ -26,7 +26,7 @@ This repository contains:
- [WebRTC Server](https://github.com/fosscord/fosscord-server/tree/master/webrtc)
- [Admin Dashboard](https://github.com/fosscord/fosscord-server/tree/master/dashboard)
## [Ressources](https://docs.fosscord.com/resources/)
## [Resources](https://docs.fosscord.com/resources/)
- [Contributing](https://docs.fosscord.com/contributing/server/)

13032
gateway/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -41,5 +41,8 @@
"typeorm": "^0.2.37",
"uuid": "^8.3.2",
"ws": "^7.4.2"
},
"optionalDependencies": {
"@yukikaze-bot/erlpack": "^1.0.1"
}
}

View File

@ -14,7 +14,7 @@ import { URL } from "url";
import { Session } from "@fosscord/util";
var erlpack: any;
try {
erlpack = require("erlpack");
erlpack = require("@yukikaze-bot/erlpack");
} catch (error) {}
// TODO: check rate limit

View File

@ -1,7 +1,7 @@
import { WebSocket, Payload, CLOSECODES, OPCODES } from "@fosscord/gateway";
var erlpack: any;
try {
erlpack = require("erlpack");
erlpack = require("@yukikaze-bot/erlpack");
} catch (error) {}
import OPCodeHandlers from "../opcodes";
import { instanceOf, Tuple } from "lambert-server";

View File

@ -1,6 +1,6 @@
var erlpack: any;
try {
erlpack = require("erlpack");
erlpack = require("@yukikaze-bot/erlpack");
} catch (error) {}
import { Payload, WebSocket } from "@fosscord/gateway";