glitch-javascript-sdk 2.3.7 → 2.3.8

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.
package/dist/index.d.ts CHANGED
@@ -3628,6 +3628,14 @@ declare class SocialPosts {
3628
3628
  * @returns promise
3629
3629
  */
3630
3630
  static performAction<T>(post_id: string, action: 'like' | 'unlike' | 'repost' | 'unrepost' | 'vote_up' | 'vote_down' | 'unvote'): AxiosPromise<Response<T>>;
3631
+ /**
3632
+ * Perform a social action (Like, Repost, Vote) on a comment.
3633
+ *
3634
+ * @param comment_id The ID of the comment.
3635
+ * @param action The action to perform.
3636
+ * @returns promise
3637
+ */
3638
+ static performCommentAction<T>(comment_id: string, action: 'like' | 'unlike' | 'repost' | 'unrepost' | 'vote_up' | 'vote_down' | 'unvote'): AxiosPromise<Response<T>>;
3631
3639
  }
3632
3640
 
3633
3641
  declare class Titles {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "glitch-javascript-sdk",
3
- "version": "2.3.7",
3
+ "version": "2.3.8",
4
4
  "description": "Javascript SDK for Glitch",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",