@blackglory/geyser-js 0.3.1 → 0.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/README.md +13 -31
  2. package/dist/es2015/index.min.mjs +1 -1
  3. package/dist/es2015/index.min.mjs.map +1 -1
  4. package/dist/es2015/index.mjs +487 -223
  5. package/dist/es2015/index.mjs.map +1 -1
  6. package/dist/es2015/index.umd.js +487 -223
  7. package/dist/es2015/index.umd.js.map +1 -1
  8. package/dist/es2015/index.umd.min.js +2 -2
  9. package/dist/es2015/index.umd.min.js.map +1 -1
  10. package/dist/es2018/index.min.mjs +1 -1
  11. package/dist/es2018/index.min.mjs.map +1 -1
  12. package/dist/es2018/index.mjs +484 -222
  13. package/dist/es2018/index.mjs.map +1 -1
  14. package/dist/es2018/index.umd.js +484 -222
  15. package/dist/es2018/index.umd.js.map +1 -1
  16. package/dist/es2018/index.umd.min.js +2 -2
  17. package/dist/es2018/index.umd.min.js.map +1 -1
  18. package/lib/es2015/cycle-client.d.ts +4 -0
  19. package/lib/es2015/cycle-client.js +27 -0
  20. package/lib/es2015/cycle-client.js.map +1 -0
  21. package/lib/es2015/geyser-client.d.ts +4 -0
  22. package/lib/es2015/geyser-client.js +4 -2
  23. package/lib/es2015/geyser-client.js.map +1 -1
  24. package/lib/es2015/geyser-manager.d.ts +2 -0
  25. package/lib/es2015/geyser-manager.js +2 -0
  26. package/lib/es2015/geyser-manager.js.map +1 -1
  27. package/lib/es2015/utils.d.ts +1 -0
  28. package/lib/es2015/utils.js +4 -2
  29. package/lib/es2015/utils.js.map +1 -1
  30. package/lib/es2018/cycle-client.d.ts +4 -0
  31. package/lib/es2018/cycle-client.js +16 -0
  32. package/lib/es2018/cycle-client.js.map +1 -0
  33. package/lib/es2018/geyser-client.d.ts +4 -0
  34. package/lib/es2018/geyser-client.js +4 -2
  35. package/lib/es2018/geyser-client.js.map +1 -1
  36. package/lib/es2018/geyser-manager.d.ts +2 -0
  37. package/lib/es2018/geyser-manager.js +2 -0
  38. package/lib/es2018/geyser-manager.js.map +1 -1
  39. package/lib/es2018/utils.d.ts +1 -0
  40. package/lib/es2018/utils.js +4 -2
  41. package/lib/es2018/utils.js.map +1 -1
  42. package/package.json +17 -17
@@ -40,7 +40,7 @@ function getAugmentedNamespace(n) {
40
40
  return a;
41
41
  }
42
42
 
43
- var es2018$9 = {};
43
+ var es2018$c = {};
44
44
 
45
45
  var fetch_browser = {};
46
46
 
@@ -107,9 +107,9 @@ __exportStar(abortError_browser, exports);
107
107
  __exportStar(blob_browser, exports);
108
108
  __exportStar(eventSource_browser, exports);
109
109
 
110
- }(es2018$9));
110
+ }(es2018$c));
111
111
 
112
- var es2018$8 = {};
112
+ var es2018$b = {};
113
113
 
114
114
  var types = /*#__PURE__*/Object.freeze({
115
115
  __proto__: null
@@ -119,7 +119,7 @@ var require$$0$1 = /*@__PURE__*/getAugmentedNamespace(types);
119
119
 
120
120
  var request$1 = {};
121
121
 
122
- var es2018$7 = {};
122
+ var es2018$a = {};
123
123
 
124
124
  var array$1 = {};
125
125
 
@@ -431,7 +431,7 @@ function isObjectLike(value) {
431
431
  * _.isPlainObject(Object.create(null));
432
432
  * // => true
433
433
  */
434
- function isPlainObject$1(value) {
434
+ function isPlainObject$2(value) {
435
435
  if (!isObjectLike(value) ||
436
436
  objectToString.call(value) != objectTag || isHostObject(value)) {
437
437
  return false;
@@ -445,12 +445,12 @@ function isPlainObject$1(value) {
445
445
  Ctor instanceof Ctor && funcToString.call(Ctor) == objectCtorString);
446
446
  }
447
447
 
448
- var lodash_isplainobject = isPlainObject$1;
448
+ var lodash_isplainobject = isPlainObject$2;
449
449
 
450
- var __importDefault$1 = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
450
+ var __importDefault$2 = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
451
451
  return (mod && mod.__esModule) ? mod : { "default": mod };
452
452
  };object$1.isntEmptyObject = object$1.isEmptyObject = object$1.isntPlainObject = object$1.isPlainObject = object$1.isntObject = object$1.isObject = void 0;
453
- const lodash_isplainobject_1 = __importDefault$1(lodash_isplainobject);
453
+ const lodash_isplainobject_1$1 = __importDefault$2(lodash_isplainobject);
454
454
  function isObject$1(val) {
455
455
  return val !== null
456
456
  && typeof val === 'object';
@@ -460,14 +460,14 @@ function isntObject$1(val) {
460
460
  return !isObject$1(val);
461
461
  }
462
462
  object$1.isntObject = isntObject$1;
463
- function isPlainObject(val) {
464
- return (0, lodash_isplainobject_1.default)(val);
463
+ function isPlainObject$1(val) {
464
+ return (0, lodash_isplainobject_1$1.default)(val);
465
465
  }
466
- object$1.isPlainObject = isPlainObject;
467
- function isntPlainObject(val) {
468
- return !isPlainObject(val);
466
+ object$1.isPlainObject = isPlainObject$1;
467
+ function isntPlainObject$1(val) {
468
+ return !isPlainObject$1(val);
469
469
  }
470
- object$1.isntPlainObject = isntPlainObject;
470
+ object$1.isntPlainObject = isntPlainObject$1;
471
471
  function isEmptyObject$1(val) {
472
472
  return Object.keys(val).length === 0;
473
473
  }
@@ -616,11 +616,11 @@ __exportStar(string$1, exports);
616
616
  __exportStar(_undefined$1, exports);
617
617
  __exportStar(url$3, exports);
618
618
 
619
- }(es2018$7));
619
+ }(es2018$a));
620
620
 
621
621
  request$1.del = request$1.patch = request$1.put = request$1.post = request$1.head = request$1.get = void 0;
622
- const extra_fetch_1$7 = es2018$9;
623
- const types_1$j = es2018$7;
622
+ const extra_fetch_1$7 = es2018$c;
623
+ const types_1$j = es2018$a;
624
624
  function get(...transformers) {
625
625
  return request('GET', ...transformers);
626
626
  }
@@ -673,7 +673,7 @@ var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m
673
673
  };__exportStar(require$$0$1, exports);
674
674
  __exportStar(request$1, exports);
675
675
 
676
- }(es2018$8));
676
+ }(es2018$b));
677
677
 
678
678
  var transformers = {};
679
679
 
@@ -694,7 +694,7 @@ url$2.url = url$1;
694
694
  var text$1 = {};
695
695
 
696
696
  text$1.text = void 0;
697
- const extra_fetch_1$6 = es2018$9;
697
+ const extra_fetch_1$6 = es2018$c;
698
698
  function text(payload) {
699
699
  return (options) => {
700
700
  const headers = new extra_fetch_1$6.Headers(options.headers);
@@ -711,7 +711,7 @@ text$1.text = text;
711
711
  var json$2 = {};
712
712
 
713
713
  json$2.json = void 0;
714
- const extra_fetch_1$5 = es2018$9;
714
+ const extra_fetch_1$5 = es2018$c;
715
715
  function json$1(payload) {
716
716
  return (options) => {
717
717
  const headers = new extra_fetch_1$5.Headers(options.headers);
@@ -740,38 +740,38 @@ License: MIT
740
740
  !function(e,t){module.exports=t();}(commonjsGlobal,function s(){var f="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==f?f:{};var n=!f.document&&!!f.postMessage,o=n&&/blob:/i.test((f.location||{}).protocol),a={},h=0,b={parse:function(e,t){var i=(t=t||{}).dynamicTyping||!1;M(i)&&(t.dynamicTypingFunction=i,i={});if(t.dynamicTyping=i,t.transform=!!M(t.transform)&&t.transform,t.worker&&b.WORKERS_SUPPORTED){var r=function(){if(!b.WORKERS_SUPPORTED)return !1;var e=(i=f.URL||f.webkitURL||null,r=s.toString(),b.BLOB_URL||(b.BLOB_URL=i.createObjectURL(new Blob(["(",r,")();"],{type:"text/javascript"})))),t=new f.Worker(e);var i,r;return t.onmessage=_,t.id=h++,a[t.id]=t}();return r.userStep=t.step,r.userChunk=t.chunk,r.userComplete=t.complete,r.userError=t.error,t.step=M(t.step),t.chunk=M(t.chunk),t.complete=M(t.complete),t.error=M(t.error),delete t.worker,void r.postMessage({input:e,config:t,workerId:r.id})}var n=null;b.NODE_STREAM_INPUT,"string"==typeof e?n=t.download?new l(t):new p(t):!0===e.readable&&M(e.read)&&M(e.on)?n=new g(t):(f.File&&e instanceof File||e instanceof Object)&&(n=new c(t));return n.stream(e)},unparse:function(e,t){var n=!1,_=!0,m=",",y="\r\n",s='"',a=s+s,i=!1,r=null,o=!1;!function(){if("object"!=typeof t)return;"string"!=typeof t.delimiter||b.BAD_DELIMITERS.filter(function(e){return -1!==t.delimiter.indexOf(e)}).length||(m=t.delimiter);("boolean"==typeof t.quotes||"function"==typeof t.quotes||Array.isArray(t.quotes))&&(n=t.quotes);"boolean"!=typeof t.skipEmptyLines&&"string"!=typeof t.skipEmptyLines||(i=t.skipEmptyLines);"string"==typeof t.newline&&(y=t.newline);"string"==typeof t.quoteChar&&(s=t.quoteChar);"boolean"==typeof t.header&&(_=t.header);if(Array.isArray(t.columns)){if(0===t.columns.length)throw new Error("Option columns is empty");r=t.columns;}void 0!==t.escapeChar&&(a=t.escapeChar+s);"boolean"==typeof t.escapeFormulae&&(o=t.escapeFormulae);}();var h=new RegExp(j(s),"g");"string"==typeof e&&(e=JSON.parse(e));if(Array.isArray(e)){if(!e.length||Array.isArray(e[0]))return u(null,e,i);if("object"==typeof e[0])return u(r||Object.keys(e[0]),e,i)}else if("object"==typeof e)return "string"==typeof e.data&&(e.data=JSON.parse(e.data)),Array.isArray(e.data)&&(e.fields||(e.fields=e.meta&&e.meta.fields),e.fields||(e.fields=Array.isArray(e.data[0])?e.fields:"object"==typeof e.data[0]?Object.keys(e.data[0]):[]),Array.isArray(e.data[0])||"object"==typeof e.data[0]||(e.data=[e.data])),u(e.fields||[],e.data||[],i);throw new Error("Unable to serialize unrecognized input");function u(e,t,i){var r="";"string"==typeof e&&(e=JSON.parse(e)),"string"==typeof t&&(t=JSON.parse(t));var n=Array.isArray(e)&&0<e.length,s=!Array.isArray(t[0]);if(n&&_){for(var a=0;a<e.length;a++)0<a&&(r+=m),r+=v(e[a],a);0<t.length&&(r+=y);}for(var o=0;o<t.length;o++){var h=n?e.length:t[o].length,u=!1,f=n?0===Object.keys(t[o]).length:0===t[o].length;if(i&&!n&&(u="greedy"===i?""===t[o].join("").trim():1===t[o].length&&0===t[o][0].length),"greedy"===i&&n){for(var d=[],l=0;l<h;l++){var c=s?e[l]:l;d.push(t[o][c]);}u=""===d.join("").trim();}if(!u){for(var p=0;p<h;p++){0<p&&!f&&(r+=m);var g=n&&s?e[p]:p;r+=v(t[o][g],p);}o<t.length-1&&(!i||0<h&&!f)&&(r+=y);}}return r}function v(e,t){if(null==e)return "";if(e.constructor===Date)return JSON.stringify(e).slice(1,25);!0===o&&"string"==typeof e&&null!==e.match(/^[=+\-@].*$/)&&(e="'"+e);var i=e.toString().replace(h,a),r="boolean"==typeof n&&n||"function"==typeof n&&n(e,t)||Array.isArray(n)&&n[t]||function(e,t){for(var i=0;i<t.length;i++)if(-1<e.indexOf(t[i]))return !0;return !1}(i,b.BAD_DELIMITERS)||-1<i.indexOf(m)||" "===i.charAt(0)||" "===i.charAt(i.length-1);return r?s+i+s:i}}};if(b.RECORD_SEP=String.fromCharCode(30),b.UNIT_SEP=String.fromCharCode(31),b.BYTE_ORDER_MARK="\ufeff",b.BAD_DELIMITERS=["\r","\n",'"',b.BYTE_ORDER_MARK],b.WORKERS_SUPPORTED=!n&&!!f.Worker,b.NODE_STREAM_INPUT=1,b.LocalChunkSize=10485760,b.RemoteChunkSize=5242880,b.DefaultDelimiter=",",b.Parser=E,b.ParserHandle=i,b.NetworkStreamer=l,b.FileStreamer=c,b.StringStreamer=p,b.ReadableStreamStreamer=g,f.jQuery){var d=f.jQuery;d.fn.parse=function(o){var i=o.config||{},h=[];return this.each(function(e){if(!("INPUT"===d(this).prop("tagName").toUpperCase()&&"file"===d(this).attr("type").toLowerCase()&&f.FileReader)||!this.files||0===this.files.length)return !0;for(var t=0;t<this.files.length;t++)h.push({file:this.files[t],inputElem:this,instanceConfig:d.extend({},i)});}),e(),this;function e(){if(0!==h.length){var e,t,i,r,n=h[0];if(M(o.before)){var s=o.before(n.file,n.inputElem);if("object"==typeof s){if("abort"===s.action)return e="AbortError",t=n.file,i=n.inputElem,r=s.reason,void(M(o.error)&&o.error({name:e},t,i,r));if("skip"===s.action)return void u();"object"==typeof s.config&&(n.instanceConfig=d.extend(n.instanceConfig,s.config));}else if("skip"===s)return void u()}var a=n.instanceConfig.complete;n.instanceConfig.complete=function(e){M(a)&&a(e,n.file,n.inputElem),u();},b.parse(n.file,n.instanceConfig);}else M(o.complete)&&o.complete();}function u(){h.splice(0,1),e();}};}function u(e){this._handle=null,this._finished=!1,this._completed=!1,this._halted=!1,this._input=null,this._baseIndex=0,this._partialLine="",this._rowCount=0,this._start=0,this._nextChunk=null,this.isFirstChunk=!0,this._completeResults={data:[],errors:[],meta:{}},function(e){var t=w(e);t.chunkSize=parseInt(t.chunkSize),e.step||e.chunk||(t.chunkSize=null);this._handle=new i(t),(this._handle.streamer=this)._config=t;}.call(this,e),this.parseChunk=function(e,t){if(this.isFirstChunk&&M(this._config.beforeFirstChunk)){var i=this._config.beforeFirstChunk(e);void 0!==i&&(e=i);}this.isFirstChunk=!1,this._halted=!1;var r=this._partialLine+e;this._partialLine="";var n=this._handle.parse(r,this._baseIndex,!this._finished);if(!this._handle.paused()&&!this._handle.aborted()){var s=n.meta.cursor;this._finished||(this._partialLine=r.substring(s-this._baseIndex),this._baseIndex=s),n&&n.data&&(this._rowCount+=n.data.length);var a=this._finished||this._config.preview&&this._rowCount>=this._config.preview;if(o)f.postMessage({results:n,workerId:b.WORKER_ID,finished:a});else if(M(this._config.chunk)&&!t){if(this._config.chunk(n,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);n=void 0,this._completeResults=void 0;}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(n.data),this._completeResults.errors=this._completeResults.errors.concat(n.errors),this._completeResults.meta=n.meta),this._completed||!a||!M(this._config.complete)||n&&n.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),a||n&&n.meta.paused||this._nextChunk(),n}this._halted=!0;},this._sendError=function(e){M(this._config.error)?this._config.error(e):o&&this._config.error&&f.postMessage({workerId:b.WORKER_ID,error:e,finished:!1});};}function l(e){var r;(e=e||{}).chunkSize||(e.chunkSize=b.RemoteChunkSize),u.call(this,e),this._nextChunk=n?function(){this._readChunk(),this._chunkLoaded();}:function(){this._readChunk();},this.stream=function(e){this._input=e,this._nextChunk();},this._readChunk=function(){if(this._finished)this._chunkLoaded();else {if(r=new XMLHttpRequest,this._config.withCredentials&&(r.withCredentials=this._config.withCredentials),n||(r.onload=v(this._chunkLoaded,this),r.onerror=v(this._chunkError,this)),r.open(this._config.downloadRequestBody?"POST":"GET",this._input,!n),this._config.downloadRequestHeaders){var e=this._config.downloadRequestHeaders;for(var t in e)r.setRequestHeader(t,e[t]);}if(this._config.chunkSize){var i=this._start+this._config.chunkSize-1;r.setRequestHeader("Range","bytes="+this._start+"-"+i);}try{r.send(this._config.downloadRequestBody);}catch(e){this._chunkError(e.message);}n&&0===r.status&&this._chunkError();}},this._chunkLoaded=function(){4===r.readyState&&(r.status<200||400<=r.status?this._chunkError():(this._start+=this._config.chunkSize?this._config.chunkSize:r.responseText.length,this._finished=!this._config.chunkSize||this._start>=function(e){var t=e.getResponseHeader("Content-Range");if(null===t)return -1;return parseInt(t.substring(t.lastIndexOf("/")+1))}(r),this.parseChunk(r.responseText)));},this._chunkError=function(e){var t=r.statusText||e;this._sendError(new Error(t));};}function c(e){var r,n;(e=e||{}).chunkSize||(e.chunkSize=b.LocalChunkSize),u.call(this,e);var s="undefined"!=typeof FileReader;this.stream=function(e){this._input=e,n=e.slice||e.webkitSlice||e.mozSlice,s?((r=new FileReader).onload=v(this._chunkLoaded,this),r.onerror=v(this._chunkError,this)):r=new FileReaderSync,this._nextChunk();},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount<this._config.preview)||this._readChunk();},this._readChunk=function(){var e=this._input;if(this._config.chunkSize){var t=Math.min(this._start+this._config.chunkSize,this._input.size);e=n.call(e,this._start,t);}var i=r.readAsText(e,this._config.encoding);s||this._chunkLoaded({target:{result:i}});},this._chunkLoaded=function(e){this._start+=this._config.chunkSize,this._finished=!this._config.chunkSize||this._start>=this._input.size,this.parseChunk(e.target.result);},this._chunkError=function(){this._sendError(r.error);};}function p(e){var i;u.call(this,e=e||{}),this.stream=function(e){return i=e,this._nextChunk()},this._nextChunk=function(){if(!this._finished){var e,t=this._config.chunkSize;return t?(e=i.substring(0,t),i=i.substring(t)):(e=i,i=""),this._finished=!i,this.parseChunk(e)}};}function g(e){u.call(this,e=e||{});var t=[],i=!0,r=!1;this.pause=function(){u.prototype.pause.apply(this,arguments),this._input.pause();},this.resume=function(){u.prototype.resume.apply(this,arguments),this._input.resume();},this.stream=function(e){this._input=e,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError);},this._checkIsFinished=function(){r&&1===t.length&&(this._finished=!0);},this._nextChunk=function(){this._checkIsFinished(),t.length?this.parseChunk(t.shift()):i=!0;},this._streamData=v(function(e){try{t.push("string"==typeof e?e:e.toString(this._config.encoding)),i&&(i=!1,this._checkIsFinished(),this.parseChunk(t.shift()));}catch(e){this._streamError(e);}},this),this._streamError=v(function(e){this._streamCleanUp(),this._sendError(e);},this),this._streamEnd=v(function(){this._streamCleanUp(),r=!0,this._streamData("");},this),this._streamCleanUp=v(function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError);},this);}function i(m){var a,o,h,r=Math.pow(2,53),n=-r,s=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,u=/^(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))$/,t=this,i=0,f=0,d=!1,e=!1,l=[],c={data:[],errors:[],meta:{}};if(M(m.step)){var p=m.step;m.step=function(e){if(c=e,_())g();else {if(g(),0===c.data.length)return;i+=e.data.length,m.preview&&i>m.preview?o.abort():(c.data=c.data[0],p(c,t));}};}function y(e){return "greedy"===m.skipEmptyLines?""===e.join("").trim():1===e.length&&0===e[0].length}function g(){if(c&&h&&(k("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+b.DefaultDelimiter+"'"),h=!1),m.skipEmptyLines)for(var e=0;e<c.data.length;e++)y(c.data[e])&&c.data.splice(e--,1);return _()&&function(){if(!c)return;function e(e,t){M(m.transformHeader)&&(e=m.transformHeader(e,t)),l.push(e);}if(Array.isArray(c.data[0])){for(var t=0;_()&&t<c.data.length;t++)c.data[t].forEach(e);c.data.splice(0,1);}else c.data.forEach(e);}(),function(){if(!c||!m.header&&!m.dynamicTyping&&!m.transform)return c;function e(e,t){var i,r=m.header?{}:[];for(i=0;i<e.length;i++){var n=i,s=e[i];m.header&&(n=i>=l.length?"__parsed_extra":l[i]),m.transform&&(s=m.transform(s,n)),s=v(n,s),"__parsed_extra"===n?(r[n]=r[n]||[],r[n].push(s)):r[n]=s;}return m.header&&(i>l.length?k("FieldMismatch","TooManyFields","Too many fields: expected "+l.length+" fields but parsed "+i,f+t):i<l.length&&k("FieldMismatch","TooFewFields","Too few fields: expected "+l.length+" fields but parsed "+i,f+t)),r}var t=1;!c.data.length||Array.isArray(c.data[0])?(c.data=c.data.map(e),t=c.data.length):c.data=e(c.data,0);m.header&&c.meta&&(c.meta.fields=l);return f+=t,c}()}function _(){return m.header&&0===l.length}function v(e,t){return i=e,m.dynamicTypingFunction&&void 0===m.dynamicTyping[i]&&(m.dynamicTyping[i]=m.dynamicTypingFunction(i)),!0===(m.dynamicTyping[i]||m.dynamicTyping)?"true"===t||"TRUE"===t||"false"!==t&&"FALSE"!==t&&(function(e){if(s.test(e)){var t=parseFloat(e);if(n<t&&t<r)return !0}return !1}(t)?parseFloat(t):u.test(t)?new Date(t):""===t?null:t):t;var i;}function k(e,t,i,r){var n={type:e,code:t,message:i};void 0!==r&&(n.row=r),c.errors.push(n);}this.parse=function(e,t,i){var r=m.quoteChar||'"';if(m.newline||(m.newline=function(e,t){e=e.substring(0,1048576);var i=new RegExp(j(t)+"([^]*?)"+j(t),"gm"),r=(e=e.replace(i,"")).split("\r"),n=e.split("\n"),s=1<n.length&&n[0].length<r[0].length;if(1===r.length||s)return "\n";for(var a=0,o=0;o<r.length;o++)"\n"===r[o][0]&&a++;return a>=r.length/2?"\r\n":"\r"}(e,r)),h=!1,m.delimiter)M(m.delimiter)&&(m.delimiter=m.delimiter(e),c.meta.delimiter=m.delimiter);else {var n=function(e,t,i,r,n){var s,a,o,h;n=n||[",","\t","|",";",b.RECORD_SEP,b.UNIT_SEP];for(var u=0;u<n.length;u++){var f=n[u],d=0,l=0,c=0;o=void 0;for(var p=new E({comments:r,delimiter:f,newline:t,preview:10}).parse(e),g=0;g<p.data.length;g++)if(i&&y(p.data[g]))c++;else {var _=p.data[g].length;l+=_,void 0!==o?0<_&&(d+=Math.abs(_-o),o=_):o=_;}0<p.data.length&&(l/=p.data.length-c),(void 0===a||d<=a)&&(void 0===h||h<l)&&1.99<l&&(a=d,s=f,h=l);}return {successful:!!(m.delimiter=s),bestDelimiter:s}}(e,m.newline,m.skipEmptyLines,m.comments,m.delimitersToGuess);n.successful?m.delimiter=n.bestDelimiter:(h=!0,m.delimiter=b.DefaultDelimiter),c.meta.delimiter=m.delimiter;}var s=w(m);return m.preview&&m.header&&s.preview++,a=e,o=new E(s),c=o.parse(a,t,i),g(),d?{meta:{paused:!0}}:c||{meta:{paused:!1}}},this.paused=function(){return d},this.pause=function(){d=!0,o.abort(),a=M(m.chunk)?"":a.substring(o.getCharIndex());},this.resume=function(){t.streamer._halted?(d=!1,t.streamer.parseChunk(a,!0)):setTimeout(t.resume,3);},this.aborted=function(){return e},this.abort=function(){e=!0,o.abort(),c.meta.aborted=!0,M(m.complete)&&m.complete(c),a="";};}function j(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function E(e){var S,O=(e=e||{}).delimiter,x=e.newline,I=e.comments,T=e.step,D=e.preview,A=e.fastMode,L=S=void 0===e.quoteChar?'"':e.quoteChar;if(void 0!==e.escapeChar&&(L=e.escapeChar),("string"!=typeof O||-1<b.BAD_DELIMITERS.indexOf(O))&&(O=","),I===O)throw new Error("Comment character same as delimiter");!0===I?I="#":("string"!=typeof I||-1<b.BAD_DELIMITERS.indexOf(I))&&(I=!1),"\n"!==x&&"\r"!==x&&"\r\n"!==x&&(x="\n");var F=0,z=!1;this.parse=function(r,t,i){if("string"!=typeof r)throw new Error("Input must be a string");var n=r.length,e=O.length,s=x.length,a=I.length,o=M(T),h=[],u=[],f=[],d=F=0;if(!r)return C();if(A||!1!==A&&-1===r.indexOf(S)){for(var l=r.split(x),c=0;c<l.length;c++){if(f=l[c],F+=f.length,c!==l.length-1)F+=x.length;else if(i)return C();if(!I||f.substring(0,a)!==I){if(o){if(h=[],k(f.split(O)),R(),z)return C()}else k(f.split(O));if(D&&D<=c)return h=h.slice(0,D),C(!0)}}return C()}for(var p=r.indexOf(O,F),g=r.indexOf(x,F),_=new RegExp(j(L)+j(S),"g"),m=r.indexOf(S,F);;)if(r[F]!==S)if(I&&0===f.length&&r.substring(F,F+a)===I){if(-1===g)return C();F=g+s,g=r.indexOf(x,F),p=r.indexOf(O,F);}else if(-1!==p&&(p<g||-1===g))f.push(r.substring(F,p)),F=p+e,p=r.indexOf(O,F);else {if(-1===g)break;if(f.push(r.substring(F,g)),w(g+s),o&&(R(),z))return C();if(D&&h.length>=D)return C(!0)}else for(m=F,F++;;){if(-1===(m=r.indexOf(S,m+1)))return i||u.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:h.length,index:F}),E();if(m===n-1)return E(r.substring(F,m).replace(_,S));if(S!==L||r[m+1]!==L){if(S===L||0===m||r[m-1]!==L){-1!==p&&p<m+1&&(p=r.indexOf(O,m+1)),-1!==g&&g<m+1&&(g=r.indexOf(x,m+1));var y=b(-1===g?p:Math.min(p,g));if(r[m+1+y]===O){f.push(r.substring(F,m).replace(_,S)),r[F=m+1+y+e]!==S&&(m=r.indexOf(S,F)),p=r.indexOf(O,F),g=r.indexOf(x,F);break}var v=b(g);if(r.substring(m+1+v,m+1+v+s)===x){if(f.push(r.substring(F,m).replace(_,S)),w(m+1+v+s),p=r.indexOf(O,F),m=r.indexOf(S,F),o&&(R(),z))return C();if(D&&h.length>=D)return C(!0);break}u.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:h.length,index:F}),m++;}}else m++;}return E();function k(e){h.push(e),d=F;}function b(e){var t=0;if(-1!==e){var i=r.substring(m+1,e);i&&""===i.trim()&&(t=i.length);}return t}function E(e){return i||(void 0===e&&(e=r.substring(F)),f.push(e),F=n,k(f),o&&R()),C()}function w(e){F=e,k(f),f=[],g=r.indexOf(x,F);}function C(e){return {data:h,errors:u,meta:{delimiter:O,linebreak:x,aborted:z,truncated:!!e,cursor:d+(t||0)}}}function R(){T(C()),h=[],u=[];}},this.abort=function(){z=!0;},this.getCharIndex=function(){return F};}function _(e){var t=e.data,i=a[t.workerId],r=!1;if(t.error)i.userError(t.error,t.file);else if(t.results&&t.results.data){var n={abort:function(){r=!0,m(t.workerId,{data:[],errors:[],meta:{aborted:!0}});},pause:y,resume:y};if(M(i.userStep)){for(var s=0;s<t.results.data.length&&(i.userStep({data:t.results.data[s],errors:t.results.errors,meta:t.results.meta},n),!r);s++);delete t.results;}else M(i.userChunk)&&(i.userChunk(t.results,n,t.file),delete t.results);}t.finished&&!r&&m(t.workerId,t.results);}function m(e,t){var i=a[e];M(i.userComplete)&&i.userComplete(t),i.terminate(),delete a[e];}function y(){throw new Error("Not implemented.")}function w(e){if("object"!=typeof e||null===e)return e;var t=Array.isArray(e)?[]:{};for(var i in e)t[i]=w(e[i]);return t}function v(e,t){return function(){e.apply(t,arguments);}}function M(e){return "function"==typeof e}return o&&(f.onmessage=function(e){var t=e.data;void 0===b.WORKER_ID&&t&&(b.WORKER_ID=t.workerId);if("string"==typeof t.input)f.postMessage({workerId:b.WORKER_ID,results:b.parse(t.input,t.config),finished:!0});else if(f.File&&t.input instanceof File||t.input instanceof Object){var i=b.parse(t.input,t.config);i&&f.postMessage({workerId:b.WORKER_ID,results:i,finished:!0});}}),(l.prototype=Object.create(u.prototype)).constructor=l,(c.prototype=Object.create(u.prototype)).constructor=c,(p.prototype=Object.create(p.prototype)).constructor=p,(g.prototype=Object.create(u.prototype)).constructor=g,b});
741
741
  }(papaparse_min));
742
742
 
743
- var es2018$6 = {};
743
+ var es2018$9 = {};
744
744
 
745
- var customError = {};
745
+ var customError$3 = {};
746
746
 
747
- customError.CustomError = void 0;
748
- class CustomError extends Error {
747
+ customError$3.CustomError = void 0;
748
+ class CustomError$3 extends Error {
749
749
  get name() {
750
750
  return this.constructor.name;
751
751
  }
752
752
  }
753
- customError.CustomError = CustomError;
753
+ customError$3.CustomError = CustomError$3;
754
754
 
755
- var expectedError = {};
755
+ var expectedError$3 = {};
756
756
 
757
- expectedError.ExpectedError = void 0;
758
- const custom_error_1$1 = customError;
759
- class ExpectedError extends custom_error_1$1.CustomError {
757
+ expectedError$3.ExpectedError = void 0;
758
+ const custom_error_1$7 = customError$3;
759
+ class ExpectedError$3 extends custom_error_1$7.CustomError {
760
760
  }
761
- expectedError.ExpectedError = ExpectedError;
761
+ expectedError$3.ExpectedError = ExpectedError$3;
762
762
 
763
- var assertionError = {};
763
+ var assertionError$3 = {};
764
764
 
765
- assertionError.AssertionError = void 0;
766
- const custom_error_1 = customError;
767
- class AssertionError extends custom_error_1.CustomError {
765
+ assertionError$3.AssertionError = void 0;
766
+ const custom_error_1$6 = customError$3;
767
+ class AssertionError$3 extends custom_error_1$6.CustomError {
768
768
  }
769
- assertionError.AssertionError = AssertionError;
769
+ assertionError$3.AssertionError = AssertionError$3;
770
770
 
771
- var normalize$1 = {};
771
+ var normalize$7 = {};
772
772
 
773
- normalize$1.normalize = void 0;
774
- function normalize(err) {
773
+ normalize$7.normalize = void 0;
774
+ function normalize$6(err) {
775
775
  var _a;
776
776
  return {
777
777
  name: err.name,
@@ -779,27 +779,27 @@ function normalize(err) {
779
779
  stack: (_a = err.stack) !== null && _a !== void 0 ? _a : null
780
780
  };
781
781
  }
782
- normalize$1.normalize = normalize;
782
+ normalize$7.normalize = normalize$6;
783
783
 
784
- var refute$1 = {};
784
+ var refute$7 = {};
785
785
 
786
- refute$1.refute = void 0;
787
- const expected_error_1 = expectedError;
788
- function refute(condition, message) {
786
+ refute$7.refute = void 0;
787
+ const expected_error_1$3 = expectedError$3;
788
+ function refute$6(condition, message) {
789
789
  if (condition)
790
- throw new expected_error_1.ExpectedError(message);
790
+ throw new expected_error_1$3.ExpectedError(message);
791
791
  }
792
- refute$1.refute = refute;
792
+ refute$7.refute = refute$6;
793
793
 
794
- var assert$1 = {};
794
+ var assert$7 = {};
795
795
 
796
- assert$1.assert = void 0;
797
- const assertion_error_1 = assertionError;
798
- function assert(condition, message) {
796
+ assert$7.assert = void 0;
797
+ const assertion_error_1$3 = assertionError$3;
798
+ function assert$6(condition, message) {
799
799
  if (!condition)
800
- throw new assertion_error_1.AssertionError(message);
800
+ throw new assertion_error_1$3.AssertionError(message);
801
801
  }
802
- assert$1.assert = assert;
802
+ assert$7.assert = assert$6;
803
803
 
804
804
  (function (exports) {
805
805
  var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
@@ -811,19 +811,19 @@ var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Obj
811
811
  }));
812
812
  var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
813
813
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
814
- };__exportStar(customError, exports);
815
- __exportStar(expectedError, exports);
816
- __exportStar(assertionError, exports);
817
- __exportStar(normalize$1, exports);
818
- __exportStar(refute$1, exports);
819
- __exportStar(assert$1, exports);
814
+ };__exportStar(customError$3, exports);
815
+ __exportStar(expectedError$3, exports);
816
+ __exportStar(assertionError$3, exports);
817
+ __exportStar(normalize$7, exports);
818
+ __exportStar(refute$7, exports);
819
+ __exportStar(assert$7, exports);
820
820
 
821
- }(es2018$6));
821
+ }(es2018$9));
822
822
 
823
823
  csv$1.csv = void 0;
824
- const extra_fetch_1$4 = es2018$9;
824
+ const extra_fetch_1$4 = es2018$c;
825
825
  const papaparse_1$1 = papaparse_min.exports;
826
- const errors_1$i = es2018$6;
826
+ const errors_1$i = es2018$9;
827
827
  function csv(payload) {
828
828
  (0, errors_1$i.assert)(payload.length > 0, 'payload must be a non-empty array');
829
829
  return (options) => {
@@ -858,7 +858,7 @@ signal$1.signal = signal;
858
858
  var header$1 = {};
859
859
 
860
860
  header$1.header = void 0;
861
- const extra_fetch_1$3 = es2018$9;
861
+ const extra_fetch_1$3 = es2018$c;
862
862
  function header(name, value) {
863
863
  return (options) => {
864
864
  const headers = new extra_fetch_1$3.Headers(options.headers);
@@ -874,7 +874,7 @@ header$1.header = header;
874
874
  var appendHeader$1 = {};
875
875
 
876
876
  appendHeader$1.appendHeader = void 0;
877
- const extra_fetch_1$2 = es2018$9;
877
+ const extra_fetch_1$2 = es2018$c;
878
878
  function appendHeader(name, value) {
879
879
  return (options) => {
880
880
  const headers = new extra_fetch_1$2.Headers(options.headers);
@@ -890,7 +890,7 @@ appendHeader$1.appendHeader = appendHeader;
890
890
  var headers$1 = {};
891
891
 
892
892
  headers$1.headers = void 0;
893
- const extra_fetch_1$1 = es2018$9;
893
+ const extra_fetch_1$1 = es2018$c;
894
894
  function headers(headers) {
895
895
  return (options) => {
896
896
  const newHeaders = new extra_fetch_1$1.Headers(options.headers);
@@ -1030,8 +1030,8 @@ appendSearchParam$1.appendSearchParam = appendSearchParam;
1030
1030
  var formDataField$1 = {};
1031
1031
 
1032
1032
  formDataField$1.formDataField = void 0;
1033
- const extra_fetch_1 = es2018$9;
1034
- const types_1$i = es2018$7;
1033
+ const extra_fetch_1 = es2018$c;
1034
+ const types_1$i = es2018$a;
1035
1035
  function formDataField(name, value) {
1036
1036
  return (options) => {
1037
1037
  const formData = options.payload instanceof extra_fetch_1.FormData
@@ -1426,11 +1426,11 @@ __exportStar(keepalive$1, exports);
1426
1426
 
1427
1427
  }(transformers));
1428
1428
 
1429
- var es2018$5 = {};
1429
+ var es2018$8 = {};
1430
1430
 
1431
1431
  var ok = {};
1432
1432
 
1433
- var es2018$4 = {};
1433
+ var es2018$7 = {};
1434
1434
 
1435
1435
  var httpStatus = /*#__PURE__*/Object.freeze({
1436
1436
  __proto__: null
@@ -1440,6 +1440,86 @@ var require$$0 = /*@__PURE__*/getAugmentedNamespace(httpStatus);
1440
1440
 
1441
1441
  var httpError = {};
1442
1442
 
1443
+ var es2018$6 = {};
1444
+
1445
+ var customError$2 = {};
1446
+
1447
+ customError$2.CustomError = void 0;
1448
+ class CustomError$2 extends Error {
1449
+ get name() {
1450
+ return this.constructor.name;
1451
+ }
1452
+ }
1453
+ customError$2.CustomError = CustomError$2;
1454
+
1455
+ var expectedError$2 = {};
1456
+
1457
+ expectedError$2.ExpectedError = void 0;
1458
+ const custom_error_1$5 = customError$2;
1459
+ class ExpectedError$2 extends custom_error_1$5.CustomError {
1460
+ }
1461
+ expectedError$2.ExpectedError = ExpectedError$2;
1462
+
1463
+ var assertionError$2 = {};
1464
+
1465
+ assertionError$2.AssertionError = void 0;
1466
+ const custom_error_1$4 = customError$2;
1467
+ class AssertionError$2 extends custom_error_1$4.CustomError {
1468
+ }
1469
+ assertionError$2.AssertionError = AssertionError$2;
1470
+
1471
+ var normalize$5 = {};
1472
+
1473
+ normalize$5.normalize = void 0;
1474
+ function normalize$4(err) {
1475
+ var _a;
1476
+ return {
1477
+ name: err.name,
1478
+ message: err.message,
1479
+ stack: (_a = err.stack) !== null && _a !== void 0 ? _a : null
1480
+ };
1481
+ }
1482
+ normalize$5.normalize = normalize$4;
1483
+
1484
+ var refute$5 = {};
1485
+
1486
+ refute$5.refute = void 0;
1487
+ const expected_error_1$2 = expectedError$2;
1488
+ function refute$4(condition, message) {
1489
+ if (condition)
1490
+ throw new expected_error_1$2.ExpectedError(message);
1491
+ }
1492
+ refute$5.refute = refute$4;
1493
+
1494
+ var assert$5 = {};
1495
+
1496
+ assert$5.assert = void 0;
1497
+ const assertion_error_1$2 = assertionError$2;
1498
+ function assert$4(condition, message) {
1499
+ if (!condition)
1500
+ throw new assertion_error_1$2.AssertionError(message);
1501
+ }
1502
+ assert$5.assert = assert$4;
1503
+
1504
+ (function (exports) {
1505
+ var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
1506
+ if (k2 === undefined) k2 = k;
1507
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
1508
+ }) : (function(o, m, k, k2) {
1509
+ if (k2 === undefined) k2 = k;
1510
+ o[k2] = m[k];
1511
+ }));
1512
+ var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
1513
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
1514
+ };__exportStar(customError$2, exports);
1515
+ __exportStar(expectedError$2, exports);
1516
+ __exportStar(assertionError$2, exports);
1517
+ __exportStar(normalize$5, exports);
1518
+ __exportStar(refute$5, exports);
1519
+ __exportStar(assert$5, exports);
1520
+
1521
+ }(es2018$6));
1522
+
1443
1523
  httpError.HTTPError = void 0;
1444
1524
  const errors_1$h = es2018$6;
1445
1525
  class HTTPError extends errors_1$h.CustomError {
@@ -2026,12 +2106,12 @@ __exportStar(httpClientError, exports);
2026
2106
  __exportStar(httpServerError, exports);
2027
2107
  __exportStar(utils$1, exports);
2028
2108
 
2029
- }(es2018$4));
2109
+ }(es2018$7));
2030
2110
 
2031
2111
  (function (exports) {
2032
2112
  exports.ok = exports.HTTPError = void 0;
2033
- const http_status_1 = es2018$4;
2034
- var http_status_2 = es2018$4;
2113
+ const http_status_1 = es2018$7;
2114
+ var http_status_2 = es2018$7;
2035
2115
  Object.defineProperty(exports, "HTTPError", { enumerable: true, get: function () { return http_status_2.HTTPError; } });
2036
2116
  /**
2037
2117
  * @throws {HTTPError}
@@ -2096,13 +2176,13 @@ toLines$1.toLines = toLines;
2096
2176
 
2097
2177
  var toNdjson = {};
2098
2178
 
2099
- var es2018$3 = {};
2179
+ var es2018$5 = {};
2100
2180
 
2101
2181
  var middleware = {};
2102
2182
 
2103
2183
  var chunkAsync$1 = {};
2104
2184
 
2105
- var es2018$2 = {};
2185
+ var es2018$4 = {};
2106
2186
 
2107
2187
  var go$1 = {};
2108
2188
 
@@ -2124,11 +2204,91 @@ var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m
2124
2204
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
2125
2205
  };__exportStar(go$1, exports);
2126
2206
 
2127
- }(es2018$2));
2207
+ }(es2018$4));
2208
+
2209
+ var es2018$3 = {};
2210
+
2211
+ var customError$1 = {};
2212
+
2213
+ customError$1.CustomError = void 0;
2214
+ class CustomError$1 extends Error {
2215
+ get name() {
2216
+ return this.constructor.name;
2217
+ }
2218
+ }
2219
+ customError$1.CustomError = CustomError$1;
2220
+
2221
+ var expectedError$1 = {};
2222
+
2223
+ expectedError$1.ExpectedError = void 0;
2224
+ const custom_error_1$3 = customError$1;
2225
+ class ExpectedError$1 extends custom_error_1$3.CustomError {
2226
+ }
2227
+ expectedError$1.ExpectedError = ExpectedError$1;
2228
+
2229
+ var assertionError$1 = {};
2230
+
2231
+ assertionError$1.AssertionError = void 0;
2232
+ const custom_error_1$2 = customError$1;
2233
+ class AssertionError$1 extends custom_error_1$2.CustomError {
2234
+ }
2235
+ assertionError$1.AssertionError = AssertionError$1;
2236
+
2237
+ var normalize$3 = {};
2238
+
2239
+ normalize$3.normalize = void 0;
2240
+ function normalize$2(err) {
2241
+ var _a;
2242
+ return {
2243
+ name: err.name,
2244
+ message: err.message,
2245
+ stack: (_a = err.stack) !== null && _a !== void 0 ? _a : null
2246
+ };
2247
+ }
2248
+ normalize$3.normalize = normalize$2;
2249
+
2250
+ var refute$3 = {};
2251
+
2252
+ refute$3.refute = void 0;
2253
+ const expected_error_1$1 = expectedError$1;
2254
+ function refute$2(condition, message) {
2255
+ if (condition)
2256
+ throw new expected_error_1$1.ExpectedError(message);
2257
+ }
2258
+ refute$3.refute = refute$2;
2259
+
2260
+ var assert$3 = {};
2261
+
2262
+ assert$3.assert = void 0;
2263
+ const assertion_error_1$1 = assertionError$1;
2264
+ function assert$2(condition, message) {
2265
+ if (!condition)
2266
+ throw new assertion_error_1$1.AssertionError(message);
2267
+ }
2268
+ assert$3.assert = assert$2;
2269
+
2270
+ (function (exports) {
2271
+ var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
2272
+ if (k2 === undefined) k2 = k;
2273
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
2274
+ }) : (function(o, m, k, k2) {
2275
+ if (k2 === undefined) k2 = k;
2276
+ o[k2] = m[k];
2277
+ }));
2278
+ var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
2279
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
2280
+ };__exportStar(customError$1, exports);
2281
+ __exportStar(expectedError$1, exports);
2282
+ __exportStar(assertionError$1, exports);
2283
+ __exportStar(normalize$3, exports);
2284
+ __exportStar(refute$3, exports);
2285
+ __exportStar(assert$3, exports);
2286
+
2287
+ }(es2018$3));
2128
2288
 
2129
2289
  chunkAsync$1.chunkAsync = void 0;
2130
- const go_1$f = es2018$2;
2131
- const errors_1$g = es2018$6;
2290
+ const go_1$f = es2018$4;
2291
+ const errors_1$g = es2018$3;
2132
2292
  function chunkAsync(iterable, size) {
2133
2293
  (0, errors_1$g.assert)(Number.isInteger(size), 'The parameter size must be an integer');
2134
2294
  (0, errors_1$g.assert)(size > 0, 'The parameter size must be greater than 0');
@@ -2149,7 +2309,7 @@ chunkAsync$1.chunkAsync = chunkAsync;
2149
2309
 
2150
2310
  var chunkByAsync$1 = {};
2151
2311
 
2152
- var es2018$1 = {};
2312
+ var es2018$2 = {};
2153
2313
 
2154
2314
  var array = {};
2155
2315
 
@@ -2337,19 +2497,27 @@ var jsonRpc = {};
2337
2497
 
2338
2498
  var object = {};
2339
2499
 
2340
- object.isntEmptyObject = object.isEmptyObject = object.isRecord = object.isntObject = object.isObject = void 0;
2500
+ var __importDefault$1 = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
2501
+ return (mod && mod.__esModule) ? mod : { "default": mod };
2502
+ };object.isntEmptyObject = object.isEmptyObject = object.isntPlainObject = object.isPlainObject = object.isntObject = object.isObject = void 0;
2503
+ const lodash_isplainobject_1 = __importDefault$1(lodash_isplainobject);
2341
2504
  function isObject(val) {
2342
- return val !== null && typeof val === 'object';
2505
+ return val !== null
2506
+ && typeof val === 'object';
2343
2507
  }
2344
2508
  object.isObject = isObject;
2345
2509
  function isntObject(val) {
2346
2510
  return !isObject(val);
2347
2511
  }
2348
2512
  object.isntObject = isntObject;
2349
- function isRecord(val) {
2350
- return isObject(val);
2513
+ function isPlainObject(val) {
2514
+ return (0, lodash_isplainobject_1.default)(val);
2351
2515
  }
2352
- object.isRecord = isRecord;
2516
+ object.isPlainObject = isPlainObject;
2517
+ function isntPlainObject(val) {
2518
+ return !isPlainObject(val);
2519
+ }
2520
+ object.isntPlainObject = isntPlainObject;
2353
2521
  function isEmptyObject(val) {
2354
2522
  return Object.keys(val).length === 0;
2355
2523
  }
@@ -2384,7 +2552,7 @@ function isJsonRpcParams(val) {
2384
2552
  return (0, array_1.isArray)(val) || (0, object_1.isObject)(val);
2385
2553
  }
2386
2554
  function isJsonRpcNotification(val) {
2387
- return (0, object_1.isRecord)(val)
2555
+ return (0, object_1.isPlainObject)(val)
2388
2556
  && (0, string_1.isString)(val.jsonrpc)
2389
2557
  && (0, string_1.isString)(val.method)
2390
2558
  && (0, undefined_1.isUndefined)(val.id)
@@ -2396,7 +2564,7 @@ function isntJsonRpcNotification(val) {
2396
2564
  }
2397
2565
  jsonRpc.isntJsonRpcNotification = isntJsonRpcNotification;
2398
2566
  function isJsonRpcRequest(val) {
2399
- return (0, object_1.isRecord)(val)
2567
+ return (0, object_1.isPlainObject)(val)
2400
2568
  && (0, string_1.isString)(val.jsonrpc)
2401
2569
  && (0, string_1.isString)(val.method)
2402
2570
  && isJsonRpcId(val.id)
@@ -2408,10 +2576,10 @@ function isntJsonRpcRequest(val) {
2408
2576
  }
2409
2577
  jsonRpc.isntJsonRpcRequest = isntJsonRpcRequest;
2410
2578
  function isJsonRpcSuccess(val) {
2411
- return (0, object_1.isRecord)(val)
2579
+ return (0, object_1.isPlainObject)(val)
2412
2580
  && (0, string_1.isString)(val.jsonrpc)
2413
2581
  && (0, string_1.isString)(val.id)
2414
- && (0, undefined_1.isntUndefined)(val.result);
2582
+ && 'result' in val;
2415
2583
  }
2416
2584
  jsonRpc.isJsonRpcSuccess = isJsonRpcSuccess;
2417
2585
  function isntJsonRpcSuccess(val) {
@@ -2419,7 +2587,7 @@ function isntJsonRpcSuccess(val) {
2419
2587
  }
2420
2588
  jsonRpc.isntJsonRpcSuccess = isntJsonRpcSuccess;
2421
2589
  function isJsonRpcError(val) {
2422
- return (0, object_1.isRecord)(val)
2590
+ return (0, object_1.isPlainObject)(val)
2423
2591
  && (0, string_1.isString)(val.jsonrpc)
2424
2592
  && isJsonRpcId(val.id)
2425
2593
  && isJsonRpcErrorObject(val.error);
@@ -2430,7 +2598,7 @@ function isntJsonRpcError(val) {
2430
2598
  }
2431
2599
  jsonRpc.isntJsonRpcError = isntJsonRpcError;
2432
2600
  function isJsonRpcErrorObject(val) {
2433
- return (0, object_1.isRecord)(val)
2601
+ return (0, object_1.isPlainObject)(val)
2434
2602
  && (0, number_1.isNumber)(val.code)
2435
2603
  && (0, string_1.isString)(val.message)
2436
2604
  && ((0, undefined_1.isUndefined)(val.data) || (0, object_1.isObject)(val.data));
@@ -2498,10 +2666,10 @@ __exportStar(string, exports);
2498
2666
  __exportStar(_undefined, exports);
2499
2667
  __exportStar(url, exports);
2500
2668
 
2501
- }(es2018$1));
2669
+ }(es2018$2));
2502
2670
 
2503
2671
  chunkByAsync$1.chunkByAsync = void 0;
2504
- const types_1$h = es2018$1;
2672
+ const types_1$h = es2018$2;
2505
2673
  function chunkByAsync(iterable, predicate) {
2506
2674
  if ((0, types_1$h.isAsyncIterable)(iterable)) {
2507
2675
  return chunkByAsyncIterable(iterable);
@@ -2562,8 +2730,8 @@ chunkBy$1.chunkBy = chunkBy;
2562
2730
  var chunk$1 = {};
2563
2731
 
2564
2732
  chunk$1.chunk = void 0;
2565
- const go_1$e = es2018$2;
2566
- const errors_1$f = es2018$6;
2733
+ const go_1$e = es2018$4;
2734
+ const errors_1$f = es2018$3;
2567
2735
  function chunk(iterable, size) {
2568
2736
  (0, errors_1$f.assert)(Number.isInteger(size), 'The parameter size must be an integer');
2569
2737
  (0, errors_1$f.assert)(size > 0, 'The parameter size must be greater than 0');
@@ -2585,8 +2753,8 @@ chunk$1.chunk = chunk;
2585
2753
  var concatAsync$1 = {};
2586
2754
 
2587
2755
  concatAsync$1.concatAsync = void 0;
2588
- const types_1$g = es2018$1;
2589
- const go_1$d = es2018$2;
2756
+ const types_1$g = es2018$2;
2757
+ const go_1$d = es2018$4;
2590
2758
  function concatAsync(iterable, ...otherIterables) {
2591
2759
  return (0, go_1$d.go)(async function* () {
2592
2760
  for (const iter of [iterable, ...otherIterables]) {
@@ -2608,7 +2776,7 @@ concatAsync$1.concatAsync = concatAsync;
2608
2776
  var concat$1 = {};
2609
2777
 
2610
2778
  concat$1.concat = void 0;
2611
- const go_1$c = es2018$2;
2779
+ const go_1$c = es2018$4;
2612
2780
  function concat(iterable, ...otherIterables) {
2613
2781
  return (0, go_1$c.go)(function* () {
2614
2782
  for (const iter of [iterable, ...otherIterables]) {
@@ -2637,9 +2805,9 @@ function* copyIterable(iterable) {
2637
2805
  utils.copyIterable = copyIterable;
2638
2806
 
2639
2807
  dropAsync$1.dropAsync = void 0;
2640
- const go_1$b = es2018$2;
2808
+ const go_1$b = es2018$4;
2641
2809
  const utils_1$3 = utils;
2642
- const errors_1$e = es2018$6;
2810
+ const errors_1$e = es2018$3;
2643
2811
  function dropAsync(iterable, count) {
2644
2812
  (0, errors_1$e.assert)(Number.isInteger(count), 'The parameter count must be an integer');
2645
2813
  (0, errors_1$e.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');
@@ -2672,9 +2840,9 @@ dropAsync$1.dropAsync = dropAsync;
2672
2840
  var dropRightAsync$1 = {};
2673
2841
 
2674
2842
  dropRightAsync$1.dropRightAsync = void 0;
2675
- const go_1$a = es2018$2;
2843
+ const go_1$a = es2018$4;
2676
2844
  const utils_1$2 = utils;
2677
- const errors_1$d = es2018$6;
2845
+ const errors_1$d = es2018$3;
2678
2846
  function dropRightAsync(iterable, count) {
2679
2847
  (0, errors_1$d.assert)(Number.isInteger(count), 'The parameter count must be an integer');
2680
2848
  (0, errors_1$d.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');
@@ -2700,9 +2868,9 @@ async function toArrayAsync$2(iterable) {
2700
2868
  var dropRight$1 = {};
2701
2869
 
2702
2870
  dropRight$1.dropRight = void 0;
2703
- const go_1$9 = es2018$2;
2871
+ const go_1$9 = es2018$4;
2704
2872
  const utils_1$1 = utils;
2705
- const errors_1$c = es2018$6;
2873
+ const errors_1$c = es2018$3;
2706
2874
  function dropRight(iterable, count) {
2707
2875
  (0, errors_1$c.assert)(Number.isInteger(count), 'The parameter count must be an integer');
2708
2876
  (0, errors_1$c.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');
@@ -2718,7 +2886,7 @@ dropRight$1.dropRight = dropRight;
2718
2886
  var dropUntilAsync$1 = {};
2719
2887
 
2720
2888
  dropUntilAsync$1.dropUntilAsync = void 0;
2721
- const types_1$f = es2018$1;
2889
+ const types_1$f = es2018$2;
2722
2890
  function dropUntilAsync(iterable, predicate) {
2723
2891
  if ((0, types_1$f.isAsyncIterable)(iterable)) {
2724
2892
  return dropUntilAsyncIterable(iterable);
@@ -2800,9 +2968,9 @@ dropUntil$1.dropUntil = dropUntil;
2800
2968
  var drop$1 = {};
2801
2969
 
2802
2970
  drop$1.drop = void 0;
2803
- const go_1$8 = es2018$2;
2971
+ const go_1$8 = es2018$4;
2804
2972
  const utils_1 = utils;
2805
- const errors_1$b = es2018$6;
2973
+ const errors_1$b = es2018$3;
2806
2974
  function drop(iterable, count) {
2807
2975
  (0, errors_1$b.assert)(Number.isInteger(count), 'The parameter count must be an integer');
2808
2976
  (0, errors_1$b.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');
@@ -2835,7 +3003,7 @@ drop$1.drop = drop;
2835
3003
  var filterAsync$1 = {};
2836
3004
 
2837
3005
  filterAsync$1.filterAsync = void 0;
2838
- const types_1$e = es2018$1;
3006
+ const types_1$e = es2018$2;
2839
3007
  function filterAsync(iterable, predicate) {
2840
3008
  if ((0, types_1$e.isAsyncIterable)(iterable)) {
2841
3009
  return filterAsyncIterable(iterable);
@@ -2882,7 +3050,7 @@ var flattenDeepAsync$1 = {};
2882
3050
  var flattenByAsync$1 = {};
2883
3051
 
2884
3052
  flattenByAsync$1.flattenByAsync = void 0;
2885
- const types_1$d = es2018$1;
3053
+ const types_1$d = es2018$2;
2886
3054
  function flattenByAsync(iterable, predicate) {
2887
3055
  if ((0, types_1$d.isAsyncIterable)(iterable)) {
2888
3056
  return flattenByAsyncIterable(iterable);
@@ -2922,7 +3090,7 @@ function isFiniteIterable$1(val) {
2922
3090
 
2923
3091
  flattenDeepAsync$1.flattenDeepAsync = void 0;
2924
3092
  const flatten_by_async_1 = flattenByAsync$1;
2925
- const errors_1$a = es2018$6;
3093
+ const errors_1$a = es2018$3;
2926
3094
  function flattenDeepAsync(iterable, depth = Infinity) {
2927
3095
  (0, errors_1$a.assert)(depth === Infinity || Number.isInteger(depth), 'The parameter depth must be an integer');
2928
3096
  (0, errors_1$a.assert)(depth >= 0, 'The parameter depth must be greater than or equal to 0');
@@ -2940,7 +3108,7 @@ flattenAsync$1.flattenAsync = flattenAsync;
2940
3108
  var flattenBy$1 = {};
2941
3109
 
2942
3110
  flattenBy$1.flattenBy = void 0;
2943
- const types_1$c = es2018$1;
3111
+ const types_1$c = es2018$2;
2944
3112
  function flattenBy(iterable, predicate) {
2945
3113
  return flatten(iterable, 1);
2946
3114
  function* flatten(iterable, level) {
@@ -2963,7 +3131,7 @@ var flattenDeep$1 = {};
2963
3131
 
2964
3132
  flattenDeep$1.flattenDeep = void 0;
2965
3133
  const flatten_by_1 = flattenBy$1;
2966
- const errors_1$9 = es2018$6;
3134
+ const errors_1$9 = es2018$3;
2967
3135
  function flattenDeep(iterable, depth = Infinity) {
2968
3136
  (0, errors_1$9.assert)(depth === Infinity || Number.isInteger(depth), 'The parameter depth must be an integer');
2969
3137
  (0, errors_1$9.assert)(depth >= 0, 'The parameter depth must be greater than or equal to 0');
@@ -2983,7 +3151,7 @@ flatten$1.flatten = flatten;
2983
3151
  var mapAsync$1 = {};
2984
3152
 
2985
3153
  mapAsync$1.mapAsync = void 0;
2986
- const types_1$b = es2018$1;
3154
+ const types_1$b = es2018$2;
2987
3155
  function mapAsync(iterable, fn) {
2988
3156
  if ((0, types_1$b.isAsyncIterable)(iterable)) {
2989
3157
  return mapAsyncIterable(iterable);
@@ -3023,8 +3191,8 @@ map$1.map = map;
3023
3191
  var repeatAsync$1 = {};
3024
3192
 
3025
3193
  repeatAsync$1.repeatAsync = void 0;
3026
- const go_1$7 = es2018$2;
3027
- const errors_1$8 = es2018$6;
3194
+ const go_1$7 = es2018$4;
3195
+ const errors_1$8 = es2018$3;
3028
3196
  function repeatAsync(iterable, times) {
3029
3197
  (0, errors_1$8.assert)(times === Infinity || Number.isInteger(times), 'The parameter times must be an integer');
3030
3198
  (0, errors_1$8.assert)(times >= 0, 'The parameter times must be greater than or equal to 0');
@@ -3058,8 +3226,8 @@ function isProduction$1() {
3058
3226
  var repeat$1 = {};
3059
3227
 
3060
3228
  repeat$1.repeat = void 0;
3061
- const go_1$6 = es2018$2;
3062
- const errors_1$7 = es2018$6;
3229
+ const go_1$6 = es2018$4;
3230
+ const errors_1$7 = es2018$3;
3063
3231
  function repeat(iterable, times) {
3064
3232
  (0, errors_1$7.assert)(times === Infinity || Number.isInteger(times), 'The parameter times must be an integer');
3065
3233
  (0, errors_1$7.assert)(times >= 0, 'The parameter times must be greater than or equal to 0');
@@ -3093,8 +3261,8 @@ function isProduction() {
3093
3261
  var sliceAsync$1 = {};
3094
3262
 
3095
3263
  sliceAsync$1.sliceAsync = void 0;
3096
- const go_1$5 = es2018$2;
3097
- const errors_1$6 = es2018$6;
3264
+ const go_1$5 = es2018$4;
3265
+ const errors_1$6 = es2018$3;
3098
3266
  function sliceAsync(iterable, start, end = Infinity) {
3099
3267
  (0, errors_1$6.assert)(Number.isInteger(start), 'The parameter start must be an integer');
3100
3268
  (0, errors_1$6.assert)(start >= 0, 'The parameter start must be greater than or equal to 0');
@@ -3116,8 +3284,8 @@ sliceAsync$1.sliceAsync = sliceAsync;
3116
3284
  var slice$1 = {};
3117
3285
 
3118
3286
  slice$1.slice = void 0;
3119
- const go_1$4 = es2018$2;
3120
- const errors_1$5 = es2018$6;
3287
+ const go_1$4 = es2018$4;
3288
+ const errors_1$5 = es2018$3;
3121
3289
  function slice(iterable, start, end = Infinity) {
3122
3290
  (0, errors_1$5.assert)(Number.isInteger(start), 'The parameter start must be an integer');
3123
3291
  (0, errors_1$5.assert)(start >= 0, 'The parameter start must be greater than or equal to 0');
@@ -3157,7 +3325,7 @@ splitAsync$1.splitAsync = splitAsync;
3157
3325
  var splitByAsync$1 = {};
3158
3326
 
3159
3327
  splitByAsync$1.splitByAsync = void 0;
3160
- const types_1$a = es2018$1;
3328
+ const types_1$a = es2018$2;
3161
3329
  function splitByAsync(iterable, predicate) {
3162
3330
  if ((0, types_1$a.isAsyncIterable)(iterable)) {
3163
3331
  return splitByAsyncIterable(iterable);
@@ -3239,8 +3407,8 @@ split$1.split = split;
3239
3407
  var takeAsync$1 = {};
3240
3408
 
3241
3409
  takeAsync$1.takeAsync = void 0;
3242
- const go_1$3 = es2018$2;
3243
- const errors_1$4 = es2018$6;
3410
+ const go_1$3 = es2018$4;
3411
+ const errors_1$4 = es2018$3;
3244
3412
  function takeAsync(iterable, count) {
3245
3413
  (0, errors_1$4.assert)(Number.isInteger(count), 'The parameter count must be an integer');
3246
3414
  (0, errors_1$4.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');
@@ -3260,8 +3428,8 @@ takeAsync$1.takeAsync = takeAsync;
3260
3428
  var takeRightAsync$1 = {};
3261
3429
 
3262
3430
  takeRightAsync$1.takeRightAsync = void 0;
3263
- const go_1$2 = es2018$2;
3264
- const errors_1$3 = es2018$6;
3431
+ const go_1$2 = es2018$4;
3432
+ const errors_1$3 = es2018$3;
3265
3433
  function takeRightAsync(iterable, count) {
3266
3434
  (0, errors_1$3.assert)(Number.isInteger(count), 'The parameter count must be an integer');
3267
3435
  (0, errors_1$3.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');
@@ -3290,8 +3458,8 @@ takeRightAsync$1.takeRightAsync = takeRightAsync;
3290
3458
  var takeRight$1 = {};
3291
3459
 
3292
3460
  takeRight$1.takeRight = void 0;
3293
- const go_1$1 = es2018$2;
3294
- const errors_1$2 = es2018$6;
3461
+ const go_1$1 = es2018$4;
3462
+ const errors_1$2 = es2018$3;
3295
3463
  function takeRight(iterable, count) {
3296
3464
  (0, errors_1$2.assert)(Number.isInteger(count), 'The parameter count must be an integer');
3297
3465
  (0, errors_1$2.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');
@@ -3320,7 +3488,7 @@ takeRight$1.takeRight = takeRight;
3320
3488
  var takeUntilAsync$1 = {};
3321
3489
 
3322
3490
  takeUntilAsync$1.takeUntilAsync = void 0;
3323
- const types_1$9 = es2018$1;
3491
+ const types_1$9 = es2018$2;
3324
3492
  function takeUntilAsync(iterable, predicate) {
3325
3493
  if ((0, types_1$9.isAsyncIterable)(iterable)) {
3326
3494
  return takeUntilAsyncIterable(iterable);
@@ -3366,8 +3534,8 @@ takeUntil$1.takeUntil = takeUntil;
3366
3534
  var take$1 = {};
3367
3535
 
3368
3536
  take$1.take = void 0;
3369
- const go_1 = es2018$2;
3370
- const errors_1$1 = es2018$6;
3537
+ const go_1 = es2018$4;
3538
+ const errors_1$1 = es2018$3;
3371
3539
  function take(iterable, count) {
3372
3540
  (0, errors_1$1.assert)(Number.isInteger(count), 'The parameter count must be an integer');
3373
3541
  (0, errors_1$1.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');
@@ -3387,7 +3555,7 @@ take$1.take = take;
3387
3555
  var tapAsync$1 = {};
3388
3556
 
3389
3557
  tapAsync$1.tapAsync = void 0;
3390
- const types_1$8 = es2018$1;
3558
+ const types_1$8 = es2018$2;
3391
3559
  function tapAsync(iterable, fn) {
3392
3560
  if ((0, types_1$8.isAsyncIterable)(iterable)) {
3393
3561
  return tapAsyncIterable(iterable);
@@ -3470,7 +3638,7 @@ uniqAsync$1.uniqAsync = uniqAsync;
3470
3638
  var uniqByAsync$1 = {};
3471
3639
 
3472
3640
  uniqByAsync$1.uniqByAsync = void 0;
3473
- const types_1$7 = es2018$1;
3641
+ const types_1$7 = es2018$2;
3474
3642
  function uniqByAsync(iterable, fn) {
3475
3643
  if ((0, types_1$7.isAsyncIterable)(iterable)) {
3476
3644
  return uniqByAsyncIterable(iterable);
@@ -3539,7 +3707,7 @@ uniq$1.uniq = uniq;
3539
3707
  var zipAsync$1 = {};
3540
3708
 
3541
3709
  zipAsync$1.zipAsync = void 0;
3542
- const types_1$6 = es2018$1;
3710
+ const types_1$6 = es2018$2;
3543
3711
  var Kind;
3544
3712
  (function (Kind) {
3545
3713
  Kind[Kind["Sync"] = 0] = "Sync";
@@ -3699,7 +3867,7 @@ consume$1.consume = consume;
3699
3867
  var eachAsync$1 = {};
3700
3868
 
3701
3869
  eachAsync$1.eachAsync = void 0;
3702
- const types_1$5 = es2018$1;
3870
+ const types_1$5 = es2018$2;
3703
3871
  function eachAsync(iterable, fn) {
3704
3872
  if ((0, types_1$5.isAsyncIterable)(iterable)) {
3705
3873
  return eachAsyncIterable(iterable);
@@ -3739,7 +3907,7 @@ each$1.each = each;
3739
3907
  var everyAsync$1 = {};
3740
3908
 
3741
3909
  everyAsync$1.everyAsync = void 0;
3742
- const types_1$4 = es2018$1;
3910
+ const types_1$4 = es2018$2;
3743
3911
  function everyAsync(iterable, predicate) {
3744
3912
  if ((0, types_1$4.isAsyncIterable)(iterable)) {
3745
3913
  return everyAsyncIterable(iterable);
@@ -3785,7 +3953,7 @@ every$1.every = every;
3785
3953
  var findAsync$1 = {};
3786
3954
 
3787
3955
  findAsync$1.findAsync = void 0;
3788
- const types_1$3 = es2018$1;
3956
+ const types_1$3 = es2018$2;
3789
3957
  function findAsync(iterable, predicate) {
3790
3958
  if ((0, types_1$3.isAsyncIterable)(iterable)) {
3791
3959
  return findAsyncIterable(iterable);
@@ -3909,7 +4077,7 @@ match$1.match = match;
3909
4077
  var reduceAsync$1 = {};
3910
4078
 
3911
4079
  reduceAsync$1.reduceAsync = void 0;
3912
- const types_1$2 = es2018$1;
4080
+ const types_1$2 = es2018$2;
3913
4081
  function reduceAsync(iterable, fn, initialValue) {
3914
4082
  if ((0, types_1$2.isUndefined)(initialValue)) {
3915
4083
  return reduceAsyncWithoutInitialValue(iterable, fn);
@@ -4005,7 +4173,7 @@ function reduceAsyncWithoutInitialValue(iterable, fn) {
4005
4173
  var reduce$1 = {};
4006
4174
 
4007
4175
  reduce$1.reduce = void 0;
4008
- const types_1$1 = es2018$1;
4176
+ const types_1$1 = es2018$2;
4009
4177
  function reduce(iterable, fn, initialValue) {
4010
4178
  if ((0, types_1$1.isUndefined)(initialValue)) {
4011
4179
  return reduceWithoutInitialValue(iterable, fn);
@@ -4052,7 +4220,7 @@ function reduceWithoutInitialValue(iterable, fn) {
4052
4220
  var someAsync$1 = {};
4053
4221
 
4054
4222
  someAsync$1.someAsync = void 0;
4055
- const types_1 = es2018$1;
4223
+ const types_1 = es2018$2;
4056
4224
  function someAsync(iterable, predicate) {
4057
4225
  if ((0, types_1.isAsyncIterable)(iterable)) {
4058
4226
  return someAsyncIterable(iterable);
@@ -4236,10 +4404,10 @@ var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m
4236
4404
  };__exportStar(middleware, exports);
4237
4405
  __exportStar(output, exports);
4238
4406
 
4239
- }(es2018$3));
4407
+ }(es2018$5));
4240
4408
 
4241
4409
  toNdjson.toNDJSON = void 0;
4242
- const iterable_operator_1 = es2018$3;
4410
+ const iterable_operator_1 = es2018$5;
4243
4411
  const to_lines_1 = toLines$1;
4244
4412
  function toNDJSON(res) {
4245
4413
  return (0, iterable_operator_1.mapAsync)((0, to_lines_1.toLines)(res), text => JSON.parse(text));
@@ -4277,9 +4445,9 @@ __exportStar(toLines$1, exports);
4277
4445
  __exportStar(toNdjson, exports);
4278
4446
  __exportStar(toCsv, exports);
4279
4447
 
4280
- }(es2018$5));
4448
+ }(es2018$8));
4281
4449
 
4282
- var es2018 = {};
4450
+ var es2018$1 = {};
4283
4451
 
4284
4452
  var abortController = {};
4285
4453
 
@@ -4351,8 +4519,88 @@ timeoutSignal$1.timeoutSignal = timeoutSignal;
4351
4519
 
4352
4520
  var withAbortSignal$1 = {};
4353
4521
 
4522
+ var es2018 = {};
4523
+
4524
+ var customError = {};
4525
+
4526
+ customError.CustomError = void 0;
4527
+ class CustomError extends Error {
4528
+ get name() {
4529
+ return this.constructor.name;
4530
+ }
4531
+ }
4532
+ customError.CustomError = CustomError;
4533
+
4534
+ var expectedError = {};
4535
+
4536
+ expectedError.ExpectedError = void 0;
4537
+ const custom_error_1$1 = customError;
4538
+ class ExpectedError extends custom_error_1$1.CustomError {
4539
+ }
4540
+ expectedError.ExpectedError = ExpectedError;
4541
+
4542
+ var assertionError = {};
4543
+
4544
+ assertionError.AssertionError = void 0;
4545
+ const custom_error_1 = customError;
4546
+ class AssertionError extends custom_error_1.CustomError {
4547
+ }
4548
+ assertionError.AssertionError = AssertionError;
4549
+
4550
+ var normalize$1 = {};
4551
+
4552
+ normalize$1.normalize = void 0;
4553
+ function normalize(err) {
4554
+ var _a;
4555
+ return {
4556
+ name: err.name,
4557
+ message: err.message,
4558
+ stack: (_a = err.stack) !== null && _a !== void 0 ? _a : null
4559
+ };
4560
+ }
4561
+ normalize$1.normalize = normalize;
4562
+
4563
+ var refute$1 = {};
4564
+
4565
+ refute$1.refute = void 0;
4566
+ const expected_error_1 = expectedError;
4567
+ function refute(condition, message) {
4568
+ if (condition)
4569
+ throw new expected_error_1.ExpectedError(message);
4570
+ }
4571
+ refute$1.refute = refute;
4572
+
4573
+ var assert$1 = {};
4574
+
4575
+ assert$1.assert = void 0;
4576
+ const assertion_error_1 = assertionError;
4577
+ function assert(condition, message) {
4578
+ if (!condition)
4579
+ throw new assertion_error_1.AssertionError(message);
4580
+ }
4581
+ assert$1.assert = assert;
4582
+
4583
+ (function (exports) {
4584
+ var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4585
+ if (k2 === undefined) k2 = k;
4586
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4587
+ }) : (function(o, m, k, k2) {
4588
+ if (k2 === undefined) k2 = k;
4589
+ o[k2] = m[k];
4590
+ }));
4591
+ var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
4592
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
4593
+ };__exportStar(customError, exports);
4594
+ __exportStar(expectedError, exports);
4595
+ __exportStar(assertionError, exports);
4596
+ __exportStar(normalize$1, exports);
4597
+ __exportStar(refute$1, exports);
4598
+ __exportStar(assert$1, exports);
4599
+
4600
+ }(es2018));
4601
+
4354
4602
  withAbortSignal$1.AbortError = withAbortSignal$1.withAbortSignal = void 0;
4355
- const errors_1 = es2018$6;
4603
+ const errors_1 = es2018;
4356
4604
  /**
4357
4605
  * @throws {AbortError}
4358
4606
  */
@@ -4396,7 +4644,27 @@ __exportStar(raceAbortSignals$1, exports);
4396
4644
  __exportStar(timeoutSignal$1, exports);
4397
4645
  __exportStar(withAbortSignal$1, exports);
4398
4646
 
4399
- }(es2018));
4647
+ }(es2018$1));
4648
+
4649
+ const expectedVersion = '0.2.7';
4650
+ class GeyserManagerBase {
4651
+ constructor(options) {
4652
+ this.options = options;
4653
+ }
4654
+ getCommonTransformers(options) {
4655
+ var _a, _b;
4656
+ return [
4657
+ transformers.url(this.options.server),
4658
+ transformers.bearerAuth(this.options.adminPassword),
4659
+ transformers.signal(es2018$1.raceAbortSignals([
4660
+ options.signal,
4661
+ options.timeout !== false && ((_a = (options.timeout && es2018$1.timeoutSignal(options.timeout))) !== null && _a !== void 0 ? _a : (this.options.timeout && es2018$1.timeoutSignal(this.options.timeout)))
4662
+ ])),
4663
+ transformers.keepalive((_b = options.keepalive) !== null && _b !== void 0 ? _b : this.options.keepalive),
4664
+ transformers.header('Accept-Version', expectedVersion)
4665
+ ];
4666
+ }
4667
+ }
4400
4668
 
4401
4669
  class GeyserClient {
4402
4670
  constructor(options) {
@@ -4409,43 +4677,26 @@ class GeyserClient {
4409
4677
  var _a, _b, _c;
4410
4678
  return __awaiter(this, void 0, void 0, function* () {
4411
4679
  const token = (_a = options.token) !== null && _a !== void 0 ? _a : this.options.token;
4412
- const req = es2018$8.get(transformers.url(this.options.server), transformers.pathname(`geyser/${namespace}`), token && transformers.searchParams({ token }), transformers.signal(es2018.raceAbortSignals([
4680
+ const auth = this.options.basicAuth;
4681
+ const req = es2018$b.get(transformers.url(this.options.server), transformers.pathname(`geyser/${namespace}`), auth && transformers.basicAuth(auth.username, auth.password), token && transformers.searchParams({ token }), transformers.signal(es2018$1.raceAbortSignals([
4413
4682
  options.signal,
4414
- options.timeout !== false && ((_b = (options.timeout && es2018.timeoutSignal(options.timeout))) !== null && _b !== void 0 ? _b : (this.options.timeout && es2018.timeoutSignal(this.options.timeout)))
4415
- ])), transformers.keepalive((_c = options.keepalive) !== null && _c !== void 0 ? _c : this.options.keepalive));
4416
- yield es2018$9.fetch(req).then(es2018$5.ok);
4683
+ options.timeout !== false && ((_b = (options.timeout && es2018$1.timeoutSignal(options.timeout))) !== null && _b !== void 0 ? _b : (this.options.timeout && es2018$1.timeoutSignal(this.options.timeout)))
4684
+ ])), transformers.keepalive((_c = options.keepalive) !== null && _c !== void 0 ? _c : this.options.keepalive), transformers.header('Accept-Version', expectedVersion));
4685
+ yield es2018$c.fetch(req).then(es2018$8.ok);
4417
4686
  });
4418
4687
  }
4419
4688
  }
4420
4689
 
4421
- class GeyserManagerBase {
4422
- constructor(options) {
4423
- this.options = options;
4424
- }
4425
- getCommonTransformers(options) {
4426
- var _a, _b;
4427
- return [
4428
- transformers.url(this.options.server),
4429
- transformers.bearerAuth(this.options.adminPassword),
4430
- transformers.signal(es2018.raceAbortSignals([
4431
- options.signal,
4432
- options.timeout !== false && ((_a = (options.timeout && es2018.timeoutSignal(options.timeout))) !== null && _a !== void 0 ? _a : (this.options.timeout && es2018.timeoutSignal(this.options.timeout)))
4433
- ])),
4434
- transformers.keepalive((_b = options.keepalive) !== null && _b !== void 0 ? _b : this.options.keepalive)
4435
- ];
4436
- }
4437
- }
4438
-
4439
4690
  class ConfigurationClient extends GeyserManagerBase {
4440
4691
  /**
4441
4692
  * @throws {AbortError}
4442
4693
  */
4443
4694
  getNamespaces(options = {}) {
4444
4695
  return __awaiter(this, void 0, void 0, function* () {
4445
- const req = es2018$8.get(...this.getCommonTransformers(options), transformers.pathname('/admin/geyser-with-config'));
4446
- return yield es2018$9.fetch(req)
4447
- .then(es2018$5.ok)
4448
- .then(es2018$5.toJSON);
4696
+ const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname('/admin/geyser-with-config'));
4697
+ return yield es2018$c.fetch(req)
4698
+ .then(es2018$8.ok)
4699
+ .then(es2018$8.toJSON);
4449
4700
  });
4450
4701
  }
4451
4702
  /**
@@ -4453,10 +4704,10 @@ class ConfigurationClient extends GeyserManagerBase {
4453
4704
  */
4454
4705
  get(namespace, options = {}) {
4455
4706
  return __awaiter(this, void 0, void 0, function* () {
4456
- const req = es2018$8.get(...this.getCommonTransformers(options), transformers.pathname(`/admin/geyser/${namespace}/config`));
4457
- return yield es2018$9.fetch(req)
4458
- .then(es2018$5.ok)
4459
- .then(es2018$5.toJSON);
4707
+ const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname(`/admin/geyser/${namespace}/config`));
4708
+ return yield es2018$c.fetch(req)
4709
+ .then(es2018$8.ok)
4710
+ .then(es2018$8.toJSON);
4460
4711
  });
4461
4712
  }
4462
4713
  /**
@@ -4464,8 +4715,8 @@ class ConfigurationClient extends GeyserManagerBase {
4464
4715
  */
4465
4716
  setDuration(namespace, val, options = {}) {
4466
4717
  return __awaiter(this, void 0, void 0, function* () {
4467
- const req = es2018$8.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/geyser/${namespace}/config/duration`), transformers.json(val));
4468
- yield es2018$9.fetch(req).then(es2018$5.ok);
4718
+ const req = es2018$b.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/geyser/${namespace}/config/duration`), transformers.json(val));
4719
+ yield es2018$c.fetch(req).then(es2018$8.ok);
4469
4720
  });
4470
4721
  }
4471
4722
  /**
@@ -4473,8 +4724,8 @@ class ConfigurationClient extends GeyserManagerBase {
4473
4724
  */
4474
4725
  removeDuration(namespace, options = {}) {
4475
4726
  return __awaiter(this, void 0, void 0, function* () {
4476
- const req = es2018$8.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/geyser/${namespace}/config/duration`));
4477
- yield es2018$9.fetch(req).then(es2018$5.ok);
4727
+ const req = es2018$b.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/geyser/${namespace}/config/duration`));
4728
+ yield es2018$c.fetch(req).then(es2018$8.ok);
4478
4729
  });
4479
4730
  }
4480
4731
  /**
@@ -4482,8 +4733,8 @@ class ConfigurationClient extends GeyserManagerBase {
4482
4733
  */
4483
4734
  setLimit(namespace, val, options = {}) {
4484
4735
  return __awaiter(this, void 0, void 0, function* () {
4485
- const req = es2018$8.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/geyser/${namespace}/config/limit`), transformers.json(val));
4486
- yield es2018$9.fetch(req).then(es2018$5.ok);
4736
+ const req = es2018$b.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/geyser/${namespace}/config/limit`), transformers.json(val));
4737
+ yield es2018$c.fetch(req).then(es2018$8.ok);
4487
4738
  });
4488
4739
  }
4489
4740
  /**
@@ -4491,8 +4742,20 @@ class ConfigurationClient extends GeyserManagerBase {
4491
4742
  */
4492
4743
  removeLimit(namespace, options = {}) {
4493
4744
  return __awaiter(this, void 0, void 0, function* () {
4494
- const req = es2018$8.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/geyser/${namespace}/config/limit`));
4495
- yield es2018$9.fetch(req).then(es2018$5.ok);
4745
+ const req = es2018$b.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/geyser/${namespace}/config/limit`));
4746
+ yield es2018$c.fetch(req).then(es2018$8.ok);
4747
+ });
4748
+ }
4749
+ }
4750
+
4751
+ class CycleClient extends GeyserManagerBase {
4752
+ /**
4753
+ * @throws {AbortError}
4754
+ */
4755
+ resetCycle(namespace, options = {}) {
4756
+ return __awaiter(this, void 0, void 0, function* () {
4757
+ const req = es2018$b.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/geyser/${namespace}/cycle`));
4758
+ yield es2018$c.fetch(req).then(es2018$8.ok);
4496
4759
  });
4497
4760
  }
4498
4761
  }
@@ -4503,10 +4766,10 @@ class BlacklistClient extends GeyserManagerBase {
4503
4766
  */
4504
4767
  getNamespaces(options = {}) {
4505
4768
  return __awaiter(this, void 0, void 0, function* () {
4506
- const req = es2018$8.get(...this.getCommonTransformers(options), transformers.pathname('/admin/blacklist'));
4507
- return yield es2018$9.fetch(req)
4508
- .then(es2018$5.ok)
4509
- .then(es2018$5.toJSON);
4769
+ const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname('/admin/blacklist'));
4770
+ return yield es2018$c.fetch(req)
4771
+ .then(es2018$8.ok)
4772
+ .then(es2018$8.toJSON);
4510
4773
  });
4511
4774
  }
4512
4775
  /**
@@ -4514,8 +4777,8 @@ class BlacklistClient extends GeyserManagerBase {
4514
4777
  */
4515
4778
  add(namespace, options = {}) {
4516
4779
  return __awaiter(this, void 0, void 0, function* () {
4517
- const req = es2018$8.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/blacklist/${namespace}`));
4518
- yield es2018$9.fetch(req).then(es2018$5.ok);
4780
+ const req = es2018$b.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/blacklist/${namespace}`));
4781
+ yield es2018$c.fetch(req).then(es2018$8.ok);
4519
4782
  });
4520
4783
  }
4521
4784
  /**
@@ -4523,8 +4786,8 @@ class BlacklistClient extends GeyserManagerBase {
4523
4786
  */
4524
4787
  remove(namespace, options = {}) {
4525
4788
  return __awaiter(this, void 0, void 0, function* () {
4526
- const req = es2018$8.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/blacklist/${namespace}`));
4527
- yield es2018$9.fetch(req).then(es2018$5.ok);
4789
+ const req = es2018$b.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/blacklist/${namespace}`));
4790
+ yield es2018$c.fetch(req).then(es2018$8.ok);
4528
4791
  });
4529
4792
  }
4530
4793
  }
@@ -4535,10 +4798,10 @@ class WhitelistClient extends GeyserManagerBase {
4535
4798
  */
4536
4799
  getNamespaces(options = {}) {
4537
4800
  return __awaiter(this, void 0, void 0, function* () {
4538
- const req = es2018$8.get(...this.getCommonTransformers(options), transformers.pathname('/admin/whitelist'));
4539
- return yield es2018$9.fetch(req)
4540
- .then(es2018$5.ok)
4541
- .then(es2018$5.toJSON);
4801
+ const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname('/admin/whitelist'));
4802
+ return yield es2018$c.fetch(req)
4803
+ .then(es2018$8.ok)
4804
+ .then(es2018$8.toJSON);
4542
4805
  });
4543
4806
  }
4544
4807
  /**
@@ -4546,8 +4809,8 @@ class WhitelistClient extends GeyserManagerBase {
4546
4809
  */
4547
4810
  add(namespace, options = {}) {
4548
4811
  return __awaiter(this, void 0, void 0, function* () {
4549
- const req = es2018$8.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/whitelist/${namespace}`));
4550
- yield es2018$9.fetch(req).then(es2018$5.ok);
4812
+ const req = es2018$b.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/whitelist/${namespace}`));
4813
+ yield es2018$c.fetch(req).then(es2018$8.ok);
4551
4814
  });
4552
4815
  }
4553
4816
  /**
@@ -4555,8 +4818,8 @@ class WhitelistClient extends GeyserManagerBase {
4555
4818
  */
4556
4819
  remove(namespace, options = {}) {
4557
4820
  return __awaiter(this, void 0, void 0, function* () {
4558
- const req = es2018$8.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/whitelist/${namespace}`));
4559
- yield es2018$9.fetch(req).then(es2018$5.ok);
4821
+ const req = es2018$b.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/whitelist/${namespace}`));
4822
+ yield es2018$c.fetch(req).then(es2018$8.ok);
4560
4823
  });
4561
4824
  }
4562
4825
  }
@@ -4567,10 +4830,10 @@ class TokenPolicyClient extends GeyserManagerBase {
4567
4830
  */
4568
4831
  getNamespaces(options = {}) {
4569
4832
  return __awaiter(this, void 0, void 0, function* () {
4570
- const req = es2018$8.get(...this.getCommonTransformers(options), transformers.pathname('/admin/geyser-with-token-policies'));
4571
- return yield es2018$9.fetch(req)
4572
- .then(es2018$5.ok)
4573
- .then(es2018$5.toJSON);
4833
+ const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname('/admin/geyser-with-token-policies'));
4834
+ return yield es2018$c.fetch(req)
4835
+ .then(es2018$8.ok)
4836
+ .then(es2018$8.toJSON);
4574
4837
  });
4575
4838
  }
4576
4839
  /**
@@ -4578,10 +4841,10 @@ class TokenPolicyClient extends GeyserManagerBase {
4578
4841
  */
4579
4842
  get(namespace, options = {}) {
4580
4843
  return __awaiter(this, void 0, void 0, function* () {
4581
- const req = es2018$8.get(...this.getCommonTransformers(options), transformers.pathname(`/admin/geyser/${namespace}/token-policies`));
4582
- return yield es2018$9.fetch(req)
4583
- .then(es2018$5.ok)
4584
- .then(es2018$5.toJSON);
4844
+ const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname(`/admin/geyser/${namespace}/token-policies`));
4845
+ return yield es2018$c.fetch(req)
4846
+ .then(es2018$8.ok)
4847
+ .then(es2018$8.toJSON);
4585
4848
  });
4586
4849
  }
4587
4850
  /**
@@ -4589,8 +4852,8 @@ class TokenPolicyClient extends GeyserManagerBase {
4589
4852
  */
4590
4853
  setAcquireTokenRequired(namespace, val, options = {}) {
4591
4854
  return __awaiter(this, void 0, void 0, function* () {
4592
- const req = es2018$8.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/geyser/${namespace}/token-policies/acquire-token-required`), transformers.json(val));
4593
- yield es2018$9.fetch(req).then(es2018$5.ok);
4855
+ const req = es2018$b.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/geyser/${namespace}/token-policies/acquire-token-required`), transformers.json(val));
4856
+ yield es2018$c.fetch(req).then(es2018$8.ok);
4594
4857
  });
4595
4858
  }
4596
4859
  /**
@@ -4598,8 +4861,8 @@ class TokenPolicyClient extends GeyserManagerBase {
4598
4861
  */
4599
4862
  removeAcquireTokenRequired(namespace, options = {}) {
4600
4863
  return __awaiter(this, void 0, void 0, function* () {
4601
- const req = es2018$8.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/geyser/${namespace}/token-policies/acquire-token-required`));
4602
- yield es2018$9.fetch(req).then(es2018$5.ok);
4864
+ const req = es2018$b.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/geyser/${namespace}/token-policies/acquire-token-required`));
4865
+ yield es2018$c.fetch(req).then(es2018$8.ok);
4603
4866
  });
4604
4867
  }
4605
4868
  }
@@ -4610,10 +4873,10 @@ class TokenClient extends GeyserManagerBase {
4610
4873
  */
4611
4874
  getNamespaces(options = {}) {
4612
4875
  return __awaiter(this, void 0, void 0, function* () {
4613
- const req = es2018$8.get(...this.getCommonTransformers(options), transformers.pathname('/admin/geyser-with-tokens'));
4614
- return yield es2018$9.fetch(req)
4615
- .then(es2018$5.ok)
4616
- .then(es2018$5.toJSON);
4876
+ const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname('/admin/geyser-with-tokens'));
4877
+ return yield es2018$c.fetch(req)
4878
+ .then(es2018$8.ok)
4879
+ .then(es2018$8.toJSON);
4617
4880
  });
4618
4881
  }
4619
4882
  /**
@@ -4621,10 +4884,10 @@ class TokenClient extends GeyserManagerBase {
4621
4884
  */
4622
4885
  getTokens(namespace, options = {}) {
4623
4886
  return __awaiter(this, void 0, void 0, function* () {
4624
- const req = es2018$8.get(...this.getCommonTransformers(options), transformers.pathname(`/admin/geyser/${namespace}/tokens`));
4625
- return yield es2018$9.fetch(req)
4626
- .then(es2018$5.ok)
4627
- .then(es2018$5.toJSON);
4887
+ const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname(`/admin/geyser/${namespace}/tokens`));
4888
+ return yield es2018$c.fetch(req)
4889
+ .then(es2018$8.ok)
4890
+ .then(es2018$8.toJSON);
4628
4891
  });
4629
4892
  }
4630
4893
  /**
@@ -4632,8 +4895,8 @@ class TokenClient extends GeyserManagerBase {
4632
4895
  */
4633
4896
  addAcquireToken(namespace, token, options = {}) {
4634
4897
  return __awaiter(this, void 0, void 0, function* () {
4635
- const req = es2018$8.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/geyser/${namespace}/tokens/${token}/acquire`));
4636
- yield es2018$9.fetch(req).then(es2018$5.ok);
4898
+ const req = es2018$b.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/geyser/${namespace}/tokens/${token}/acquire`));
4899
+ yield es2018$c.fetch(req).then(es2018$8.ok);
4637
4900
  });
4638
4901
  }
4639
4902
  /**
@@ -4641,8 +4904,8 @@ class TokenClient extends GeyserManagerBase {
4641
4904
  */
4642
4905
  removeAcquireToken(namespace, token, options = {}) {
4643
4906
  return __awaiter(this, void 0, void 0, function* () {
4644
- const req = es2018$8.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/geyser/${namespace}/tokens/${token}/acquire`));
4645
- yield es2018$9.fetch(req).then(es2018$5.ok);
4907
+ const req = es2018$b.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/geyser/${namespace}/tokens/${token}/acquire`));
4908
+ yield es2018$c.fetch(req).then(es2018$8.ok);
4646
4909
  });
4647
4910
  }
4648
4911
  }
@@ -4651,6 +4914,7 @@ class GeyserManager {
4651
4914
  constructor(options) {
4652
4915
  this.options = options;
4653
4916
  this.Configuration = new ConfigurationClient(this.options);
4917
+ this.Cycle = new CycleClient(this.options);
4654
4918
  this.Blacklist = new BlacklistClient(this.options);
4655
4919
  this.Whitelist = new WhitelistClient(this.options);
4656
4920
  this.TokenPolicy = new TokenPolicyClient(this.options);
@@ -4658,8 +4922,8 @@ class GeyserManager {
4658
4922
  }
4659
4923
  }
4660
4924
 
4661
- var AbortError$1 = es2018$9.AbortError;
4662
- var HTTPClientError$1 = es2018$4.HTTPClientError;
4663
- var HTTPError$1 = es2018$5.HTTPError;
4925
+ var AbortError$1 = es2018$c.AbortError;
4926
+ var HTTPClientError$1 = es2018$7.HTTPClientError;
4927
+ var HTTPError$1 = es2018$8.HTTPError;
4664
4928
  export { AbortError$1 as AbortError, GeyserClient, GeyserManager, HTTPClientError$1 as HTTPClientError, HTTPError$1 as HTTPError };
4665
4929
  //# sourceMappingURL=index.mjs.map