steamutils 1.1.71 → 1.1.72

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +1 -0
  2. package/package.json +1 -1
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.71",
3
+ "version": "1.1.72",
4
4
  "main":"index.js",
5
5
  "dependencies": {
6
6
  "axios": "^1.3.4",