@wise/dynamic-flow-client 5.13.3 → 5.14.0

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/build/main.js CHANGED
@@ -6876,8 +6876,12 @@ var createFlowController = (props) => {
6876
6876
  switch (command.type) {
6877
6877
  case "complete": {
6878
6878
  onCompletion(command.result);
6879
- rootComponent.stop();
6880
6879
  trackEvent("Succeeded");
6880
+ if (features.isEnabled("continueAfterCompletion")) {
6881
+ rootComponent.setLoadingState("idle");
6882
+ } else {
6883
+ rootComponent.stop();
6884
+ }
6881
6885
  break;
6882
6886
  }
6883
6887
  case "replace-step": {
package/build/main.mjs CHANGED
@@ -6846,8 +6846,12 @@ var createFlowController = (props) => {
6846
6846
  switch (command.type) {
6847
6847
  case "complete": {
6848
6848
  onCompletion(command.result);
6849
- rootComponent.stop();
6850
6849
  trackEvent("Succeeded");
6850
+ if (features.isEnabled("continueAfterCompletion")) {
6851
+ rootComponent.setLoadingState("idle");
6852
+ } else {
6853
+ rootComponent.stop();
6854
+ }
6851
6855
  break;
6852
6856
  }
6853
6857
  case "replace-step": {