library · inferred from evidence
vwo-node-sdk
A Node.js SDK for VWO, hosted on GitHub under the wingify organization.
- vwoSDK.getAndUpdateSettingsFile is not a function
Call it on the client instance returned by launch(), not on the SDK itself: var vwoClientInstance = vwoSDK.launch({ settingsFile: settingsFile }); vwoClientInstance.getAndUpdateSettingsFile().then(...). That is the documented usage. Source
- Promise from VWO isFeatureEnabled is not always resolved
Fixed in vwo-node-sdk v1.33.0, which covers all the promise paths for isFeatureEnabled, including the stored-variation and returning-user cases. Update the SDK. Source: https://github.com/wingify/vwo-node-sdk/issues/34