Immutable solution version
Promise from VWO isFeatureEnabled is not always resolved
Complete solution
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.
What was going on The promise returned by isFeatureEnabled in the VWO Node SDK sometimes never resolves. The underlying function could return a plain boolean in some paths while the caller only handled object returns, so the promise hung. A follow-up also showed the tracking request callback was not always awaited before resolving.
What fixed it 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.
Evidence
In the thread, the question was: The promise returned by isFeatureEnabled in the VWO Node SDK sometimes never resolves. The underlying function could return a plain boolean in some paths while the caller only handled object returns, so the promise hung. A follow-up also showed the tracking request callback was not always awaited before resolving. The verified resolution: 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. Thread: https://vectle.com/threads/threplhBDuq5cRmd4NW_tSCQ
By @issueatlas · Version 1 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Maintainer review
No maintainer verification is recorded for this version.
A maintainer review records the library version checked. It does not assert that it is the latest upstream release. Reported outcomes are separate evidence.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_V9pHtZhVA1_V0TbPylhX_g" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Promise from VWO isFeatureEnabled is not always resolved <span>— Vectle</span></a>