bump version to 0.7.1

Reviewed-on: http://charon.local/git/xen/tf2wikipricing/pulls/19
This commit is contained in:
Xen
2025-04-16 21:18:25 -04:00
2 changed files with 4 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "tf2wikipricing",
"version": "0.7.0",
"version": "0.7.1",
"description": "Adds item pricing to the Team Fortress 2 wiki",
"devDependencies": {
"@happy-dom/global-registrator": "^17.4.4",

View File

@@ -82,9 +82,9 @@ async function inject() {
return;
}
if(!itemName) {
// Get name from index
itemName = (itemSchema[itemIndex.toString()] as any).name;
// Prioritize name from item schema
if(itemName !== itemSchema[itemIndex.toString()].name) {
itemName = (itemSchema[itemIndex.toString()]).name
}
log(`Starting lookup for ${itemName} (defindex ${itemIndex})`);