Describe the bug
When calling method in js client, like
let empId = 4026;
const result = await client.getHistory(empId);
console.log(result.total)
i have error

the problem is probably here

what's the point of validating params if we send rpcParams?
we need to check the schema of what we are sending.
Describe the bug
When calling method in js client, like
i have error

the problem is probably here

what's the point of validating
paramsif we sendrpcParams?we need to check the schema of what we are sending.