@wise/dynamic-flow-client 3.31.1 → 3.31.2

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
@@ -436,8 +436,8 @@ var require_screenfull = __commonJS({
436
436
  });
437
437
 
438
438
  // src/index.ts
439
- var src_exports = {};
440
- __export(src_exports, {
439
+ var index_exports = {};
440
+ __export(index_exports, {
441
441
  DynamicFlow: () => DynamicFlow_default,
442
442
  DynamicFlowCoreRevamp: () => DynamicFlowCore,
443
443
  DynamicFlowRevamp: () => DynamicFlowWise_default,
@@ -451,7 +451,7 @@ __export(src_exports, {
451
451
  makeHttpClient: () => makeHttpClient,
452
452
  translations: () => i18n_default
453
453
  });
454
- module.exports = __toCommonJS(src_exports);
454
+ module.exports = __toCommonJS(index_exports);
455
455
 
456
456
  // src/common/utils/api-utils.ts
457
457
  function isRelativePath(url = "") {
@@ -6955,12 +6955,12 @@ var getStepPolling = ({
6955
6955
  }).catch(() => {
6956
6956
  });
6957
6957
  };
6958
- poll();
6959
6958
  const intervalRef = setInterval(poll, delay * 1e3);
6960
6959
  const stop = () => {
6961
6960
  clearTimeout(intervalRef);
6962
6961
  abortController.abort();
6963
6962
  };
6963
+ poll();
6964
6964
  return { stop };
6965
6965
  };
6966
6966