steamutils 1.4.79 → 1.4.80
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/index.js +3 -5
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -7111,11 +7111,9 @@ export default class SteamUser {
|
|
|
7111
7111
|
return result;
|
|
7112
7112
|
}
|
|
7113
7113
|
|
|
7114
|
-
|
|
7115
|
-
|
|
7116
|
-
|
|
7117
|
-
console.error(e);
|
|
7118
|
-
console.error(result);
|
|
7114
|
+
if (!result || result.status === 401) {
|
|
7115
|
+
//Unauthorized
|
|
7116
|
+
return;
|
|
7119
7117
|
}
|
|
7120
7118
|
|
|
7121
7119
|
const data = new SteamProto(SteamProtoType.CPlayer_GetFriendsGameplayInfo_Response).protoDecode(result.data);
|