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.
- package/index.js +6 -1
- 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
|
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());
|