steamutils 1.0.78 → 1.0.79

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 +10 -0
  2. package/package.json +1 -1
package/SteamClient.js CHANGED
@@ -845,6 +845,16 @@ function SteamClient({
845
845
  steamID, message
846
846
  })
847
847
  });
848
+
849
+ steamClient.on('playingState', async function (playing_blocked, playing_app) {
850
+ if(playing_app === 0){
851
+ playing_app = null
852
+ }
853
+ if (playing_blocked) {//true, false
854
+ console.log("Playing else where")
855
+ }
856
+ log('playingState', playing_blocked, playing_app);
857
+ });
848
858
  }
849
859
 
850
860
  function sendFriendTyping(steamId, callback) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "steamutils",
3
- "version": "1.0.78",
3
+ "version": "1.0.79",
4
4
  "dependencies": {
5
5
  "axios": "^1.3.4",
6
6
  "cheerio": "^1.0.0-rc.12",