steamutils 1.1.67 → 1.1.68
Sign up to get free protection for your applications and to get access to all the features.
- package/SteamClient.js +5 -0
- 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) {
|