steamutils 1.1.81 → 1.1.82

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 +5 -0
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -5405,7 +5405,12 @@ class SteamUser {
5405
5405
  })
5406
5406
  })
5407
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
+
5408
5412
  tradehistory.push({
5413
+ id,
5409
5414
  timestamp,
5410
5415
  timestampStr,
5411
5416
  description,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "steamutils",
3
- "version": "1.1.81",
3
+ "version": "1.1.82",
4
4
  "main": "index.js",
5
5
  "dependencies": {
6
6
  "axios": "^1.3.4",