Skip to content

Releases: akiver/csgo-sharecode

v3.1.2

13 Dec 01:13
Compare
Choose a tag to compare
  • Fix error when importing the CJS module
  • Update dev deps

v3.1.1

30 Sep 23:12
Compare
Choose a tag to compare
  • fix: types definition may not be found

v3.1.0

11 Sep 23:17
Compare
Choose a tag to compare
  • Add CS2 "follow recoil" option support
  • Upgrade dev deps

v3.0.1

08 Mar 23:05
Compare
Choose a tag to compare
  • 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

28 Feb 23:04
Compare
Choose a tag to compare

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

25 Jan 06:33
Compare
Choose a tag to compare
  • Improved share code pattern detection
  • Upgrade deps

v2.0.1

24 Aug 23:04
Compare
Choose a tag to compare
v2.0.1

v2.0.0

24 Aug 22:30
Compare
Choose a tag to compare
  • Refactor to use BigInt, I/O int64 values are now BigInt values!
  • Node 10.8.0 is required!

v1.3.0

15 Mar 18:57
Compare
Choose a tag to compare
  • Fix possible incorrect decoding #12

1.1.0

29 Aug 21:45
Compare
Choose a tag to compare
  • TypeScript support
  • Fix possible incorrect share code string detection