steamutils 1.4.73 → 1.4.74
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 +3071 -3069
- package/index.js +8 -0
- package/package.json +4 -4
package/index.js
CHANGED
|
@@ -5589,6 +5589,7 @@ export default class SteamUser {
|
|
|
5589
5589
|
"Sticker removed",
|
|
5590
5590
|
"Subscription/Seasonal Item Grant",
|
|
5591
5591
|
"Earned from unlocking an achievement",
|
|
5592
|
+
"Moved to Storage Unit",
|
|
5592
5593
|
];
|
|
5593
5594
|
|
|
5594
5595
|
const peopleEl = tradehistory_event_description_el.find("a[href]");
|
|
@@ -7110,6 +7111,13 @@ export default class SteamUser {
|
|
|
7110
7111
|
return result;
|
|
7111
7112
|
}
|
|
7112
7113
|
|
|
7114
|
+
try {
|
|
7115
|
+
new SteamProto(SteamProtoType.CPlayer_GetFriendsGameplayInfo_Response).protoDecode(result.data);
|
|
7116
|
+
} catch (e) {
|
|
7117
|
+
console.error(e);
|
|
7118
|
+
console.error(result);
|
|
7119
|
+
}
|
|
7120
|
+
|
|
7113
7121
|
const data = new SteamProto(SteamProtoType.CPlayer_GetFriendsGameplayInfo_Response).protoDecode(result.data);
|
|
7114
7122
|
if (!data) return;
|
|
7115
7123
|
const { in_game, played_recently, played_ever, owns, your_info } = data;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "steamutils",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.74",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"alpha-common-utils": "^1.0.6",
|
|
@@ -9,18 +9,18 @@
|
|
|
9
9
|
"cheerio": "^1.0.0",
|
|
10
10
|
"crypto-js": "^4.2.0",
|
|
11
11
|
"csgo-friendcode": "^3.0.3",
|
|
12
|
-
"form-data": "^4.0.
|
|
12
|
+
"form-data": "^4.0.1",
|
|
13
13
|
"jimp": "^1.6.0",
|
|
14
14
|
"lodash": "^4.17.21",
|
|
15
15
|
"moment": "^2.30.1",
|
|
16
|
-
"moment-timezone": "^0.5.
|
|
16
|
+
"moment-timezone": "^0.5.46",
|
|
17
17
|
"node-bignumber": "^1.2.2",
|
|
18
18
|
"protobufjs": "^7.4.0",
|
|
19
19
|
"qs": "^6.13.0",
|
|
20
20
|
"steam-session": "^1.9.0",
|
|
21
21
|
"steam-totp": "^2.1.2",
|
|
22
22
|
"steam-user": "^5.2.0",
|
|
23
|
-
"steamcommunity": "^3.48.
|
|
23
|
+
"steamcommunity": "^3.48.4",
|
|
24
24
|
"steamid": "^2.1.0",
|
|
25
25
|
"url-parse": "^1.5.10",
|
|
26
26
|
"uuid": "^10.0.0",
|