I still get a "not a function" error.
minimal reproducible code:
import SteamUser from 'steam-user';
await SteamUser.logOn({anonymous: true, machineName: 'Test', clientOS: 16});
nvm, i forgot this line
var client = new SteamUser();
It works now, but getProductInfo seems to be stuck without doing anything
console.log('logging on to Steam..');
await client.logOn({anonymous: true});
console.log('logged on');
console.log('getting product info..');
const product_info = await client.getProductInfo([10], []);
console.log(`product_info: ${JSON.stringify(product_info)}`);