Commit Graph

47 Commits

Author SHA1 Message Date
Derrick Hammer c12b24b284
chore: update swagger.yaml 2024-03-26 15:13:44 -04:00
Derrick Hammer 8431f5c9f8
fix: typo 2024-03-21 08:44:31 -04:00
Derrick Hammer a508347fb1
refactor: export AccountError 2024-03-20 16:16:26 -04:00
Derrick Hammer 55fc51ad0a
refactor: update more methods to return an error optionally, and switch to a custom Error child class so we can get the status code and message 2024-03-20 15:41:22 -04:00
Derrick Hammer b7a9484785
refactor: update some of the methods to return an error in the try catch/vs a false 2024-03-20 12:58:31 -04:00
Derrick Hammer 7a3248b21b
feat: add updatePassword api 2024-03-19 10:06:39 -04:00
Derrick Hammer ef3d0d3fbc
fix: add ?. 2024-03-19 08:00:22 -04:00
Derrick Hammer 788e424841
refactor: update api calls since we changed routes 2024-03-19 07:59:39 -04:00
Derrick Hammer c0345dec11
feat: add updateEmail 2024-03-19 07:58:32 -04:00
Derrick Hammer 5b04f7ecaf
refactor: update api calls since we changed routes 2024-03-19 07:55:38 -04:00
Derrick Hammer bc5f143ae6
chore: update swagger.yaml 2024-03-19 07:53:49 -04:00
Derrick Hammer 3b2d839f04
refactor: if ping is successful, store the jwt token 2024-03-18 17:21:53 -04:00
Derrick Hammer 271917540d
chore: update swagger.yaml 2024-03-18 17:21:20 -04:00
Derrick Hammer f99c51e4df
fix: only call registerDefaults when registry isn't init'ed 2024-03-18 13:01:07 -04:00
Derrick Hammer 14c854c455
fix: update imports 2024-03-18 10:46:45 -04:00
Derrick Hammer e3480d61f0
fix: update imports 2024-03-18 09:44:08 -04:00
Derrick Hammer 8d5f0ba539
feat: implement protocol support, starting with s5 2024-03-18 09:37:02 -04:00
Derrick Hammer ffe01db460
feat: add uploadLimit endpoint 2024-03-17 11:18:03 -04:00
Derrick Hammer b2b4d7b8ea
chore: update swagger 2024-03-17 11:17:09 -04:00
Derrick Hammer 5381184a07
feat: implement logout method 2024-03-17 09:35:37 -04:00
Derrick Hammer de5aa03ba3
style: prettier 2024-03-17 09:32:54 -04:00
Derrick Hammer 3c0510c272
chore: update account swagger.yaml 2024-03-17 09:29:02 -04:00
Derrick Hammer cadd9e1d5c
refactor: put schema export in root 2024-03-14 07:07:29 -04:00
Derrick Hammer de4cb673cc
refactor: export all openapi types 2024-03-14 07:05:05 -04:00
Derrick Hammer 31505980c9
feat: add account info endpoint 2024-03-14 06:57:49 -04:00
Derrick Hammer 5e68896eea
style: prettier 2024-03-13 18:34:27 -04:00
Derrick Hammer 77e7f290d8
refactor: add jwtToken getter 2024-03-13 18:33:59 -04:00
Derrick Hammer f8f8780f97
fix: use _jwtToken 2024-03-13 18:27:59 -04:00
Derrick Hammer 3bc2dfadce
Revert "fix: use URL.URL"
This reverts commit d18e3a9da5.
2024-03-13 18:26:52 -04:00
Derrick Hammer 63e214cc49
feat: add setAuthToken 2024-03-13 18:15:01 -04:00
Derrick Hammer 070b117089
refactor: add setter for jwtToken 2024-03-13 18:13:24 -04:00
Derrick Hammer 0f3de13f52
refactor: don't use default exports 2024-03-13 18:12:44 -04:00
Derrick Hammer d18e3a9da5
fix: use URL.URL 2024-03-13 18:12:18 -04:00
Derrick Hammer 620e983011
fix: login needs to return bool 2024-03-13 17:54:26 -04:00
Derrick Hammer 42751d5214
refactor: update ping api to use new PingResponse 2024-03-13 17:30:03 -04:00
Derrick Hammer 6f1d761c99
chore: update swagger 2024-03-13 17:28:21 -04:00
Derrick Hammer 2d0c55848b
refactor: use try/catch on all apis to prevent axios errors 2024-03-13 17:13:19 -04:00
Derrick Hammer 9a9283cc8a
fix: return the full response 2024-03-13 14:58:30 -04:00
Derrick Hammer bc3550ab4b
feat: add logout 2024-03-13 13:04:57 -04:00
Derrick Hammer 9e7e0c7f65
style: prettier 2024-03-13 12:57:38 -04:00
Derrick Hammer 3e8aaa1dba
fix: prefix api endpoint with account subdomain 2024-03-13 12:57:21 -04:00
Derrick Hammer daf38957a4
fix: if jwt is not set, don't send it 2024-03-13 12:56:01 -04:00
Derrick Hammer d490ac55ce
feat: add ping account api 2024-03-13 12:32:08 -04:00
Derrick Hammer 3250edf166
chore: prettier 2024-03-13 10:22:23 -04:00
Derrick Hammer 4797ea7be2
fix: bad import 2024-03-13 10:12:01 -04:00
Derrick Hammer aa9ed84aea
refactor: don't make Sdk as default export 2024-03-13 10:00:38 -04:00
Derrick Hammer 5de87a9b3f
feat: initial version 2024-03-06 18:17:47 -05:00