See if there's any improvements to be made similar to this: https://github.com/reclaimprotocol/reclaim-js-sdk/pull/17