steamutils 1.1.65 → 1.1.66
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
@@ -103,6 +103,7 @@ function SteamClient({
|
|
103
103
|
playersProfile: [],
|
104
104
|
partyInvite: [],
|
105
105
|
friendRelationship: [],
|
106
|
+
tradeOffers: [],
|
106
107
|
}
|
107
108
|
|
108
109
|
const gcCallback = {}
|
@@ -901,6 +902,10 @@ function SteamClient({
|
|
901
902
|
}
|
902
903
|
}
|
903
904
|
});
|
905
|
+
|
906
|
+
steamClient.on('tradeOffers', async function (count) {
|
907
|
+
callEvent(events.tradeOffers, count)
|
908
|
+
});
|
904
909
|
}
|
905
910
|
|
906
911
|
function sendFriendTyping(steamId, callback) {
|