steamutils 1.3.89 → 1.3.91

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 (3) hide show
  1. package/SteamClient.js +2418 -2437
  2. package/index.js +6 -1
  3. package/package.json +1 -1
package/index.js CHANGED
@@ -5923,10 +5923,15 @@ export default class SteamUser {
5923
5923
  Referer: "https://store.steampowered.com/twofactor/manage",
5924
5924
  },
5925
5925
  });
5926
+
5927
+ if (!result) {
5928
+ return;
5929
+ }
5930
+
5926
5931
  if (result instanceof ResponseError) {
5927
5932
  return result;
5928
5933
  }
5929
- console.log(result.data);
5934
+ console.log(result?.data);
5930
5935
  const example = {};
5931
5936
  }
5932
5937
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "steamutils",
3
- "version": "1.3.89",
3
+ "version": "1.3.91",
4
4
  "main": "index.js",
5
5
  "dependencies": {
6
6
  "alpha-common-utils": "^1.0.6",