lemmy-js-client 0.20.0-api-v4.11 → 0.20.0-api-v4.12

Sign up to get free protection for your applications and to get access to all the features.
package/dist/http.d.ts CHANGED
@@ -858,13 +858,13 @@ export declare class LemmyHttp {
858
858
  /**
859
859
  * Globally block an instance as admin.
860
860
  *
861
- * `HTTP.Post /admin/block_instance`
861
+ * `HTTP.Post /admin/instance/block`
862
862
  */
863
863
  adminBlockInstance(form: AdminBlockInstanceParams, options?: RequestOptions): Promise<SuccessResponse>;
864
864
  /**
865
865
  * Globally allow an instance as admin.
866
866
  *
867
- * `HTTP.Post /admin/allow_instance`
867
+ * `HTTP.Post /admin/instance/allow`
868
868
  */
869
869
  adminAllowInstance(form: AdminAllowInstanceParams, options?: RequestOptions): Promise<SuccessResponse>;
870
870
  /**
package/dist/http.js CHANGED
@@ -969,18 +969,18 @@ class LemmyHttp {
969
969
  /**
970
970
  * Globally block an instance as admin.
971
971
  *
972
- * `HTTP.Post /admin/block_instance`
972
+ * `HTTP.Post /admin/instance/block`
973
973
  */
974
974
  adminBlockInstance(form, options) {
975
- return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/admin/block_instance", form, options);
975
+ return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/admin/instance/block", form, options);
976
976
  }
977
977
  /**
978
978
  * Globally allow an instance as admin.
979
979
  *
980
- * `HTTP.Post /admin/allow_instance`
980
+ * `HTTP.Post /admin/instance/allow`
981
981
  */
982
982
  adminAllowInstance(form, options) {
983
- return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/admin/allow_instance", form, options);
983
+ return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/admin/instance/allow", form, options);
984
984
  }
985
985
  /**
986
986
  * Upload an image to the server.
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.20.0-api-v4.11",
4
+ "version": "0.20.0-api-v4.12",
5
5
  "author": "Dessalines <tyhou13@gmx.com>",
6
6
  "license": "AGPL-3.0",
7
7
  "main": "./dist/index.js",