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.
@@ -16,6 +16,6 @@ declare class Influencers {
16
16
  *
17
17
  * @returns promise
18
18
  */
19
- static viewInfluencer<T>(params?: Record<string, any>): AxiosPromise<Response<T>>;
19
+ static viewInfluencer<T>(influencer_id: string, params?: Record<string, any>): AxiosPromise<Response<T>>;
20
20
  }
21
21
  export default Influencers;
package/dist/esm/index.js CHANGED
@@ -9610,8 +9610,8 @@ var Influencers = /** @class */ (function () {
9610
9610
  *
9611
9611
  * @returns promise
9612
9612
  */
9613
- Influencers.viewInfluencer = function (params) {
9614
- return Requests.processRoute(InfluencerRoutes.routes.viewInfluencer, undefined, undefined, params);
9613
+ Influencers.viewInfluencer = function (influencer_id, params) {
9614
+ return Requests.processRoute(InfluencerRoutes.routes.viewInfluencer, undefined, { influencer_id: influencer_id }, params);
9615
9615
  };
9616
9616
  return Influencers;
9617
9617
  }());