roboto-js 1.4.25 → 1.4.26
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/rbt_api.cjs +2 -2
- package/dist/esm/rbt_api.js +2 -2
- package/package.json +1 -1
- package/src/rbt_api.js +2 -2
package/dist/cjs/rbt_api.cjs
CHANGED
|
@@ -1032,8 +1032,8 @@ var RbtApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1032
1032
|
onProgress(response);
|
|
1033
1033
|
}
|
|
1034
1034
|
|
|
1035
|
-
// Continue polling if the status is 'RUNNING'
|
|
1036
|
-
if (['RUNNING'].includes(response.status)) {
|
|
1035
|
+
// Continue polling if the status is 'RUNNING' or STOPPING
|
|
1036
|
+
if (['RUNNING', 'STOPPING'].includes(response.status)) {
|
|
1037
1037
|
setTimeout(checkProgress, 2000); // Poll every 2 seconds
|
|
1038
1038
|
}
|
|
1039
1039
|
case 8:
|
package/dist/esm/rbt_api.js
CHANGED
|
@@ -539,8 +539,8 @@ export default class RbtApi {
|
|
|
539
539
|
onProgress(response);
|
|
540
540
|
}
|
|
541
541
|
|
|
542
|
-
// Continue polling if the status is 'RUNNING'
|
|
543
|
-
if (['RUNNING'].includes(response.status)) {
|
|
542
|
+
// Continue polling if the status is 'RUNNING' or STOPPING
|
|
543
|
+
if (['RUNNING', 'STOPPING'].includes(response.status)) {
|
|
544
544
|
setTimeout(checkProgress, 2000); // Poll every 2 seconds
|
|
545
545
|
}
|
|
546
546
|
};
|
package/package.json
CHANGED
package/src/rbt_api.js
CHANGED
|
@@ -579,8 +579,8 @@ export default class RbtApi {
|
|
|
579
579
|
onProgress(response);
|
|
580
580
|
}
|
|
581
581
|
|
|
582
|
-
// Continue polling if the status is 'RUNNING'
|
|
583
|
-
if (['RUNNING'].includes(response.status)) {
|
|
582
|
+
// Continue polling if the status is 'RUNNING' or STOPPING
|
|
583
|
+
if (['RUNNING','STOPPING'].includes(response.status)) {
|
|
584
584
|
setTimeout(checkProgress, 2000); // Poll every 2 seconds
|
|
585
585
|
}
|
|
586
586
|
};
|