steamutils 1.4.52 → 1.4.54

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. package/SteamClient.js +2734 -2718
  2. package/index.js +1 -1
  3. package/package.json +1 -1
package/index.js CHANGED
@@ -24,7 +24,7 @@ import SteamTotp from "steam-totp";
24
24
  import { SteamProto, SteamProtoType } from "./steamproto.js";
25
25
  import EventEmitter from "node:events";
26
26
 
27
- const eventEmitter = new EventEmitter();
27
+ const eventEmitter = (globalThis.steamUserEventEmitter = new EventEmitter());
28
28
 
29
29
  export default class SteamUser {
30
30
  constructor(cookies, refreshCookie, onRefreshCookie) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "steamutils",
3
- "version": "1.4.52",
3
+ "version": "1.4.54",
4
4
  "main": "index.js",
5
5
  "dependencies": {
6
6
  "alpha-common-utils": "^1.0.6",