Standalone simple JS script designed to be incorporated into modules for communication with the console.
npm install @invopop/console-ui-sdkToolkit for web apps to be able to communicate with the Invopop Console UI.
Define the SDK URL in your HTML code with a constant as follows, adjusting the version of the SDK as needed:
``html`
Then import in the JS code with the functions you'd like to use:
`js
const { start, fetchEnrollment } = await import(CONSOLE_SDK_URL);
await start();
let enrollment = await fetchEnrollment();
// .... use data
``