steamutils 1.1.69 → 1.1.71
Sign up to get free protection for your applications and to get access to all the features.
- package/SteamClient.js +4 -0
- 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})
|
@@ -1263,6 +1264,9 @@ function SteamClient({
|
|
1263
1264
|
return state
|
1264
1265
|
},
|
1265
1266
|
log,
|
1267
|
+
isPrime(){
|
1268
|
+
return prime === true
|
1269
|
+
}
|
1266
1270
|
}
|
1267
1271
|
}
|
1268
1272
|
|
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]')
|