Facing error when calling getTasks function with pageSize param

i’m using camunda-8-sdk with node js project and have this function :

const tasks = await tasklistAPI.getTasks(
      {
pageSize: 25,
        page: 1,
      },
      ["id", "name", "processName"]
    );

I’m guetting this error :

Validation error (WrongType@[tasks]) : argument ‘query.pageSize’ with value ‘StringValue{value=‘10’}’ is not a valid ‘Int’ - Expected an AST type of ‘IntValue’ but it was a ‘StringValue’

Any help please ?