steamutils 1.2.23 → 1.2.24

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/SteamClient.js +3 -2
  2. package/package.json +1 -1
package/SteamClient.js CHANGED
@@ -413,9 +413,11 @@ function SteamClient({
413
413
  await sleep(60000)
414
414
  const isSuccess = await relogin(50)
415
415
  if (!isSuccess) {
416
+ offAllEvent()
416
417
  doClearIntervals()
417
418
  }
418
419
  } else {
420
+ offAllEvent()
419
421
  doClearIntervals()
420
422
  }
421
423
  })
@@ -1117,8 +1119,7 @@ function SteamClient({
1117
1119
 
1118
1120
  async function logOff() {
1119
1121
  isLogOff = true
1120
- offAllEvent()
1121
- doClearIntervals()
1122
+
1122
1123
  steamClient.logOff()
1123
1124
  }
1124
1125
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "steamutils",
3
- "version": "1.2.23",
3
+ "version": "1.2.24",
4
4
  "main": "index.js",
5
5
  "dependencies": {
6
6
  "axios": "^1.4.0",