glitch-javascript-sdk 1.6.8 → 1.7.0

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 CHANGED
@@ -22825,6 +22825,7 @@ var TitlesRoute = /** @class */ (function () {
22825
22825
  retentionSummary: { url: '/titles/{title_id}/retentions/summary', method: HTTP_METHODS.GET },
22826
22826
  activeRetentions: { url: '/titles/{title_id}/retentions/active', method: HTTP_METHODS.GET },
22827
22827
  retentionAnalysis: { url: '/titles/{title_id}/retentions/analysis', method: HTTP_METHODS.GET },
22828
+ distinctDimensions: { url: '/titles/{title_id}/installs/distinctDimensions', method: HTTP_METHODS.GET },
22828
22829
  };
22829
22830
  return TitlesRoute;
22830
22831
  }());
@@ -23111,6 +23112,9 @@ var Titles = /** @class */ (function () {
23111
23112
  Titles.retentionAnalysis = function (title_id, params) {
23112
23113
  return Requests.processRoute(TitlesRoute.routes.retentionAnalysis, {}, { title_id: title_id }, params);
23113
23114
  };
23115
+ Titles.distinctDimensions = function (title_id, params) {
23116
+ return Requests.processRoute(TitlesRoute.routes.distinctDimensions, {}, { title_id: title_id }, params);
23117
+ };
23114
23118
  return Titles;
23115
23119
  }());
23116
23120
 
@@ -25373,8 +25377,8 @@ var Hashtags = /** @class */ (function () {
25373
25377
  *
25374
25378
  * @returns A promise
25375
25379
  */
25376
- Hashtags.list = function (data, params) {
25377
- return Requests.processRoute(HashtagRoute.routes.list, data, {}, params);
25380
+ Hashtags.list = function (params) {
25381
+ return Requests.processRoute(HashtagRoute.routes.list, {}, {}, params);
25378
25382
  };
25379
25383
  /**
25380
25384
  * Get the top hashtags for a title, campaign, or schedule.
@@ -25382,8 +25386,8 @@ var Hashtags = /** @class */ (function () {
25382
25386
  * @param params - e.g. { title_id: '...', limit: 10, sort: 'sum_views', start_date: 'YYYY-MM-DD', end_date: 'YYYY-MM-DD' }
25383
25387
  * @returns AxiosPromise of an array of aggregated hashtags
25384
25388
  */
25385
- Hashtags.top = function (data, params) {
25386
- return Requests.processRoute(HashtagRoute.routes.top, data, {}, params);
25389
+ Hashtags.top = function (params) {
25390
+ return Requests.processRoute(HashtagRoute.routes.top, {}, {}, params);
25387
25391
  };
25388
25392
  return Hashtags;
25389
25393
  }());