tempest.games 0.3.9 → 0.3.10

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/app/index.html CHANGED
@@ -10,7 +10,7 @@
10
10
  />
11
11
  <meta name="apple-mobile-web-app-capable" content="yes" />
12
12
  <title>TEMPEST</title>
13
- <script type="module" crossorigin src="/assets/index-CuDmqoP5.js"></script>
13
+ <script type="module" crossorigin src="/assets/index-BXPTVkti.js"></script>
14
14
  <link rel="stylesheet" crossorigin href="/assets/index-oxk15HrU.css">
15
15
  </head>
16
16
  <body>
@@ -88200,6 +88200,10 @@ var cpuCountAtom = atom2({
88200
88200
  }
88201
88201
  ]
88202
88202
  });
88203
+ var isAdminAtom = atom2({
88204
+ key: `isAdmin`,
88205
+ default: false
88206
+ });
88203
88207
 
88204
88208
  // src/library/username-state.ts
88205
88209
  init_drizzle_orm();
@@ -88284,6 +88288,7 @@ var serveSocket = (config3) => {
88284
88288
  const provideFamily = realtimeAtomFamilyProvider(config3);
88285
88289
  const mutualsSelector = findState(mutualUsersSelector2, consumer);
88286
88290
  const unsubFunctions = [
88291
+ provideState(isAdminAtom, findState(roomAdminsSelectors, consumer)),
88287
88292
  provideState(cpuCountAtom),
88288
88293
  provideFamily(usernameAtoms, mutualsSelector),
88289
88294
  provideRooms({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tempest.games",
3
- "version": "0.3.9",
3
+ "version": "0.3.10",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -76,8 +76,8 @@
76
76
  "vite": "7.3.0",
77
77
  "vite-tsconfig-paths": "6.0.3",
78
78
  "vitest": "4.0.16",
79
- "flightdeck": "0.3.36",
80
- "varmint": "0.5.11"
79
+ "varmint": "0.5.11",
80
+ "flightdeck": "0.3.36"
81
81
  },
82
82
  "scripts": {
83
83
  "dev": "bun run env:dev && concurrently \"bun:dev:*\"",