flowscale 1.3.2 → 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 +9 -2
- package/dist/types.d.ts +2 -1
- package/package.json +1 -1
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
|
});
|
|
@@ -685,13 +694,11 @@ var FlowscaleAPI = /** @class */ (function () {
|
|
|
685
694
|
switch (_a.label) {
|
|
686
695
|
case 0:
|
|
687
696
|
if (!callback) {
|
|
688
|
-
this.logError("No callback");
|
|
689
697
|
return [2 /*return*/];
|
|
690
698
|
}
|
|
691
699
|
_a.label = 1;
|
|
692
700
|
case 1:
|
|
693
701
|
_a.trys.push([1, 3, , 4]);
|
|
694
|
-
this.logInfo("got INTERMEDIATe UPDATE");
|
|
695
702
|
return [4 /*yield*/, callback(update)];
|
|
696
703
|
case 2:
|
|
697
704
|
_a.sent();
|
package/dist/types.d.ts
CHANGED