UNPKG

cbp-lib

Version:

Libraries for cbp

24 lines (19 loc) 444 B
'use strict' import {Encryption} from './encryption' import {httpRequest} from './http' export class Util { constructor() { this.encryption = new Encryption() } /** * Http helper method * * @param {*} method * @param {*} path * @param {*} data * @param {*} headers */ static fetch(method, path, data, headers) { return httpRequest(method, path, data, headers) } }