steamutils 1.1.86 → 1.1.87

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 +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -5490,7 +5490,7 @@ class SteamUser {
5490
5490
 
5491
5491
  async getTradeURL(){
5492
5492
  const result = await this._httpRequest(`${this.getMyProfileURL()}/tradeoffers/privacy`)
5493
- const $ = cherrio.load(result.data)
5493
+ const $ = cherrio.load(result?.data || '')
5494
5494
  const trade_offer_access_url = $('#trade_offer_access_url').attr('value')
5495
5495
  return trade_offer_access_url
5496
5496
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "steamutils",
3
- "version": "1.1.86",
3
+ "version": "1.1.87",
4
4
  "main": "index.js",
5
5
  "dependencies": {
6
6
  "axios": "^1.3.4",