Skip to content

Releases: radarlabs/radar-sdk-js

v4.3.0-beta.3

13 May 18:52
Compare
Choose a tag to compare
v4.3.0-beta.3 Pre-release
Pre-release
  • Fix regression with map style switching

v4.3.0-beta.2

13 May 18:07
Compare
Choose a tag to compare
v4.3.0-beta.2 Pre-release
Pre-release

Adds the map option locale to configure map language. This only works for Radar map styles as it searchs and replaces for the expression ["get", "radar:name_client_language"].

v4.2.1

13 May 12:53
27130c7
Compare
Choose a tag to compare
  • Fixes callback for Radar.trackOnce({ fraud: true }).

v4.3.0-beta.1

10 May 21:22
Compare
Choose a tag to compare
v4.3.0-beta.1 Pre-release
Pre-release
  • Adds a RadarMap option languages to specify languages. This only works for Radar map styles as it searches and replaces for the expression ["get", "radar:name_client_language"].
  • Adds a RadarMap option fallbackLanguage to specify a fallback language if a browser cannot detect its default language for languages set to local.

v4.2.1-beta.2

10 May 21:19
Compare
Choose a tag to compare
v4.2.1-beta.2 Pre-release
Pre-release
  • Fixes callback for Radar.trackOnce({ fraud: true }).

v4.3.0-beta.0

09 May 14:51
6b6d40e
Compare
Choose a tag to compare
v4.3.0-beta.0 Pre-release
Pre-release
  • Adds custom map styles and marker support.

v4.2.1-beta.1

07 May 14:09
Compare
Choose a tag to compare
v4.2.1-beta.1 Pre-release
Pre-release
  • Supports custom map styles and markers.
  • Refactors MapUI using an inheritance pattern to create RadarMap and RadarMarker classes.

v4.2.1-beta.0

07 May 13:30
Compare
Choose a tag to compare
v4.2.1-beta.0 Pre-release
Pre-release
bump version

v4.2.0

06 May 21:11
0c2f659
Compare
Choose a tag to compare
  • Returns { token, expiresAt, expiresIn, passed } when calling Radar.trackOnce({ fraud: true }) or Radar.trackVerified().
  • Removes Radar.trackVerifiedToken(). Since Radar.trackVerified() now returns { token } in addition to { user, events, location }, call Radar.trackVerified() instead.
  • Renames RadarDesktopAppError to RadarVerifyAppError.
  • Renames RadarTimeoutError to RadarNetworkError for consistency with mobile SDKs.
  • Renames RadarLocationPermissionsError to RadarPermissionsError for consistency with mobile SDKs.
  • Updates RadarPermissionsError and RadarLocationError logic. Returns RadarPermissionsError when location permissions aren't granted. Returns RadarLocationError when location permissions are granted but location isn't available or the location request times out.

v4.2.0-beta.5

06 May 13:18
Compare
Choose a tag to compare
v4.2.0-beta.5 Pre-release
Pre-release
  • Adds the parameter Radar.ui.marker({ customMarkerId }) to use a custom uploaded marker.
  • Adds a RadarMap.getMarkers() function which returns an array of all RadarMarker instances to a RadarMap instance.
  • Adds support for .png custom markers.
  • Removes previous custom marker handling logic.