lemmy-js-client 0.17.2-rc.9 → 0.18.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/http.d.ts +27 -12
- package/dist/http.js +351 -375
- package/dist/index.d.ts +248 -1
- package/dist/index.js +3 -1
- package/dist/types/BanFromCommunity.d.ts +1 -1
- package/dist/types/BanPerson.d.ts +1 -1
- package/dist/types/CommentAggregates.d.ts +4 -3
- package/dist/types/CommunityAggregates.d.ts +8 -7
- package/dist/types/GetCaptcha.d.ts +3 -1
- package/dist/types/GetComments.d.ts +2 -2
- package/dist/types/GetCommunityResponse.d.ts +0 -2
- package/dist/types/GetFederatedInstances.d.ts +3 -1
- package/dist/types/GetModlog.d.ts +2 -2
- package/dist/types/GetPersonDetails.d.ts +2 -2
- package/dist/types/GetPersonMentions.d.ts +2 -2
- package/dist/types/GetPost.d.ts +4 -2
- package/dist/types/GetPostResponse.d.ts +0 -1
- package/dist/types/GetPosts.d.ts +2 -2
- package/dist/types/GetPrivateMessages.d.ts +2 -2
- package/dist/types/GetReplies.d.ts +2 -2
- package/dist/types/GetReportCountResponse.d.ts +3 -3
- package/dist/types/GetSiteResponse.d.ts +0 -1
- package/dist/types/GetUnreadCountResponse.d.ts +3 -3
- package/dist/types/GetUnreadRegistrationApplicationCountResponse.d.ts +1 -1
- package/dist/types/ListCommentReports.d.ts +2 -2
- package/dist/types/ListCommunities.d.ts +2 -2
- package/dist/types/ListPostReports.d.ts +2 -2
- package/dist/types/ListPrivateMessageReports.d.ts +2 -2
- package/dist/types/ListRegistrationApplications.d.ts +2 -2
- package/dist/types/LocalSite.d.ts +0 -1
- package/dist/types/ModlogListParams.d.ts +2 -2
- package/dist/types/PersonAggregates.d.ts +4 -4
- package/dist/types/PostAggregates.d.ts +6 -4
- package/dist/types/PostView.d.ts +1 -1
- package/dist/types/RemoveCommunity.d.ts +1 -1
- package/dist/types/Search.d.ts +2 -2
- package/dist/types/SiteAggregates.d.ts +8 -8
- package/dist/types/SiteResponse.d.ts +2 -0
- package/dist/types/others.d.ts +2 -1
- package/dist/types/others.js +1 -0
- package/dist/websocket.d.ts +7 -1
- package/dist/websocket.js +185 -181
- package/package.json +14 -15
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lemmy-js-client",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.18.0-rc.1",
|
|
4
4
|
"description": "A javascript / typescript client for Lemmy",
|
|
5
5
|
"repository": "https://github.com/LemmyNet/lemmy-js-client",
|
|
6
6
|
"license": "AGPL-3.0",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
],
|
|
13
13
|
"scripts": {
|
|
14
14
|
"build": "tsc",
|
|
15
|
-
"docs": "typedoc src/index.ts
|
|
15
|
+
"docs": "typedoc src/index.ts",
|
|
16
16
|
"lint": "tsc --noEmit && eslint --report-unused-disable-directives --ext .js,.ts,.tsx src && prettier --check src",
|
|
17
17
|
"prepare": "yarn run build && husky install"
|
|
18
18
|
},
|
|
@@ -30,21 +30,20 @@
|
|
|
30
30
|
"form-data": "^4.0.0"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@types/node": "^
|
|
34
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
35
|
-
"@typescript-eslint/parser": "^5.
|
|
36
|
-
"eslint": "^8.
|
|
33
|
+
"@types/node": "^20.1.2",
|
|
34
|
+
"@typescript-eslint/eslint-plugin": "^5.59.5",
|
|
35
|
+
"@typescript-eslint/parser": "^5.59.5",
|
|
36
|
+
"eslint": "^8.40.0",
|
|
37
37
|
"eslint-plugin-prettier": "^4.2.1",
|
|
38
|
-
"husky": "^8.0.
|
|
39
|
-
"lint-staged": "^13.
|
|
40
|
-
"prettier": "^2.
|
|
38
|
+
"husky": "^8.0.3",
|
|
39
|
+
"lint-staged": "^13.2.2",
|
|
40
|
+
"prettier": "^2.8.8",
|
|
41
41
|
"prettier-plugin-import-sort": "^0.0.7",
|
|
42
|
-
"prettier-plugin-organize-imports": "^3.
|
|
43
|
-
"prettier-plugin-packagejson": "^2.
|
|
44
|
-
"sortpack": "^2.3.
|
|
45
|
-
"typedoc": "^0.
|
|
46
|
-
"
|
|
47
|
-
"typescript": "^4.7.4"
|
|
42
|
+
"prettier-plugin-organize-imports": "^3.2.2",
|
|
43
|
+
"prettier-plugin-packagejson": "^2.4.3",
|
|
44
|
+
"sortpack": "^2.3.4",
|
|
45
|
+
"typedoc": "^0.24.7",
|
|
46
|
+
"typescript": "^5.0.4"
|
|
48
47
|
},
|
|
49
48
|
"importSort": {
|
|
50
49
|
".js, .jsx, .ts, .tsx": {
|