Steam introduced an update some time ago that exposes both float and seed values. Could you advise how to access these values using this module, without creating an external request to the Steam Web API?
#getAssetsProperties = async (contextId) => {
try {
const { data } = await axios.get(
`${SteamWrapper.#apiOrigin}/IEconService/GetInventoryItemsWithDescriptions/v1`,
{
params: {
'access_token': this.#accessToken,
'steamid': String(this.#userClient.steamID),
'appid': 730,
'contextid': contextId,
'get_asset_properties': true,
},
},
);
const raw = data?.response?.asset_properties;
const assetProperties = Array.isArray(raw) ? raw : [];
return [assetProperties, null];
} catch (error) {
return [null, error];
}
}