steamutils 1.1.48 → 1.1.50
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +3 -4
- package/package.json +1 -1
package/index.js
CHANGED
@@ -5451,15 +5451,14 @@ class SteamUser {
|
|
5451
5451
|
serverid: 1,
|
5452
5452
|
partner: SteamID.fromIndividualAccountID(tradeURLParams.partner).getSteamID64(),
|
5453
5453
|
tradeoffermessage,
|
5454
|
-
|
5454
|
+
json_tradeoffer: encodeURIComponent(JSON.stringify({
|
5455
5455
|
newversion: true,
|
5456
5456
|
version: 3,
|
5457
5457
|
me,
|
5458
5458
|
them,
|
5459
|
-
}),
|
5459
|
+
})),
|
5460
5460
|
captcha: '',
|
5461
|
-
trade_offer_create_params: JSON.stringify({trade_offer_access_token: tradeURLParams.token}),
|
5462
|
-
account: this.getMiniProfileUser(),
|
5461
|
+
trade_offer_create_params: encodeURIComponent(JSON.stringify({trade_offer_access_token: tradeURLParams.token})),
|
5463
5462
|
},
|
5464
5463
|
method: 'POST',
|
5465
5464
|
})
|