lemmy-js-client 0.16.4-rc.1 → 0.17.0-rc.10

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,4 @@
1
- import { SiteMetadata } from "..";
1
+ import { ListingType, SiteMetadata, SortType } from "../others";
2
2
  import { CommentView, CommunityModeratorView, CommunityView, PostReportView, PostView } from "../views";
3
3
  export interface CreatePost {
4
4
  name: string;
@@ -24,16 +24,8 @@ export interface GetPostResponse {
24
24
  online: number;
25
25
  }
26
26
  export interface GetPosts {
27
- /**
28
- * The [[ListingType]].
29
- *
30
- * Post listing types are `All, Subscribed, Community`
31
- */
32
- type_?: string;
33
- /**
34
- * The [[SortType]].
35
- */
36
- sort?: string;
27
+ type_?: ListingType;
28
+ sort?: SortType;
37
29
  page?: number;
38
30
  limit?: number;
39
31
  community_id?: number;
@@ -77,6 +69,14 @@ export interface RemovePost {
77
69
  reason?: string;
78
70
  auth: string;
79
71
  }
72
+ /**
73
+ * Marks a post as read.
74
+ */
75
+ export interface MarkPostAsRead {
76
+ post_id: number;
77
+ read: boolean;
78
+ auth: string;
79
+ }
80
80
  /**
81
81
  * Only admins and mods can lock a post.
82
82
  */
@@ -1,3 +1,4 @@
1
+ import { ListingType, SearchType, SortType } from "../others";
1
2
  import { CommentView, CommunityBlockView, CommunityFollowerView, CommunityModeratorView, CommunityView, LocalUserSettingsView, ModAddCommunityView, ModAddView, ModBanFromCommunityView, ModBanView, ModLockPostView, ModRemoveCommentView, ModRemoveCommunityView, ModRemovePostView, ModStickyPostView, ModTransferCommunityView, PersonBlockView, PersonViewSafe, PostView, RegistrationApplicationView, SiteView } from "../views";
2
3
  /**
3
4
  * Search lemmy for different types of data.
@@ -7,21 +8,12 @@ export interface Search {
7
8
  * The search query string.
8
9
  */
9
10
  q: string;
10
- /**
11
- * The [[SearchType]].
12
- */
13
- type_?: string;
11
+ type_?: SearchType;
14
12
  community_id?: number;
15
13
  community_name?: string;
16
14
  creator_id?: number;
17
- /**
18
- * The [[SortType]].
19
- */
20
- sort?: string;
21
- /**
22
- * The [[ListingType]].
23
- */
24
- listing_type?: string;
15
+ sort?: SortType;
16
+ listing_type?: ListingType;
25
17
  page?: number;
26
18
  limit?: number;
27
19
  auth?: string;
@@ -70,6 +62,7 @@ export interface CreateSite {
70
62
  application_question?: string;
71
63
  private_instance?: boolean;
72
64
  default_theme?: string;
65
+ default_post_listing_type?: string;
73
66
  auth: string;
74
67
  }
75
68
  export interface EditSite {
@@ -87,6 +80,8 @@ export interface EditSite {
87
80
  application_question?: string;
88
81
  private_instance?: boolean;
89
82
  default_theme?: string;
83
+ legal_information?: string;
84
+ default_post_listing_type?: string;
90
85
  auth: string;
91
86
  }
92
87
  export interface GetSite {
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -25,60 +25,61 @@ export declare enum UserOperation {
25
25
  RemovePost = 19,
26
26
  LockPost = 20,
27
27
  StickyPost = 21,
28
- SavePost = 22,
29
- EditCommunity = 23,
30
- DeleteCommunity = 24,
31
- RemoveCommunity = 25,
32
- FollowCommunity = 26,
33
- GetPersonDetails = 27,
34
- GetReplies = 28,
35
- GetPersonMentions = 29,
36
- MarkPersonMentionAsRead = 30,
37
- GetModlog = 31,
38
- BanFromCommunity = 32,
39
- AddModToCommunity = 33,
40
- CreateSite = 34,
41
- EditSite = 35,
42
- GetSite = 36,
43
- AddAdmin = 37,
44
- GetUnreadRegistrationApplicationCount = 38,
45
- ListRegistrationApplications = 39,
46
- ApproveRegistrationApplication = 40,
47
- BanPerson = 41,
48
- GetBannedPersons = 42,
49
- Search = 43,
50
- ResolveObject = 44,
51
- MarkAllAsRead = 45,
52
- SaveUserSettings = 46,
53
- TransferCommunity = 47,
54
- LeaveAdmin = 48,
55
- DeleteAccount = 49,
56
- PasswordReset = 50,
57
- PasswordChange = 51,
58
- CreatePrivateMessage = 52,
59
- EditPrivateMessage = 53,
60
- DeletePrivateMessage = 54,
61
- MarkPrivateMessageAsRead = 55,
62
- GetPrivateMessages = 56,
63
- UserJoin = 57,
64
- GetComments = 58,
65
- GetSiteConfig = 59,
66
- SaveSiteConfig = 60,
67
- PostJoin = 61,
68
- CommunityJoin = 62,
69
- ChangePassword = 63,
70
- GetSiteMetadata = 64,
71
- BlockCommunity = 65,
72
- BlockPerson = 66,
73
- CreateCommentReport = 67,
74
- ResolveCommentReport = 68,
75
- ListCommentReports = 69,
76
- CreatePostReport = 70,
77
- ResolvePostReport = 71,
78
- ListPostReports = 72,
79
- GetReportCount = 73,
80
- GetUnreadCount = 74,
81
- VerifyEmail = 75
28
+ MarkPostAsRead = 22,
29
+ SavePost = 23,
30
+ EditCommunity = 24,
31
+ DeleteCommunity = 25,
32
+ RemoveCommunity = 26,
33
+ FollowCommunity = 27,
34
+ GetPersonDetails = 28,
35
+ GetReplies = 29,
36
+ GetPersonMentions = 30,
37
+ MarkPersonMentionAsRead = 31,
38
+ GetModlog = 32,
39
+ BanFromCommunity = 33,
40
+ AddModToCommunity = 34,
41
+ CreateSite = 35,
42
+ EditSite = 36,
43
+ GetSite = 37,
44
+ AddAdmin = 38,
45
+ GetUnreadRegistrationApplicationCount = 39,
46
+ ListRegistrationApplications = 40,
47
+ ApproveRegistrationApplication = 41,
48
+ BanPerson = 42,
49
+ GetBannedPersons = 43,
50
+ Search = 44,
51
+ ResolveObject = 45,
52
+ MarkAllAsRead = 46,
53
+ SaveUserSettings = 47,
54
+ TransferCommunity = 48,
55
+ LeaveAdmin = 49,
56
+ DeleteAccount = 50,
57
+ PasswordReset = 51,
58
+ PasswordChange = 52,
59
+ CreatePrivateMessage = 53,
60
+ EditPrivateMessage = 54,
61
+ DeletePrivateMessage = 55,
62
+ MarkPrivateMessageAsRead = 56,
63
+ GetPrivateMessages = 57,
64
+ UserJoin = 58,
65
+ GetComments = 59,
66
+ GetSiteConfig = 60,
67
+ SaveSiteConfig = 61,
68
+ PostJoin = 62,
69
+ CommunityJoin = 63,
70
+ ChangePassword = 64,
71
+ GetSiteMetadata = 65,
72
+ BlockCommunity = 66,
73
+ BlockPerson = 67,
74
+ CreateCommentReport = 68,
75
+ ResolveCommentReport = 69,
76
+ ListCommentReports = 70,
77
+ CreatePostReport = 71,
78
+ ResolvePostReport = 72,
79
+ ListPostReports = 73,
80
+ GetReportCount = 74,
81
+ GetUnreadCount = 75,
82
+ VerifyEmail = 76
82
83
  }
83
84
  /**
84
85
  * Different sort types used in lemmy.
@@ -29,60 +29,61 @@ var UserOperation;
29
29
  UserOperation[UserOperation["RemovePost"] = 19] = "RemovePost";
30
30
  UserOperation[UserOperation["LockPost"] = 20] = "LockPost";
31
31
  UserOperation[UserOperation["StickyPost"] = 21] = "StickyPost";
32
- UserOperation[UserOperation["SavePost"] = 22] = "SavePost";
33
- UserOperation[UserOperation["EditCommunity"] = 23] = "EditCommunity";
34
- UserOperation[UserOperation["DeleteCommunity"] = 24] = "DeleteCommunity";
35
- UserOperation[UserOperation["RemoveCommunity"] = 25] = "RemoveCommunity";
36
- UserOperation[UserOperation["FollowCommunity"] = 26] = "FollowCommunity";
37
- UserOperation[UserOperation["GetPersonDetails"] = 27] = "GetPersonDetails";
38
- UserOperation[UserOperation["GetReplies"] = 28] = "GetReplies";
39
- UserOperation[UserOperation["GetPersonMentions"] = 29] = "GetPersonMentions";
40
- UserOperation[UserOperation["MarkPersonMentionAsRead"] = 30] = "MarkPersonMentionAsRead";
41
- UserOperation[UserOperation["GetModlog"] = 31] = "GetModlog";
42
- UserOperation[UserOperation["BanFromCommunity"] = 32] = "BanFromCommunity";
43
- UserOperation[UserOperation["AddModToCommunity"] = 33] = "AddModToCommunity";
44
- UserOperation[UserOperation["CreateSite"] = 34] = "CreateSite";
45
- UserOperation[UserOperation["EditSite"] = 35] = "EditSite";
46
- UserOperation[UserOperation["GetSite"] = 36] = "GetSite";
47
- UserOperation[UserOperation["AddAdmin"] = 37] = "AddAdmin";
48
- UserOperation[UserOperation["GetUnreadRegistrationApplicationCount"] = 38] = "GetUnreadRegistrationApplicationCount";
49
- UserOperation[UserOperation["ListRegistrationApplications"] = 39] = "ListRegistrationApplications";
50
- UserOperation[UserOperation["ApproveRegistrationApplication"] = 40] = "ApproveRegistrationApplication";
51
- UserOperation[UserOperation["BanPerson"] = 41] = "BanPerson";
52
- UserOperation[UserOperation["GetBannedPersons"] = 42] = "GetBannedPersons";
53
- UserOperation[UserOperation["Search"] = 43] = "Search";
54
- UserOperation[UserOperation["ResolveObject"] = 44] = "ResolveObject";
55
- UserOperation[UserOperation["MarkAllAsRead"] = 45] = "MarkAllAsRead";
56
- UserOperation[UserOperation["SaveUserSettings"] = 46] = "SaveUserSettings";
57
- UserOperation[UserOperation["TransferCommunity"] = 47] = "TransferCommunity";
58
- UserOperation[UserOperation["LeaveAdmin"] = 48] = "LeaveAdmin";
59
- UserOperation[UserOperation["DeleteAccount"] = 49] = "DeleteAccount";
60
- UserOperation[UserOperation["PasswordReset"] = 50] = "PasswordReset";
61
- UserOperation[UserOperation["PasswordChange"] = 51] = "PasswordChange";
62
- UserOperation[UserOperation["CreatePrivateMessage"] = 52] = "CreatePrivateMessage";
63
- UserOperation[UserOperation["EditPrivateMessage"] = 53] = "EditPrivateMessage";
64
- UserOperation[UserOperation["DeletePrivateMessage"] = 54] = "DeletePrivateMessage";
65
- UserOperation[UserOperation["MarkPrivateMessageAsRead"] = 55] = "MarkPrivateMessageAsRead";
66
- UserOperation[UserOperation["GetPrivateMessages"] = 56] = "GetPrivateMessages";
67
- UserOperation[UserOperation["UserJoin"] = 57] = "UserJoin";
68
- UserOperation[UserOperation["GetComments"] = 58] = "GetComments";
69
- UserOperation[UserOperation["GetSiteConfig"] = 59] = "GetSiteConfig";
70
- UserOperation[UserOperation["SaveSiteConfig"] = 60] = "SaveSiteConfig";
71
- UserOperation[UserOperation["PostJoin"] = 61] = "PostJoin";
72
- UserOperation[UserOperation["CommunityJoin"] = 62] = "CommunityJoin";
73
- UserOperation[UserOperation["ChangePassword"] = 63] = "ChangePassword";
74
- UserOperation[UserOperation["GetSiteMetadata"] = 64] = "GetSiteMetadata";
75
- UserOperation[UserOperation["BlockCommunity"] = 65] = "BlockCommunity";
76
- UserOperation[UserOperation["BlockPerson"] = 66] = "BlockPerson";
77
- UserOperation[UserOperation["CreateCommentReport"] = 67] = "CreateCommentReport";
78
- UserOperation[UserOperation["ResolveCommentReport"] = 68] = "ResolveCommentReport";
79
- UserOperation[UserOperation["ListCommentReports"] = 69] = "ListCommentReports";
80
- UserOperation[UserOperation["CreatePostReport"] = 70] = "CreatePostReport";
81
- UserOperation[UserOperation["ResolvePostReport"] = 71] = "ResolvePostReport";
82
- UserOperation[UserOperation["ListPostReports"] = 72] = "ListPostReports";
83
- UserOperation[UserOperation["GetReportCount"] = 73] = "GetReportCount";
84
- UserOperation[UserOperation["GetUnreadCount"] = 74] = "GetUnreadCount";
85
- UserOperation[UserOperation["VerifyEmail"] = 75] = "VerifyEmail";
32
+ UserOperation[UserOperation["MarkPostAsRead"] = 22] = "MarkPostAsRead";
33
+ UserOperation[UserOperation["SavePost"] = 23] = "SavePost";
34
+ UserOperation[UserOperation["EditCommunity"] = 24] = "EditCommunity";
35
+ UserOperation[UserOperation["DeleteCommunity"] = 25] = "DeleteCommunity";
36
+ UserOperation[UserOperation["RemoveCommunity"] = 26] = "RemoveCommunity";
37
+ UserOperation[UserOperation["FollowCommunity"] = 27] = "FollowCommunity";
38
+ UserOperation[UserOperation["GetPersonDetails"] = 28] = "GetPersonDetails";
39
+ UserOperation[UserOperation["GetReplies"] = 29] = "GetReplies";
40
+ UserOperation[UserOperation["GetPersonMentions"] = 30] = "GetPersonMentions";
41
+ UserOperation[UserOperation["MarkPersonMentionAsRead"] = 31] = "MarkPersonMentionAsRead";
42
+ UserOperation[UserOperation["GetModlog"] = 32] = "GetModlog";
43
+ UserOperation[UserOperation["BanFromCommunity"] = 33] = "BanFromCommunity";
44
+ UserOperation[UserOperation["AddModToCommunity"] = 34] = "AddModToCommunity";
45
+ UserOperation[UserOperation["CreateSite"] = 35] = "CreateSite";
46
+ UserOperation[UserOperation["EditSite"] = 36] = "EditSite";
47
+ UserOperation[UserOperation["GetSite"] = 37] = "GetSite";
48
+ UserOperation[UserOperation["AddAdmin"] = 38] = "AddAdmin";
49
+ UserOperation[UserOperation["GetUnreadRegistrationApplicationCount"] = 39] = "GetUnreadRegistrationApplicationCount";
50
+ UserOperation[UserOperation["ListRegistrationApplications"] = 40] = "ListRegistrationApplications";
51
+ UserOperation[UserOperation["ApproveRegistrationApplication"] = 41] = "ApproveRegistrationApplication";
52
+ UserOperation[UserOperation["BanPerson"] = 42] = "BanPerson";
53
+ UserOperation[UserOperation["GetBannedPersons"] = 43] = "GetBannedPersons";
54
+ UserOperation[UserOperation["Search"] = 44] = "Search";
55
+ UserOperation[UserOperation["ResolveObject"] = 45] = "ResolveObject";
56
+ UserOperation[UserOperation["MarkAllAsRead"] = 46] = "MarkAllAsRead";
57
+ UserOperation[UserOperation["SaveUserSettings"] = 47] = "SaveUserSettings";
58
+ UserOperation[UserOperation["TransferCommunity"] = 48] = "TransferCommunity";
59
+ UserOperation[UserOperation["LeaveAdmin"] = 49] = "LeaveAdmin";
60
+ UserOperation[UserOperation["DeleteAccount"] = 50] = "DeleteAccount";
61
+ UserOperation[UserOperation["PasswordReset"] = 51] = "PasswordReset";
62
+ UserOperation[UserOperation["PasswordChange"] = 52] = "PasswordChange";
63
+ UserOperation[UserOperation["CreatePrivateMessage"] = 53] = "CreatePrivateMessage";
64
+ UserOperation[UserOperation["EditPrivateMessage"] = 54] = "EditPrivateMessage";
65
+ UserOperation[UserOperation["DeletePrivateMessage"] = 55] = "DeletePrivateMessage";
66
+ UserOperation[UserOperation["MarkPrivateMessageAsRead"] = 56] = "MarkPrivateMessageAsRead";
67
+ UserOperation[UserOperation["GetPrivateMessages"] = 57] = "GetPrivateMessages";
68
+ UserOperation[UserOperation["UserJoin"] = 58] = "UserJoin";
69
+ UserOperation[UserOperation["GetComments"] = 59] = "GetComments";
70
+ UserOperation[UserOperation["GetSiteConfig"] = 60] = "GetSiteConfig";
71
+ UserOperation[UserOperation["SaveSiteConfig"] = 61] = "SaveSiteConfig";
72
+ UserOperation[UserOperation["PostJoin"] = 62] = "PostJoin";
73
+ UserOperation[UserOperation["CommunityJoin"] = 63] = "CommunityJoin";
74
+ UserOperation[UserOperation["ChangePassword"] = 64] = "ChangePassword";
75
+ UserOperation[UserOperation["GetSiteMetadata"] = 65] = "GetSiteMetadata";
76
+ UserOperation[UserOperation["BlockCommunity"] = 66] = "BlockCommunity";
77
+ UserOperation[UserOperation["BlockPerson"] = 67] = "BlockPerson";
78
+ UserOperation[UserOperation["CreateCommentReport"] = 68] = "CreateCommentReport";
79
+ UserOperation[UserOperation["ResolveCommentReport"] = 69] = "ResolveCommentReport";
80
+ UserOperation[UserOperation["ListCommentReports"] = 70] = "ListCommentReports";
81
+ UserOperation[UserOperation["CreatePostReport"] = 71] = "CreatePostReport";
82
+ UserOperation[UserOperation["ResolvePostReport"] = 72] = "ResolvePostReport";
83
+ UserOperation[UserOperation["ListPostReports"] = 73] = "ListPostReports";
84
+ UserOperation[UserOperation["GetReportCount"] = 74] = "GetReportCount";
85
+ UserOperation[UserOperation["GetUnreadCount"] = 75] = "GetUnreadCount";
86
+ UserOperation[UserOperation["VerifyEmail"] = 76] = "VerifyEmail";
86
87
  })(UserOperation = exports.UserOperation || (exports.UserOperation = {}));
87
88
  /**
88
89
  * Different sort types used in lemmy.
@@ -54,10 +54,12 @@ export interface Site {
54
54
  application_question?: string;
55
55
  private_instance: boolean;
56
56
  default_theme: string;
57
+ default_post_listing_type: string;
57
58
  actor_id: string;
58
59
  last_refreshed_at: string;
59
60
  inbox_url: string;
60
61
  public_key: string;
62
+ legal_information?: string;
61
63
  }
62
64
  export interface PrivateMessage {
63
65
  id: number;
@@ -206,6 +208,7 @@ export interface CommunitySafe {
206
208
  local: boolean;
207
209
  icon?: string;
208
210
  banner?: string;
211
+ posting_restricted_to_mods: boolean;
209
212
  }
210
213
  export interface CommentReport {
211
214
  id: number;
@@ -25,7 +25,6 @@ export interface LocalUserSettingsView {
25
25
  }
26
26
  export interface SiteView {
27
27
  site: Site;
28
- creator: PersonSafe;
29
28
  counts: SiteAggregates;
30
29
  }
31
30
  export interface PrivateMessageView {
@@ -143,6 +142,7 @@ export interface ModStickyPostView {
143
142
  export interface CommunityFollowerView {
144
143
  community: CommunitySafe;
145
144
  follower: PersonSafe;
145
+ pending: boolean;
146
146
  }
147
147
  export interface CommunityBlockView {
148
148
  person: PersonSafe;
@@ -1,7 +1,7 @@
1
1
  import { CreateComment, CreateCommentLike, CreateCommentReport, DeleteComment, EditComment, GetComments, ListCommentReports, MarkCommentAsRead, RemoveComment, ResolveCommentReport, SaveComment } from "./interfaces/api/comment";
2
2
  import { AddModToCommunity, BanFromCommunity, BlockCommunity, CreateCommunity, DeleteCommunity, EditCommunity, FollowCommunity, GetCommunity, ListCommunities, RemoveCommunity, TransferCommunity } from "./interfaces/api/community";
3
3
  import { AddAdmin, BanPerson, BlockPerson, ChangePassword, CreatePrivateMessage, DeleteAccount, DeletePrivateMessage, EditPrivateMessage, GetBannedPersons, GetPersonDetails, GetPersonMentions, GetPrivateMessages, GetReplies, GetReportCount, GetUnreadCount, Login, MarkAllAsRead, MarkPersonMentionAsRead, MarkPrivateMessageAsRead, PasswordChange, PasswordReset, Register, SaveUserSettings, VerifyEmail } from "./interfaces/api/person";
4
- import { CreatePost, CreatePostLike, CreatePostReport, DeletePost, EditPost, GetPost, GetPosts, GetSiteMetadata, ListPostReports, LockPost, RemovePost, ResolvePostReport, SavePost, StickyPost } from "./interfaces/api/post";
4
+ import { CreatePost, CreatePostLike, CreatePostReport, DeletePost, EditPost, GetPost, GetPosts, GetSiteMetadata, ListPostReports, LockPost, MarkPostAsRead, RemovePost, ResolvePostReport, SavePost, StickyPost } from "./interfaces/api/post";
5
5
  import { ApproveRegistrationApplication, CreateSite, EditSite, GetModlog, GetSite, GetSiteConfig, GetUnreadRegistrationApplicationCount, LeaveAdmin, ListRegistrationApplications, ResolveObject, SaveSiteConfig, Search } from "./interfaces/api/site";
6
6
  import { CommunityJoin, PostJoin, UserJoin } from "./interfaces/api/websocket";
7
7
  /**
@@ -153,6 +153,10 @@ export declare class LemmyWebsocket {
153
153
  * A moderator can sticky a post ( IE stick it to the top of a community ).
154
154
  */
155
155
  stickyPost(form: StickyPost): string;
156
+ /**
157
+ * Mark a post as read.
158
+ */
159
+ markPostAsRead(form: MarkPostAsRead): string;
156
160
  /**
157
161
  * Save a post.
158
162
  */
package/dist/websocket.js CHANGED
@@ -218,6 +218,12 @@ var LemmyWebsocket = /** @class */ (function () {
218
218
  LemmyWebsocket.prototype.stickyPost = function (form) {
219
219
  return wrapper(others_1.UserOperation.StickyPost, form);
220
220
  };
221
+ /**
222
+ * Mark a post as read.
223
+ */
224
+ LemmyWebsocket.prototype.markPostAsRead = function (form) {
225
+ return wrapper(others_1.UserOperation.MarkPostAsRead, form);
226
+ };
221
227
  /**
222
228
  * Save a post.
223
229
  */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "lemmy-js-client",
3
3
  "description": "A javascript / typescript client for Lemmy",
4
- "version": "0.16.4-rc.1",
4
+ "version": "0.17.0-rc.10",
5
5
  "author": "Dessalines <tyhou13@gmx.com>",
6
6
  "license": "AGPL-3.0",
7
7
  "main": "./dist/index.js",
@@ -16,23 +16,23 @@
16
16
  },
17
17
  "repository": "https://github.com/LemmyNet/lemmy-js-client",
18
18
  "devDependencies": {
19
- "@types/node": "^17.0.10",
19
+ "@types/node": "^17.0.33",
20
20
  "@types/node-fetch": "^3.0.3",
21
- "@typescript-eslint/eslint-plugin": "^5.10.0",
22
- "@typescript-eslint/parser": "^5.10.0",
23
- "eslint": "^8.7.0",
21
+ "@typescript-eslint/eslint-plugin": "^5.23.0",
22
+ "@typescript-eslint/parser": "^5.23.0",
23
+ "eslint": "^8.15.0",
24
24
  "eslint-plugin-prettier": "^4.0.0",
25
- "husky": "^7.0.4",
26
- "lint-staged": "^12.2.2",
27
- "node-fetch": "^3.1.1",
28
- "prettier": "^2.5.0",
25
+ "husky": "^8.0.1",
26
+ "lint-staged": "^12.4.1",
27
+ "node-fetch": "^3.2.4",
28
+ "prettier": "^2.6.2",
29
29
  "prettier-plugin-import-sort": "^0.0.7",
30
30
  "prettier-plugin-organize-imports": "^2.3.4",
31
- "prettier-plugin-packagejson": "^2.2.15",
31
+ "prettier-plugin-packagejson": "^2.2.18",
32
32
  "sortpack": "^2.2.0",
33
33
  "typedoc": "^0.21.6",
34
34
  "typedoc-plugin-sourcefile-url": "^1.0.6",
35
- "typescript": "^4.5.4"
35
+ "typescript": "^4.6.4"
36
36
  },
37
37
  "types": "./dist/index.d.ts",
38
38
  "lint-staged": {