glitch-javascript-sdk 3.2.24 → 3.2.25
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/GameShows.d.ts +4 -0
- package/dist/esm/index.js +7 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +4 -0
- package/package.json +1 -1
- package/src/api/GameShows.ts +7 -0
- package/src/routes/GameShowsRoute.ts +1 -0
package/dist/cjs/index.js
CHANGED
|
@@ -26921,6 +26921,7 @@ var GameShowsRoute = /** @class */ (function () {
|
|
|
26921
26921
|
analyticsReport: { url: '/gameshows/{show_id}/analytics/report', method: HTTP_METHODS.GET },
|
|
26922
26922
|
joinWishlist: { url: '/gameshows/{show_id}/wishlist', method: HTTP_METHODS.POST },
|
|
26923
26923
|
listWishlist: { url: '/gameshows/{show_id}/wishlist', method: HTTP_METHODS.GET },
|
|
26924
|
+
listForTitle: { url: '/titles/{title_id}/gameshows', method: HTTP_METHODS.GET },
|
|
26924
26925
|
};
|
|
26925
26926
|
return GameShowsRoute;
|
|
26926
26927
|
}());
|
|
@@ -27162,6 +27163,12 @@ var GameShows = /** @class */ (function () {
|
|
|
27162
27163
|
GameShows.listWishlist = function (show_id, params) {
|
|
27163
27164
|
return Requests.processRoute(GameShowsRoute.routes.listWishlist, {}, { show_id: show_id }, params);
|
|
27164
27165
|
};
|
|
27166
|
+
/**
|
|
27167
|
+
* List public game shows that include a title. Useful for game-page festival banners.
|
|
27168
|
+
*/
|
|
27169
|
+
GameShows.listForTitle = function (title_id, params) {
|
|
27170
|
+
return Requests.processRoute(GameShowsRoute.routes.listForTitle, {}, { title_id: title_id }, params);
|
|
27171
|
+
};
|
|
27165
27172
|
return GameShows;
|
|
27166
27173
|
}());
|
|
27167
27174
|
|