client-js
client-js copied to clipboard
Issue getting the Module to import
When using the import {restClient} from "@polygon.io/client-js"; I am getting an error that

I can see in the source tab of the inspect that it is grabbing the main.js file as shown here which should be the correct file to get the rest or websocket libraries

the file is formatted as a commonjs file and not an ES Module. What am I missing to get the api module to work? thanks