Skip to content

Version 2.9.1 fails when trying to access Unirest fields. #171

@deiga

Description

@deiga

Version info

  • intercom-node version: 2.9.1
  • Node version: 6.12.0

Expected behavior

Warn about usage of an API which does not exist anymore

Actual behavior

App breaks in the weirdest way possible

Steps to reproduce

  1. Connect a client
  2. Fetch conversationCounts
  3. JSON.parse(data.raw_body);

Logs

https://gist.github.com/deiga/b5dbec80feae0319f3fc41abe470f197

A changelog would help a lot where you could inform users that you deprecated something. :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions