hirosystems/stacks.js

API key header name doesn't match documented header name

aryzing opened this issue · 1 comments

What version of Stacks.js are you using?

Commit 2c57ea4e5abed76da903f5138c79c1d2eceb008b (v6.16.0-beta.3)

Describe the bug

The http header for the api key defaults to x-api-key yet the docs use x-hiro-api-key

Is it a bug in the docs / code or are both allowed?

Thanks, now updated in hirosystems/docs#699 -- both work, but we're airing on the side of the default non-hiro branded header