@mondaydotcomorg/atp-server 0.20.3 → 0.20.5

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
@@ -8615,9 +8615,11 @@ var IN_ISOLATE_IMPLEMENTATIONS = {
8615
8615
  index++;
8616
8616
  }
8617
8617
  }`,
8618
- [RuntimeFunction.RESUMABLE_FOR_LOOP]: `async (init, condition, update, body, loopId) => {
8619
- for (init(); condition(); update()) {
8620
- await body();
8618
+ [RuntimeFunction.RESUMABLE_FOR_LOOP]: `async (initValue, condition, increment, body, loopId) => {
8619
+ let i = initValue;
8620
+ while (condition(i)) {
8621
+ await body(i);
8622
+ i = increment(i);
8621
8623
  }
8622
8624
  }`,
8623
8625
  [RuntimeFunction.RESUMABLE_WHILE]: `async (condition, body, loopId) => {