glitch-javascript-sdk 2.9.5 → 2.9.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 +5 -1
- package/src/routes/TitlesRoute.ts +5 -0
package/dist/index.d.ts
CHANGED
|
@@ -4469,6 +4469,7 @@ declare class Titles {
|
|
|
4469
4469
|
* @param params Optional filters like { around_me: true, install_id: 'uuid', season_id: 'uuid' }
|
|
4470
4470
|
*/
|
|
4471
4471
|
static getProgressionLeaderboard<T>(title_id: string, api_key: string, params?: Record<string, any>): AxiosPromise<Response<T>>;
|
|
4472
|
+
static getTechnicalEventSummary<T>(title_id: string, params?: Record<string, any>): AxiosPromise<Response<T>>;
|
|
4472
4473
|
}
|
|
4473
4474
|
|
|
4474
4475
|
declare class Campaigns {
|
package/package.json
CHANGED
package/src/api/Titles.ts
CHANGED
|
@@ -1154,7 +1154,7 @@ class Titles {
|
|
|
1154
1154
|
return Requests.processRoute(TitlesRoute.routes.completeMultipartUpload, data, { title_id });
|
|
1155
1155
|
}
|
|
1156
1156
|
|
|
1157
|
-
|
|
1157
|
+
// --- Developer Definition Methods ---
|
|
1158
1158
|
|
|
1159
1159
|
public static listProgressionStats<T>(title_id: string): AxiosPromise<Response<T>> {
|
|
1160
1160
|
return Requests.processRoute(TitlesRoute.routes.progressionStatsList, undefined, { title_id });
|
|
@@ -1215,6 +1215,10 @@ class Titles {
|
|
|
1215
1215
|
public static getProgressionLeaderboard<T>(title_id: string, api_key: string, params?: Record<string, any>): AxiosPromise<Response<T>> {
|
|
1216
1216
|
return Requests.processRoute(TitlesRoute.routes.progressionLeaderboardView, undefined, { title_id, api_key }, params);
|
|
1217
1217
|
}
|
|
1218
|
+
|
|
1219
|
+
public static getTechnicalEventSummary<T>(title_id: string, params?: Record<string, any>): AxiosPromise<Response<T>> {
|
|
1220
|
+
return Requests.processRoute(TitlesRoute.routes.getTechnicalEventSummary, {}, { title_id }, params);
|
|
1221
|
+
}
|
|
1218
1222
|
}
|
|
1219
1223
|
|
|
1220
1224
|
export default Titles;
|
|
@@ -252,6 +252,11 @@ class TitlesRoute {
|
|
|
252
252
|
method: HTTP_METHODS.POST
|
|
253
253
|
},
|
|
254
254
|
|
|
255
|
+
getTechnicalEventSummary: {
|
|
256
|
+
url: '/titles/{title_id}/analytics/events-summary',
|
|
257
|
+
method: HTTP_METHODS.GET
|
|
258
|
+
},
|
|
259
|
+
|
|
255
260
|
|
|
256
261
|
// --- Title Progression Definitions (Developer API) ---
|
|
257
262
|
progressionStatsList: { url: '/titles/{title_id}/progression/stats', method: HTTP_METHODS.GET },
|