glitch-javascript-sdk 2.8.8 → 2.8.9

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.
@@ -488,7 +488,7 @@ declare class Titles {
488
488
  * Initializes a play session. Handles age-gating and license verification.
489
489
  * Returns the CDN URL for WASM/iFrame or Signaling URL for Pixel Streaming.
490
490
  */
491
- static getPlaySession<T>(title_id: string): AxiosPromise<Response<T>>;
491
+ static getPlaySession<T>(title_id: string, params?: Record<string, any>): AxiosPromise<Response<T>>;
492
492
  /**
493
493
  * List all developer payouts for a title.
494
494
  */
package/dist/esm/index.js CHANGED
@@ -12404,8 +12404,8 @@ var Titles = /** @class */ (function () {
12404
12404
  * Initializes a play session. Handles age-gating and license verification.
12405
12405
  * Returns the CDN URL for WASM/iFrame or Signaling URL for Pixel Streaming.
12406
12406
  */
12407
- Titles.getPlaySession = function (title_id) {
12408
- return Requests.processRoute(TitlesRoute.routes.getPlaySession, {}, { title_id: title_id });
12407
+ Titles.getPlaySession = function (title_id, params) {
12408
+ return Requests.processRoute(TitlesRoute.routes.getPlaySession, {}, { title_id: title_id }, params);
12409
12409
  };
12410
12410
  /**
12411
12411
  * List all developer payouts for a title.