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", "name": "tf2wikipricing",
"version": "0.7.0", "version": "0.7.1",
"description": "Adds item pricing to the Team Fortress 2 wiki", "description": "Adds item pricing to the Team Fortress 2 wiki",
"devDependencies": { "devDependencies": {
"@happy-dom/global-registrator": "^17.4.4", "@happy-dom/global-registrator": "^17.4.4",

View File

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