lemmy-js-client 0.17.2-rc.21 → 0.17.2-rc.24
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/http.d.ts +1 -5
- package/dist/http.js +340 -393
- package/dist/index.d.ts +0 -1
- package/dist/index.js +0 -1
- package/dist/types/GetCommunityResponse.d.ts +0 -1
- package/dist/types/SiteResponse.d.ts +2 -0
- package/dist/websocket.js +180 -182
- package/package.json +11 -4
package/dist/http.d.ts
CHANGED
@@ -133,9 +133,7 @@ import { UploadImage, UploadImageResponse } from "./types/others";
|
|
133
133
|
* Helps build lemmy HTTP requests.
|
134
134
|
*/
|
135
135
|
export declare class LemmyHttp {
|
136
|
-
private
|
137
|
-
private headers;
|
138
|
-
private pictrsUrl;
|
136
|
+
#private;
|
139
137
|
/**
|
140
138
|
* Generates a new instance of LemmyHttp.
|
141
139
|
* @param baseUrl the base url, without the vX version: https://lemmy.ml -> goes to https://lemmy.ml/api/vX
|
@@ -658,6 +656,4 @@ export declare class LemmyHttp {
|
|
658
656
|
* Upload an image to the server.
|
659
657
|
*/
|
660
658
|
uploadImage({ image, auth, }: UploadImage): Promise<UploadImageResponse>;
|
661
|
-
private buildFullUrl;
|
662
|
-
private wrapper;
|
663
659
|
}
|