steamutils 1.3.88 → 1.3.89

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.
Files changed (2) hide show
  1. package/index.js +2 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -6056,8 +6056,8 @@ export default class SteamUser {
6056
6056
  .split(",")
6057
6057
  .map((r) => r.trim().replaceAll(`'`, "").replaceAll(`"`, ""));
6058
6058
  const image = $1.find(`#mylisting_${listingid}_image`).attr("src");
6059
- const buyer_pays_price = parseInt($1.find(`.market_listing_price span[title="This is the price the buyer pays."]`).text().replaceAll(`(`, "").replaceAll(`)`, "").replaceAll(`₫`, "").replaceAll(`.`, "").replaceAll(`,`, "").trim());
6060
- const receive_price = parseInt($1.find(`.market_listing_price span[title="This is how much you will receive."]`).text().replaceAll(`(`, "").replaceAll(`)`, "").replaceAll(`₫`, "").replaceAll(`.`, "").replaceAll(`,`, "").trim());
6059
+ const buyer_pays_price = StringUtils.cleanSpace($1.find(`.market_listing_price span[title="This is the price the buyer pays."]`).text().replaceAll(`(`, "").replaceAll(`)`, ""));
6060
+ const receive_price = StringUtils.cleanSpace($1.find(`.market_listing_price span[title="This is how much you will receive."]`).text().replaceAll(`(`, "").replaceAll(`)`, ""));
6061
6061
  const item_name = $1.find(".market_listing_item_name_link").text();
6062
6062
  const game_name = $1.find(".market_listing_game_name").text();
6063
6063
  const date_combined = StringUtils.cleanSpace($1.find(".market_listing_listed_date_combined").text().replaceAll(`Listed:`, ""));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "steamutils",
3
- "version": "1.3.88",
3
+ "version": "1.3.89",
4
4
  "main": "index.js",
5
5
  "dependencies": {
6
6
  "alpha-common-utils": "^1.0.6",