readiness-manager 1.1.3 → 1.1.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/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 1.1.4 (7 April 2022)
4
+
5
+ - Fix beacon initial execution, attempt was passed as index of the `forEach`.
6
+
3
7
  ## 1.1.3 (2 August 2021)
4
8
 
5
9
  ### Bug Fixes
@@ -29,4 +33,4 @@
29
33
 
30
34
  ### Improvements
31
35
 
32
- - Adding `chain` option to manager api methods.
36
+ - Adding `chain` option to manager api methods.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "readiness-manager",
3
- "version": "1.1.3",
3
+ "version": "1.1.4",
4
4
  "description": "👨‍💼 Define when your app is ready",
5
5
  "keywords": [
6
6
  "ready",
package/src/index.js CHANGED
@@ -84,7 +84,7 @@ class ReadinessManager {
84
84
  readyState = false;
85
85
 
86
86
  Object.values(this[Symbols.beacons])
87
- .map(this[Symbols.execute]);
87
+ .forEach((beacon) => this[Symbols.execute](beacon));
88
88
 
89
89
  return this;
90
90
  }