vinilllll Posted April 4 Report Share Posted April 4 i use the manager.on to get the list of offers from my user. But right now, i am not receiving nothing, here's my code: Before que steam update was working perfectly. manager.on("offerList", async (_, offers) => { if (offers.length !== 0) { const offersIds = offers.map((offer) => `offers:${offer.id}`); console.log(offersIds); }); this is my configuration of TradeOfferManager: const manager = new TradeOfferManager({ steam: client, community: community, language: "br", }); can anyone help me, pls? Quote Link to comment Share on other sites More sharing options...
Berlioz Posted April 4 Report Share Posted April 4 I have the same problem since today. Quote Link to comment Share on other sites More sharing options...
loganWP Posted April 4 Report Share Posted April 4 1 hour ago, vinilllll said: i use the manager.on to get the list of offers from my user. But right now, i am not receiving nothing, here's my code: Before que steam update was working perfectly. manager.on("offerList", async (_, offers) => { if (offers.length !== 0) { const offersIds = offers.map((offer) => `offers:${offer.id}`); console.log(offersIds); }); this is my configuration of TradeOfferManager: const manager = new TradeOfferManager({ steam: client, community: community, language: "br", }); can anyone help me, pls? Update package to latest version and add useAccessToken: true to your constructor const manager = new TradeOfferManager({ steam: client, community: community, language: "br", useAccessToken: true }); Berlioz 1 Quote Link to comment Share on other sites More sharing options...
vinilllll Posted April 4 Author Report Share Posted April 4 35 minutes ago, loganWP said: Update package to latest version and add useAccessToken: true to your constructor const manager = new TradeOfferManager({ steam: client, community: community, language: "br", useAccessToken: true }); I am using the latest version available: "steam-tradeoffer-manager": "^2.11.1", but still shows me an error Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted April 4 Report Share Posted April 4 The third-party typescript definitions haven't been updated for 2.11.0. Just suppress the error. Quote Link to comment Share on other sites More sharing options...
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.