steamutils 1.1.93 → 1.1.95

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/index.js +3 -0
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -3632,6 +3632,8 @@ class SteamUser {
3632
3632
  url: `dev/apikey`,
3633
3633
  })
3634
3634
 
3635
+ if(!result) return
3636
+
3635
3637
  if (result?.data?.includes('You will be granted access to Steam Web API keys when you have games in your Steam account.')) {
3636
3638
  return {
3637
3639
  success: false,
@@ -3639,6 +3641,7 @@ class SteamUser {
3639
3641
  }
3640
3642
  }
3641
3643
 
3644
+ if(!result._$) return
3642
3645
  const parseResult = _self._parseSteamWebAPIKey(result._$())
3643
3646
  if (parseResult.error === 'registerkey') {
3644
3647
  const result2 = await this._httpRequest({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "steamutils",
3
- "version": "1.1.93",
3
+ "version": "1.1.95",
4
4
  "main": "index.js",
5
5
  "dependencies": {
6
6
  "axios": "^1.3.4",