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/cjs/index.js +3 -3
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/api/SocialPosts.d.ts +1 -1
- package/dist/esm/index.js +3 -3
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/package.json +1 -1
- package/src/api/SocialPosts.ts +2 -2
- package/src/routes/SocialPostsRoute.ts +1 -1
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>(
|
|
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
package/src/api/SocialPosts.ts
CHANGED
|
@@ -107,9 +107,9 @@ class SocialPosts {
|
|
|
107
107
|
*
|
|
108
108
|
* @returns promise
|
|
109
109
|
*/
|
|
110
|
-
public static progression<T>(
|
|
110
|
+
public static progression<T>(params?: Record<string, any>): AxiosPromise<Response<T>> {
|
|
111
111
|
|
|
112
|
-
return Requests.processRoute(SocialPostsRoute.routes.progression, {}, {
|
|
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/
|
|
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 },
|