[BUG] [CRITICAL] UserInfo.userId() does not always return a value

I don’t think I can easily switch to ES Modules now, but not sure… I’d need to check that, because everywhere in my cone I use export/import, which I believe is ES module way, but in tsconfig I have

{
  "compilerOptions": {
    "target": "es6",
    "jsx": "preserve",
    "module": "commonjs",
    "moduleResolution": "node",

Just switching it there, ends up in a bunch of errors.

In any case, I think that’s still abug :confused: