steamutils 1.2.54 → 1.2.55

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 +7 -3
  2. package/package.json +1 -1
package/SteamClient.js CHANGED
@@ -76,9 +76,9 @@ export const LOCS = {
76
76
  const appid = 730
77
77
  let CSGO_VER = 13952
78
78
 
79
- // SteamUtils.GetCurrentVersion(appid).then(function (ver) {
80
- // CSGO_VER = ver
81
- // })
79
+ SteamUtils.GetCurrentVersion(appid).then(function (ver) {
80
+ CSGO_VER = ver
81
+ })
82
82
 
83
83
  const PersonasCache = []
84
84
 
@@ -1732,3 +1732,7 @@ function SteamClient({
1732
1732
  }
1733
1733
 
1734
1734
  export default SteamClient
1735
+
1736
+ export function increaseCSGO_VER() {
1737
+ return ++CSGO_VER
1738
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "steamutils",
3
- "version": "1.2.54",
3
+ "version": "1.2.55",
4
4
  "main": "index.js",
5
5
  "dependencies": {
6
6
  "axios": "^1.5.1",