Skip to content

2.3.0

Choose a tag to compare

@ChiragAgg5k ChiragAgg5k released this 06 Jul 03:50
· 2 commits to main since this release
73bb46e

What's Changed

  • Fix premium domain pricing for aftermarket listings by @ChiragAgg5k in #68

Details

  • NameCom::getPrice() now consults the availability endpoint and uses its purchasePrice/renewalPrice as authoritative for premium listings (premium flag or non-registration purchaseType), instead of quoting the base TLD registry price. Transient availability failures soft-skip the override (uncached) so standard-domain pricing is unaffected.
  • NameCom::suggest() treats non-registration purchase types as premium and exposes renewalPrice and purchaseType per suggestion.
  • purchase() accepts an optional purchasePrice parameter (required by registrars for premium domains) across Registrar, NameCom, OpenSRS and Mock — backward-compatible.
  • getPrice() no longer caches null renewal/transfer prices as 0.0; they now correctly raise PriceNotFoundException.

Full Changelog: 2.2.0...2.3.0