v5.0.0
5.0.0 (2019-07-09)
Features
options.request.hook’s signature is now(request, endpointOptions)(3aa81f3)
BREAKING CHANGES
options.request.hook’s signature is now(request, endpointOptions)
Before:
request("GET /user", { request: { hook: (options, request) => /* ... */ } })After:
request("GET /user", { request: { hook: (request, options) => /* ... */ } })That way it aligns with octokit.hook from @octokit/rest