glitch-javascript-sdk 1.7.5 → 1.7.6
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 +7 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/api/Titles.d.ts +1 -0
- package/dist/esm/index.js +7 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/package.json +1 -1
- package/src/api/Titles.ts +13 -0
- package/src/routes/TitlesRoute.ts +4 -0
package/dist/esm/api/Titles.d.ts
CHANGED
|
@@ -232,5 +232,6 @@ declare class Titles {
|
|
|
232
232
|
* Optionally filter by platform/device_type/OS/version and group by one dimension.
|
|
233
233
|
*/
|
|
234
234
|
static sessionsAverage<T>(title_id: string, params?: Record<string, any>): AxiosPromise<Response<T>>;
|
|
235
|
+
static sessionsHistogram<T>(title_id: string, params?: Record<string, any>): AxiosPromise<Response<T>>;
|
|
235
236
|
}
|
|
236
237
|
export default Titles;
|
package/dist/esm/index.js
CHANGED
|
@@ -9665,6 +9665,10 @@ var TitlesRoute = /** @class */ (function () {
|
|
|
9665
9665
|
url: '/titles/{title_id}/installs/sessions/average',
|
|
9666
9666
|
method: HTTP_METHODS.GET
|
|
9667
9667
|
},
|
|
9668
|
+
sessionsHistogram: {
|
|
9669
|
+
url: '/titles/{title_id}/sessions/histogram',
|
|
9670
|
+
method: HTTP_METHODS.GET
|
|
9671
|
+
},
|
|
9668
9672
|
};
|
|
9669
9673
|
return TitlesRoute;
|
|
9670
9674
|
}());
|
|
@@ -9968,6 +9972,9 @@ var Titles = /** @class */ (function () {
|
|
|
9968
9972
|
Titles.sessionsAverage = function (title_id, params) {
|
|
9969
9973
|
return Requests.processRoute(TitlesRoute.routes.sessionsAverage, {}, { title_id: title_id }, params);
|
|
9970
9974
|
};
|
|
9975
|
+
Titles.sessionsHistogram = function (title_id, params) {
|
|
9976
|
+
return Requests.processRoute(TitlesRoute.routes.sessionsHistogram, {}, { title_id: title_id }, params);
|
|
9977
|
+
};
|
|
9971
9978
|
return Titles;
|
|
9972
9979
|
}());
|
|
9973
9980
|
|