steamutils 1.1.18 → 1.1.19

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/index.js +27 -0
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -5077,6 +5077,30 @@ class SteamUser {
5077
5077
  case "Earned due to game play time": {
5078
5078
  break
5079
5079
  }
5080
+ case "Listed on the Steam Community Market": {
5081
+ break
5082
+ }
5083
+ case "Turned into Gems": {
5084
+ break
5085
+ }
5086
+ case "Unpacked a booster pack": {
5087
+ break
5088
+ }
5089
+ case "Purchased with Gems": {
5090
+ break
5091
+ }
5092
+ case "Earned by crafting": {
5093
+ break
5094
+ }
5095
+ case "Used": {
5096
+ break
5097
+ }
5098
+ case "Unsealed": {
5099
+ break
5100
+ }
5101
+ case "Earned by sale purchases": {
5102
+ break
5103
+ }
5080
5104
  default: {
5081
5105
  if (description.startsWith("You traded with ")) {
5082
5106
  const peopleEl = tradehistory_event_description_el.find('a[href]')
@@ -5102,6 +5126,9 @@ class SteamUser {
5102
5126
  } else if (description.startsWith("You listed an item on the Community Market. The listing was placed on hold until")) {
5103
5127
  //You listed an item on the Community Market. The listing was placed on hold until 24 Jan @ 3:06am.
5104
5128
  description = "You listed an item on the Community Market. The listing was placed on hold until"
5129
+ } else if (description.startsWith("Earned in ")) {
5130
+ //Earned in PUBG: BATTLEGROUNDS
5131
+ description = "Earned in game"
5105
5132
  } else {
5106
5133
  console.log(description);
5107
5134
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "steamutils",
3
- "version": "1.1.18",
3
+ "version": "1.1.19",
4
4
  "main":"index.js",
5
5
  "dependencies": {
6
6
  "axios": "^1.3.4",