add streamer filter

This commit is contained in:
root 2026-01-21 19:18:10 +01:00
parent 0e4b8ebdbc
commit ea8f5ebc5c
3 changed files with 46 additions and 43 deletions

1
.gitignore vendored
View File

@ -39,3 +39,4 @@ yarn-error.log*
# typescript # typescript
*.tsbuildinfo *.tsbuildinfo
next-env.d.ts next-env.d.ts
pnpm-lock.yaml

View File

@ -9,8 +9,8 @@ importers:
.: .:
dependencies: dependencies:
next: next:
specifier: 15.3.0 specifier: 15.3.6
version: 15.3.0(react-dom@19.1.0(react@19.1.0))(react@19.1.0) version: 15.3.6(react-dom@19.1.0(react@19.1.0))(react@19.1.0)
react: react:
specifier: ^19.0.0 specifier: ^19.0.0
version: 19.1.0 version: 19.1.0
@ -156,53 +156,53 @@ packages:
cpu: [x64] cpu: [x64]
os: [win32] os: [win32]
'@next/env@15.3.0': '@next/env@15.3.6':
resolution: {integrity: sha512-6mDmHX24nWlHOlbwUiAOmMyY7KELimmi+ed8qWcJYjqXeC+G6JzPZ3QosOAfjNwgMIzwhXBiRiCgdh8axTTdTA==} resolution: {integrity: sha512-/cK+QPcfRbDZxmI/uckT4lu9pHCfRIPBLqy88MhE+7Vg5hKrEYc333Ae76dn/cw2FBP2bR/GoK/4DU+U7by/Nw==}
'@next/swc-darwin-arm64@15.3.0': '@next/swc-darwin-arm64@15.3.5':
resolution: {integrity: sha512-PDQcByT0ZfF2q7QR9d+PNj3wlNN4K6Q8JoHMwFyk252gWo4gKt7BF8Y2+KBgDjTFBETXZ/TkBEUY7NIIY7A/Kw==} resolution: {integrity: sha512-lM/8tilIsqBq+2nq9kbTW19vfwFve0NR7MxfkuSUbRSgXlMQoJYg+31+++XwKVSXk4uT23G2eF/7BRIKdn8t8w==}
engines: {node: '>= 10'} engines: {node: '>= 10'}
cpu: [arm64] cpu: [arm64]
os: [darwin] os: [darwin]
'@next/swc-darwin-x64@15.3.0': '@next/swc-darwin-x64@15.3.5':
resolution: {integrity: sha512-m+eO21yg80En8HJ5c49AOQpFDq+nP51nu88ZOMCorvw3g//8g1JSUsEiPSiFpJo1KCTQ+jm9H0hwXK49H/RmXg==} resolution: {integrity: sha512-WhwegPQJ5IfoUNZUVsI9TRAlKpjGVK0tpJTL6KeiC4cux9774NYE9Wu/iCfIkL/5J8rPAkqZpG7n+EfiAfidXA==}
engines: {node: '>= 10'} engines: {node: '>= 10'}
cpu: [x64] cpu: [x64]
os: [darwin] os: [darwin]
'@next/swc-linux-arm64-gnu@15.3.0': '@next/swc-linux-arm64-gnu@15.3.5':
resolution: {integrity: sha512-H0Kk04ZNzb6Aq/G6e0un4B3HekPnyy6D+eUBYPJv9Abx8KDYgNMWzKt4Qhj57HXV3sTTjsfc1Trc1SxuhQB+Tg==} resolution: {integrity: sha512-LVD6uMOZ7XePg3KWYdGuzuvVboxujGjbcuP2jsPAN3MnLdLoZUXKRc6ixxfs03RH7qBdEHCZjyLP/jBdCJVRJQ==}
engines: {node: '>= 10'} engines: {node: '>= 10'}
cpu: [arm64] cpu: [arm64]
os: [linux] os: [linux]
'@next/swc-linux-arm64-musl@15.3.0': '@next/swc-linux-arm64-musl@15.3.5':
resolution: {integrity: sha512-k8GVkdMrh/+J9uIv/GpnHakzgDQhrprJ/FbGQvwWmstaeFG06nnAoZCJV+wO/bb603iKV1BXt4gHG+s2buJqZA==} resolution: {integrity: sha512-k8aVScYZ++BnS2P69ClK7v4nOu702jcF9AIHKu6llhHEtBSmM2zkPGl9yoqbSU/657IIIb0QHpdxEr0iW9z53A==}
engines: {node: '>= 10'} engines: {node: '>= 10'}
cpu: [arm64] cpu: [arm64]
os: [linux] os: [linux]
'@next/swc-linux-x64-gnu@15.3.0': '@next/swc-linux-x64-gnu@15.3.5':
resolution: {integrity: sha512-ZMQ9yzDEts/vkpFLRAqfYO1wSpIJGlQNK9gZ09PgyjBJUmg8F/bb8fw2EXKgEaHbCc4gmqMpDfh+T07qUphp9A==} resolution: {integrity: sha512-2xYU0DI9DGN/bAHzVwADid22ba5d/xrbrQlr2U+/Q5WkFUzeL0TDR963BdrtLS/4bMmKZGptLeg6282H/S2i8A==}
engines: {node: '>= 10'} engines: {node: '>= 10'}
cpu: [x64] cpu: [x64]
os: [linux] os: [linux]
'@next/swc-linux-x64-musl@15.3.0': '@next/swc-linux-x64-musl@15.3.5':
resolution: {integrity: sha512-RFwq5VKYTw9TMr4T3e5HRP6T4RiAzfDJ6XsxH8j/ZeYq2aLsBqCkFzwMI0FmnSsLaUbOb46Uov0VvN3UciHX5A==} resolution: {integrity: sha512-TRYIqAGf1KCbuAB0gjhdn5Ytd8fV+wJSM2Nh2is/xEqR8PZHxfQuaiNhoF50XfY90sNpaRMaGhF6E+qjV1b9Tg==}
engines: {node: '>= 10'} engines: {node: '>= 10'}
cpu: [x64] cpu: [x64]
os: [linux] os: [linux]
'@next/swc-win32-arm64-msvc@15.3.0': '@next/swc-win32-arm64-msvc@15.3.5':
resolution: {integrity: sha512-a7kUbqa/k09xPjfCl0RSVAvEjAkYBYxUzSVAzk2ptXiNEL+4bDBo9wNC43G/osLA/EOGzG4CuNRFnQyIHfkRgQ==} resolution: {integrity: sha512-h04/7iMEUSMY6fDGCvdanKqlO1qYvzNxntZlCzfE8i5P0uqzVQWQquU1TIhlz0VqGQGXLrFDuTJVONpqGqjGKQ==}
engines: {node: '>= 10'} engines: {node: '>= 10'}
cpu: [arm64] cpu: [arm64]
os: [win32] os: [win32]
'@next/swc-win32-x64-msvc@15.3.0': '@next/swc-win32-x64-msvc@15.3.5':
resolution: {integrity: sha512-vHUQS4YVGJPmpjn7r5lEZuMhK5UQBNBRSB+iGDvJjaNk649pTIcRluDWNb9siunyLLiu/LDPHfvxBtNamyuLTw==} resolution: {integrity: sha512-5fhH6fccXxnX2KhllnGhkYMndhOiLOLEiVGYjP2nizqeGWkN10sA9taATlXwake2E2XMvYZjjz0Uj7T0y+z1yw==}
engines: {node: '>= 10'} engines: {node: '>= 10'}
cpu: [x64] cpu: [x64]
os: [win32] os: [win32]
@ -426,9 +426,10 @@ packages:
engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1}
hasBin: true hasBin: true
next@15.3.0: next@15.3.6:
resolution: {integrity: sha512-k0MgP6BsK8cZ73wRjMazl2y2UcXj49ZXLDEgx6BikWuby/CN+nh81qFFI16edgd7xYpe/jj2OZEIwCoqnzz0bQ==} resolution: {integrity: sha512-oI6D1zbbsh6JzzZFDCSHnnx6Qpvd1fSkVJu/5d8uluqnxzuoqtodVZjYvNovooznUq8udSAiKp7MbwlfZ8Gm6w==}
engines: {node: ^18.18.0 || ^19.8.0 || >= 20.0.0} engines: {node: ^18.18.0 || ^19.8.0 || >= 20.0.0}
deprecated: This version has a security vulnerability. Please upgrade to a patched version. See https://nextjs.org/blog/security-update-2025-12-11 for more details.
hasBin: true hasBin: true
peerDependencies: peerDependencies:
'@opentelemetry/api': ^1.1.0 '@opentelemetry/api': ^1.1.0
@ -608,30 +609,30 @@ snapshots:
'@img/sharp-win32-x64@0.34.1': '@img/sharp-win32-x64@0.34.1':
optional: true optional: true
'@next/env@15.3.0': {} '@next/env@15.3.6': {}
'@next/swc-darwin-arm64@15.3.0': '@next/swc-darwin-arm64@15.3.5':
optional: true optional: true
'@next/swc-darwin-x64@15.3.0': '@next/swc-darwin-x64@15.3.5':
optional: true optional: true
'@next/swc-linux-arm64-gnu@15.3.0': '@next/swc-linux-arm64-gnu@15.3.5':
optional: true optional: true
'@next/swc-linux-arm64-musl@15.3.0': '@next/swc-linux-arm64-musl@15.3.5':
optional: true optional: true
'@next/swc-linux-x64-gnu@15.3.0': '@next/swc-linux-x64-gnu@15.3.5':
optional: true optional: true
'@next/swc-linux-x64-musl@15.3.0': '@next/swc-linux-x64-musl@15.3.5':
optional: true optional: true
'@next/swc-win32-arm64-msvc@15.3.0': '@next/swc-win32-arm64-msvc@15.3.5':
optional: true optional: true
'@next/swc-win32-x64-msvc@15.3.0': '@next/swc-win32-x64-msvc@15.3.5':
optional: true optional: true
'@swc/counter@0.1.3': {} '@swc/counter@0.1.3': {}
@ -809,9 +810,9 @@ snapshots:
nanoid@3.3.11: {} nanoid@3.3.11: {}
next@15.3.0(react-dom@19.1.0(react@19.1.0))(react@19.1.0): next@15.3.6(react-dom@19.1.0(react@19.1.0))(react@19.1.0):
dependencies: dependencies:
'@next/env': 15.3.0 '@next/env': 15.3.6
'@swc/counter': 0.1.3 '@swc/counter': 0.1.3
'@swc/helpers': 0.5.15 '@swc/helpers': 0.5.15
busboy: 1.6.0 busboy: 1.6.0
@ -821,14 +822,14 @@ snapshots:
react-dom: 19.1.0(react@19.1.0) react-dom: 19.1.0(react@19.1.0)
styled-jsx: 5.1.6(react@19.1.0) styled-jsx: 5.1.6(react@19.1.0)
optionalDependencies: optionalDependencies:
'@next/swc-darwin-arm64': 15.3.0 '@next/swc-darwin-arm64': 15.3.5
'@next/swc-darwin-x64': 15.3.0 '@next/swc-darwin-x64': 15.3.5
'@next/swc-linux-arm64-gnu': 15.3.0 '@next/swc-linux-arm64-gnu': 15.3.5
'@next/swc-linux-arm64-musl': 15.3.0 '@next/swc-linux-arm64-musl': 15.3.5
'@next/swc-linux-x64-gnu': 15.3.0 '@next/swc-linux-x64-gnu': 15.3.5
'@next/swc-linux-x64-musl': 15.3.0 '@next/swc-linux-x64-musl': 15.3.5
'@next/swc-win32-arm64-msvc': 15.3.0 '@next/swc-win32-arm64-msvc': 15.3.5
'@next/swc-win32-x64-msvc': 15.3.0 '@next/swc-win32-x64-msvc': 15.3.5
sharp: 0.34.1 sharp: 0.34.1
transitivePeerDependencies: transitivePeerDependencies:
- '@babel/core' - '@babel/core'

View File

@ -244,7 +244,8 @@ export async function getSessionData ( name: string, tag: string )
{ {
shouldResetSession = true; shouldResetSession = true;
} }
} catch { } catch
{
shouldResetSession = true; shouldResetSession = true;
} }
} else } else
@ -297,7 +298,7 @@ export async function getLobbyData ( player: string )
const gameData = await gameRes.json(); const gameData = await gameRes.json();
const players = gameData.participants const players = gameData.participants
.filter( ( p: any ) => p.lolpros ) .filter( ( p: any ) => p.lolpros && p.puuid )
.map( ( p: any ) => .map( ( p: any ) =>
{ {
const name = p.lolpros?.name || "Unknown"; const name = p.lolpros?.name || "Unknown";