steamutils 1.4.44 → 1.4.45
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "steamutils",
|
3
|
-
"version": "1.4.
|
3
|
+
"version": "1.4.45",
|
4
4
|
"main": "index.js",
|
5
5
|
"dependencies": {
|
6
6
|
"alpha-common-utils": "^1.0.6",
|
@@ -15,6 +15,7 @@
|
|
15
15
|
"moment": "^2.30.1",
|
16
16
|
"moment-timezone": "^0.5.45",
|
17
17
|
"node-bignumber": "^1.2.2",
|
18
|
+
"patch-package": "^8.0.0",
|
18
19
|
"protobufjs": "^7.4.0",
|
19
20
|
"qs": "^6.13.0",
|
20
21
|
"steam-session": "^1.7.2",
|
@@ -31,5 +32,8 @@
|
|
31
32
|
"devDependencies": {
|
32
33
|
"eslint-config-prettier": "^9.1.0",
|
33
34
|
"eslint-plugin-prettier": "^5.2.1"
|
35
|
+
},
|
36
|
+
"scripts": {
|
37
|
+
"postinstall": "patch-package"
|
34
38
|
}
|
35
39
|
}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
diff --git a/node_modules/steam-user/components/friends.js b/node_modules/steam-user/components/friends.js
|
2
|
+
index 384338a..6a0d60e 100644
|
3
|
+
--- a/node_modules/steam-user/components/friends.js
|
4
|
+
+++ b/node_modules/steam-user/components/friends.js
|
5
|
+
@@ -1096,7 +1096,10 @@ SteamUserBase.prototype._handlerManager.add(EMsg.ClientPersonaState, function(bo
|
6
|
+
|
7
|
+
for (let i in processedUser) {
|
8
|
+
if (Object.hasOwnProperty.call(processedUser, i) && processedUser[i] !== null) {
|
9
|
+
- this.users[sid64][i] = processedUser[i];
|
10
|
+
+ try {
|
11
|
+
+ this.users[sid64][i] = processedUser[i];
|
12
|
+
+ } catch (e) {
|
13
|
+
+ }
|
14
|
+
}
|
15
|
+
}
|
16
|
+
});
|