I fixed a type error where a map was being used as an object.
I refactored the param type checks to fix some unwanted results such as providing 0 for a balance option when setting a users balance or providing a different type than what should be provided.
I also updated the type definition file to fix incorrect types being used and the jsdoc in the client file to include a link to the api documentation section related to the method.
I fixed a type error where a map was being used as an object. I refactored the param type checks to fix some unwanted results such as providing 0 for a balance option when setting a users balance or providing a different type than what should be provided. I also updated the type definition file to fix incorrect types being used and the jsdoc in the client file to include a link to the api documentation section related to the method.