glitch-javascript-sdk 0.9.1 → 0.9.2

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
@@ -2778,7 +2778,7 @@ declare class Influencers {
2778
2778
  *
2779
2779
  * @returns promise
2780
2780
  */
2781
- static viewInfluencer<T>(params?: Record<string, any>): AxiosPromise<Response<T>>;
2781
+ static viewInfluencer<T>(influencer_id: string, params?: Record<string, any>): AxiosPromise<Response<T>>;
2782
2782
  }
2783
2783
 
2784
2784
  interface Route {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "glitch-javascript-sdk",
3
- "version": "0.9.1",
3
+ "version": "0.9.2",
4
4
  "description": "Javascript SDK for Glitch",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -23,8 +23,8 @@ class Influencers {
23
23
  *
24
24
  * @returns promise
25
25
  */
26
- public static viewInfluencer<T>(params?: Record<string, any>) : AxiosPromise<Response<T>> {
27
- return Requests.processRoute(InfluencerRoutes.routes.viewInfluencer, undefined, undefined, params);
26
+ public static viewInfluencer<T>(influencer_id : string, params?: Record<string, any>) : AxiosPromise<Response<T>> {
27
+ return Requests.processRoute(InfluencerRoutes.routes.viewInfluencer, undefined, {influencer_id : influencer_id}, params);
28
28
  }
29
29
 
30
30
  }