steamutils 1.4.44 → 1.4.46
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 +3 -4
- package/package.json +1 -1
package/SteamClient.js
CHANGED
|
@@ -1295,10 +1295,9 @@ function SteamClient({ username, password, cookie, clientJsToken, isAutoRequestF
|
|
|
1295
1295
|
async user(steamId, data) {
|
|
1296
1296
|
callEvent(events.user, { steamId: steamId.getSteamID64(), data });
|
|
1297
1297
|
|
|
1298
|
-
steamClient.users
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
}, 10000);
|
|
1298
|
+
for (const friendSteamId in steamClient.users) {
|
|
1299
|
+
steamClient.users[friendSteamId] = {};
|
|
1300
|
+
}
|
|
1302
1301
|
|
|
1303
1302
|
const dataExample = {
|
|
1304
1303
|
rich_presence: [
|