Commit Graph

11 Commits

Author SHA1 Message Date
Samuel Elliott
fbc1bc1682
Add custom EventSource using fetch, automatically upgrade to SSE 2023-07-14 19:21:29 +01:00
Samuel Elliott
d7a64b9807
Switch to undici 2023-07-12 23:15:37 +01:00
Samuel Elliott
3e1bd2621a
Improve error messages, record error history for use limits 2023-07-05 00:50:04 +01:00
Samuel Elliott
4d0b708469
Write debug logs 2023-06-01 18:45:31 +01:00
Samuel Elliott
512a9a2b60
Prevent using expired tokens 2023-05-25 14:07:32 +01:00
Samuel Elliott
14e7793b7c
Add automatic token renewal for Moon/NookLink and fix authentication limit with automatic token renewal 2022-12-19 09:15:47 +00:00
Samuel Elliott
2d52f17022
Update config URL and use config data 2022-07-29 17:59:17 +01:00
Samuel Elliott
bd1cd6cf91
Increase limit for parental controls 2022-07-27 16:12:38 +01:00
Samuel Elliott
e12bb364a7
Prevent attempting to authenticate more than four times per hour
This only affects scripts - running this nxapi command in a terminal and the Electron app will ignore this limit.

https://github.com/samuelthomas2774/nxapi/issues/9
2022-07-27 15:48:19 +01:00
Samuel Elliott
967a063220
Move utility functions
This avoids importing most dependencies when not used.
2022-05-21 23:52:36 +01:00
Samuel Elliott
5f6004bd57
Move authentication functions
app no longer imports from cli
2022-05-21 23:47:41 +01:00