valorant-tools
Advanced tools
Comparing version 3.0.0 to 3.0.1
{ | ||
"name": "valorant-tools", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "Various valorant related tools for overwolf apps.", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -70,4 +70,4 @@ ## Various valorant related tools for overwolf apps. | ||
```js | ||
import { getAgentDetailByEnglishName } from 'valorant-tools'; | ||
console.log(getAgentDetailByEnglishName()); | ||
import { getAgentDetailsByEnglishName } from 'valorant-tools'; | ||
console.log(getAgentDetailsByEnglishName()); | ||
/* | ||
@@ -74,0 +74,0 @@ { |
@@ -1062,3 +1062,3 @@ import AGENT_Rift_PC_C from './Agents/Rift_PC_C/agent.png'; | ||
const getAgentDetailByEnglishName = (name) => { | ||
const getAgentDetailsByEnglishName = (name) => { | ||
const agent = Object.keys(AGENTS).find((key) => AGENTS[key].en === name); | ||
@@ -1073,5 +1073,7 @@ if (agent != null) { | ||
getAgentName, | ||
getAgentImage, | ||
isAgentExist, | ||
getEveryAgent, | ||
getEveryAgentWithDetails, | ||
getAgentDetailsByEnglishName, | ||
}; |
@@ -1,2 +0,10 @@ | ||
import { AGENTS, getAgentName, isAgentExist, getEveryAgent } from './agent.js'; | ||
import { | ||
AGENTS, | ||
getAgentName, | ||
getAgentImage, | ||
isAgentExist, | ||
getEveryAgent, | ||
getEveryAgentWithDetails, | ||
getAgentDetailsByEnglishName, | ||
} from './agent.js'; | ||
import { MAPS, getMapName, isMapExist, getEveryMap } from './map.js'; | ||
@@ -7,4 +15,7 @@ | ||
getAgentName, | ||
getAgentImage, | ||
isAgentExist, | ||
getEveryAgent, | ||
getEveryAgentWithDetails, | ||
getAgentDetailsByEnglishName, | ||
MAPS, | ||
@@ -11,0 +22,0 @@ getMapName, |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
10871073
1112
0