fix exception parser scope
This commit is contained in:
@@ -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": [
|
||||
|
||||
@@ -101,7 +101,7 @@ export default class RequestUtil {
|
||||
}
|
||||
|
||||
throw response;
|
||||
}).catch(this.parseException);
|
||||
}).catch(e => this.parseException(e));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -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": ".",
|
||||
|
||||
Reference in New Issue
Block a user