JSDoc for wallet.js