hirosystems / stacks.js

JavaScript libraries for identity, auth, storage and transactions on the Stacks blockchain.
https://stacks.js.org
MIT License
944 stars 307 forks source link

API key header name doesn't match documented header name #1713

Open aryzing opened 5 days ago

aryzing commented 5 days ago

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?