steamutils 1.4.39 → 1.4.40

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 -5
  2. package/package.json +1 -1
package/SteamClient.js CHANGED
@@ -939,12 +939,10 @@ function SteamClient({ username, password, cookie, clientJsToken, isAutoRequestF
939
939
  }
940
940
  }
941
941
  }
942
- _clientWelcome = obj;
943
- callEvent(events.csgoOnline, obj);
942
+ _clientWelcome = { ...obj };
943
+ _clientWelcome.items = {};
944
944
 
945
- setTimeout(function () {
946
- _clientWelcome.items = {};
947
- }, 10000);
945
+ callEvent(events.csgoOnline, obj);
948
946
 
949
947
  if (isPartyRegister) {
950
948
  partyRegister();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "steamutils",
3
- "version": "1.4.39",
3
+ "version": "1.4.40",
4
4
  "main": "index.js",
5
5
  "dependencies": {
6
6
  "alpha-common-utils": "^1.0.6",