glitch-javascript-sdk 1.6.8 → 1.6.9
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 +4 -4
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/api/Hashtags.d.ts +2 -2
- package/dist/esm/index.js +4 -4
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/package.json +1 -1
- package/src/api/Hashtags.ts +4 -4
|
@@ -7,13 +7,13 @@ declare class Hashtags {
|
|
|
7
7
|
*
|
|
8
8
|
* @returns A promise
|
|
9
9
|
*/
|
|
10
|
-
static list<T>(
|
|
10
|
+
static list<T>(params?: Record<string, any>): AxiosPromise<Response<T>>;
|
|
11
11
|
/**
|
|
12
12
|
* Get the top hashtags for a title, campaign, or schedule.
|
|
13
13
|
*
|
|
14
14
|
* @param params - e.g. { title_id: '...', limit: 10, sort: 'sum_views', start_date: 'YYYY-MM-DD', end_date: 'YYYY-MM-DD' }
|
|
15
15
|
* @returns AxiosPromise of an array of aggregated hashtags
|
|
16
16
|
*/
|
|
17
|
-
static top<T>(
|
|
17
|
+
static top<T>(params?: Record<string, any>): AxiosPromise<Response<T>>;
|
|
18
18
|
}
|
|
19
19
|
export default Hashtags;
|
package/dist/esm/index.js
CHANGED
|
@@ -12189,8 +12189,8 @@ var Hashtags = /** @class */ (function () {
|
|
|
12189
12189
|
*
|
|
12190
12190
|
* @returns A promise
|
|
12191
12191
|
*/
|
|
12192
|
-
Hashtags.list = function (
|
|
12193
|
-
return Requests.processRoute(HashtagRoute.routes.list,
|
|
12192
|
+
Hashtags.list = function (params) {
|
|
12193
|
+
return Requests.processRoute(HashtagRoute.routes.list, {}, {}, params);
|
|
12194
12194
|
};
|
|
12195
12195
|
/**
|
|
12196
12196
|
* Get the top hashtags for a title, campaign, or schedule.
|
|
@@ -12198,8 +12198,8 @@ var Hashtags = /** @class */ (function () {
|
|
|
12198
12198
|
* @param params - e.g. { title_id: '...', limit: 10, sort: 'sum_views', start_date: 'YYYY-MM-DD', end_date: 'YYYY-MM-DD' }
|
|
12199
12199
|
* @returns AxiosPromise of an array of aggregated hashtags
|
|
12200
12200
|
*/
|
|
12201
|
-
Hashtags.top = function (
|
|
12202
|
-
return Requests.processRoute(HashtagRoute.routes.top,
|
|
12201
|
+
Hashtags.top = function (params) {
|
|
12202
|
+
return Requests.processRoute(HashtagRoute.routes.top, {}, {}, params);
|
|
12203
12203
|
};
|
|
12204
12204
|
return Hashtags;
|
|
12205
12205
|
}());
|