lemmy-js-client 0.17.0-rc.35 → 0.17.0-rc.36

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.
@@ -1,5 +1,4 @@
1
1
  import { Option } from "@sniptt/monads";
2
- import { CommentReplyView, CommentView, PersonMentionView } from "./views";
3
2
  export declare const VERSION = "v3";
4
3
  /**
5
4
  * All of the websocket operations available.
@@ -193,8 +192,3 @@ export declare class SiteMetadata {
193
192
  html: Option<string>;
194
193
  constructor(init: SiteMetadata);
195
194
  }
196
- export interface CommentNode {
197
- comment_view: CommentView | PersonMentionView | CommentReplyView;
198
- children: CommentNode[];
199
- depth: number;
200
- }
@@ -205,3 +205,8 @@ export declare class RegistrationApplicationView {
205
205
  creator: PersonSafe;
206
206
  admin: Option<PersonSafe>;
207
207
  }
208
+ export interface CommentNode {
209
+ comment_view: CommentView | PersonMentionView | CommentReplyView;
210
+ children: CommentNode[];
211
+ depth: number;
212
+ }
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.17.0-rc.35",
4
+ "version": "0.17.0-rc.36",
5
5
  "author": "Dessalines <tyhou13@gmx.com>",
6
6
  "license": "AGPL-3.0",
7
7
  "main": "./dist/index.js",
@@ -19,23 +19,23 @@
19
19
  "@sniptt/monads": "^0.5.10",
20
20
  "@types/node": "^17.0.33",
21
21
  "@types/node-fetch": "^3.0.3",
22
- "@typescript-eslint/eslint-plugin": "^5.23.0",
23
- "@typescript-eslint/parser": "^5.23.0",
22
+ "@typescript-eslint/eslint-plugin": "^5.31.0",
23
+ "@typescript-eslint/parser": "^5.31.0",
24
24
  "class-transformer": "^0.5.1",
25
- "eslint": "^8.15.0",
26
- "eslint-plugin-prettier": "^4.0.0",
25
+ "eslint": "^8.20.0",
26
+ "eslint-plugin-prettier": "^4.2.1",
27
27
  "husky": "^8.0.1",
28
28
  "lint-staged": "^12.4.1",
29
- "node-fetch": "^3.2.4",
30
- "prettier": "^2.6.2",
29
+ "node-fetch": "^3.2.9",
30
+ "prettier": "^2.7.1",
31
31
  "prettier-plugin-import-sort": "^0.0.7",
32
- "prettier-plugin-organize-imports": "^2.3.4",
32
+ "prettier-plugin-organize-imports": "^3.0.0",
33
33
  "prettier-plugin-packagejson": "^2.2.18",
34
34
  "reflect-metadata": "^0.1.13",
35
- "sortpack": "^2.2.0",
35
+ "sortpack": "^2.3.0",
36
36
  "typedoc": "^0.21.6",
37
37
  "typedoc-plugin-sourcefile-url": "^1.0.6",
38
- "typescript": "^4.6.4"
38
+ "typescript": "^4.7.4"
39
39
  },
40
40
  "types": "./dist/index.d.ts",
41
41
  "lint-staged": {