Skip to content

Releases: node-steam/market-pricing

N|Steam Market-Pricing v2.1.0

26 Dec 22:26
2.1.0
576f6a2
Compare
Choose a tag to compare

Features:

  • Return errors with custom codes so you can check for specific errors like so:

    if ( exception.code === codes.SOME_ERROR_CODE )

    more easily

Changes:

  • Return ITEM_NOT_FOUND Error when steam returns success without values

Diff:

2.0.1...2.1.0

N|Steam Market-Pricing v2.0.1

23 Dec 01:26
2.0.1
d37159f
Compare
Choose a tag to compare

Changes:

  • Prefix types to prevent clashes
  • Export comments into .d.ts files

Diff:

2.0.0...2.0.1

N|Steam Market-Pricing v2.0.0

23 Dec 00:25
2.0.0
7177cd8
Compare
Choose a tag to compare

Features:

  • Function overloads. Removes any x | y and returns more definite types because of that

Changes:

  • Strict non-null checks enabled
  • Types aren't imported, instead referenced
  • Export source maps
  • Update dependencies

Deprecations:

  • Direct access to getPrice() and getPrices() removed
  • Application and Currency exports removed, use @node-steam/data instead

Diff:

1.3.0...2.0.0

N|Steam Market-Pricing v1.3.0

21 Dec 20:06
1.3.0
65e864a
Compare
Choose a tag to compare

Changes:

  • Fix edge case where lowest_price could be undefined. (Discovered by @jonathontoon 👍)
  • Move enums to external module
  • Update dependencies

Diff:

1.2.5...1.3.0

N|Steam Market-Pricing v1.2.5

18 Jul 00:13
1.2.5
478feff
Compare
Choose a tag to compare

Changes:

  • Allow configuring the User Agent
  • Allow strictSSL to be configured
  • Allow base URL and base path to be configured
  • Allow GZIP compression to be configured
  • Clean up HTTP request options
  • Remove custom request.js typings
  • Add tests for accessing functions directly without a constructor / class

Diff:

1.2.4...1.2.5

N|Steam Market-Pricing v1.2.4

06 Jun 22:30
1.2.4
c3cdd33
Compare
Choose a tag to compare

Changes:

  • Enhancements of internal utils
  • Library now throws an Error when failing to parse a string with monetary value

Diff:

1.2.3...1.2.4

N|Steam Market-Pricing v1.2.3

16 May 15:25
1.2.3
c4c2f4c
Compare
Choose a tag to compare

Changes:

  • Better specification of the returned types
  • Enhance version parsing

Diff:

1.2.2...1.2.3

N|Steam Market-Pricing v1.2.2

08 May 21:36
1.2.2
0d48031
Compare
Choose a tag to compare

Changes:

  • Allow setting the timings option to recieve request timings

Enhancements:

  • Differentiate between the requirements of the options passed
    to the constructor and the options passed to the function
    (it doesn't need the game id if it was set in the constructor before)

Diff:

1.2.1...1.2.2

N|Steam Market-Pricing v1.2.1

06 May 12:14
1.2.1
2602365
Compare
Choose a tag to compare

Changes:

  • Don't force generating volume and median keys since are not always provided by the API
  • Add all games who have items on the market to the Application enum

Diff:

1.2.0...1.2.1

N|Steam Market-Pricing v1.2.0

05 May 23:21
1.2.0
4c56ee2
Compare
Choose a tag to compare

Features:

  • Allow replacing options on every request when using the class with constructor
  • Add option to specify a custom timeout for the request
  • Add option to specify the local IP address to send from (keep in mind that the Steam API is currently only IPv4 enabled)

Changes:

  • De-duplicate network request code
  • Enable GZIP compression
  • Add custom user agent to requests
  • Throw custom errors on network timeouts / resets
  • Strengthen request rules (e.g. strict SSL)
  • Replace custom type() function with typeof

Miscellaneous:

  • Add more tests
  • Enhance JSDoc
  • Update dependencies

Diff:

1.1.2...1.2.0