customerio-node
Advanced tools
Changelog
[3.0.0]
(BREAKING) Remove the dependency on request
(#62)
customerio-node
. Unless you were using request
specific options, you don't need to make any changes.(BREAKING) Return an Error
instance for non-2XX
status codes (#62)
customerio-node
. Unless you were using instanceof
to check the type of error returned from track or api methods, you don't need to make any changed. message
, statusCode
, response
, and body
are still accessible as properties on the error.(BREAKING) trackAnonymous
now requires an anonymous_id
and cannot trigger campaigns. If you previously used anonymous events to trigger campaigns, you can still do so directly through the API. We now refer to anonymous events that trigger campaigns as "invite events".
(BREAKING) Restructure the package to have a single entry point, rather than three. This is more of a standard package structure, and is more future-proof. (#63)
Return a readable message when the server returns an array of errors instead of Unknown error
(#62)