Back to Clerk

`httpOptions` parameter removed

packages/upgrade/src/versions/core-2/backend/httpoptions-removed.md

latest496 B
Original Source

The httpOptions parameter was removed from the internal buildRequest function but it is used by most public facing APIs. Hence you were able to pass httpOptions to some functions which is not possible anymore. If you're currently relying on this functionality and wish to update, please reach out to Clerk's support.

The internal change looks like this:

diff
- const r = buildRequest({ httpOptions: { headers: {} }})
+ const request = buildRequest()
+ request({ headerParams: {} })