Interface directly with Steam servers from Node.js
Misc
Additions
sessionID
propertyAdditions
Additions
Misc
Fixes
Additions
node-steam is now modular, which allows third parties to provide modules with extra functionality. As a result, most of the API has been moved to handler classes which have to be instantiated separately from SteamClient.
Breaking changes
_Protobufs_
playerName
is now player_name
)._Properties_
users
moved to SteamFriends as personaStates
.chatRooms
, friends
and groups
moved to SteamFriends as-is._Methods_
appID
argument and instead uses the AppID SteamGameCoordinator was instantiated with. Instead of a "type", it takes a header object (use {msg: type}
instead of type
, and {msg: type, proto: {}}
instead of type | protoMask
). Instead of extra arguments, it takes a callback, which will be called with any response instead of emitting 'message'._Events_
{sha_file: sha}
.appID
argument, but is only emitted when the AppID matches the one SteamGameCoordinator was instantiated with. Instead of type
, it provides a header object: header.msg
is the "type" without protomask, header.proto
is truthy if it's a proto message. It's no longer emitted if it's a response, instead the callback provided to send is called.Fixes
chatRooms
.Additions
clanStates
property and 'clanState' event in SteamFriends.Fixes
chatRooms
when entering voice chatAdditions
Misc
users
property, some fields are now converted to more convenient formatsFixes
Additions
Fixes
Fixes