steamutils 1.0.2 → 1.0.3
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/index.js +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
@@ -1862,7 +1862,7 @@ class SteamUser {
|
|
1862
1862
|
|
1863
1863
|
async getClientJsToken(retry = null) {
|
1864
1864
|
let result = (await this._httpRequest('chat/clientjstoken'))?.data
|
1865
|
-
if (!result) {
|
1865
|
+
if (!result?.steamid) {
|
1866
1866
|
if (retry !== null && retry !== undefined && retry >= 0) {
|
1867
1867
|
return await this.getClientJsToken(retry - 1)
|
1868
1868
|
} else {
|