Closed luop90 closed 7 years ago
Thank you! Please give some time to review the changes.
Done. Switched from the offer -> options object
Thank you!
It is strange but accepting offers works for me with the current library code. Although I think partner
param should be added because it exists on Steam Community site, it would be great if we could investigate this further.
Odd that it works for you, because I haven't been able to get it to work at all without the partner parameter. Do you have mobile confirmations enabled? That might change how offers are accepted (because if the partner has been a friend for longer than a year (?), then the hold time is much shorter.)
Seems to work for me with and without partner
. Still, if it exists on Steam Community, it should exist here. :+1:
Thank you! Landed in https://github.com/Alex7Kom/node-steam-tradeoffers/commit/ffda3d05520e0cef4aa325784b991dd751e117e8. I decided to make it an optional param after all, and this allowed a patch semver release.
Valve changed how offers are accepted awhile back, and acceptOffer() as it stands no longer functions. You have to add the partner steam id to the form being passed.
This PR fixes this, and updates the readme / example for the new change.