steamutils 1.5.45 → 1.5.46

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 +6 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -6211,7 +6211,12 @@ export default class SteamUser {
6211
6211
  const warningContainer = $(".market_headertip_container_warning");
6212
6212
  const warningHeaderElement = warningContainer.find("#market_warning_header");
6213
6213
  if (!warningContainer.length || !warningHeaderElement.length) {
6214
- return null;
6214
+ return {
6215
+ marketWarning: null,
6216
+ marketRestrictions: [],
6217
+ marketRestrictionExpire: null,
6218
+ marketTimeCanUse: null,
6219
+ };
6215
6220
  }
6216
6221
 
6217
6222
  const marketWarning = StringUtils.cleanSpace(warningHeaderElement.text());
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "steamutils",
3
- "version": "1.5.45",
3
+ "version": "1.5.46",
4
4
  "main": "index.js",
5
5
  "dependencies": {
6
6
  "alpha-common-utils": "^1.0.6",