reactronic 0.21.521 → 0.21.522

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.
@@ -144,10 +144,10 @@ class TransactionImpl extends Transaction {
144
144
  }
145
145
  static isTimeOver(everyN = 1) {
146
146
  TransactionImpl.checkCount++;
147
- let result = TransactionImpl.checkCount % everyN !== 0;
147
+ let result = TransactionImpl.checkCount % everyN === 0;
148
148
  if (result) {
149
149
  const ms = performance.now() - TransactionImpl.startTime;
150
- result = ms > TransactionImpl.durationLimit;
150
+ result = ms > TransactionImpl.timeLimit;
151
151
  }
152
152
  return result;
153
153
  }
@@ -307,6 +307,6 @@ TransactionImpl.none = new TransactionImpl({ hint: '<none>' });
307
307
  TransactionImpl.curr = TransactionImpl.none;
308
308
  TransactionImpl.inspection = false;
309
309
  TransactionImpl.startTime = 0;
310
- TransactionImpl.durationLimit = 14;
310
+ TransactionImpl.timeLimit = 14;
311
311
  TransactionImpl.checkCount = 0;
312
312
  TransactionImpl._init();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "reactronic",
3
- "version": "0.21.521",
3
+ "version": "0.21.522",
4
4
  "description": "Reactronic - Transactional Reactive State Management",
5
5
  "main": "build/dist/source/api.js",
6
6
  "types": "build/dist/source/api.d.ts",