UNPKG

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

Version:

DVF client js lib with gateway.fm rpc endpoints

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