tempest.games 0.2.79 → 0.2.81
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -0
- package/app/assets/{index-DbvMRLrQ.js → index-HwPyOlk5.js} +18 -18
- package/app/index.html +1 -1
- package/bin/backend.bun.js +8 -1
- package/bin/backend.worker.game.bun.js +7 -0
- package/bin/backend.worker.tribunal.bun.js +562 -433
- package/bin/frontend.bun.js +8 -1
- package/bin/setup-db.bun.js +1 -1
- package/package.json +4 -4
package/app/index.html
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
7
7
|
<title>TEMPEST</title>
|
|
8
|
-
<script type="module" crossorigin src="/assets/index-
|
|
8
|
+
<script type="module" crossorigin src="/assets/index-HwPyOlk5.js"></script>
|
|
9
9
|
<link rel="stylesheet" crossorigin href="/assets/index-DZ_4vJcE.css">
|
|
10
10
|
</head>
|
|
11
11
|
<body>
|
package/bin/backend.bun.js
CHANGED
|
@@ -51159,7 +51159,7 @@ import { createServer as createHttpServer } from "http";
|
|
|
51159
51159
|
import { createServer as createSecureServer } from "https";
|
|
51160
51160
|
import { resolve } from "path";
|
|
51161
51161
|
|
|
51162
|
-
// ../../node_modules/.pnpm/@t3-oss+env-core@0.13.8_arktype@2.1.27_typescript@5.9.3_zod@4.1.
|
|
51162
|
+
// ../../node_modules/.pnpm/@t3-oss+env-core@0.13.8_arktype@2.1.27_typescript@5.9.3_zod@4.1.13/node_modules/@t3-oss/env-core/dist/src-Bb3GbGAa.js
|
|
51163
51163
|
function ensureSynchronous(value, message) {
|
|
51164
51164
|
if (value instanceof Promise)
|
|
51165
51165
|
throw new Error(message);
|
|
@@ -59485,6 +59485,13 @@ var usersInRooms = join({
|
|
|
59485
59485
|
isAType: isRoomKey,
|
|
59486
59486
|
isBType: isUserKey
|
|
59487
59487
|
});
|
|
59488
|
+
var ownersOfRooms = join({
|
|
59489
|
+
key: `ownersOfRooms`,
|
|
59490
|
+
between: [`user`, `room`],
|
|
59491
|
+
cardinality: `1:n`,
|
|
59492
|
+
isAType: isUserKey,
|
|
59493
|
+
isBType: isRoomKey
|
|
59494
|
+
});
|
|
59488
59495
|
var usersInMyRoomView = selectorFamily({
|
|
59489
59496
|
key: `usersInMyRoomView`,
|
|
59490
59497
|
get: (myUsername) => ({ find }) => {
|
|
@@ -2956,6 +2956,13 @@ var usersInRooms = join({
|
|
|
2956
2956
|
isAType: isRoomKey,
|
|
2957
2957
|
isBType: isUserKey
|
|
2958
2958
|
});
|
|
2959
|
+
var ownersOfRooms = join({
|
|
2960
|
+
key: `ownersOfRooms`,
|
|
2961
|
+
between: [`user`, `room`],
|
|
2962
|
+
cardinality: `1:n`,
|
|
2963
|
+
isAType: isUserKey,
|
|
2964
|
+
isBType: isRoomKey
|
|
2965
|
+
});
|
|
2959
2966
|
var usersInMyRoomView = selectorFamily({
|
|
2960
2967
|
key: `usersInMyRoomView`,
|
|
2961
2968
|
get: (myUsername) => ({ find }) => {
|