ugcinc 4.1.51 → 4.1.52

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.
Files changed (2) hide show
  1. package/dist/render.js +4 -3
  2. package/package.json +1 -1
package/dist/render.js CHANGED
@@ -13,8 +13,9 @@ exports.submitAutoCaptionRenderJob = submitAutoCaptionRenderJob;
13
13
  exports.submitInstagramDmRenderJob = submitInstagramDmRenderJob;
14
14
  exports.submitIMessageDmRenderJob = submitIMessageDmRenderJob;
15
15
  // Modal renderer endpoints
16
- const RENDER_SUBMIT_URL = "https://aidangollan--ugcinc-render-renderer-submit-job.modal.run";
17
- const RENDER_STATUS_URL = "https://aidangollan--ugcinc-render-renderer-get-status.modal.run";
16
+ const RENDER_BASE_URL = "https://render.ugc.inc";
17
+ const RENDER_SUBMIT_URL = `${RENDER_BASE_URL}/submit-job`;
18
+ const RENDER_STATUS_URL = `${RENDER_BASE_URL}/get-status`;
18
19
  // =============================================================================
19
20
  // DM Message Transformation Helpers
20
21
  // =============================================================================
@@ -172,7 +173,7 @@ async function getRenderJobStatus(jobId) {
172
173
  }
173
174
  // Fallback to download endpoint if Modal didn't provide a URL
174
175
  if (data.status === 'completed' && !data.download_url) {
175
- data.download_url = `https://aidangollan--ugcinc-render-renderer-download.modal.run?job_id=${jobId}`;
176
+ data.download_url = `${RENDER_BASE_URL}/download?job_id=${jobId}`;
176
177
  }
177
178
  return { ok: true, code: 200, message: "Job status retrieved", data };
178
179
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ugcinc",
3
- "version": "4.1.51",
3
+ "version": "4.1.52",
4
4
  "description": "TypeScript/JavaScript client for the UGC Inc API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",