steamutils 1.4.38 → 1.4.39

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/SteamClient.js +13 -2
  2. package/package.json +1 -1
package/SteamClient.js CHANGED
@@ -942,6 +942,10 @@ function SteamClient({ username, password, cookie, clientJsToken, isAutoRequestF
942
942
  _clientWelcome = obj;
943
943
  callEvent(events.csgoOnline, obj);
944
944
 
945
+ setTimeout(function () {
946
+ _clientWelcome.items = {};
947
+ }, 10000);
948
+
945
949
  if (isPartyRegister) {
946
950
  partyRegister();
947
951
  doSetInterval(
@@ -1422,6 +1426,11 @@ function SteamClient({ username, password, cookie, clientJsToken, isAutoRequestF
1422
1426
  },
1423
1427
  async friendsList() {
1424
1428
  callEvent(events.friendsList, getFriendList());
1429
+
1430
+ steamClient.myFriends = {};
1431
+ setTimeout(function () {
1432
+ steamClient.myFriends = {};
1433
+ }, 10000);
1425
1434
  },
1426
1435
  async gifts(gid, packageid, TimeCreated, TimeExpiration, TimeSent, TimeAcked, TimeRedeemed, RecipientAddress, SenderAddress, SenderName) {
1427
1436
  callEvent(events.gifts, {
@@ -1466,14 +1475,16 @@ function SteamClient({ username, password, cookie, clientJsToken, isAutoRequestF
1466
1475
  });
1467
1476
  },
1468
1477
  async licenses() {
1478
+ steamClient.licenses = [];
1469
1479
  setTimeout(function () {
1470
1480
  steamClient.licenses = [];
1471
- }, 1000);
1481
+ }, 10000);
1472
1482
  },
1473
1483
  async users() {
1484
+ steamClient.users = {};
1474
1485
  setTimeout(function () {
1475
1486
  steamClient.users = {};
1476
- }, 1000);
1487
+ }, 10000);
1477
1488
  },
1478
1489
  };
1479
1490
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "steamutils",
3
- "version": "1.4.38",
3
+ "version": "1.4.39",
4
4
  "main": "index.js",
5
5
  "dependencies": {
6
6
  "alpha-common-utils": "^1.0.6",