Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes .ROBLOSECURITY= requirement when binding cookies #21

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

antipoly
Copy link

This pull fixes the requirement of prefixing your cookies with a .ROBLOSECURITY string when context binding them into a function, as in such an example:

const cookie = ".ROBLOSECURITY=..."
const result = await OpenBlox.ClassicAPI.ClassicUsersApi.authenticatedUserInfo.bind({ cookie })();

This package comes with all of the return type signatures for each API request, but fails to export them for convenience. This would fix #20.

I added a bare minimum test suite to verify the changes I was making: /tests

I also added the .name property on HttpError.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Typings: Export named types used in structures returned from the api
1 participant