glitch-javascript-sdk 1.6.2 → 1.6.3

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
@@ -24151,6 +24151,7 @@ var GamesRoutes = /** @class */ (function () {
24151
24151
  listGames: { url: '/games', method: HTTP_METHODS.GET },
24152
24152
  viewGame: { url: '/games/{game_id}', method: HTTP_METHODS.GET },
24153
24153
  createCampaignData: { url: '/games/{game_id}/generateCampaign', method: HTTP_METHODS.POST },
24154
+ createCampaignWithTitle: { url: '/games/{game_id}/generateCampaignWithTitle', method: HTTP_METHODS.POST },
24154
24155
  createGameTitle: { url: '/games/{game_id}/generateTitle', method: HTTP_METHODS.POST },
24155
24156
  createGameScheduler: { url: '/games/{game_id}/generateScheduler', method: HTTP_METHODS.POST },
24156
24157
  };
@@ -24190,6 +24191,14 @@ var Games = /** @class */ (function () {
24190
24191
  Games.createCampaignData = function (game_id, data, params) {
24191
24192
  return Requests.processRoute(GamesRoutes.routes.createCampaignData, data, { game_id: game_id }, params);
24192
24193
  };
24194
+ /**
24195
+ * Generates campaign data with a game title.
24196
+ *
24197
+ * @returns promise
24198
+ */
24199
+ Games.createCampaignWithTitle = function (game_id, data, params) {
24200
+ return Requests.processRoute(GamesRoutes.routes.createCampaignWithTitle, data, { game_id: game_id }, params);
24201
+ };
24193
24202
  /**
24194
24203
  * Generates game data for this game.
24195
24204
  *