Inferencejs configuration parameter issue

I’m using inferencejs version 1.0.16 from here: inferencejs - npm but I’m having an issue trying to set configuration parameters like the guide. This is the example:

const configuration = {scoreThreshold: 0.5, iouThreshold: 0.5, maxNumBoxes: 20};
const workerId = await inferEngine.startWorker("[model name]", "[version]", "[publishable key]", configuration);

However, configuration parameter is expecting an array. If you pass in an object, you get an error indicating that the passed in object is not an iterable since it is trying to use the spread operator.

Hi @dexter, this config should be passed on inference (when calling .infer()).

You can check code here.

Placing the configuration object as the 3rd parameter to the infer() call seems to have addressed the error, thanks! However, that repo you linked: https://github.com/roboflow/inferencejs does not exist.