Skip to content

v0.9.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 04 Jul 10:48
· 99 commits to main since this release
v0.9.0
7222c7d

Added

  • Added toJSON() methods to GeolocationCoordinates and GeolocationPosition.
  • Added the GeolocationCoordinatesParameters type, which can be used for typing simple objects that have the same properties as GeolocationCoordinates, but don't implement the full interface.

Changed

  • Errors thrown from successCallback and errorCallback arguments to getCurrentPosition() and watchPosition() are now thrown asynchronously, instead of being discarded.
  • Errors thrown from subscriber functions used in geolocation delegates and location services are now thrown asynchronously, instead of being discarded.