steamutils 1.1.80 → 1.1.82
Sign up to get free protection for your applications and to get access to all the features.
- package/.idea/steamutils.iml +1 -1
- package/.idea/vcs.xml +1 -1
- package/index.js +11 -0
- package/package.json +1 -1
- package/.idea/codeStyles/codeStyleConfig.xml +0 -5
package/.idea/steamutils.iml
CHANGED
@@ -2,8 +2,8 @@
|
|
2
2
|
<module type="WEB_MODULE" version="4">
|
3
3
|
<component name="NewModuleRootManager">
|
4
4
|
<content url="file://$MODULE_DIR$">
|
5
|
-
<excludeFolder url="file://$MODULE_DIR$/.tmp" />
|
6
5
|
<excludeFolder url="file://$MODULE_DIR$/temp" />
|
6
|
+
<excludeFolder url="file://$MODULE_DIR$/.tmp" />
|
7
7
|
<excludeFolder url="file://$MODULE_DIR$/tmp" />
|
8
8
|
</content>
|
9
9
|
<orderEntry type="inheritedJdk" />
|
package/.idea/vcs.xml
CHANGED
package/index.js
CHANGED
@@ -5331,6 +5331,12 @@ class SteamUser {
|
|
5331
5331
|
case "Received from the Community Market": {
|
5332
5332
|
break
|
5333
5333
|
}
|
5334
|
+
case "Exchanged one or more items for something different": {
|
5335
|
+
break
|
5336
|
+
}
|
5337
|
+
case "Earned an item due to ownership of another game": {
|
5338
|
+
break
|
5339
|
+
}
|
5334
5340
|
default: {
|
5335
5341
|
if (description.startsWith("You traded with ")) {
|
5336
5342
|
const peopleEl = tradehistory_event_description_el.find('a[href]')
|
@@ -5399,7 +5405,12 @@ class SteamUser {
|
|
5399
5405
|
})
|
5400
5406
|
})
|
5401
5407
|
|
5408
|
+
const id = [timestamp, description, plusminus, tradehistory_items.map(item => (item.classid || '0') + "_" + (item.instanceid || '0')).join('|')]
|
5409
|
+
.map(item => item.toString().replaceAll(/[^a-zA-Z0-9-+_|]/gi, ''))
|
5410
|
+
.join('_').toLowerCase()
|
5411
|
+
|
5402
5412
|
tradehistory.push({
|
5413
|
+
id,
|
5403
5414
|
timestamp,
|
5404
5415
|
timestampStr,
|
5405
5416
|
description,
|
package/package.json
CHANGED