steamutils 1.1.70 → 1.1.72

Sign up to get free protection for your applications and to get access to all the features.
package/SteamClient.js CHANGED
@@ -1264,6 +1264,9 @@ function SteamClient({
1264
1264
  return state
1265
1265
  },
1266
1266
  log,
1267
+ isPrime(){
1268
+ return prime === true
1269
+ }
1267
1270
  }
1268
1271
  }
1269
1272
 
package/index.js CHANGED
@@ -2360,6 +2360,7 @@ class SteamUser {
2360
2360
  matchInfo.map = text.substringAfter('Competitive ')
2361
2361
  } else if (text.endsWith(' GMT')) {
2362
2362
  matchInfo.time = text
2363
+ matchInfo.timestamp = moment.utc(text.replace('GMT','').trim(),'YYYY-MM-DD HH:mm:ss', true).valueOf()
2363
2364
  } else if (text.startsWith('Wait Time: ')) {
2364
2365
  matchInfo.waitTime = text.substringAfter('Wait Time: ')
2365
2366
  } else if (text.startsWith('Match Duration: ')) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "steamutils",
3
- "version": "1.1.70",
3
+ "version": "1.1.72",
4
4
  "main":"index.js",
5
5
  "dependencies": {
6
6
  "axios": "^1.3.4",