@loybung/launcher 7.0.8 → 7.0.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/dist/index.js +2 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -43,6 +43,8 @@ class Launcher {
43
43
  this.expireTimeout = null;
44
44
  }
45
45
  setExpire(unixTimestamp) {
46
+ if (!unixTimestamp)
47
+ return;
46
48
  this.expireTimestamp = unixTimestamp;
47
49
  const now = Date.now();
48
50
  const expireIn = unixTimestamp * 1000 - now;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@loybung/launcher",
3
- "version": "7.0.8",
3
+ "version": "7.0.9",
4
4
  "description": "LOYBUNG / Launcher",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",