Question

Get the integration version in JavaScript

  • 5 July 2023
  • 2 replies
  • 12 views

Is there a way to get the current integration version (as specified in package.json) from JavaScript code, e.g. in authentication.js?


This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

2 replies

Userlevel 3
Badge +6

Hey @Tytila , 

To my knowledge, it’s not currently possible to dynamically access the version number within the integration.

The closest alternative I’m aware of would be to manually set an environment variable for each version, which could be referenced elsewhere in the integration.

Good to know, thanks.