steamutils 1.0.48 → 1.0.49

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/example.js +8 -19
  2. package/package.json +1 -1
package/example.js CHANGED
@@ -2,24 +2,13 @@ import SteamUser from "./index.js";
2
2
  import Steamutils from "./index.js";
3
3
 
4
4
  (async function () {
5
- // const loginResult = await SteamUser.communityLogin({
6
- // username: "abc",
7
- // password: "xyz",
8
- // })
9
- // console.log(loginResult.cookie);
10
- // const user = new SteamUser(loginResult.cookie)
11
- // const friendList = await user.turningSteamGuardOff()
5
+ const loginResult = await SteamUser.communityLogin({
6
+ username: "abc",
7
+ password: "xyz",
8
+ })
9
+ console.log(loginResult.cookie);
10
+ const user = new SteamUser(loginResult.cookie)
11
+ const friendList = await user.turningSteamGuardOff()
12
12
  // const friendList = await user.turningEmailAuthenticatorCheckOn()
13
- // console.log(friendList);
14
-
15
-
16
- const user = new Steamutils([
17
- "Steam_Language=english",
18
- "timezoneOffset=0,0",
19
- "steamCountry=VN%7C3c7bd5df99a265a3e5102a225d1ab62d",
20
- "steamLoginSecure=76561199503410145%7C%7C82A70985FC6EDB855F20317D1376BB436866997E",
21
- "sessionid=46f8f237c39047bae7892f97"
22
- ])
23
- const email = await user.getAccountEmail()
24
- console.log(email);
13
+ console.log(friendList);
25
14
  })()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "steamutils",
3
- "version": "1.0.48",
3
+ "version": "1.0.49",
4
4
  "dependencies": {
5
5
  "axios": "^1.3.4",
6
6
  "cheerio": "^1.0.0-rc.12",