Commit graph

160 commits

Author SHA1 Message Date
Jesse Wierzbinski 9b4ce7183a
fix(federation): 🐛 Re-add ability to query WebFinger on a different server than the queries resources's hostname 2024-07-26 18:03:22 +02:00
Jesse Wierzbinski 97826e18a9
fix(federation): 🐛 Use full URLs for requests, not just pathnames 2024-07-26 17:58:38 +02:00
Jesse Wierzbinski 39f27cd87f
refactor(federation): ♻️ Refactor FederationRequester to be simpler 2024-07-26 17:49:36 +02:00
Jesse Wierzbinski db92a51412
fix(federation): 🐛 Don't consume body of response 2024-07-26 17:11:30 +02:00
Jesse Wierzbinski 6160ebd7c4
feat(federation): Add request parameter to all request outputs 2024-07-26 17:08:52 +02:00
Jesse Wierzbinski a4a1f8207a
fix(federation): 🐛 Fix HTTP client stripping query strings from requests in some cases 2024-07-26 00:53:49 +02:00
Jesse Wierzbinski 62e5724a1c
fix(federation): ♻️ Don't use Node-specific API Buffer 2024-07-26 00:52:59 +02:00
Jesse Wierzbinski 2dd8615db3
feat(federation): Add static get/post methods to FederationRequester 2024-07-24 18:40:41 +02:00
Jesse Wierzbinski 021a3485f5
feat(federation): Automatically try to reach the HTTP version of an URL if HTTPS fails 2024-07-24 18:20:01 +02:00
Jesse Wierzbinski 2313bcbbcc
refactor(federation): 🚚 Remove custom path alias 2024-07-23 00:11:05 +02:00
Jesse Wierzbinski 1529708dd8
fix(federation): 🐛 Add /index to end of import 2024-07-23 00:04:57 +02:00
Jesse Wierzbinski 115bfc7f0d
refactor(federation): ♻️ Move around code to get better TypeScript output 2024-07-23 00:02:39 +02:00
Jesse Wierzbinski 283e000498
fix(federation): ✏️ Fix typo 2024-07-22 23:23:14 +02:00
Jesse Wierzbinski ff6bf16b0a
fix: 💚 Fix NPM not finding built JS 2024-07-22 23:20:51 +02:00
Jesse Wierzbinski 718eb152b0
ci(build): 💚 Install packages in CI 2024-07-22 23:11:50 +02:00
Jesse Wierzbinski 2bf97bc914
feat(build): 🏗️ Build plain JS for NPM 2024-07-22 23:10:12 +02:00
Jesse Wierzbinski 8a4b246f01
feat(client): Add account refetch endpoint 2024-07-21 19:56:23 +02:00
Jesse Wierzbinski de01d3ff73
ci(build): ⬆️ Update setup-bun to v2 2024-07-17 15:04:08 +02:00
Jesse Wierzbinski ad7f66ebc3
fix(federation): 🐛 Correctly select the WebFinger link with the correct content-type, not just the first rel=self link 2024-07-17 15:03:24 +02:00
Jesse Wierzbinski 88cfd005fd
feat(federation): Allow specifying custom hostname in WebFinger requests 2024-07-17 14:36:49 +02:00
Jesse Wierzbinski 0945a72a79
feat(client): Add getAccountByUsername method 2024-07-17 13:55:35 +02:00
Jesse Wierzbinski 0c30b024cd
feat(client): 🏷️ Add uri property to Account 2024-07-17 13:52:32 +02:00
Jesse Wierzbinski 5830b68f03
chore: ⬆️ Upgrade dependencies 2024-07-16 20:01:46 +02:00
Jesse Wierzbinski 13e7027c37
feat(federation): ♻️ Make all optional fields also nullable 2024-07-16 20:01:07 +02:00
Jesse Wierzbinski bbcc362bc1
feat(federation): Add a federation requester client 2024-06-29 22:20:07 -10:00
Jesse Wierzbinski 7e3db6fc2b
fix(client): 🏷️ Fix incorrect types for Instance 2024-06-28 20:34:04 -10:00
Jesse Wierzbinski f18fcf5890
fix(client): 🏷️ Use Notification type from Mastodon API, not the DOM Notification type 2024-06-28 16:20:09 -10:00
Jesse Wierzbinski 80130a1f22
docs(federation): 📝 Document RequestParserHandler 2024-06-25 19:34:54 -10:00
Jesse Wierzbinski 7c5c2d9f70
chore: ⬆️ Upgrade dependencies 2024-06-25 19:20:49 -10:00
Jesse Wierzbinski 0c7e59849a
docs(federation): 🐛 Update docs to match API changes 2024-06-25 19:19:38 -10:00
Jesse Wierzbinski 9c4bc08e2f
fix(client): 🐛 Fix incorrectly cased function parameters breaking API calls 2024-06-19 15:36:20 -10:00
Jesse Wierzbinski 503f4396ef
fix(client): 🏷️ Fix type issues 2024-06-19 13:44:52 -10:00
Jesse Wierzbinski 1a4890df2a
fix(federation): 🐛 Fix broken types (forgot to rename) 2024-06-19 13:17:33 -10:00
Jesse Wierzbinski f998264300
feat(client): Add global error handler 2024-06-19 12:48:09 -10:00
Jesse Wierzbinski 218af68dcc
feat(client): 🏷️ Export all types, refactor ResponseError better 2024-06-19 12:38:51 -10:00
Jesse Wierzbinski dc352bc276
refactor: ♻️ Refactor naming and code exports for both modules 2024-06-19 12:21:34 -10:00
Jesse Wierzbinski 8a37e7df95
feat(client): 🏷️ Update types 2024-06-19 12:03:48 -10:00
Jesse Wierzbinski 6a2be92a1b
chore: ⬆️ Upgrade dependencies 2024-06-15 20:18:19 -10:00
Jesse Wierzbinski a7b7115a88
feat: Add error response to ResponseError 2024-06-15 20:17:32 -10:00
Jesse Wierzbinski 747cc0e63c
chore: ⬆️ Update dependencies 2024-06-11 14:55:21 -10:00
Jesse Wierzbinski 6f717fcccd
chore(client): 🏷️ Update client types, add TOS and Privacy Policy APIs 2024-06-11 14:54:21 -10:00
Jesse Wierzbinski 24c5f3effd
feat(client): Add role API, expose more HTTP internals 2024-06-09 15:46:44 -10:00
Jesse Wierzbinski d54a7462ce
chore(client): ⚰️ Remove useless dependencies 2024-06-09 15:05:18 -10:00
Jesse Wierzbinski d4f5895dbf
fix(client): 🐛 Don't try to decode non-JSON response as JSON 2024-06-09 14:29:28 -10:00
Jesse Wierzbinski a87de7d20b
ci: 💚 Make CI be able to choose between JSR or NPM publish 2024-06-07 23:02:50 -10:00
Jesse Wierzbinski 16fe6118bf
ci: 💚 Run bun install when publishing JSR package 2024-06-07 23:00:27 -10:00
Jesse Wierzbinski d01ed19a66
ci(build): 💚 Hopefully fix deployment CI 2024-06-07 22:52:48 -10:00
Jesse Wierzbinski 028915f6c6
fix(client): 🐛 Fix missing quotes 2024-06-07 22:45:37 -10:00
Jesse Wierzbinski 92a1d82c8b
ci(build): 💚 try and fix CI, again 2024-06-07 15:25:46 -10:00
Jesse Wierzbinski cedf94e2d6
fix(build): 💚 Copy bunfig to root 2024-06-07 15:10:14 -10:00