glitch-javascript-sdk 1.5.4 → 1.5.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.
package/dist/index.d.ts CHANGED
@@ -2667,7 +2667,7 @@ declare class SocialPosts {
2667
2667
  *
2668
2668
  * @returns promise
2669
2669
  */
2670
- static progression<T>(post_id: string, params?: Record<string, any>): AxiosPromise<Response<T>>;
2670
+ static progression<T>(params?: Record<string, any>): AxiosPromise<Response<T>>;
2671
2671
  /**
2672
2672
  * Add media to a social media post.
2673
2673
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "glitch-javascript-sdk",
3
- "version": "1.5.4",
3
+ "version": "1.5.5",
4
4
  "description": "Javascript SDK for Glitch",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -107,9 +107,9 @@ class SocialPosts {
107
107
  *
108
108
  * @returns promise
109
109
  */
110
- public static progression<T>(post_id: string, params?: Record<string, any>): AxiosPromise<Response<T>> {
110
+ public static progression<T>(params?: Record<string, any>): AxiosPromise<Response<T>> {
111
111
 
112
- return Requests.processRoute(SocialPostsRoute.routes.progression, {}, { post_id: post_id }, params);
112
+ return Requests.processRoute(SocialPostsRoute.routes.progression, {}, { }, params);
113
113
  }
114
114
 
115
115
  /**
@@ -11,7 +11,7 @@ class SocialPostsRoute {
11
11
  deletePost : { url: '/socialposts/{post_id}', method: HTTP_METHODS.DELETE },
12
12
  dispute: { url: '/social/{post_id}/dispute', method: HTTP_METHODS.POST },
13
13
  history : { url: '/socialposts/{post_id}/history', method: HTTP_METHODS.GET },
14
- progression : { url: '/socialposts/{post_id}/progression', method: HTTP_METHODS.GET },
14
+ progression : { url: '/socialposts/progression', method: HTTP_METHODS.GET },
15
15
  addMedia: { url: '/socialposts/{post_id}/addMedia', method: HTTP_METHODS.POST },
16
16
  removeMedia: { url: '/socialposts/{post_id}/removeMedia/{media_id}', method: HTTP_METHODS.DELETE },
17
17
  reschedule: { url: '/socialposts/{post_id}/reschedule', method: HTTP_METHODS.POST },