steamutils 1.1.65 → 1.1.66
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.
- 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) {
|