zaida04 / guilded.js

A library for creating bots with the guilded.gg bot API.
https://guilded.js.org
MIT License
69 stars 15 forks source link

feat: header options for WS and REST #250

Closed IdkGoodName closed 6 months ago

IdkGoodName commented 6 months ago

Adds headers to options to both WS and REST to allow easier access to Guilded API experiments today and in the future. This also adds client option ws that will be handed to the WebSocket directly (which is what is done to REST as of now).

Status

Semantic versioning classification:

changeset-bot[bot] commented 6 months ago

🦋 Changeset detected

Latest commit: 178e3be8c0d74e130aad115347f276310020da6a

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages | Name | Type | | -------------- | ----- | | @guildedjs/api | Patch | | guilded.js | Patch | | @guildedjs/gil | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

IdkGoodName commented 6 months ago

Sorta requested by @zaida04.