Releases: akiver/csgo-sharecode
Releases · akiver/csgo-sharecode
v3.1.2
- Fix error when importing the CJS module
- Update dev deps
v3.1.1
- fix: types definition may not be found
v3.1.0
- Add CS2 "follow recoil" option support
- Upgrade dev deps
v3.0.1
- Fix comparing provided errors with
instanceof
not working, i.e:
try {
decodeMatchShareCode("invalid-share-code");
} catch (error) {
if (error instanceof InvalidShareCode) {
// now works
}
}
v3.0.0
Breaking changes
- Rename
decode
function to decodeMatchShareCode
- Rename
encode
function to encodeMatchShareCode
- Rename
ShareCode
interface to MatchInformation
Changes
- Add functions to encode/decode crosshair share code
- Throw explicit errors (
InvalidShareCode
and InvalidCrosshairShareCode
)
- Export CJS/ESM module
2.0.2
- Improved share code pattern detection
- Upgrade deps
v2.0.0
- Refactor to use BigInt, I/O int64 values are now BigInt values!
- Node 10.8.0 is required!
v1.3.0
- Fix possible incorrect decoding #12
1.1.0
- TypeScript support
- Fix possible incorrect share code string detection