WFCD / warframe-items

📘 Get all Warframe items directly from Warframe's API. No more messy wikia scraping.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug] canAccess is not defined

Peatral opened this issue · comments

Describe the bug

When trying to get all Warframes, canAccess cant be called

NodeJS Version

v16.18.1

npm Version

v8.19.2

warframe-items Version

v1.1258.15

Access Method

npm Package (Default)

What happened?

When trying to do new Items({category:['Warframes']}) the error ReferenceError: canAccess is not defined is thrown. It seems like commit 233ae0e is to blame for that.

commented

thanks for catching this! i'll get right on it.
it looks like you're using it via esm, right?
like you're doing import Items from 'warframe-items';?

commented

should be fixed with b05e833.... once it releases, give it a shot!

commented

@Peatral sorry it took so long, had to fix some other issues too. should be working now with https://github.com/WFCD/warframe-items/releases/tag/v1.1258.16

Yup, works now again!