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

WoW Classic instance returning retail data #123

Closed
albri opened this issue Feb 27, 2021 · 3 comments
Closed

WoW Classic instance returning retail data #123

albri opened this issue Feb 27, 2021 · 3 comments

Comments

@albri
Copy link

albri commented Feb 27, 2021

I'm trying to use this library specifically for WoW Classic as documented.

I am trying to create a WoW Classic instance like below

import { wow } from 'blizzard.js'

const wowClassicClient = await wow.classic.createInstance({
  ...
 })

But whenever I use wowClassicClient I only get retail specific data back.

For example await wowClassicClient.playableClass() returns all 12 retail classes. Searching for items returns the retail versions.

Am I missing something somewhere?

Thanks

@albri albri changed the title WoW Classic WoW Classic instance returning retail data Feb 27, 2021
@benweier
Copy link
Owner

Hey @albri that's my bad I forgot to set the namespace of the wow classic methods. I'll get a fix going

@benweier
Copy link
Owner

@albri fixed, 4.1.0 is now published to npm

@albri
Copy link
Author

albri commented Feb 28, 2021

Great, thanks a lot!

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

No branches or pull requests

2 participants