Skip to content

Commit

Permalink
Remove unused gemstore item data
Browse files Browse the repository at this point in the history
  • Loading branch information
queicherius committed Aug 12, 2023
1 parent 342b467 commit 17a3e7e
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 1,746 deletions.
13 changes: 0 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,19 +48,6 @@ let itemInheritance = itemInherits(item.id)
// -> false for items that don't inherit value from other items
```

### Get the gem price of an item

```js
import {itemGems} from 'gw2e-account-value'

// Note: for things like character slots and bank slots, the
// unlock item id should get passed in
let item = {id: 42597, /* ... */}
let gemPrice = value.itemGems(item.id)
// -> {gems: 75, flags: ['booster']}
// -> false for non-gemstore items
```

## Tests

```
Expand Down
5 changes: 1 addition & 4 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
import _itemValue from './itemValue.js'
import _itemInherits from './itemInherits.js'
import _itemGems from './itemGems.js'

export default {
itemValue: _itemValue,
itemInherits: _itemInherits,
itemGems: _itemGems
itemInherits: _itemInherits
}

export const itemValue = _itemValue
export const itemInherits = _itemInherits
export const itemGems = _itemGems
5 changes: 0 additions & 5 deletions src/itemGems.js

This file was deleted.

Loading

0 comments on commit 17a3e7e

Please sign in to comment.