steamutils 1.1.81 → 1.1.83
Sign up to get free protection for your applications and to get access to all the features.
- package/.idea/codeStyles/codeStyleConfig.xml +5 -0
- package/.idea/steamutils.iml +1 -1
- package/.idea/vcs.xml +1 -1
- package/index.js +8 -0
- package/package.json +1 -1
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$/temp" />
|
6
5
|
<excludeFolder url="file://$MODULE_DIR$/.tmp" />
|
6
|
+
<excludeFolder url="file://$MODULE_DIR$/temp" />
|
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
@@ -3390,6 +3390,9 @@ class SteamUser {
|
|
3390
3390
|
const { data } = await this._httpRequestAjax({
|
3391
3391
|
url: 'actions/GroupInvite',
|
3392
3392
|
data: params,
|
3393
|
+
headers: {
|
3394
|
+
'content-type': 'application/x-www-form-urlencoded'
|
3395
|
+
},
|
3393
3396
|
method: 'POST',
|
3394
3397
|
})
|
3395
3398
|
return data
|
@@ -5405,7 +5408,12 @@ class SteamUser {
|
|
5405
5408
|
})
|
5406
5409
|
})
|
5407
5410
|
|
5411
|
+
const id = [timestamp, description, plusminus, tradehistory_items.map(item => (item.classid || '0') + "_" + (item.instanceid || '0')).join('|')]
|
5412
|
+
.map(item => item.toString().replaceAll(/[^a-zA-Z0-9-+_|]/gi, ''))
|
5413
|
+
.join('_').toLowerCase()
|
5414
|
+
|
5408
5415
|
tradehistory.push({
|
5416
|
+
id,
|
5409
5417
|
timestamp,
|
5410
5418
|
timestampStr,
|
5411
5419
|
description,
|