bnstooltips 1.18.5 → 1.18.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/index.es.js +6 -2
- package/build/index.es.js.map +1 -1
- package/build/index.js +6 -2
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.es.js
CHANGED
|
@@ -213,7 +213,11 @@ function ReplaceIconsInHtmlString(htmlString) {
|
|
|
213
213
|
}
|
|
214
214
|
function GetStatDisplayValue(value, percent) {
|
|
215
215
|
if (percent) {
|
|
216
|
-
|
|
216
|
+
var percentage = value / 100;
|
|
217
|
+
if (Number.isInteger(percentage)) {
|
|
218
|
+
return percentage.toFixed(1) + "%";
|
|
219
|
+
}
|
|
220
|
+
return percentage + "%";
|
|
217
221
|
}
|
|
218
222
|
return value.toString();
|
|
219
223
|
}
|
|
@@ -2829,7 +2833,7 @@ function throwException(message, status, response, headers, result) {
|
|
|
2829
2833
|
var ItemDownloadClient = /** @class */ (function () {
|
|
2830
2834
|
function ItemDownloadClient(region, patch) {
|
|
2831
2835
|
if (patch === void 0) { patch = ""; }
|
|
2832
|
-
this.apiV = "
|
|
2836
|
+
this.apiV = "v21";
|
|
2833
2837
|
this.patch = patch;
|
|
2834
2838
|
this.region = region;
|
|
2835
2839
|
var baseUrl = ItemDownloadClient.GetUrlBase();
|