Commit graph

323 commits

Author SHA1 Message Date
89bd17fa52 v0.18.0-rc.1 2023-06-16 10:37:50 -04:00
Dessalines
4116422023
Adding some 0.18.0 changes. (#138) 2023-06-16 10:30:50 -04:00
SleeplessOne1917
80bdd21eae
Merge pull request #135 from ExperiBass/trim-trailing-slash
remove trailing slashes from instance url
2023-06-14 23:57:56 +00:00
Gingka/Ginger Pepper
802bbeda1b
remove trailing slashes from instance url 2023-06-14 15:22:11 -04:00
SleeplessOne1917
bad0ec49db
Merge pull request #130 from LemmyNet/add_taglines_to_site_res 2023-06-06 13:17:23 +00:00
3ece676b8f v0.17.2-rc.24 2023-06-06 09:10:13 -04:00
22b0777f51 Add taglines to site response. 2023-06-06 09:06:58 -04:00
0a0acce81c Dont export websocket. 2023-06-06 09:06:30 -04:00
ea0c112520 Update copy_types script. 2023-06-06 09:05:14 -04:00
SleeplessOne1917
c758d480dc
Adjust version (#129) 2023-06-05 20:06:19 -04:00
SleeplessOne1917
fa1c032835
Make private class properties actually private (#128)
* Make private class properties actually private

* Update version in package.json
2023-06-05 19:32:23 -04:00
SleeplessOne1917
18777c5be2
Merge pull request #127 from hexbear-collective/remove-bigint
Remove BigInt
2023-06-05 01:48:13 +00:00
Anon
d866cae686 Remove BigInt 2023-06-04 20:46:09 -05:00
Dessalines
d886904888
Better error wrapping. (#126)
* Better error wrapping.

* Simplifying

* Moving return to else.
2023-05-29 22:28:26 -04:00
c4c97dcccd v0.17.2-rc.20 2023-05-26 19:50:32 -04:00
2e64d776b6 v0.17.2-rc.19 2023-05-26 19:46:53 -04:00
d8ee5f31ea v0.17.2-rc.18 2023-05-26 16:35:31 -04:00
Dessalines
882b511372
MarkCommentReplyAsRead response was wrong. (#125) 2023-05-26 16:11:33 -04:00
Dessalines
79df2a5ca8
Add missing response types in http client. (#124) 2023-05-24 23:13:03 -04:00
SleeplessOne1917
a6278881ea
Merge pull request #122 from LemmyNet/add_error_message_as_exception
Making the http `{"error": "..."}` json into a string exception.
2023-05-24 00:45:01 +00:00
Dessalines
6577342793
Merge branch 'main' into add_error_message_as_exception 2023-05-23 20:43:26 -04:00
SleeplessOne1917
1e9c936e48
Merge pull request #123 from LemmyNet/add_distinguish_comment 2023-05-23 21:37:25 +00:00
412f9936e4 Adding new distinguish comment. 2023-05-23 16:43:17 -04:00
e19c60e341 Switching to const. 2023-05-21 22:56:35 -04:00
3307940dbe Making the error json into an exception. 2023-05-21 22:45:44 -04:00
6801b2ae24 v0.17.2-rc.17 2023-05-15 15:42:08 -04:00
Dessalines
402aba2d38
Remove bigints (#121)
* Alter script to change bigints to numbers

* Run script to convert bigints to numbers
2023-05-15 15:41:44 -04:00
b027035bfa Adding sleeplessone1917 to codeowners 2023-05-15 15:23:45 -04:00
a5fb8c19e2 v0.17.2-rc.16 2023-05-15 12:24:08 -04:00
Dessalines
9439d2a5a9
Fixing bigint serialization. (#120) 2023-05-15 12:23:50 -04:00
6743d28f7f v0.17.2-rc.15 2023-05-13 10:50:56 -04:00
SleeplessOne1917
c66211f7c9
Fix body not serializing because of bigint (#119)
* Fix body not serializing because of bigint

* Use cleaner JSON handling
2023-05-12 09:07:54 -04:00
968e1c0049 v0.17.2-rc.14 2023-05-11 14:02:02 -04:00
SleeplessOne1917
40dfb4c3ac
Make script for adding types to index (#118)
* Make script for adding types to index

* Add semicolons to export lines
2023-05-11 13:10:28 -04:00
82ac85785d v0.17.2-rc.13 2023-05-10 11:17:03 -04:00
Dessalines
68f0b8152f
Upgrading deps (#117)
* Upgrading deps

* Upgrading node
2023-05-10 11:15:51 -04:00
Dessalines
431b34e938
Adding support for federated instances. Fixes #115 (#116) 2023-05-10 11:02:29 -04:00
Dessalines
0078d575b3
Adding bindings from rust. Fixes #113 (#114)
* Adding bindings from rust. Fixes #113

* v0.17.2-rc.7

* v0.17.2-rc.8

* v0.17.2-rc.9

* Trying encode 1

* v0.17.2-rc.10

* Nixing encode

* Switching to old comment GetPost.

* v0.17.2-rc.11
2023-05-02 17:15:36 -04:00
Dessalines
cfc1dcf0f4
Adding diesel SortType and ListingType enums. (#112)
* Adding diesel SortType and ListingType enums.

* v0.17.2-rc.6

* Remove comment.
2023-04-17 19:12:56 -04:00
SleeplessOne1917
533e222a0c
Add getComment to client (#111) 2023-04-12 19:48:54 -04:00
afea84aa8d v0.17.2-rc.5 2023-03-27 12:27:07 -04:00
07b05025b0 Merge branch 'makotech222-custom-emojis' 2023-03-27 12:26:21 -04:00
Dessalines
be449fe39e Add woodpecker (#110)
* Adding woodpecker 1

* Adding woodpecker 2

* v0.17.2-rc.4
2023-03-27 12:24:52 -04:00
SleeplessOne1917
de4414b877 feat: add image upload method to http client (#108)
* feat: add image upload method to http client

* fix: Make files optional on UploadImageResponse

* fix: Fix comment typo

* fix: replace loose equals with strict equals

* fix: Remove useless awaits

* fix: Add explicit return types to image upload helper functions

* fix: Include client headers in image upload request

* fix: Change type of uploadImage arg to File | Buffer instead of Blob | Buffer

* doc: Add doc string

* refactor: Switch to using cross-fetch instead of node-fetch v3

* chore: remove unnecessary asyncs
2023-03-27 12:24:50 -04:00
SleeplessOne1917
077c9782b1 docs: Fix incorrect code sample in README (#109) 2023-03-27 12:22:28 -04:00
Dessalines
c13af053f0 Totp (#106)
* Adding TOTP support.

* v0.17.2-rc.2

* Fix name.

* v0.17.2-rc.3
2023-03-27 12:22:28 -04:00
Dessalines
e371115323
Add woodpecker (#110)
* Adding woodpecker 1

* Adding woodpecker 2

* v0.17.2-rc.4
2023-03-27 12:19:19 -04:00
SleeplessOne1917
360196c8ae
feat: add image upload method to http client (#108)
* feat: add image upload method to http client

* fix: Make files optional on UploadImageResponse

* fix: Fix comment typo

* fix: replace loose equals with strict equals

* fix: Remove useless awaits

* fix: Add explicit return types to image upload helper functions

* fix: Include client headers in image upload request

* fix: Change type of uploadImage arg to File | Buffer instead of Blob | Buffer

* doc: Add doc string

* refactor: Switch to using cross-fetch instead of node-fetch v3

* chore: remove unnecessary asyncs
2023-03-22 14:33:54 -04:00
SleeplessOne1917
1e6ddc3587
docs: Fix incorrect code sample in README (#109) 2023-03-17 11:33:57 -04:00
Dessalines
72b3877693
Totp (#106)
* Adding TOTP support.

* v0.17.2-rc.2

* Fix name.

* v0.17.2-rc.3
2023-03-02 18:26:44 -05:00