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.
package/dist/cjs/index.js CHANGED
@@ -25067,7 +25067,7 @@ var TitlesRoute = /** @class */ (function () {
25067
25067
  // Aegis Deployment
25068
25068
  getDeploymentUploadUrl: { url: '/titles/{title_id}/deployments/presigned-url', method: HTTP_METHODS.POST },
25069
25069
  confirmDeployment: { url: '/titles/{title_id}/deployments/confirm', method: HTTP_METHODS.POST },
25070
- getPlaySession: { url: '/titles/{title_id}/play', method: HTTP_METHODS.GET },
25070
+ getPlaySession: { url: '/titles/{title_id}/play', method: HTTP_METHODS.POST },
25071
25071
  initiateMultipartUpload: { url: '/titles/{title_id}/deployments/multipart/initiate', method: HTTP_METHODS.POST },
25072
25072
  getMultipartUrls: { url: '/titles/{title_id}/deployments/multipart/urls', method: HTTP_METHODS.POST },
25073
25073
  completeMultipartUpload: { url: '/titles/{title_id}/deployments/multipart/complete', method: HTTP_METHODS.POST },
@@ -25783,8 +25783,8 @@ var Titles = /** @class */ (function () {
25783
25783
  * Initializes a play session. Handles age-gating and license verification.
25784
25784
  * Returns the CDN URL for WASM/iFrame or Signaling URL for Pixel Streaming.
25785
25785
  */
25786
- Titles.getPlaySession = function (title_id, params) {
25787
- return Requests.processRoute(TitlesRoute.routes.getPlaySession, {}, { title_id: title_id }, params);
25786
+ Titles.getPlaySession = function (title_id, data, params) {
25787
+ return Requests.processRoute(TitlesRoute.routes.getPlaySession, data, { title_id: title_id }, params);
25788
25788
  };
25789
25789
  /**
25790
25790
  * List all developer payouts for a title.