"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(e,r,t,i){void 0===i&&(i=t),Object.defineProperty(e,i,{enumerable:!0,get:function(){return r[t]}})}:function(e,r,t,i){void 0===i&&(i=t),e[i]=r[t]}),__exportStar=this&&this.__exportStar||function(e,r){for(var t in e)"default"===t||r.hasOwnProperty(t)||__createBinding(r,e,t)};Object.defineProperty(exports,"__esModule",{value:!0}),exports.ApiHandler=void 0;var ApiHandler=function(){function e(){var e=this;this.middlewares=[],this.use=function(r){e.middlewares.push(r)},this.start=function(r){var t=e.middlewares.slice().reverse(),i=function(e){return e<t.length?function(){return t[e](r,i(e+1))}:function(){}};return i(0)()}}return e}();exports.ApiHandler=ApiHandler,__exportStar(require("./bridge"),exports),__exportStar(require("./retry"),exports),__exportStar(require("./dealParamsAndResult"),exports),__exportStar(require("./checkConfig"),exports),__exportStar(require("./initBridge"),exports),__exportStar(require("./hookBeforeAndAfter"),exports),__exportStar(require("./simpleLogger"),exports);