steamutils 1.4.53 → 1.4.54
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +1 -1
- 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) {
|