Checkout JavaScript SDK v1.4.0 Released with Free Trial Type Support
We are releasing a new version 1.4.0 of our Checkout JavaScript SDK. This update introduces proper type support for Free Trial flows.
Previously, in the success callback, you couldn’t access structured data when a free trial was triggered. With this release, the data is now available under the data.trial property with full type annotations, making it easier to build consistent post-trial experiences.
Please note that this enhancement applies only to free trials. For paid trials, you should continue using the data.purchase property.
If you’re using the CDN version, no action is required — the update is already live. For NPM installations, please upgrade by running:
npm install @freemius/checkout@latest
For more details, please visit our GitHub repository.
