When sort and num both options are specified, library fetches 150 (hardcoded) reviews and slice them with default array sort option. Hence, when num (<150) is specified, it will truncate [num...150] reviews and nextPaginationToken will start from 150 instead of num + 1.
I have a fix ready with test cases, however I do not have permission to create branch or create pull request. I am happy to submit the CR/PR if I get a permission to contribute in this repository.
Description:
When sort and num both options are specified, library fetches 150 (hardcoded) reviews and slice them with default array sort option. Hence, when num (<150) is specified, it will truncate [num...150] reviews and nextPaginationToken will start from 150 instead of num + 1.
Example code:
Error message:
No error message.