Alex Corn
5b40683873
Merge branch 'master' into v4
...
# Conflicts:
# components/help.js
2021-07-23 00:54:50 -04:00
Alex Corn
7ae8a97a0f
Slight refactor for help.js component
2021-07-22 23:58:47 -04:00
Alex Corn
63b0b82531
Cleaned up users.js
2021-07-22 04:42:48 -04:00
Alex Corn
2b678bea06
Some more cleanup
2021-07-22 04:22:29 -04:00
Alex Corn
8ffa0b50d4
Cleaned up help.js
2021-07-22 04:10:20 -04:00
Alex Corn
d093466d27
Removed getWebApiOauthToken
2021-07-22 04:06:59 -04:00
Alex Corn
c69a5451eb
Cleaned up webapi.js
2021-07-22 04:02:38 -04:00
Alex Corn
9a4be453ec
Cleaned up twofactor.js
2021-07-22 03:59:55 -04:00
Alex Corn
c550b380fc
Cleaned up profile.js
2021-07-22 03:54:38 -04:00
Alex Corn
247d804c77
Cleaned up market.js
2021-07-22 03:44:40 -04:00
Alex Corn
dfd0ccbbc7
Merge branch 'master' into v4
...
# Conflicts:
# components/confirmations.js
# components/groups.js
# components/market.js
# package.json
2021-07-22 03:37:06 -04:00
Alex Corn
ec1284e961
Make callback optional in removePackage/restorePackage
2021-07-22 03:30:42 -04:00
Alex Corn
cd90d7a563
Trim comments before returning them
2021-07-22 03:25:47 -04:00
Alex Corn
165c963b1a
Create new help component and move restore/removePackage to it
2021-07-22 03:01:57 -04:00
Alex Corn
dfad525e4e
Merge pull request #220 from Revadike/feature/profile-comments
...
Added deleteUserComment and getUserComments
2021-07-22 02:34:32 -04:00
Revadike
81877f4bb7
Use object.assign instead
2021-07-22 07:48:46 +02:00
Revadike
d8eb07f046
re-use variable
...
Co-authored-by: Mr-VIT <vit@v1t.su>
2021-05-13 01:14:52 +02:00
Alex Corn
e6311c0fcb
Removed attempt to get oauth token from webchat
2020-11-05 02:42:31 -05:00
Alex Corn
2fc8d1f4aa
Refactored gem sack code
2020-11-05 02:19:31 -05:00
Jack Nolddor
b00b871a5b
Added gems/sack transformations ( #260 )
...
Added Sack of Gems <---> Gems transformations
2020-11-05 01:31:35 -05:00
Alex Corn
2e61a6ed70
Fixed editProfile and profileSettings for Steam update
2020-06-26 03:44:58 -04:00
Alex Corn
f0a3cb27f8
Merge pull request #250 from itsjfx/open-booster-pack-patch
...
Add openBoosterPack
2020-05-28 22:30:35 -04:00
Alex Corn
d41a52638b
Prevent timeOffset delete timeout from holding app open
2020-05-28 00:15:20 -04:00
jfx
58516d4ed1
Add openBoosterPack
2020-05-23 16:24:20 +10:00
Revadike
a3468bf99b
Optional hidden parameter to postGroupAnnouncement
2019-10-14 04:28:53 +02:00
Alex Corn
e299623452
Use different filenames for different images, similar to how Steam does it
2019-09-25 05:33:14 -04:00
Alex Corn
fa253920e3
Code cleanup for http.js
2019-09-24 04:43:51 -04:00
Alex Corn
30ebf333b4
Code cleanup for helpers.js
2019-09-24 04:41:11 -04:00
Alex Corn
d7cfc396a7
Code cleanup for groups.js
2019-09-24 04:38:27 -04:00
Alex Corn
ac8e4a62de
Code cleanup for confirmations.js
2019-09-24 04:28:05 -04:00
Alex Corn
8e9e3723f2
Code cleanup for chat.js
2019-09-24 04:23:40 -04:00
Alex Corn
6b0f958cfd
Merge branch 'master' into v4
...
# Conflicts:
# index.js
# package.json
2019-09-24 04:14:09 -04:00
Alex Corn
3c8488d441
Added method sendImageToUser
2019-09-24 04:06:37 -04:00
Alex Corn
21c4ba3e27
Restore cache_expiration from game-specific data for backwards compatibility
...
(Fixes #229 )
2019-09-21 04:27:39 -04:00
Revadike
98373708e5
Added userID guard
...
Because I got this:
```
2019-06-12 | 01:22:30.151 | ERROR | crashBot | Fatal error: TypeError: Cannot read property 'getSteamID64' of null
at get (node_modules\steamcommunity\components\users.js:416:60)
at SteamCommunity.getUserInventoryContents (node_modules\steamcommunity\components\users.js:412:2)
at unpackSteamBoosterPacks (index.js:3588:21)
at cleanupSteamInventory (index.js:3583:5)
at SteamUser.refreshSteamWebSession (index.js:857:38)
at Object.onceWrapper (events.js:273:13)
at SteamUser.emit (events.js:182:13)
at SteamUser.gotSteamWebSession (index.js:1754:16)
at SteamUser.emit (events.js:182:13)
at _apiRequest (node_modules\steam-user\components\web.js:61:9)
at IncomingMessage.<anonymous> (node_modules\steam-user\components\webapi.js:82:4)
at IncomingMessage.emit (events.js:187:15)
at endReadableNT (_stream_readable.js:1094:12)
at process._tickCallback (internal/process/next_tick.js:63:19)
```
2019-06-17 02:43:07 +02:00
Revadike
8edc5020e1
Added getUserComments(userID, options, callback)
...
https://github.com/DoctorMcKay/node-steamcommunity/issues/208
2019-04-05 00:06:48 +02:00
Revadike
f2be027a63
Updated postUserComment and added deleteUserComment
...
https://github.com/DoctorMcKay/node-steamcommunity/issues/219
2019-04-04 23:30:28 +02:00
Alex Corn
8a7d6f5018
Merge branch 'master' into v4
2019-02-14 00:31:20 -05:00
Alex Corn
0cb0d22433
Cleaned up imports
2019-02-14 00:29:21 -05:00
Alex Corn
5a855316f6
Removed inventoryhistory.js
2019-02-14 00:22:51 -05:00
Alex Corn
729f078a25
Removed deprecated confirmation checker
2019-02-14 00:22:06 -05:00
Alex Corn
1180eb9d3f
Deprecated webchat methods
2019-02-13 17:35:39 -05:00
Alex Corn
e05efabcb9
Merge pull request #211 from Hongarc/master
...
Add comment group
2019-02-12 21:35:58 -05:00
Alex Corn
62394b9ffe
Added ability to change friends list privacy
2018-11-01 01:20:19 -04:00
Hongarc
a0ad33d5eb
Add comment group
2018-10-20 13:29:52 +07:00
Alex Corn
adbf1d47a7
Added postProfileStatus and deleteProfileStatus ( closes #200 )
2018-07-10 23:59:57 -04:00
Alex Corn
458d7b6db1
Renamed getProfileBackground to getUserProfileBackground and added it to CSteamUser
2018-07-10 23:28:26 -04:00
Alex Corn
411d74036f
Updated getProfileBackground output a bit
2018-07-10 23:24:41 -04:00
Mert
1b3117b8dc
Add getProfileBackground method
...
Adds ability to get URL of Steamcommunity profile background.
2018-07-10 23:18:03 -04:00
Alex Corn
d5dbb230df
Removed extra import
2018-04-15 10:43:05 -04:00
Alex Corn
8d163d0d85
Added privacy controls for gameDetails and playtime
2018-04-11 00:27:10 -04:00
Alex Corn
a7bd694f4b
Added inventory gift redemption
2018-04-01 03:38:45 -04:00
Alex Corn
9e380e71f5
jsdoc
2018-04-01 03:31:07 -04:00
Alex Corn
e97e63fe6d
Added ability to get gem value for an item and to turn items into gems
2018-04-01 03:22:00 -04:00
Alex Corn
8846082f60
Fixed getMarketApps not returning all apps
2018-04-01 02:51:46 -04:00
Alexander Corn
eb609b5c42
Added some more explicit error handling if we try to do things while logged out
2018-02-27 01:40:59 -05:00
Arkadiusz Sygulski
0eb27a15d2
Fix infinite loop in getWebApiKey
...
Fix infinite loop in getWebApiKey when trying to get web api key on account without email address confirmed
2018-01-22 03:48:45 +01:00
Alex Corn
b5f50a6614
Style update
2017-12-26 16:34:19 -05:00
Alex Corn
a9455b0ff6
Style updates, use HTTPS, coerce steamids to SteamId objects
2017-12-26 16:32:21 -05:00
Alex Corn
1efac6bc70
Merge pull request #159 from Jarzon/groupcomments
...
Steam group comments
2017-12-26 16:28:16 -05:00
Alex Corn
6abb14a9bc
Merge pull request #183 from borianm/patch-1
...
Fix for issue #182
2017-10-21 16:48:23 -04:00
Alexander Corn
6049d7a259
Added deprecation notice to getInventoryHistory
2017-10-20 19:28:26 -04:00
AirboN
e0320b27d7
Fixed issue with undefined author in events
2017-10-17 00:48:06 +02:00
AirboN
7986a87b3f
Fixed issue with undefined author in events
2017-10-17 00:42:26 +02:00
Alex Corn
6bf3f26f2f
Merge pull request #175 from Visagalis/patch-1
...
Typo/bug in GetGroupHistory code.
2017-09-29 00:13:00 -04:00
Jason Vaillancourt
dc2e5d09a7
Merge branch 'master' into groupcomments
2017-08-20 20:13:41 -04:00
Alexander Corn
458a179852
Fixed reference to undefined self
2017-08-17 13:12:36 -04:00
Alexander Corn
5875f47ebc
Ignore chat friendstate responses if we no longer care
2017-08-15 21:43:10 -04:00
Julius
d7095aa7c5
Typo/bug in GetGroupHistory code.
...
Typo which makes group history objects to contain incorrect actor (it contains same actor as user).
2017-08-08 21:52:12 +03:00
Alexander Corn
96d87ee8e6
Added methods to deal with Steam group join requests
2017-08-06 19:08:45 -04:00
Unsigno
6d9ebabb17
Updated getUserInventoryContexts to return 0 inventories and handle private profile error
2017-07-11 14:02:01 +02:00
Alexander Corn
b5142ad0cc
Added language argument to getUserInventoryContents
2017-06-15 10:04:37 -04:00
Alexander Corn
bd29d598b1
Throw Error if using confirmations without being logged in
2017-06-02 23:35:23 -04:00
Eduard Kuzmenko
a97edfd492
Update users.js
2017-04-21 15:46:20 +03:00
Eduard Kuzmenko
68b1f21655
Update getUserInventoryContents
...
There will be a re-loop if description of the item not the last one in descriptions (and quickDescriptionLookup will rewrite everytime)
2017-04-21 15:26:45 +03:00
Alexander Corn
47dc22ca0d
Handle cases where inventories are private in getUserInventoryContexts
2017-03-27 14:39:41 -04:00
Jarzon
3bba7025d4
Changes for code consistency
2017-03-15 13:08:22 -04:00
Jarzon
e2f94cb1e7
Convert the number to a string
2017-03-15 12:55:48 -04:00
Arkadiusz Sygulski
3c35026a32
Check if instance is logged in before comparing steamids ( fixes #164 )
2017-03-06 16:02:20 +01:00
Jarzon
91285ba1c7
Merge branch 'master' into groupcomments
2017-03-04 09:04:24 -05:00
Alexander Corn
a9b16cef1e
Fixed crash no non-string 403 responses
...
https://dev.doctormckay.com/topic/845-responsebodymatch-is-not-a-function/
2017-02-25 19:12:34 -05:00
Jarzon
530bbcb9eb
Pass a Error obj to the callback
2017-02-08 15:22:50 -05:00
Jarzon
f7ebe68bd8
Adding .deleteComment()
2017-02-08 15:08:34 -05:00
Jarzon
e2dae00af2
Simplifying the request's options
2017-02-07 18:34:12 -05:00
Jarzon
bbd80d4154
Fixing not getting the html in the comment
2017-02-02 07:53:18 -05:00
Jarzon
c180557f52
Using decodeSteamTime() to parse date
...
Adding to .decodeSteamTime() the ability to parse steam relative time
2017-02-01 13:30:38 -05:00
Jarzon
b3174b9f0b
Revert using chrono to parse the date
2017-02-01 12:03:34 -05:00
Jarzon
12f1ddf6a0
Missing header Content-Type
2017-02-01 11:27:58 -05:00
Jarzon
db3aa4ace8
Catch the community id and the custom url of the author
2017-01-31 08:48:38 -05:00
Jarzon
f1b742dff4
Adding Chrono to parse relative date
2017-01-31 06:26:11 -05:00
Jarzon
444649ee8c
Adding .getAllComments()
2017-01-31 06:16:38 -05:00
Alexander Corn
0c7c030f78
Fixed string in callback instead of Error ( fixes #153 )
2017-01-18 15:50:11 -05:00
Alexander Corn
e5f1f14aad
Fixed empty inventory resulting in "Malformed response" ( fixes #156 )
...
Display Steam error message when available instead of "HTTP error 500"
2017-01-18 15:49:27 -05:00
Vankxr
313753bb05
Check if requested inventory is ours.
...
Should fix https://github.com/DoctorMcKay/node-steamcommunity/issues/149
2016-12-30 21:24:53 +00:00
Alexander Corn
84ce979a78
Fixed new inventory loading not working properly
2016-12-13 01:52:52 -05:00
Alexander Corn
88b0495386
Renamed getUserInventory, added back old one and marked it as deprecated
2016-12-13 01:32:17 -05:00
Alexander Corn
d367e8eae4
Added better paging controls for new inventory endpoint
2016-12-13 01:29:06 -05:00
Alexander Corn
35e6dd16e7
Re-add "pos" property to inventory items for backwards compatibility
2016-12-13 01:07:00 -05:00
Alexander Corn
d0af8584c1
Send referer when fetching inventories
2016-12-13 00:50:29 -05:00
Alexander Corn
513b0bff1c
Added some optimizations and backwards-compatibility for inv fetching
2016-12-13 00:46:02 -05:00