steamutils 1.1.48 → 1.1.50

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 -4
  2. 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
- json: JSON.stringify({
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
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "steamutils",
3
- "version": "1.1.48",
3
+ "version": "1.1.50",
4
4
  "main":"index.js",
5
5
  "dependencies": {
6
6
  "axios": "^1.3.4",