steamutils 1.1.67 → 1.1.68

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 +5 -0
  2. package/package.json +1 -1
package/SteamClient.js CHANGED
@@ -104,6 +104,7 @@ function SteamClient({
104
104
  partyInvite: [],
105
105
  friendRelationship: [],
106
106
  tradeOffers: [],
107
+ offlineMessages: [],
107
108
  }
108
109
 
109
110
  const gcCallback = {}
@@ -906,6 +907,10 @@ function SteamClient({
906
907
  steamClient.on('tradeOffers', async function (count) {
907
908
  callEvent(events.tradeOffers, count)
908
909
  });
910
+
911
+ steamClient.on('offlineMessages', async function (count , friends) {
912
+ callEvent(events.offlineMessages, {count , steamIdList})
913
+ });
909
914
  }
910
915
 
911
916
  function sendFriendTyping(steamId, callback) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "steamutils",
3
- "version": "1.1.67",
3
+ "version": "1.1.68",
4
4
  "main":"index.js",
5
5
  "dependencies": {
6
6
  "axios": "^1.3.4",