Closed TimvdLippe closed 5 years ago
Hey, @TimvdLippe. I apologize for the breaking change and not responding quickly. I overlooked this issue. Is there a reason why you were using the httpService
field? This was intended to be a private implementation detail. It should have probably been prefixed with an underscore.
I am not the original author of the package where I encountered this usage. In essence, httpService
was used in the tests to verify that the correct calls were made by the downstream project: https://github.com/patsissons/hubot-giphy/blob/be50b92a92f2104468244845b8a57d79ec0173eb/test/giphy.spec.js#L1268
Oh awesome. Thanks @austinkelleher for fixing this :tada:
@TimvdLippe So sorry for the late response. I totally forgot to revisit it. I am going to open a PR soon to drop support for old Node versions and then I'll open a PR on hubot-giphy with the new version. Thanks again for opening the issue.
I was about to open a PR on hubot-giphy
, but please go ahead and do so. Thanks again for your effort and getting back to this, much appreciated!
In https://github.com/austinkelleher/giphy-api/commit/177af34305d3b94dd2e4f50c35ab374e0e44757a#diff-168726dbe96b3ce427e7fedce31bb0bcL63 you removed the assignment to
httpService
on the api object. This is a breaking change, as users (in this case me) rely on this field. Could you add the assignment back?