Merge pull request #74 from tiagosiebler/exceptionFix

fix exception parser scope
This commit is contained in:
Tiago
2021-01-21 08:54:20 +00:00
committed by GitHub
3 changed files with 4 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
{
"name": "bybit-api",
"version": "1.3.1",
"description": "A production-ready Node.js connector for the Bybit APIs and WebSockets",
"version": "1.3.2",
"description": "Node.js connector for the Bybit APIs and WebSockets",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"files": [

View File

@@ -101,7 +101,7 @@ export default class RequestUtil {
}
throw response;
}).catch(this.parseException);
}).catch(e => this.parseException(e));
}
/**

View File

@@ -6,12 +6,12 @@
"module": "commonjs",
"moduleResolution": "node",
"declaration": true,
"sourceMap": true,
"removeComments": false,
"noEmitOnError": true,
"noImplicitAny": false,
"strictNullChecks": true,
"skipLibCheck": true,
"sourceMap": true,
"esModuleInterop": true,
"lib": ["es2017","dom"],
"baseUrl": ".",