steamutils 1.3.63 → 1.3.64

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/index.js +10 -0
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -6416,6 +6416,10 @@ export default class SteamUser {
6416
6416
  const community = new SteamCommunity();
6417
6417
  community.setCookies(cookie.toString().split(";"));
6418
6418
  community.oAuthToken = accessToken;
6419
+ try {
6420
+ community.setMobileAppAccessToken(accessToken);
6421
+ } catch (e) {}
6422
+
6419
6423
  error = await new Promise((resolve) => {
6420
6424
  community.acceptConfirmationForObject(identitySecret, objectID, resolve);
6421
6425
  });
@@ -6436,6 +6440,9 @@ export default class SteamUser {
6436
6440
  const community = new SteamCommunity();
6437
6441
  community.setCookies(cookie.toString().split(";"));
6438
6442
  community.oAuthToken = accessToken;
6443
+ try {
6444
+ community.setMobileAppAccessToken(accessToken);
6445
+ } catch (e) {}
6439
6446
  const time = SteamTotp.time();
6440
6447
  const key = SteamTotp.getConfirmationKey(identitySecret, time, "conf");
6441
6448
  // err.message === "Not Logged In";
@@ -6465,6 +6472,9 @@ export default class SteamUser {
6465
6472
  const community = new SteamCommunity();
6466
6473
  community.setCookies(cookie.toString().split(";"));
6467
6474
  community.oAuthToken = accessToken;
6475
+ try {
6476
+ community.setMobileAppAccessToken(accessToken);
6477
+ } catch (e) {}
6468
6478
  error = await new Promise((resolve) => {
6469
6479
  community.finalizeTwoFactor(identitySecret, finalizeTwoFactorCode, resolve);
6470
6480
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "steamutils",
3
- "version": "1.3.63",
3
+ "version": "1.3.64",
4
4
  "main": "index.js",
5
5
  "dependencies": {
6
6
  "alpha-common-utils": "^1.0.6",