flowscale 1.3.3 → 1.3.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/index.js CHANGED
@@ -414,8 +414,17 @@ var FlowscaleAPI = /** @class */ (function () {
414
414
  continue;
415
415
  }
416
416
  if (result.output.status === 'success') {
417
+ if (result.output.data.file_content !== null) {
418
+ successfulOutputs.push({
419
+ filename: result.filename,
420
+ download_url: undefined,
421
+ file_content: result.output.data.file_content || '',
422
+ generation_status: result.output.data.generation_status || 'success'
423
+ });
424
+ }
417
425
  successfulOutputs.push({
418
426
  filename: result.filename,
427
+ file_content: undefined,
419
428
  download_url: result.output.data.download_url || '',
420
429
  generation_status: result.output.data.generation_status || 'success'
421
430
  });
package/dist/types.d.ts CHANGED
@@ -58,7 +58,8 @@ export interface GetAllOutputsResponse {
58
58
  status: string;
59
59
  data: Array<{
60
60
  filename: string;
61
- download_url: string;
61
+ download_url?: string;
62
+ file_content?: any;
62
63
  generation_status: string;
63
64
  }>;
64
65
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flowscale",
3
- "version": "1.3.3",
3
+ "version": "1.3.4",
4
4
  "description": "An NPM library for communicating with the Flowscale APIs",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",