steamutils 1.4.53 → 1.4.54

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/index.js +1 -1
  2. 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.53",
3
+ "version": "1.4.54",
4
4
  "main": "index.js",
5
5
  "dependencies": {
6
6
  "alpha-common-utils": "^1.0.6",