🔑 Store tokens in Sqllite, moved queries, other fixes

- Create cache dir if missing
- Moved Sqlite queries to queries.ts
- Updated dependencies
- Added pino-pretty to dev-dependencies
- Changed Sqlite to store tokens as separate rows
- Removed in-memory storage of tokens
- isValidToken function
- Throw Exception if refresh token is present but invalid
- Fixed fetch query in smn http file
This commit is contained in:
2025-01-22 21:00:04 +01:00
parent 3bf354b4bf
commit 4a773e4b43
6 changed files with 2326 additions and 1839 deletions

3970
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff