steamutils 1.2.72 → 1.2.73
Sign up to get free protection for your applications and to get access to all the features.
- package/SteamClient.js +3 -1
- package/package.json +2 -1
package/SteamClient.js
CHANGED
@@ -13,6 +13,7 @@ import {v4 as uuidv4} from 'uuid';
|
|
13
13
|
import EFriendRelationship from "steam-user/enums/EFriendRelationship.js";
|
14
14
|
import SteamCommunity from "steamcommunity";
|
15
15
|
import ELobbyType from "steam-user/enums/ELobbyType.js";
|
16
|
+
import moment from "moment-timezone";
|
16
17
|
|
17
18
|
const __filename = fileURLToPath(import.meta.url);
|
18
19
|
const __dirname = path.dirname(__filename);
|
@@ -270,7 +271,8 @@ function SteamClient({
|
|
270
271
|
}
|
271
272
|
|
272
273
|
function log(...msg) {
|
273
|
-
|
274
|
+
const now = moment().tz('Asia/Ho_Chi_Minh').format("DD/MM/YYYY HH:mm:ss")
|
275
|
+
console.log(`[${now}] [${getAccountInfoName()}]`, ...msg)
|
274
276
|
}
|
275
277
|
|
276
278
|
async function getPersonas(steamIDs) {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "steamutils",
|
3
|
-
"version": "1.2.
|
3
|
+
"version": "1.2.73",
|
4
4
|
"main": "index.js",
|
5
5
|
"dependencies": {
|
6
6
|
"axios": "^1.5.1",
|
@@ -10,6 +10,7 @@
|
|
10
10
|
"form-data": "^4.0.0",
|
11
11
|
"lodash": "^4.17.21",
|
12
12
|
"moment": "^2.29.4",
|
13
|
+
"moment-timezone": "^0.5.43",
|
13
14
|
"node-bignumber": "^1.2.2",
|
14
15
|
"steam-session": "^1.4.1",
|
15
16
|
"steam-user": "^5.0.1",
|