glitch-javascript-sdk 3.0.3 → 3.0.4

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, params?: Record<string, any>): AxiosPromise<Response<T>>;
491
+ static getPlaySession<T>(title_id: string, data?: object, 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
@@ -11883,7 +11883,7 @@ var TitlesRoute = /** @class */ (function () {
11883
11883
  // Aegis Deployment
11884
11884
  getDeploymentUploadUrl: { url: '/titles/{title_id}/deployments/presigned-url', method: HTTP_METHODS.POST },
11885
11885
  confirmDeployment: { url: '/titles/{title_id}/deployments/confirm', method: HTTP_METHODS.POST },
11886
- getPlaySession: { url: '/titles/{title_id}/play', method: HTTP_METHODS.GET },
11886
+ getPlaySession: { url: '/titles/{title_id}/play', method: HTTP_METHODS.POST },
11887
11887
  initiateMultipartUpload: { url: '/titles/{title_id}/deployments/multipart/initiate', method: HTTP_METHODS.POST },
11888
11888
  getMultipartUrls: { url: '/titles/{title_id}/deployments/multipart/urls', method: HTTP_METHODS.POST },
11889
11889
  completeMultipartUpload: { url: '/titles/{title_id}/deployments/multipart/complete', method: HTTP_METHODS.POST },
@@ -12599,8 +12599,8 @@ var Titles = /** @class */ (function () {
12599
12599
  * Initializes a play session. Handles age-gating and license verification.
12600
12600
  * Returns the CDN URL for WASM/iFrame or Signaling URL for Pixel Streaming.
12601
12601
  */
12602
- Titles.getPlaySession = function (title_id, params) {
12603
- return Requests.processRoute(TitlesRoute.routes.getPlaySession, {}, { title_id: title_id }, params);
12602
+ Titles.getPlaySession = function (title_id, data, params) {
12603
+ return Requests.processRoute(TitlesRoute.routes.getPlaySession, data, { title_id: title_id }, params);
12604
12604
  };
12605
12605
  /**
12606
12606
  * List all developer payouts for a title.