@stack0/sdk 0.5.14 → 0.5.16

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/index.mjs CHANGED
@@ -1373,6 +1373,7 @@ var CDN = class {
1373
1373
  * ```typescript
1374
1374
  * const job = await cdn.getJob('job-id');
1375
1375
  * console.log(`Status: ${job.status}, Progress: ${job.progress}%`);
1376
+ * if (job.status === 'failed') console.error(job.errorMessage);
1376
1377
  * ```
1377
1378
  */
1378
1379
  async getJob(jobId) {
@@ -1426,7 +1427,7 @@ var CDN = class {
1426
1427
  * ```
1427
1428
  */
1428
1429
  async getStreamingUrls(assetId) {
1429
- return this.http.get(`/cdn/video/stream/${assetId}`);
1430
+ return this.http.get(`/cdn/video/${assetId}/stream`);
1430
1431
  }
1431
1432
  /**
1432
1433
  * Generate a thumbnail from a video at a specific timestamp
@@ -2080,6 +2081,7 @@ var CDN = class {
2080
2081
  * output: {
2081
2082
  * format: 'mp4',
2082
2083
  * quality: '1080p',
2084
+ * aspectRatio: 'auto', // match first input's orientation ('9:16' forces vertical)
2083
2085
  * filename: 'final-video.mp4',
2084
2086
  * },
2085
2087
  * webhookUrl: 'https://your-app.com/webhook',