node-steam-user

Allows interaction with the Steam network via the Steam client protocol

MIT License

Downloads
64K
Stars
798
Committers
40

Bot releases are hidden (Show)

node-steam-user - v4.1.0

Published by DoctorMcKay over 5 years ago

node-steam-user - v4.0.0

Published by DoctorMcKay over 5 years ago

Nearly a year in the making, v4 is now available! This release includes many breaking changes, so please carefully read over these release notes.

Breaking

  • Now requires node 8 (up from node 4)
  • Removed dependency on steam-client
    • Removed ability to specify a custom steam-client. Instead, that functionality is built in directly.
      • Local address binding and proxying are now options
    • Removed the Steam static property
    • Removed the client instance property
  • Removed deprecated methods:
    • disableTwoFactor; non-functional, use steamcommunity instead
    • generateAuthCode; use steam-totp instead
    • requestPasswordChangeEmail; non-functional
    • changePassword; non-functional
    • createAccount; non-functional
    • changeEmail; non-functional
  • server_time in enableTwoFactor callback data is now a number instead of a string (not a Date as that would break the JSON-stringifyable property of the response)
  • Callbacks now have err as their first argument
    • enableTwoFactor
    • requestValidationEmail (changed from eresult)
    • getSteamGuardDetails
    • getCredentialChangeTimes
    • getAuthSecret
    • getPlayerCount (changed from eresult)
    • getProductChanges
    • getProductInfo
    • getProductAccessToken
    • redeemKey (changed from eresult)
    • getChatHistory (changed from eresult)
    • blockUser (changed from eresult)
    • unblockUser (changed from eresult)
    • getPersonas
    • getSteamLevels
    • getGameBadgeLevel
    • getServerList
    • getServerSteamIDsByIP
    • getServerIPsBySteamID
  • promptSteamGuardCode option has been removed
    • Prompting for Steam Guard code from stdin now happens only if no steamGuard listeners have been attached
  • parseAppTicket now has an optional second boolean parameter. If omitted or false, the function will return null if the ticket is missing a signature (or it's invalid).
  • Extraneous properties have been removed from parseEncryptedAppTicket's output, including isValid and ownershipTicketExpires.
  • last_seen_online is now a Date object in the user event
  • The behavior of downloadFile's callback and the EventEmitter it returns has changed

New

  • Options
    • localAddress
    • localPort
    • httpProxy
    • protocol
    • language
  • Basic support for new Steam chat
  • Localized rich presence strings in user event (closes #200)
  • All methods which have a callback now also return a promise. You can still use callbacks if you prefer.
  • Now uses protobuf.js v6
node-steam-user - v3.29.3

Published by DoctorMcKay over 5 years ago

  • Fixed a case where the callback to getProductInfo can be fired multiple times
node-steam-user - v4.0.0 beta 5

Published by DoctorMcKay over 5 years ago

See PR #165

Changes from beta 4:

  • Fixed email-based Steam guard requesting a code for every login
  • downloadFile's behavior has changed, and it now returns a Promise
node-steam-user - v4.0.0 beta 4

Published by DoctorMcKay over 5 years ago

See PR #165

Changes from beta 3:

  • Fleshed out ChatRoom docs a little more
  • Fixed numeric Unix timestamps in deleteChatRoomMessages and kickUserFromGroup incorrectly complaining about the wrong type
  • Fixed broken persona_state statuses (thanks to @LulzFTW in PR #208) [from v3.29.2]
  • Fixed certain methods failing with error TypeError: Cannot read property 'map' of undefined
node-steam-user - v3.29.2

Published by DoctorMcKay over 5 years ago

  • Fixed broken persona_state statuses (thanks to @LulzFTW in PR #208)
node-steam-user - v4.0.0 beta 3

Published by DoctorMcKay over 5 years ago

See PR #165

Changes from beta 2:

  • Reverted new protobuf-decoding behavior of filling in default values instead of null for omitted fields
    • Fixes #207
  • last_seen_online is now a Date object in the user event
  • Made all enums inside the .proto files available through SteamUser (e.g. SteamUser.EChatRoomJoinState)
  • Wrote most of the docs for the new chat room client
  • Fixed some issues with data not being properly formatted in the new chat room client
  • Added new methods to the new chat room client
    • getClanChatGroupInfo
    • deleteChatMEssages
    • inviteUserToGroup
    • kickUserFromGroup
node-steam-user - v4.0.0 beta 2

Published by DoctorMcKay almost 6 years ago

See PR #165

Changes from beta 1:

  • Fixed crash resulting from improper variable capitalization (thanks @fjexe in PR #201)
  • /commands sent by bots in chat will now be properly interpreted by Steam
  • All callbacks are now appropriately marked as optional in jsdoc
node-steam-user - v4.0.0 beta 1

Published by DoctorMcKay almost 6 years ago

See PR #165

node-steam-user - v3.29.1

Published by DoctorMcKay almost 6 years ago

  • Fixed crash caused by some gameservers not having SteamIDs (thanks @xcpep in PR #195)
node-steam-user - v3.29.0

Published by DoctorMcKay almost 6 years ago

  • Added additionalHeaders option (thanks to @anasinnyk in PR #194)
node-steam-user - v3.28.2

Published by DoctorMcKay about 6 years ago

  • requestPasswordChangeEmail and changePassword are now deprecated as they no longer work
  • Improved error handling when using proxies that aren't working properly
node-steam-user - v3.28.1

Published by DoctorMcKay about 6 years ago

  • Fixed errors if you pass appID and depotID as strings instead of ints to getDepotDecryptionKey
  • Fixed crash if a cached local file is corrupt when trying to retrieve depot decryption keys
node-steam-user - v3.28.0

Published by DoctorMcKay over 6 years ago

  • Added clientOS option to logOn details (thanks to @makcc666 in PR #171)
  • Added getTradeURL and changeTradeURL
  • Updated enums
node-steam-user - v3.27.1

Published by DoctorMcKay over 6 years ago

  • Fixed problem with removeFriendFromGroup (thanks to @RumbleFrog in PR #170)
node-steam-user - v3.27.0

Published by DoctorMcKay over 6 years ago

  • Added methods to create, delete, and manipulate friends groups (extra super special thanks to @RumbleFrog for his superb PR #168)
node-steam-user - v3.26.0

Published by DoctorMcKay over 6 years ago

  • Added parseEncryptedAppTicket method
  • Added communityMessages event
node-steam-user - v3.25.2

Published by DoctorMcKay over 6 years ago

  • Fixed tradeOffers not being emitted for 0 new offers (issue #162)
node-steam-user - v3.25.1

Published by DoctorMcKay over 6 years ago

  • Worked around a Steam backend bug by suppressing tradeOffers events if they're re-emitted with the same count
node-steam-user - v3.25.0

Published by DoctorMcKay over 6 years ago

  • Fixed default (question mark) avatar URLs (thanks @LulzFTW in PR #150)
  • Added deprecation notice to createAccount and made it throw an Error when called since it doesn't work anymore
  • Added getAssetClassInfo method
  • Added experimental app auth stuff; see documentation