Commit Graph

25 Commits

Author SHA1 Message Date
Samuel Elliott
7bdf9f578a
Remove uuid 2023-07-13 01:10:37 +01:00
Samuel Elliott
d7a64b9807
Switch to undici 2023-07-12 23:15:37 +01:00
Samuel Elliott
4d0b708469
Write debug logs 2023-06-01 18:45:31 +01:00
Samuel Elliott
f6aa9a17ab
Add na_id and coral_user_id to f generation requests 2023-05-25 13:42:48 +01:00
Samuel Elliott
6f6148fcad
Send coral platform/version to f generation API 2023-03-01 09:18:23 +00:00
Samuel Elliott
9112a5a02b
Return response objects and return coral result object directly 2022-09-07 17:13:53 +01:00
Samuel Elliott
66c8efdb96
Accept numbers for the hash_method option when generating f parameters 2022-09-07 10:22:37 +01:00
Samuel Elliott
960624cae4
Update flapg API 2022-09-01 14:08:48 +01:00
Samuel Elliott
e5a955e666
Fix sending request_id when using nxapi's f-generation API 2022-08-24 19:21:27 +01:00
Samuel Elliott
a6b8dc33e8
Update imink API 2022-08-24 17:31:34 +01:00
Samuel Elliott
428f7131a1
Fix f parameter generation
This fixes `f` parameter generation with nxapi's custom server. This will also work with imink/flapg *if the system time exactly matches the imink/flapg Android device's time*. This commit also makes nxapi's API compatible with imink's API and adds some information about the Android device and NSO app to response headers.
2022-08-23 16:47:15 +01:00
Samuel Elliott
624d60dc1b
Always check response status codes 2022-08-22 11:36:37 +01:00
Samuel Elliott
2d52f17022
Update config URL and use config data 2022-07-29 17:59:17 +01:00
Samuel Elliott
dddb15aceb
Use package.json exports field 2022-07-23 17:42:41 +01:00
Samuel Elliott
21f5f095a0
Add helper function for setting user agent 2022-07-01 21:22:40 +01:00
Samuel Elliott
a6a69b1799
Rename most instances of znc to coral 2022-06-28 19:22:01 +01:00
Samuel Elliott
4bf9908362
Fetch timeout 2022-06-12 15:36:00 +01:00
Samuel Elliott
18761bbb31
Update dependencies 2022-05-29 19:16:54 +01:00
Samuel Elliott
5328ada1e7
Show share menu for web services 2022-05-29 18:02:07 +01:00
Samuel Elliott
442b53a062
Add an option to use the imink API to generate f parameters
https://github.com/JoneWang/imink/wiki/imink-API-Documentation
https://github.com/JoneWang
2022-05-26 12:42:31 +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
b531fcced4
Move monitoring classes, use nxapi debug namespace for non-app/cli modules 2022-05-14 19:06:43 +01:00
Samuel Elliott
3c66bbd95d
Allow dependents to set the user agent for s2s, flapg and nxapi APIs 2022-04-05 20:42:38 +01:00
Samuel Elliott
2005f34780
Add server to generate f parameters for NSO app authentication 2022-03-17 15:18:35 +00:00
Samuel Elliott
0bdd4b4614
Initial commit 2022-03-12 23:44:27 +00:00