The import for use in a nodejs app looks like this:
const { JupiterOneClient } = require('@jupiterone/jupiterone-client-nodejs/dist/j1client');
it should be something more like this ideally:
const JupiterOneClient, { ...other stuff... } = require('@jupiterone/jupiterone-client-nodejs');
Here is an example of how to specify the exports in a package.json:
https://github.com/reaviz/reaviz/blob/master/package.json#L19-L24
The import for use in a nodejs app looks like this:
it should be something more like this ideally:
Here is an example of how to specify the exports in a package.json:
https://github.com/reaviz/reaviz/blob/master/package.json#L19-L24