Skip to content

Commit

Permalink
perf: export xpinfo, profile, and stats for individual parsing (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
SlayerOrnstein authored May 17, 2024
1 parent 6574225 commit 88288ca
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 129 deletions.
143 changes: 15 additions & 128 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,18 @@
".": {
"import": "./src/ProfileParser.js",
"types": "./types/index.d.ts"
},
"./XpInfo": {
"import": "./src/XpInfo.js",
"types": "./types/index.d.ts"
},
"./Stats": {
"import": "./src/Stats.js",
"types": "./types/index.d.ts"
},
"./Profile": {
"import": "./src/Profile.js",
"types": "./types/index.d.ts"
}
},
"public": true,
Expand Down
2 changes: 1 addition & 1 deletion src/ItemConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export default class ItemConfig {

/**
* Sigil colors applied to item if they exist
* @type {module:("warframe-items").ColorMap | undefined}
* @type {module:"warframe-items".ColorMap | undefined}
*/
if (config.sigcol) this.sigilColor = colors.mapColors(mapToHex(config.sigcol));

Expand Down

0 comments on commit 88288ca

Please sign in to comment.