GitHub Posted June 4, 2016 Report Posted June 4, 2016 This is the first beta release of TradeOfferManager v2. There are many breaking changes, so please update your code accordingly.You can install it using npm install steam-tradeoffer-manager@beta.BREAKING Node.js v4 or later is now required and TradeOfferManager will not run on lower versions of NodeBREAKING Removed message and token arguments from TradeOffer#sendSee below for how you can specify a trade offer message and/or token nowBREAKING Removed autoRetry from TradeOffer#acceptThe functionality has been removed entirelyBREAKING Removed getEscrowDuration from both TradeOfferManager and from TradeOfferUse getUserDetails instead (see below)BREAKING Removed TradeOfferManager.getStateName and EResult.getNameUse TradeOfferManager.ETradeOfferState[value] and TradeOfferManager.EResult[value] instead, respectivelyBREAKING Removed obsolete and unofficial enum values (such as EConfirmationMethod.Mobile and ETradeOfferState.EmailPending)Added value-to-name mappings to bundled enums (except EOfferFilter) so you can do ESomeEnum[value] directly to get its string representationAdded TradeOffer#setMessageAdded TradeOffer#setTokenYou can now provide trade tokens directly in TradeOfferManager#createOfferYou can now use trade URLs instead of SteamIDs in TradeOfferManager#createOfferAdded TradeOffer#getUserDetailsReplaces TradeOfferManager#getEscrowDuration and TradeOffer#getEscrowDurationAdded offerList eventNow uses gzip compression in WebAPI responsesImproved some security by running remove JavaScript from steamcommunity.com in VMs instead of using eval() directlySome of the simpler dependencies (languages, deep-equal, clone) are now bundled in the npm downloadView on GitHub Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.