Closed runyasak closed 1 year ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated |
---|---|---|---|---|
nuxt-medusa | ✅ Ready (Inspect) | Visit Preview | 💬 Add your feedback | Feb 25, 2023 at 8:02AM (UTC) |
Hey @runyasak
Thanks for the PR however the idea was this feature was different.
There is nothing wrong with passing options as module configuration. What Pooya meant with this bug is that the API Key that is passed as configuration option is later added to the runtime config. In your PR it will still be added there.
So how it should be implemented is to find a way to not add apiKey to the runtime config but pass these options in a different way so that they are not accessible from the public runtime config.
@Baroshem Sorry, for my misunderstanding. I should ask you for more detail first. I get your point now. I will submit another PR to solve this issue.
By the way, thank you so much for accepting my PR. 😂
I will close this PR as it is outdated and there is another PR live :)
Types of changes
Description
This PR is related to #7. I've created
API_KEY
env and implemented it on module options.Scope of work
API_KEY
env and implement onmodule.ts
Checklist: