{"action":"created","issue":{"url":"https://api.github.com/repos/DoctorMcKay/node-steam-tradeoffer-manager/issues/38","labels_url":"https://api.github.com/repos/DoctorMcKay/node-steam-tradeoffer-manager/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/DoctorMcKay/node-steam-tradeoffer-manager/issues/38/comments","events_url":"https://api.github.com/repos/DoctorMcKay/node-steam-tradeoffer-manager/issues/38/events","html_url":"https://github.com/DoctorMcKay/node-steam-tradeoffer-manager/issues/38","id":120650375,"number":38,"title":"Verify if an offer will go to escrow after you accept it.","user":{"login":"Merkelon","id":6226070,"avatar_url":"https://avatars.githubusercontent.com/u/6226070?v=3","gravatar_id":"","url":"https://api.github.com/users/Merkelon","html_url":"https://github.com/Merkelon","followers_url":"https://api.github.com/users/Merkelon/followers","following_url":"https://api.github.com/users/Merkelon/following{/other_user}","gists_url":"https://api.github.com/users/Merkelon/gists{/gist_id}","starred_url":"https://api.github.com/users/Merkelon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Merkelon/subscriptions","organizations_url":"https://api.github.com/users/Merkelon/orgs","repos_url":"https://api.github.com/users/Merkelon/repos","events_url":"https://api.github.com/users/Merkelon/events{/privacy}","received_events_url":"https://api.github.com/users/Merkelon/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-12-06T18:31:49Z","updated_at":"2015-12-07T20:53:22Z","closed_at":"2015-12-07T20:25:32Z","body":"Hello there,\r\nI'm trying to verify that incoming offers wont go to Escrow if accepted. i want to verify this just for received offers.\r\n\r\nfirst, i used\r\n```javascript\r\noffers.getEscrowDuration(SteamID[,Token],function(err,theirEscrowDays,yourEscrowDays){\r\n...\r\n});\r\n```\r\n to extract *theirEscrowDays* & *yourEscrowDays* vars, but it doesnt work if the sender is not on my friend list, i've noticed that this method(*getEscrowDuration*) creates a new trade offer.\r\n\r\nsecond, i tried to get *escrowEnds* property of the *offer* object\r\n```javascript\r\noffers.on('newOffer', function (offer) {\r\n...\r\n    var escrow = offer.escrowEnds;\r\n...\r\n});\r\n```\r\nbut it returns *null*.\r\nthe *offers* var here is the instanciation of \r\n```javascript\r\nvar client = new SteamUser();\r\nvar offers = new TradeOfferManager({\r\n    steam:        client,\r\n    domain:       config.domain, \r\n    language:     \"en\", \r\n    pollInterval: 10000, \r\n});\r\n```\r\nThx for helping."},"comment":{"url":"https://api.github.com/repos/DoctorMcKay/node-steam-tradeoffer-manager/issues/comments/162658692","html_url":"https://github.com/DoctorMcKay/node-steam-tradeoffer-manager/issues/38#issuecomment-162658692","issue_url":"https://api.github.com/repos/DoctorMcKay/node-steam-tradeoffer-manager/issues/38","id":162658692,"user":{"login":"Merkelon","id":6226070,"avatar_url":"https://avatars.githubusercontent.com/u/6226070?v=3","gravatar_id":"","url":"https://api.github.com/users/Merkelon","html_url":"https://github.com/Merkelon","followers_url":"https://api.github.com/users/Merkelon/followers","following_url":"https://api.github.com/users/Merkelon/following{/other_user}","gists_url":"https://api.github.com/users/Merkelon/gists{/gist_id}","starred_url":"https://api.github.com/users/Merkelon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Merkelon/subscriptions","organizations_url":"https://api.github.com/users/Merkelon/orgs","repos_url":"https://api.github.com/users/Merkelon/repos","events_url":"https://api.github.com/users/Merkelon/events{/privacy}","received_events_url":"https://api.github.com/users/Merkelon/received_events","type":"User","site_admin":false},"created_at":"2015-12-07T20:53:22Z","updated_at":"2015-12-07T20:53:22Z","body":"Thank you @DoctorMcKay."}}