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

feat: added basic auth support and moved the code base to typescript #12

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ResuBaka
Copy link

This adds support for basic auth. Basic auth can be done in two ways with this you can add it to the url with https://:@example.org or you can add it with the config with basicAuth.password and basicAuth.user both ways need to have basicAuth.enabled set to true to work.

The other thing is now the whole code base is written in typescript and should be build in a way that works for publishing to npm. The down side of this could only be that people that use it in a repo that does not habe typescript enabled so vsf-api should be fine who get it directly from this repo could have problems.

@ResuBaka
Copy link
Author

This code does not work when you directly download it from github.com as it done currently in storefront-api and vsf-api, so when it gets merged we need to change it so it gets published and maybe to give some people time to move to the npm version we first merge it into an typescript branch maybe?

@ResuBaka
Copy link
Author

ResuBaka commented Jun 2, 2020

Any news here when someone will have a look into it?

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.

1 participant