Commit Graph

275 Commits

Author SHA1 Message Date
Alexander Corn
f47afae1ea Pin cheerio version to 0.19.0
https://github.com/DoctorMcKay/node-steam-tradeoffer-manager/issues/120#issuecomment-200179648
2016-03-23 14:33:08 -04:00
Alexander Corn
8d90aac203 Use SteamID v1.0.0 2016-03-22 01:20:02 -04:00
Alexander Corn
f1bfd8b3af 3.19.3 2016-03-18 23:33:41 -04:00
Alexander Corn
579fc04c1c Prompt for CAPTCHA input in examples if needed (fixes #88) 2016-03-18 23:33:30 -04:00
Alexander Corn
58927dc937 Fixed fake error when removing 2FA (fixes #96) 2016-03-18 23:29:17 -04:00
Alexander Corn
018cacac59 Added CONTRIBUTING.md 2016-03-15 15:06:08 -04:00
Alexander Corn
26effb27fe 3.19.2 2016-03-14 21:39:55 -04:00
Alexander Corn
5880e922ab Fixed crashes when checking non-string HTTP responses (fixes #94) 2016-03-14 21:39:45 -04:00
Alexander Corn
fe007811a5 Bumped cheerio version 2016-03-08 01:56:31 -05:00
Alexander Corn
7b882c8439 Updated readme 2016-03-08 01:53:45 -05:00
Alexander Corn
6c4cb9e62f 3.19.1 2016-03-08 01:37:29 -05:00
Alexander Corn
2300081d43 Only fire the callback for blocked requests if one was provided 2016-03-08 01:37:20 -05:00
Alexander Corn
0f20f918be 3.19.0 2016-03-08 01:23:46 -05:00
Alexander Corn
b761b8108b Check properties instead of SteamID proto (fixes #90) 2016-03-08 01:23:31 -05:00
Alexander Corn
46e16cc0b6 Fixed loggedIn method 2016-03-07 01:32:27 -05:00
Alexander Corn
237d3786a2 Properly handle steammobile: protocol error meaning we're not logged in 2016-03-07 01:32:20 -05:00
Alexander Corn
1884ceb7d9 Emit sessionExpired when we detect that we aren't logged in 2016-03-07 01:32:02 -05:00
Alexander Corn
893c4df06b 3.19.0-beta6 2016-03-05 19:38:44 -05:00
Alexander Corn
593ed6b9ef Detect when we aren't logged in and should be 2016-03-05 18:58:39 -05:00
Alexander Corn
840e9548ed 3.19.0-beta5 2016-03-05 00:40:56 -05:00
Alexander Corn
dee6b7964b Fixed crash under specific conditions 2016-03-05 00:40:45 -05:00
Alexander Corn
2fc434d475 3.19.0-beta4 2016-03-05 00:27:13 -05:00
Alexander Corn
42ebbda00d Fixed typo 2016-03-05 00:27:04 -05:00
Alexander Corn
eed791acbd Added ability to delay HTTP requests 2016-03-05 00:14:36 -05:00
Alexander Corn
54b83016af 3.19.0-beta3 2016-03-05 00:01:47 -05:00
Alexander Corn
1032b1f832 Removed now-unnecessary _checkHttpError and _checkCommunityError calls 2016-03-04 23:59:49 -05:00
Alexander Corn
fce2560abe Handle calls to httpRequest with URI and no options 2016-03-04 23:50:49 -05:00
Alexander Corn
0069bb36ef 3.19.0-beta2 2016-03-04 19:36:42 -05:00
Alexander Corn
1028c4193f Added HTTP source 2016-03-04 19:35:04 -05:00
Alexander Corn
991b11e0f4 3.19.0-beta1 2016-03-04 18:51:39 -05:00
Alexander Corn
72c01468da Want node v4.0.0 or later 2016-03-04 18:27:50 -05:00
Alexander Corn
eecd682033 Added unified interface for HTTP requests with pre/post hooks 2016-03-04 18:26:47 -05:00
Alexander Corn
574a3127cb 3.18.7 2016-03-04 00:19:31 -05:00
Alexander Corn
55027f7b1f Merge pull request #87 from andrewda/patch-1
Fixed crash when handling an inventory issue
2016-03-04 00:18:17 -05:00
Andrew Dassonville
70ffc5559d Renamed body.error to body.Error 2016-03-03 19:22:05 -08:00
Andrew Dassonville
f4be134f71 Fixed crash when handling an inventory issue
```
/bots/node_modules/steamcommunity/components/users.js:265
                                callback(new Error(body.Error || "Malformed response"));
                                                       ^

TypeError: Cannot read property 'Error' of undefined
    at Request._callback (/bots/node_modules/steamcommunity/components/users.js:265:28)
    at Request.self.callback (/bots/node_modules/steamcommunity/node_modules/request/request.js:199:22)
    at emitTwo (events.js💯13)
    at Request.emit (events.js:185:7)
    at Request.<anonymous> (/bots/node_modules/steamcommunity/node_modules/request/request.js:1036:10)
    at emitOne (events.js:95:20)
    at Request.emit (events.js:182:7)
    at IncomingMessage.<anonymous> (/bots/node_modules/steamcommunity/node_modules/request/request.js:963:12)
    at emitNone (events.js:85:20)
    at IncomingMessage.emit (events.js:179:7)
```
2016-03-03 13:42:05 -08:00
Alexander Corn
7792969cae Merge pull request #54 from Mikxail/bugfix-market-item-price
bugfix market-item price
2016-02-29 16:44:17 -05:00
Alexander Corn
57a3532860 3.18.6 2016-02-29 16:42:00 -05:00
Alexander Corn
facf335f0e Fixed captcha overriding more important errors (fixes #56) 2016-02-29 16:41:37 -05:00
Alexander Corn
1c3817b797 Fixed captcha URL (fixes #83) 2016-02-29 16:24:29 -05:00
Alexander Corn
74efd50f72 Added more informative error messages for RSA key retrieval failure 2016-02-06 23:48:26 -05:00
Alexander Corn
87e3665b01 Revised JSDoc language (#80) 2016-02-04 21:49:54 -05:00
Alexander Corn
0b94419de4 Merge pull request #76 from Aareksio/patch-1
Fix for issue #75
2016-01-25 11:47:34 -05:00
Arkadiusz Sygulski
defbd347cc Fix for issue #75
In received XML there's `isPrimary="0"`, which mostly likely causes the problem, which results the last group in xml to be set as primary. 
This should fix it.
2016-01-25 11:35:22 +01:00
Alexander Corn
7efc1f2fd0 3.18.5 2016-01-21 01:15:00 -05:00
Alexander Corn
05c2da89da Fixed crash when unable to check confirmations 2016-01-21 01:14:52 -05:00
Alexander Corn
b83c40419c 3.18.4 2016-01-20 23:05:07 -05:00
Alexander Corn
fb0097499d Added some more debug output to confirmation checker 2016-01-20 23:04:54 -05:00
Alexander Corn
c2983e3bcd RIP market and trade confirmation opt-out 2016-01-20 13:47:14 -05:00
Alexander Corn
80b3cc52d2 3.18.3 2016-01-19 11:30:02 -05:00