summary refs log tree commit diff
path: root/bundle
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-03-12 13:10:05 +1100
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-03-12 13:10:05 +1100
commitb455f4a181894dc78484c1230c226207b5c01cd3 (patch)
treea185e3eeb1a0bf8e8c396be5a4cb98385e754818 /bundle
parentMerge branch 'master' into slowcord (diff)
parentAdded preferred_region optional property of VoiceStateUpdateSchema to allow e... (diff)
downloadserver-b455f4a181894dc78484c1230c226207b5c01cd3.tar.xz
Merge branch 'maddyrtc' into slowcord
Diffstat (limited to 'bundle')
-rw-r--r--bundle/package-lock.json32
-rw-r--r--bundle/package.json1
-rw-r--r--bundle/src/Server.ts28
3 files changed, 47 insertions, 14 deletions
diff --git a/bundle/package-lock.json b/bundle/package-lock.json
index 9707c7bf..8c99fce6 100644
--- a/bundle/package-lock.json
+++ b/bundle/package-lock.json
@@ -18,6 +18,7 @@
 				"@fosscord/gateway": "file:../gateway",
 				"@sentry/node": "^6.16.1",
 				"@sentry/tracing": "^6.16.1",
+				"@yukikaze-bot/erlpack": "^1.0.1",
 				"ajv": "8.6.2",
 				"ajv-formats": "^2.1.1",
 				"amqplib": "^0.8.0",
@@ -3770,6 +3771,21 @@
 			"version": "1.1.0",
 			"integrity": "sha512-GpSwvyXOcOOlV70vbnzjj4fW5xW/FdUF6nQEt1ENy7m4ZCczi1+/buVUPAqmGfqznsORNFzUMjctTIp8a9tuCQ=="
 		},
+		"node_modules/@yukikaze-bot/erlpack": {
+			"version": "1.0.1",
+			"resolved": "https://registry.npmjs.org/@yukikaze-bot/erlpack/-/erlpack-1.0.1.tgz",
+			"integrity": "sha512-PCJ2lGCf8DsQtrE411PY+NTsolK48l4InNn1kcBo0iUllKZYGLqeqXEWGA/INrmwanKcoYkU4pBySqUFLQDEoA==",
+			"hasInstallScript": true,
+			"dependencies": {
+				"@mapbox/node-pre-gyp": "^1.0.5",
+				"node-addon-api": "^4.0.0"
+			}
+		},
+		"node_modules/@yukikaze-bot/erlpack/node_modules/node-addon-api": {
+			"version": "4.3.0",
+			"resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-4.3.0.tgz",
+			"integrity": "sha512-73sE9+3UaLYYFmDsFZnqCInzPyh3MqIwZO9cw58yIqAZhONrrabrYyYe3TuIqtIiOuTXVhsGau8hcrhhwSsDIQ=="
+		},
 		"node_modules/@zerollup/ts-helpers": {
 			"version": "1.7.18",
 			"integrity": "sha512-S9zN+y+i5yN/evfWquzSO3lubqPXIsPQf6p9OiPMpRxDx/0totPLF39XoRw48Dav5dSvbIE8D2eAPpXXJxvKwg==",
@@ -13896,6 +13912,22 @@
 			"version": "1.1.0",
 			"integrity": "sha512-GpSwvyXOcOOlV70vbnzjj4fW5xW/FdUF6nQEt1ENy7m4ZCczi1+/buVUPAqmGfqznsORNFzUMjctTIp8a9tuCQ=="
 		},
+		"@yukikaze-bot/erlpack": {
+			"version": "1.0.1",
+			"resolved": "https://registry.npmjs.org/@yukikaze-bot/erlpack/-/erlpack-1.0.1.tgz",
+			"integrity": "sha512-PCJ2lGCf8DsQtrE411PY+NTsolK48l4InNn1kcBo0iUllKZYGLqeqXEWGA/INrmwanKcoYkU4pBySqUFLQDEoA==",
+			"requires": {
+				"@mapbox/node-pre-gyp": "^1.0.5",
+				"node-addon-api": "^4.0.0"
+			},
+			"dependencies": {
+				"node-addon-api": {
+					"version": "4.3.0",
+					"resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-4.3.0.tgz",
+					"integrity": "sha512-73sE9+3UaLYYFmDsFZnqCInzPyh3MqIwZO9cw58yIqAZhONrrabrYyYe3TuIqtIiOuTXVhsGau8hcrhhwSsDIQ=="
+				}
+			}
+		},
 		"@zerollup/ts-helpers": {
 			"version": "1.7.18",
 			"integrity": "sha512-S9zN+y+i5yN/evfWquzSO3lubqPXIsPQf6p9OiPMpRxDx/0totPLF39XoRw48Dav5dSvbIE8D2eAPpXXJxvKwg==",
diff --git a/bundle/package.json b/bundle/package.json
index 7d68427f..aedd963b 100644
--- a/bundle/package.json
+++ b/bundle/package.json
@@ -66,6 +66,7 @@
 		"@fosscord/gateway": "file:../gateway",
 		"@sentry/node": "^6.16.1",
 		"@sentry/tracing": "^6.16.1",
+		"@yukikaze-bot/erlpack": "^1.0.1",
 		"ajv": "8.6.2",
 		"ajv-formats": "^2.1.1",
 		"amqplib": "^0.8.0",
diff --git a/bundle/src/Server.ts b/bundle/src/Server.ts
index 71a60d49..bc1d7cbc 100644
--- a/bundle/src/Server.ts
+++ b/bundle/src/Server.ts
@@ -50,20 +50,20 @@ async function main() {
 				endpointPublic: `ws://localhost:${port}`,
 			}),
 		},
-		// regions: {
-		// 	default: "fosscord",
-		// 	useDefaultAsOptimal: true,
-		// 	available: [
-		// 		{
-		// 			id: "fosscord",
-		// 			name: "Fosscord",
-		// 			endpoint: "127.0.0.1:3001",
-		// 			vip: false,
-		// 			custom: false,
-		// 			deprecated: false,
-		// 		},
-		// 	],
-		// },
+		regions: {
+			default: "fosscord",
+			useDefaultAsOptimal: true,
+			available: [
+				{
+					id: "fosscord",
+					name: "Fosscord",
+					endpoint: "127.0.0.1:3004",
+					vip: false,
+					custom: false,
+					deprecated: false,
+				},
+			],
+		},
 	} as any);
 
 	//Sentry