Closed gabegorelick closed 6 years ago
Even though the options parameter for allFlagsState is supposed to be optional [1], it's actually required when passing a callback:
options
allFlagsState
ldClient.allFlagsState(user, callback); // this hangs ldClient.allFlagsState(user, {}, callback); // this works
[1] https://github.com/launchdarkly/node-client/blob/62903ce09aa3311cecd126baff327958fc075eed/index.d.ts#L550-L569
Whoops, sorry, thanks for catching that. We'll have a fix out shortly.
Should work now.
Even though the
options
parameter forallFlagsState
is supposed to be optional [1], it's actually required when passing a callback:[1] https://github.com/launchdarkly/node-client/blob/62903ce09aa3311cecd126baff327958fc075eed/index.d.ts#L550-L569