We’ve added a new “disableClient” method to our JavaScript SDK.
When invoked, the SDK immediately stops any communication with the backend API and currently open surveys will be closed.
This allows you to programmatically suspend survey activity – for example, in critical areas of your app, during maintenance windows, or based on user consent preferences.
The disabled state is persistent and remains in effect until “enableClient” is explicitly called to resume normal operation.
This gives you more granular control over when and how the SDK is active within your application.