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/cjs/index.js +2 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/api/Influencers.d.ts +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/package.json +1 -1
- package/src/api/Influencers.ts +2 -2
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
package/src/api/Influencers.ts
CHANGED
|
@@ -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,
|
|
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
|
}
|