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.
@@ -75,7 +75,7 @@ declare class SocialPosts {
75
75
  *
76
76
  * @returns promise
77
77
  */
78
- static progression<T>(post_id: string, params?: Record<string, any>): AxiosPromise<Response<T>>;
78
+ static progression<T>(params?: Record<string, any>): AxiosPromise<Response<T>>;
79
79
  /**
80
80
  * Add media to a social media post.
81
81
  *
package/dist/esm/index.js CHANGED
@@ -9358,7 +9358,7 @@ var SocialPostsRoute = /** @class */ (function () {
9358
9358
  deletePost: { url: '/socialposts/{post_id}', method: HTTP_METHODS.DELETE },
9359
9359
  dispute: { url: '/social/{post_id}/dispute', method: HTTP_METHODS.POST },
9360
9360
  history: { url: '/socialposts/{post_id}/history', method: HTTP_METHODS.GET },
9361
- progression: { url: '/socialposts/{post_id}/progression', method: HTTP_METHODS.GET },
9361
+ progression: { url: '/socialposts/progression', method: HTTP_METHODS.GET },
9362
9362
  addMedia: { url: '/socialposts/{post_id}/addMedia', method: HTTP_METHODS.POST },
9363
9363
  removeMedia: { url: '/socialposts/{post_id}/removeMedia/{media_id}', method: HTTP_METHODS.DELETE },
9364
9364
  reschedule: { url: '/socialposts/{post_id}/reschedule', method: HTTP_METHODS.POST },
@@ -9459,8 +9459,8 @@ var SocialPosts = /** @class */ (function () {
9459
9459
  *
9460
9460
  * @returns promise
9461
9461
  */
9462
- SocialPosts.progression = function (post_id, params) {
9463
- return Requests.processRoute(SocialPostsRoute.routes.progression, {}, { post_id: post_id }, params);
9462
+ SocialPosts.progression = function (params) {
9463
+ return Requests.processRoute(SocialPostsRoute.routes.progression, {}, {}, params);
9464
9464
  };
9465
9465
  /**
9466
9466
  * Add media to a social media post.