UNPKG

n8n-nodes-wax

Version:

n8n Community Node Package for the WAX Blockchain

14 lines (13 loc) 327 B
/** * Gets the accessor type. * @returns {Function} `Buffer` under node.js, `Uint8Array` respectively `DataView` in the browser (classes) * @expose */ ByteBuffer.accessor = function() { //? if (NODE) return Buffer; //? else if (DATAVIEW) return DataView; //? else return Uint8Array; };