steamutils 1.1.8 → 1.1.10

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 +4 -4
  2. package/package.json +1 -1
package/SteamClient.js CHANGED
@@ -591,9 +591,9 @@ function SteamClient({
591
591
  try {
592
592
  const prime = player.apr === 1 ? 'PRIME' : 'NON-PRIME'
593
593
  const loc = LOCS[player.loc] || player.loc
594
- const steamID = SteamID.fromIndividualAccountID(player.id).getSteamID64()
595
- const persona = personas.find(p => p.id == steamID)
596
- const friendCode = FriendCode.encode(steamID)
594
+ const steamId = SteamID.fromIndividualAccountID(player.id).getSteamID64()
595
+ const persona = personas.find(p => p.id == steamId)
596
+ const friendCode = FriendCode.encode(steamId)
597
597
 
598
598
  if ((LOCS[player.loc] == 'VN' || !LOCS[player.loc])) {
599
599
  players.push({
@@ -601,7 +601,7 @@ function SteamClient({
601
601
  player_name: persona.player_name,
602
602
  rank: RANKS[player.ark],
603
603
  loc: loc,
604
- steamID,
604
+ steamId,
605
605
  friendCode,
606
606
  avatar_hash: persona.avatar_hash,
607
607
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "steamutils",
3
- "version": "1.1.8",
3
+ "version": "1.1.10",
4
4
  "dependencies": {
5
5
  "axios": "^1.3.4",
6
6
  "cheerio": "^1.0.0-rc.12",