steamutils 1.0.4 → 1.0.5

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/SteamClient.js +5 -0
  2. package/package.json +1 -1
package/SteamClient.js CHANGED
@@ -6,6 +6,11 @@ import SteamID from "steamid";
6
6
  import FriendCode from "csgo-friendcode";
7
7
  import axios from "axios";
8
8
  import helpers from "./helpers/protos.js";
9
+ import {fileURLToPath} from "url";
10
+ import path from "path";
11
+
12
+ const __filename = fileURLToPath(import.meta.url);
13
+ const __dirname = path.dirname(__filename);
9
14
 
10
15
  const Protos = helpers([{
11
16
  name: 'csgo',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "steamutils",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "dependencies": {
5
5
  "axios": "^1.3.4",
6
6
  "cheerio": "^1.0.0-rc.12",