steamutils 1.0.18 → 1.0.19

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.
Files changed (2) hide show
  1. package/SteamClient.js +3 -2
  2. package/package.json +1 -1
package/SteamClient.js CHANGED
@@ -242,7 +242,7 @@ function SteamClient({
242
242
  // console.log(msg)
243
243
  const personas = await getPersonas([sid]);
244
244
  const sID64 = sid.getSteamID64();
245
- console.log(personas.find(p => p.id == sID64)?.player_name, `https://steamcommunity.com/profiles/${sID64}`);
245
+ console.log(getAccountInfoName(), personas.find(p => p.id == sID64)?.player_name, `https://steamcommunity.com/profiles/${sID64}`);
246
246
  // joinLobby(msg.lobbyid, msg.accountid)
247
247
  break
248
248
  }
@@ -653,7 +653,8 @@ function SteamClient({
653
653
  sendFriendTyping,
654
654
  getSteamClient() {
655
655
  return steamClient
656
- }
656
+ },
657
+ getAccountInfoName
657
658
  }
658
659
  }
659
660
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "steamutils",
3
- "version": "1.0.18",
3
+ "version": "1.0.19",
4
4
  "dependencies": {
5
5
  "axios": "^1.3.4",
6
6
  "cheerio": "^1.0.0-rc.12",