UNPKG

@gateway.fm/gtw-dvf-client-js

Version:

DVF client js lib with gateway.fm rpc endpoints

8 lines (6 loc) 168 B
const DVFError = require('../dvf/DVFError') module.exports = (dvf, withdrawalId) => { if (!withdrawalId) { throw new DVFError('ERR_INVALID_WITHDRAWAL_ID') } }