Alexander Corn
575c196cb7
Added acceptAllConfirmations method
2016-07-13 13:11:44 -04:00
Alexander Corn
47a24d19cf
Added ability to act on multiple confirmations
2016-07-13 13:11:36 -04:00
Alexander Corn
ca73ecc786
Parse times in getUserAliases into Date objects
2016-07-10 01:02:36 -04:00
Andrew Dassonville
89a1df67ec
Add ability to get user aliases
2016-07-06 16:20:42 -07:00
Alexander Corn
018e18cb5d
Give "Family View Restricted" error if access denied due to Family View
2016-06-29 23:08:40 -04:00
Luke
17e5b94782
Added deleting events in CSteamGroup ( #109 )
...
* Added deleteEvent()
* Added deleteGroupEvent()
2016-06-21 22:39:23 -04:00
Luke
a406cfbfe2
Fixed a valid server object being overwritten
2016-06-15 11:25:44 -06:00
Luke Henke
c970eee9d3
Added editing events to CSteamGroup
2016-06-14 20:29:11 -06:00
Alexander Corn
a2e26459d9
Emit chatLogOnFailed on error, and handle fatal errors ( fixes #104 )
2016-06-14 16:07:46 -04:00
Alexander Corn
c1b04ee743
Fixed crash if chat poll returns no response
...
https://dev.doctormckay.com/topic/383-error-in-node-steamcommunity/
2016-06-14 16:02:04 -04:00
Alexander Corn
9081528f72
Fixed "Error: Error:" in trade errors
2016-06-03 20:10:33 -04:00
Alexander Corn
4b7ea80fcf
Fixed profile URL cache always being deleted when editing profile
2016-05-05 16:12:27 -04:00
Alexander Corn
3b241ba24f
Cache profile URL so we don't need to request it all the time
2016-05-05 16:00:28 -04:00
Alexander Corn
839d8b51e3
Automatically handle time offset when enabling 2FA ( fixes #98 )
2016-04-02 16:14:34 -04:00
Alexander Corn
aac26212d7
Fixed sessionExpired event always being emitted for confirmation errors
2016-03-23 19:03:55 -04:00
Alexander Corn
58927dc937
Fixed fake error when removing 2FA ( fixes #96 )
2016-03-18 23:29:17 -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
2300081d43
Only fire the callback for blocked requests if one was provided
2016-03-08 01:37:20 -05:00
Alexander Corn
b761b8108b
Check properties instead of SteamID proto ( fixes #90 )
2016-03-08 01:23:31 -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
593ed6b9ef
Detect when we aren't logged in and should be
2016-03-05 18:58:39 -05:00
Alexander Corn
dee6b7964b
Fixed crash under specific conditions
2016-03-05 00:40:45 -05:00
Alexander Corn
eed791acbd
Added ability to delay HTTP requests
2016-03-05 00:14:36 -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
1028c4193f
Added HTTP source
2016-03-04 19:35:04 -05:00
Alexander Corn
eecd682033
Added unified interface for HTTP requests with pre/post hooks
2016-03-04 18:26:47 -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
87e3665b01
Revised JSDoc language ( #80 )
2016-02-04 21:49:54 -05:00
Alexander Corn
05c2da89da
Fixed crash when unable to check confirmations
2016-01-21 01:14:52 -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
fa59b188a5
Use the standard device ID when enabling 2FA
2016-01-19 11:29:26 -05:00
Alexander Corn
1276c71e4e
Use same device ID for all trade confirmation requests
2016-01-18 18:38:50 -05:00
Shaun Barratt
27ef78cc4b
Added ability to deleteAnnoucement
2016-01-17 02:27:11 +00:00
Shaun Barratt
4223d88fd1
Catching HTTP errors properly
...
Specifying the Group in getAllGroupAnnouncements
Removing unnecessary comments
Made the callback for getAllGroupAnnouncements mandatory
2016-01-16 18:39:04 +00:00
Shaun Barratt
ac02f6cb49
Added getAllAnnouncements
...
Added example on how to use it
2016-01-16 00:06:42 +00:00
Shaun Barratt
4152865f5e
Adding ability to edit an annoucement.
...
Added an example.
2016-01-15 17:48:57 +00:00
spddl
d51b6582e2
Error: You must fill out all fields in at least one language fix
2016-01-13 06:16:51 +01:00
Mole
6d8d0c5fbb
Fixed missing 'var self = this;'
2016-01-05 15:33:54 +01:00
Alexander Corn
e4b5e763eb
Added support for escrow to getInventoryHistory
2015-12-21 14:21:47 -05:00
Alexander Corn
2a7a03d35e
Use SHA-1 hash of our SteamID when enabling 2FA
2015-12-07 16:34:49 -05:00
Alexander Corn
ff1c3279c8
Use random hex value instead of current time for deviceid
2015-12-07 11:42:10 -05:00
Alexander Corn
deeeb633cf
Delete _identitySecret if we have it when we stop polling
2015-12-05 01:41:35 -05:00
Alexander Corn
a50bd35a54
Added proper queue for confirmations
2015-12-05 01:37:41 -05:00
Alexander Corn
5bf51a2e3e
Added automatic confirmation accepting
2015-12-05 00:41:27 -05:00
Alexander Corn
43d1147fd7
Add tradeConfirmation alias for emailConfirmation and marketConfirmation
...
Resolves #24
2015-12-03 13:59:54 -05:00
Alexander Corn
479cc47bf5
Fixed crashes on 2FA errors ( fixes #22 )
2015-12-03 13:57:49 -05:00
Alexander Corn
0e34bceb1f
Only reset the polling timer if we have an interval set
2015-12-02 22:38:51 -05:00
Alexander Corn
0f83fe8c64
Added confirmation polling
2015-12-02 22:20:16 -05:00
Alexander Corn
5624611421
Moved getWebApiKey to webapi.js component
2015-12-02 21:35:35 -05:00
Alexander Corn
49d2bb4252
Fixed finalizeTwoFactor checking success before want_more ( fixes #16 )
2015-12-02 21:33:33 -05:00
Alexander Corn
b54ccff7c8
Added confirmations
2015-12-02 21:31:17 -05:00
Alexander Corn
b82f7ca045
Merge pull request #17 from s992/master
...
Updates login code to use mobile login headers and cookies
2015-12-02 19:19:50 -05:00
Sean Walsh
fceea0737d
updates login code to use mobile login so that we can grab the oauth token.
2015-11-30 17:39:55 -08:00
Alexander Corn
f3ac556922
Added check for community error when getting webapi oauth token
2015-11-30 19:40:10 -05:00
Alexander Corn
8f580fc231
Fixed enableTwoFactor returning success when it wasn't successful
2015-11-27 22:09:36 -05:00
Alexander Corn
1249e28d83
Added enableTwoFactor and finalizeTwoFactor methods
2015-11-27 17:57:39 -05:00
Alexander Corn
2a5419513c
Added disableTwoFactor method
2015-11-27 01:45:58 -05:00
Alexander Corn
2399a5b783
Added getWebApiOauthToken
2015-11-27 01:28:31 -05:00
Shaun
83eeb0f190
Spelling error
2015-11-10 12:29:23 +08:00
Alexander Corn
9d2b5ade67
Fixed scheduleGroupEvent method
...
Fixes #7
2015-10-26 21:30:27 -04:00
Alexander Corn
5926197f23
Fixed primary group setting not working
2015-10-14 00:37:27 -04:00
Alexander Corn
4e326e3295
Always use Error objects in callbacks
2015-09-09 12:08:18 -04:00
Alexander Corn
d975fdfba8
Added getInventoryHistory method
2015-09-09 12:04:28 -04:00
Alexander Corn
82f1d490f9
Added contextid property to CEconItem objects
2015-09-07 00:10:32 -04:00
Alexander Corn
09cd81b607
Added CEconItem and getUserInventory
2015-09-07 00:00:19 -04:00
Alexander Corn
8a6d912374
Added getUserInventoryContexts
2015-09-06 23:22:10 -04:00
Alexander Corn
3d0522a560
Added CSteamUser#inviteToGroup and SteamCommunity#inviteUserToGroup
2015-08-14 00:04:43 -04:00
Alexander Corn
3db3d47e92
Made CSteamUser methods available directly on SteamCommunity
2015-08-13 23:57:08 -04:00
Alexander Corn
22f388e110
Added uploadAvatar method
2015-08-12 19:32:16 -04:00
Alexander Corn
07c8c724e7
Use UTC times
2015-08-07 00:28:24 -04:00
Alexander Corn
c291f0fab3
Fixed group member retrieval paging not working
2015-08-05 00:52:54 -04:00
Alexander Corn
8485b447d8
Added getGroupHistory and CSteamGroup#getHistory
2015-08-05 00:13:32 -04:00
Alexander Corn
df20c1ac25
Added getGroupMembersEx and addresses param to CSteamGroup#getMembers
2015-08-04 23:51:09 -04:00
Alexander Corn
49b038d3d2
Added class-less group methods
2015-08-04 23:37:16 -04:00
Jake Forrester
01093f38fa
Fixed callback error type consistency
2015-07-30 13:45:07 -07:00
Jake Forrester
62c2f1b965
Moved non-class file to components
2015-07-30 13:28:28 -07:00
Alexander Corn
a0b776ca8b
Added setupProfile method
2015-07-27 22:55:25 -04:00
Alexander Corn
6798b73a17
Made profile callbacks optional
2015-07-25 01:57:53 -04:00
Alexander Corn
af2ba3f56b
Added editProfile method
2015-07-25 01:55:33 -04:00
Alexander Corn
9c2662ae16
Updated profileSettings to accept only some options
2015-07-25 01:39:19 -04:00
Alexander Corn
9ee49d4f15
Added profileSettings method
2015-07-25 01:24:28 -04:00
Alexander Corn
06f7f10dfe
All callbacks now consistently return Error objects instead of strings
2015-07-17 22:23:20 -04:00
Alexander Corn
19fe951d96
Added ability to spoof UI mode
2015-06-29 16:38:24 -04:00
Alexander Corn
c60d4942e0
Removed useless timestamp parameter from chatMessage event
2015-06-18 00:41:55 -04:00
Alexander Corn
e01d05c140
Added PersonaStateFlag enum
2015-06-18 00:36:26 -04:00
Alexander Corn
8ec0ef84c2
Added PersonaState enum
2015-06-18 00:33:34 -04:00
Alexander Corn
0e5929df24
Lowered chat poll interval to 500ms
2015-06-18 00:24:54 -04:00
Alexander Corn
74bf2dcfca
Added webchat
2015-06-18 00:22:05 -04:00