hull-client
Advanced tools
Changelog
2.0.0-beta.3
Changelog
2.0.0-beta.2
logsArray
and firehoseEventsArray
to additionally capture log lines and firehose events to separate arrays.
CAUTION: this does change normal behaviour of the library (when those arrays are provided logs are not send out to stdout and firehose events are not sent out to the firehose endpoint)Changelog
2.0.0-beta.1
const hullClient = HullClient()
anymore, you always need new
keywordas
method is not available anymore, use asUser
utils.groupTraits
method is not available anymore, use utils.traits.group
traits
method second parameter accepting source
and sync
option is not available anymore. Sync calls are not available at all, and if you need to apply source
to your traits you need to do it before passing payload to traits
methodhullClient.api.get
methods are not available anymore, use hullClient.get
or hullClient.api(path, "get")
, the same applies for all HTTP verbsimport type { HullUserClaims } from "hull-client";
const userClaims: HullUserClaims = {
wrong_claim: "bar"
};
// this will throw flow check error since `wrong_claim` is not correct