Closed babasbot closed 1 year ago
Hey @babasbot , mind checking if this holds true on v2.5.0 as well please? It was released today, with a pretty big change to how the internals here work.
Thanks!
It is working as expected on 2.5.0
; thank you! 🖖
Bug description
Asynchronous calls of
isFeatureEnabled
fail to resolve when no personal API key is provided.Tested on:
posthog-node@2.4.0
.v16.8.0
How to reproduce
The expected result would be:
But instead, we got:
Related sub-libraries
Additional context
isFeatureEnabled
calls instead of grouping them inside aPromise.all
, the feature flags will be evaluated correctly.