02 – Javascript SDK Changelog

Version 0.3.0 – November 2, 2022 #

Added:

  • We added a new API endpoint to fetch the information for the current_organization endpoint which returns the data related to user’s current organization

Fixed:

  • When using custom domains we were handling the color and icons fetching in an incorrect way, so we added an adapter for Poi Categories.

Version 0.2.0 – April 24, 2022 #

Improvements:

  • Update dependencies: axios and qs, to get the latest bugfixes.

Fixed:

  • In order to get assisted coding in VS Code and supported editors, now we export types properly to dist/index.d.ts

Version 0.1.0 – March 21, 2022 #

Improvements:

  • Package building:
    • We have moved to rollup and esbuild as our internal build system. This allow us to faster builds and pluggable systems.
    • Generate cjs, umd and es5 builds, so this library can be used in old browsers and import it as a <script> tag (check our example).
  • Dependencies
    • Update to latest axios library version, to get the latest bugfixes.
    • We have removed the jwt_decode depencency and use built-in function, so we lower the package size
  • We have unified function names
    • Rename realtime.getUserPositions to realtime.getPositions
    • Rename SitumSDK.cartography.getFloorsOfBuildingId to SitumSDK.cartography.getFloors
    • Rename SitumSDK.cartography.updatePath to SitumSDK.cartography.patchPath
    • Rename SitumSDK.cartography.getPoisOfBuiding to SitumSDK.cartography.getPois, now supports filtering
    • Rename SitumSDK.cartography.searchGeofences to SitumSDK.cartography.getGeofences
  • Move SitumError class to utils
  • Avoid using a JS Proxy to resolve domains in the api base
  • Take mappers out from realtime domain class
  • Documentation
    • Added documentation for all domain methods
    • Improve typing system by using Typescript generics in the base API
    • Improved typedoc configuration to export symbols of internal domain classes

Fixed:

  • Disable injecting the SDK version through the User-Agent HTTP header for now, some browsers were crashing due to user-agent header being not writable.
  • There was a double check for User-Agent headers check in apiBase, we have removed the dulication
  • There was a double check or Content-Type header while building request headers
  • We force the internal classes to pass configuration Ensure to pass base configuration in the SitumSDK main class. We detected situations where the configuration was lost.

Version 0.0.5 – February 21, 2022 #

Improvements:

  • We have moved API to Object (functions to map server responses to TS objects) adapters into their separated forder
  • We added JSDoc Added JSDoc to all API wrappers
  • We have unified function names
    • Renamed SitumSDK.cartography.getFloorsOfBuilding to SitumSDK.cartography.getFloorsByBuildingId
    • Renamed SitumSDK.cartography.searchGeofences to SitumSDK.cartography.getGeofences

Fixed:

  • Crash in cartography fetch request due to improper server response handling

Version 0.0.4 – February 14, 2022 – 💌 edition #

Added:

  • API wrappers for the POI REST api

Fixed:

  • ES 2017 support

Version 0.0.1 – December 30, 2021 #

Hello World! This is the first version of the Situm Javascript SDK. Please bear in mind this is the first draft version. You must not use it as a production-ready package. We will publish further more stable versions.

Added:

  • Consumer wrappers for the SITUM REST API for buildings and their cartography (floors, geofences, pois, paths, events),
  • Users and fetching realtime positioning.
  • We also added multiple authentication methods

Subscribe to our newsletter

BASIC INFORMATION ON DATA PROTECTION

Data controller: SITUM TECHNOLOGIES, S.L.
Contact: Data controller: situm@situm.es
Responsible for protection: dpo@situm.es
Purpose and legal basis: To manage the sending of SITUM newsletters only with consent.
Legitimation: Express consent of the interested party.
Recipients: The data will not be passed on to third parties with the exception of legal obligations.
Retention period: As long as the interested party remains subscribed to the newsletter (a link to unsubscribe will be available in each newsletter sent by Situm).
Rights: The interested party may at any time revoke their consent, as well as exercise their rights of opposition, access, conservation, rectification, limitation, deletion of data and not be subject to a decision based only on automated data processing, by writing to SITUM at the addresses indicated.
Additional Information: You can consult additional and detailed information on Data Protection in our privacy policy.

Please, download your copy here

Thank you for downloading our whitepaper. Please do not hesitate to contact us if you would like to know more about how our solutions can help your business. Download whitepaper


Close window