steamutils 1.1.81 → 1.1.82
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +5 -0
- 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,
|