Skip to main content
Question

Get the integration version in JavaScript

  • July 5, 2023
  • 2 replies
  • 27 views

Tytila

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

Forum|alt.badge.img+7
  • Zapier Staff
  • July 5, 2023

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.


Tytila
  • Author
  • Beginner
  • July 6, 2023

Good to know, thanks.