GitHub Posted January 30, 2019 Report Posted January 30, 2019 Nearly a year in the making, v4 is now available! This release includes many breaking changes, so please carefully read over these release notes.BreakingNow requires node 8 (up from node 4)Removed dependency on steam-clientRemoved ability to specify a custom steam-client. Instead, that functionality is built in directly.Local address binding and proxying are now optionsRemoved the Steam static propertyRemoved the client instance propertyRemoved deprecated methods:disableTwoFactor; non-functional, use steamcommunity insteadgenerateAuthCode; use steam-totp insteadrequestPasswordChangeEmail; non-functionalchangePassword; non-functionalcreateAccount; non-functionalchangeEmail; non-functionalserver_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 argumentenableTwoFactorrequestValidationEmail (changed from eresult)getSteamGuardDetailsgetCredentialChangeTimesgetAuthSecretgetPlayerCount (changed from eresult)getProductChangesgetProductInfogetProductAccessTokenredeemKey (changed from eresult)getChatHistory (changed from eresult)blockUser (changed from eresult)unblockUser (changed from eresult)getPersonasgetSteamLevelsgetGameBadgeLevelgetServerListgetServerSteamIDsByIPgetServerIPsBySteamIDpromptSteamGuardCode option has been removedPrompting for Steam Guard code from stdin now happens only if no steamGuard listeners have been attachedparseAppTicket 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 eventThe behavior of downloadFile's callback and the EventEmitter it returns has changedSee the docsNewOptionslocalAddresslocalPorthttpProxyprotocollanguageBasic support for new Steam chatLocalized 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 v6View on GitHub Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.