@cripty2001/utils 0.0.151 → 0.0.152

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -204,10 +204,10 @@ function getEnv(key, defaultValue) {
204
204
  return value;
205
205
  }
206
206
  const [currentTsMs, setCurrentTsMs] = whispr_1.Whispr.create(Date.now());
207
- const currentTsMsInterval = null;
207
+ let currentTsMsInterval = null;
208
208
  const CURRENT_TS_MS = () => {
209
209
  if (currentTsMsInterval === null) {
210
- setInterval(() => {
210
+ currentTsMsInterval = setInterval(() => {
211
211
  setCurrentTsMs(Date.now());
212
212
  }, 200);
213
213
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cripty2001/utils",
3
- "version": "0.0.151",
3
+ "version": "0.0.152",
4
4
  "description": "Internal Set of utils. If you need them use them, otherwise go to the next package ;)",
5
5
  "homepage": "https://github.com/cripty2001/utils#readme",
6
6
  "bugs": {