Releases: theace0296/steamworks-node
Properly support uint64_t values via BigInt
The Steam API uses a lot of int64_t/uint64_t values, these cannot be represented via regular numbers in JS, so I've added support for BigInt for these values.
I also fixed some of the typings for the non-interface Steam classes, which should reduce any confusion around them.
Improve categorization of Enums
The auto-categorization for Enums has been a bit off, this is now fixed.
I.E. You can use some of the previously uncategorized/constants like so: SteamWorks.Enums.EResult.OK
Granted this probably should be a breaking change, but the change is minor. Essentially, if the enum previously had the enum group's name in the value, it no longer does.
Ex: SteamWorks.Enums.EUserUGCList.k_EUserUGCList_Subscribed
is now SteamWorks.Enums.EUserUGCList.Subscribed
.
Fix typo in Linux swig script
'swig/Lib' was 'swig/lib', this is caused swig to be unable to find it's lib files on Linux. Also, updated ReadMe to include installation pre-requisite of cmake.
Switch to using CMake JS
Switch away from node-gyp to using CMake JS. This allows for much simpler install, as well as better per-platform configs.
Default appId to steam demo appId (480)
Doing this so that the consumer doesn't have to already have a steam_appid.txt file just to install the package. Since part of the gyp build runs the module.
Fix npm not publishing gyp file
NPM wasn't packing the gypfile in the lib folder, this is a patch to fix that.
Better rebuild support
Restructured build files to better support Electron (although there does seem to be bug with Electron not supporting ArrayBuffer/TypedArray backing stores?)
Bug Fixes
Fixed bug with methods that took input/output parameters, see ReadMe for an example of this new syntax.
1.0.0
Initial release