I switched protobuf resources to bundled steam-resources.
All protobuf objects are now available on Dota2.schema, removing the need for some of the enums declared in this package. Following enums have been removed:
- Dota2.BotDifficulty -> Dota2.schema.DOTABotDifficulty
- Dota2.EResult -> steam.EResult
I also removed a bunch of deprecated functions that had been marked as such for a few versions.
Proto message was removed so corresponding function also removed
- Updated fantasy cards with this year's player card ID
- Removed some trailing util.log commands
- Protobuf updates
- Attempt to fix mocha not exiting
- Added profile request fuction that allows fetching profile page
Fixed some chat channel bugs
Proto message was removed so corresponding function also removed
New function for lobby host that destroys the lobby
Removed because Valve removed proto message
Nothing new, just some updates
Now parses the bonuses
Allows you to tip someone after a game
- new Enum for Fantasy stats
New event emitted when the bot received an item
New event emitted when the bot trades away an item
GC response after having tried tipping someone
Event fired when you get tipped
New dependencies on winstonjs and momentjs for logging purposes
Instance of winston.Logger. Default logging is identical to util.log. Users can configure as they like.
New event emitted when the bot has left a chat channel
- examples will no longer be pushed to npm
- Deleted the dependency on bignumber.js and replaced it by Long.js since protobufjs uses it.
Now returns a Long value instead of a string.
Order of the parameters has changed to (message, channel_name, channel_type)
.
Order of the parameters has changed to (min, max, channel_name, channel_type)
.
This enum used to be defined both on module level and as a member of Dota2Client. We removed the member definition and only kept the module level one, in correspondence with all other enums.
Changed the parameter type from an array of tuples to an array of objects
Changed parameters to (options, callback)
to reduce confusion. CreateTournamentLobby is now deprecated.
Event parameters are now (request_id, total_results, results_remaining, matches, series)
Removed the null parameter
Removed the null parameter
There's a whole series of functions for which the GC hasn't responded in a long time. Some of those were already deprecated since the last release, some of them have become deprecated since. Those who were already deprecated for a long time have been deleted from the API. Those who have become deprecated since the last release have been tagged deprecated.
Deprecated methods will no longer figure in the documentation (mainly because they're now auto-magically generated based on the code comments and I really don't feel like adding copious amounts of documentation to a bunch of methods who no longer can be used - shoot me). If they were one day to be re-enabled by Valve, these will ofcourse be documented again.
- requestProfile
- requestPassportData
- requestTeamProfile
- requestTeamMemberProfile
- requestTeamIDByName
- profileData
- passportData
- teamProfile
- teamID
- requestProTeamList
- requestGuildData
- inviteToGuild
- cancelInviteToGuild
- setGuildAccountRole
- guildOpenPartyData
- guildData
- guildInviteData
- proTeamListData