const { makeSwid, GeniusCoreClient } = require('./index') async function main() { console.info(makeSwid("mynewswid")) console.info("---------------------------------------------------"); const gc = await GeniusCoreClient.newWithOauth2Token( 'HTTPS', 'URL', '443', 'TOKEN', 30, 3); console.log(JSON.parse(await gc.query('swid:entity:mBhG8CpuMZk6j2G4C0Twp'))); } main();