Skip to content

Releases: metonym/svelte-geolocation

v1.0.0

Choose a tag to compare

@metonym metonym released this 13 Jul 19:16

Breaking Changes

  • add exports map and use type: module
  • drop bundled ESM/UMD support

Fixes

  • fix TypeScript definitions to reflect that watchPosition, clearWatcher accessors are not async

v0.3.0

Choose a tag to compare

@metonym metonym released this 28 Oct 02:56
  • use .svelte.d.ts extension for TypeScript definitions
  • add component imports to examples in README.md

v0.2.3

Choose a tag to compare

@metonym metonym released this 29 Sep 03:27
  • guard against window is undefined to support SSR environments, like SvelteKit

v0.2.2

Choose a tag to compare

@metonym metonym released this 22 Jul 14:35
  • add watchPosition, getGeolocationPosition, clearWatcher as accessor methods in the TypeScript definitions

v0.2.1

Choose a tag to compare

@metonym metonym released this 06 Feb 19:13
  • clear watcher in watchPosition method

v0.2.0

Choose a tag to compare

@metonym metonym released this 02 Feb 00:48
  • set watch to true to enable the geolocation.watchPosition API
  • export getGeolocationPosition, watchPosition, clearWatcher functions

v0.1.0

Choose a tag to compare

@metonym metonym released this 30 Dec 19:08

Initial release