-
Notifications
You must be signed in to change notification settings - Fork 56
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
yahooFinance.setGlobalConfig() isn't available #376
Comments
hey @glintik, thanks for reporting. This is fixed and will be in the next release (there'll be an automated message here when that happens). |
## [2.1.1](v2.1.0...v2.1.1) (2022-01-15) ### Bug Fixes * **setGlobalConfig:** add to index; minor improvements ([#376](#376)) ([464f26f](464f26f))
🎉 This issue is fixed in version 2.1.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
@gadicc Thank you for quick fix! Btw, the code is simple:
but when I run it, I'm getting throwed FailedYahooValidationError exception with 91 errors! Expected behaviour - return undefined. Some details about SRNG: |
Ah thanks, we'll look into that. Yeah, the error count is a bit misleading for the 'anyOf' case... we can probably slim it down by giving up after the first error for each case/type (equity, crypto, etc). Thanks for the background info, super helpful to understand all these edge cases. |
Closing this one. |
Bug Report
Describe the bug
yahooFinance.setGlobalConfig() isn't available as per doc in https://github.com/gadicc/node-yahoo-finance2/blob/devel/docs/validation.md:
Minimal Reproduction
Environment
Browser or Node:
Node version (if applicable):
Npm version: 2.1.0
Browser verion (if applicable):
Library version (e.g.
1.10.1
):Additional Context
The text was updated successfully, but these errors were encountered: