!function(t,e){"object"==typeofexports&&"object"==typeofmodule?module.exports=e():"function"==typeofdefine&&define.amd?define([],e):"object"==typeofexports?exports["js-bigchaindb-driver"]=e():t["js-bigchaindb-driver"]=e()}(this,function(){returnfunction(t){functione(n){if(r[n])returnr[n].exports;vari=r[n]={i:n,l:!1,exports:{}};returnt[n].call(i.exports,i,i.exports,e),i.l=!0,i.exports}varr={};returne.m=t,e.c=r,e.i=function(t){returnt},e.d=function(t,r,n){e.o(t,r)||Object.defineProperty(t,r,{configurable:!1,enumerable:!0,get:n})},e.n=function(t){varr=t&&t.__esModule?function(){returnt.default}:function(){returnt};returne.d(r,"a",r),r},e.o=function(t,e){returnObject.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=85)}([function(t,e,r){"use strict";(function(t){functionn(){returno.TYPED_ARRAY_SUPPORT?2147483647:1073741823}functioni(t,e){if(n()<e)thrownewRangeError("Invalid typed array length");returno.TYPED_ARRAY_SUPPORT?(t=newUint8Array(e),t.__proto__=o.prototype):(null===t&&(t=newo(e)),t.length=e),t}functiono(t,e,r){if(!(o.TYPED_ARRAY_SUPPORT||thisinstanceofo))returnnewo(t,e,r);if("number"==typeoft){if("string"==typeofe)thrownewError("If encoding is specified then the first argument must be a string");returnu(this,t)}returna(this,t,e,r)}functiona(t,e,r,n){if("number"==typeofe)thrownewTypeError('"value" argument must not be a number');return"undefined"!=typeofArrayBuffer&&einstanceofArrayBuffer?d(t,e,r,n):"string"==typeofe?c(t,e,r):l(t,e)}functionf(t){if("number"!=typeoft)thrownewTypeError('"size" argument must be a number');if(t<0)thrownewRangeError('"size" argument must not be negative')}functions(t,e,r,n){returnf(e),e<=0?i(t,e):void0!==r?"string"==typeofn?i(t,e).fill(r,n):i(t,e).fill(r):i(t,e)}functionu(t,e){if(f(e),t=i(t,e<0?0:0|p(e)),!o.TYPED_ARRAY_SUPPORT)for(varr=0;r<e;++r)t[r]=0;returnt}functionc(t,e,r){if("string"==typeofr&&""!==r||(r="utf8"),!o.isEncoding(r))thrownewTypeError('"encoding" must be a valid string encoding');varn=0|v(e,r);t=i(t,n);vara=t.write(e,r);returna!==n&&(t=t.slice(0,a)),t}functionh(t,e){varr=e.length<0?0:0|p(e.length);t=i(t,r);for(varn=0;n<r;n+=1)t[n]=255&e[n];returnt}functiond(t,e,r,n){if(e.byteLength,r<0||e.byteLength<r)thrownewRangeError("'offset' is out of bounds");if(e.byteLength<r+(n||0))thrownewRangeError("'length' is out of bounds");returne=void0===r&&void0===n?newUint8Array(e):void0===n?newUint8Array(e,r):newUint8Array(e,r,n),o.TYPED_ARRAY_SUPPORT?(t=e,t.__proto__=o.prototype):t=h(t,e),t}functionl(t,e){if(o.isBuffer(e)){varr=0|p(e.length);returnt=i(t,r),0===t.length?t:(e.copy(t,0,0,r),t)}if(e){if("undefined"!=typeofArrayBuffer&&e.bufferinstanceofArrayBuffer||"length"ine)return"number"!=typeofe.length||W(e.length)?i(t,0):h(t,e);if("Buffer"===e.type&&$(e.data))returnh(t,e.data)}thrownewTypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}functionp(t){if(t>=n())thrownewRangeError("Attempt to allocate Buffer larger than maximum size: 0x"+n().toString(16)+" bytes");return0|t}functionb(t){return+t!=t&&(t=0),o.alloc(+t)}functionv(t,e){if(o.isBuffer(t))returnt.length;if("undefined"!=typeofArrayBuffer&&"function"==typeofArrayBuffer.isView&&(ArrayBuffer.isView(t)||tinstanceofArrayBuffer))returnt.byteLength;"string"!=typeoft&&(t=""+t);varr=t.length;if(0===r)return0;for(varn=!1;;)switch(e){case"ascii":case"latin1":case"binary":returnr;case"utf8":case"utf-8":casevoid0:returnY(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return2*r;case"hex":returnr>>>1;case"base64":returnH(t).length;default:if(n)returnY(t).length;e=(""+e).toLowerCase(),n=!0}}functiony(t,e,r){varn=!1;if((void0===e||e<0)&&(e=0),e>this.length)return"";if((void0===r||r>this.length)&&(r=this.length),r<=0)return"";if(r>>>=0,e>>>=0,r<=e)return"";for(t||(t="utf8");;)switch(t){case"hex":returnP(this,e,r);case"utf8":case"utf-8":returnI(this,e,r);case"ascii":returnO(this,e,r);case"latin1":case"binary":returnR(this,e,r);case"base64":returnk(this,e,r);case"ucs2"