lemmy-js-client 1.0.0-enum-for-api.4 → 1.0.0-enum-for-api.5

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.
Files changed (2) hide show
  1. package/dist/http.d.ts +2 -2
  2. package/package.json +1 -1
package/dist/http.d.ts CHANGED
@@ -779,7 +779,7 @@ export declare class LemmyHttp extends Controller {
779
779
  * The msg is either an empty string, or extra non-translatable info.
780
780
  */
781
781
  export declare class LemmyError extends Error {
782
- status: number;
783
- constructor(name: string, status: number, msg?: string);
782
+ status?: number;
783
+ constructor(name: string, status?: number, msg?: string);
784
784
  }
785
785
  export {};
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": "1.0.0-enum-for-api.4",
4
+ "version": "1.0.0-enum-for-api.5",
5
5
  "author": "Dessalines",
6
6
  "license": "AGPL-3.0",
7
7
  "main": "./dist/index.js",