@loybung/launcher 4.1.0 → 4.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/index.js +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -27,7 +27,7 @@ async function launcher(
27
27
 
28
28
  if (expire) {
29
29
  setInterval(() => {
30
- if (expire < Date.now()) process.exit();
30
+ if (expire < Math.floor(Date.now() / 1000)) process.exit();
31
31
  }, 5000);
32
32
  }
33
33
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@loybung/launcher",
3
- "version": "4.1.0",
3
+ "version": "4.2.0",
4
4
  "description": "LOYBUNG / Launcher",
5
5
  "main": "index.js",
6
6
  "scripts": {