Commit Graph

12 Commits

Author SHA1 Message Date
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
1aa4aad85a
SplatNet 3 authentication 2022-09-08 19:44:15 +01:00
Samuel Elliott
f628d371e1
Add NookLink constructor helper functions 2022-08-16 18:16:30 +01:00
Samuel Elliott
65d1069edf
Only request data necessary to appear as if opening Nintendo's app 2022-08-16 17:00:59 +01:00
Samuel Elliott
1c436c6fb7
Fix not setting Discord activity on first update 2022-07-31 21:43:56 +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
a6a69b1799
Rename most instances of znc to coral 2022-06-28 19:22:01 +01:00
Samuel Elliott
5f6004bd57
Move authentication functions
app no longer imports from cli
2022-05-21 23:47:41 +01:00