fix: VIP session-status stale token; add missing API routes (popups, jiahao, update-config, /api/version)

This commit is contained in:
Stevenma
2026-05-10 17:28:14 +08:00
parent e711e1329d
commit 111e61431b
2151 changed files with 900047 additions and 109 deletions

12
node_modules/uuid/dist/esm-node/rng.js generated vendored Normal file
View File

@@ -0,0 +1,12 @@
import crypto from 'crypto';
const rnds8Pool = new Uint8Array(256); // # of random values to pre-allocate
let poolPtr = rnds8Pool.length;
export default function rng() {
if (poolPtr > rnds8Pool.length - 16) {
crypto.randomFillSync(rnds8Pool);
poolPtr = 0;
}
return rnds8Pool.slice(poolPtr, poolPtr += 16);
}