steamutils 1.2.74 → 1.2.75

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 +6 -1
  2. package/package.json +1 -1
package/SteamClient.js CHANGED
@@ -101,7 +101,8 @@ function SteamClient({
101
101
  let playingBlocked = null
102
102
  const richPresence = {}
103
103
  let sendMessageTimestamp = 0
104
- let lastTimePartyRegister = null
104
+ let lastTimePartyRegister = 0
105
+ let lastTimePartySearch = 0
105
106
 
106
107
  const onAnyCallbacks = []
107
108
 
@@ -379,6 +380,7 @@ function SteamClient({
379
380
  launcher: 0,
380
381
  game_type: game_type === 'Competitive' ? 8 : 10
381
382
  }))
383
+ lastTimePartySearch = new Date().getTime()
382
384
  pushGCCallback('partySearch', resolve, timeout)
383
385
  })
384
386
  }
@@ -1721,6 +1723,9 @@ function SteamClient({
1721
1723
  },
1722
1724
  getLastTimePartyRegister(){
1723
1725
  return lastTimePartyRegister
1726
+ },
1727
+ getLastTimePartySearch(){
1728
+ return lastTimePartySearch
1724
1729
  }
1725
1730
  }
1726
1731
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "steamutils",
3
- "version": "1.2.74",
3
+ "version": "1.2.75",
4
4
  "main": "index.js",
5
5
  "dependencies": {
6
6
  "axios": "^1.5.1",