steamutils 1.0.46 → 1.0.47
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 +4 -4
- package/package.json +1 -1
package/SteamClient.js
CHANGED
@@ -183,8 +183,8 @@ function SteamClient({
|
|
183
183
|
return [steamClient?.accountInfo?.name, steamClient?._logOnDetails?.account_name].filter(Boolean).join(" - ")
|
184
184
|
}
|
185
185
|
|
186
|
-
function log(msg) {
|
187
|
-
console.log(`[${getAccountInfoName()}]
|
186
|
+
function log(...msg) {
|
187
|
+
console.log(`[${getAccountInfoName()}]`, ...msg)
|
188
188
|
}
|
189
189
|
|
190
190
|
async function getPersonas(steamIDs) {
|
@@ -331,7 +331,7 @@ function SteamClient({
|
|
331
331
|
if (player_name === undefined) {
|
332
332
|
log(sid64, personas);
|
333
333
|
}
|
334
|
-
log(
|
334
|
+
log(player_name, `https://steamcommunity.com/profiles/${sid64}`);
|
335
335
|
// joinLobby(msg.lobbyid, msg.accountid)
|
336
336
|
break
|
337
337
|
}
|
@@ -829,7 +829,7 @@ function SteamClient({
|
|
829
829
|
await sleep(20000)
|
830
830
|
const ownedAppsCount2 = (await steamUtils.getDynamicStoreUserData())?.rgOwnedApps?.length || 0
|
831
831
|
const increaseNumber = ownedAppsCount2 - ownedAppsCount;
|
832
|
-
log(
|
832
|
+
log(`OwnedApps length ${ownedAppsCount2}, increase ${increaseNumber}`)
|
833
833
|
}
|
834
834
|
}
|
835
835
|
|