mirror of
https://github.com/node-ebics/node-ebics-client.git
synced 2024-12-24 13:21:51 +00:00
12 lines
237 B
JavaScript
12 lines
237 B
JavaScript
|
'use strict';
|
||
|
|
||
|
const H004Signer = require('../orders/H004/signer');
|
||
|
|
||
|
module.exports = {
|
||
|
version(v) {
|
||
|
if (v.toUpperCase() === 'H004') return H004Signer;
|
||
|
|
||
|
throw Error('Error from middleware/signer.js: Invalid version number');
|
||
|
},
|
||
|
};
|