steamutils 1.4.93 → 1.4.94

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 +3174 -3174
  2. package/index.js +7 -2
  3. package/package.json +1 -1
package/index.js CHANGED
@@ -5189,7 +5189,7 @@ export default class SteamUser {
5189
5189
  if (!_result) {
5190
5190
  await sleep(5000);
5191
5191
  } else if (_result.success !== 1) {
5192
- console.error(_result);
5192
+ console.error("getInventory Error", _result);
5193
5193
  await sleep(5000);
5194
5194
  } else {
5195
5195
  data = _result;
@@ -5777,12 +5777,17 @@ export default class SteamUser {
5777
5777
  },
5778
5778
  method: "POST",
5779
5779
  });
5780
+
5781
+ if (!result) {
5782
+ return;
5783
+ }
5784
+
5780
5785
  if (result instanceof ResponseError) {
5781
5786
  return result;
5782
5787
  }
5783
5788
  return result.data;
5784
5789
  const resultExample = {
5785
- tradeofferid: "6093091333",
5790
+ tradeofferid: "609309133",
5786
5791
  needs_mobile_confirmation: true,
5787
5792
  needs_email_confirmation: false,
5788
5793
  email_domain: "gmail.com",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "steamutils",
3
- "version": "1.4.93",
3
+ "version": "1.4.94",
4
4
  "main": "index.js",
5
5
  "dependencies": {
6
6
  "alpha-common-utils": "^1.0.6",