steamutils 1.1.68 → 1.1.70
Sign up to get free protection for your applications and to get access to all the features.
- package/SteamClient.js +2 -1
- package/index.js +9 -0
- package/package.json +1 -1
package/SteamClient.js
CHANGED
@@ -366,6 +366,7 @@ function SteamClient({
|
|
366
366
|
|
367
367
|
function bindEvent() {
|
368
368
|
steamClient.on('disconnected', async (eresult, msg) => {
|
369
|
+
state = 'Offline'
|
369
370
|
log('disconnected', eresult, msg)
|
370
371
|
doClearIntervals()
|
371
372
|
callEvent(events.disconnected, {eresult, msg})
|
@@ -909,7 +910,7 @@ function SteamClient({
|
|
909
910
|
});
|
910
911
|
|
911
912
|
steamClient.on('offlineMessages', async function (count , friends) {
|
912
|
-
callEvent(events.offlineMessages, {count , steamIdList})
|
913
|
+
callEvent(events.offlineMessages, {count , steamIdList: friends})
|
913
914
|
});
|
914
915
|
}
|
915
916
|
|
package/index.js
CHANGED
@@ -5309,6 +5309,15 @@ class SteamUser {
|
|
5309
5309
|
case "Purchased from the store": {
|
5310
5310
|
break
|
5311
5311
|
}
|
5312
|
+
case "You deleted": {
|
5313
|
+
break
|
5314
|
+
}
|
5315
|
+
case "Found": {
|
5316
|
+
break
|
5317
|
+
}
|
5318
|
+
case "Received from the Community Market": {
|
5319
|
+
break
|
5320
|
+
}
|
5312
5321
|
default: {
|
5313
5322
|
if (description.startsWith("You traded with ")) {
|
5314
5323
|
const peopleEl = tradehistory_event_description_el.find('a[href]')
|