fix exception parser scope
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "bybit-api",
|
"name": "bybit-api",
|
||||||
"version": "1.3.1",
|
"version": "1.3.2",
|
||||||
"description": "A production-ready Node.js connector for the Bybit APIs and WebSockets",
|
"description": "Node.js connector for the Bybit APIs and WebSockets",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"types": "lib/index.d.ts",
|
"types": "lib/index.d.ts",
|
||||||
"files": [
|
"files": [
|
||||||
|
|||||||
@@ -101,7 +101,7 @@ export default class RequestUtil {
|
|||||||
}
|
}
|
||||||
|
|
||||||
throw response;
|
throw response;
|
||||||
}).catch(this.parseException);
|
}).catch(e => this.parseException(e));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -6,12 +6,12 @@
|
|||||||
"module": "commonjs",
|
"module": "commonjs",
|
||||||
"moduleResolution": "node",
|
"moduleResolution": "node",
|
||||||
"declaration": true,
|
"declaration": true,
|
||||||
"sourceMap": true,
|
|
||||||
"removeComments": false,
|
"removeComments": false,
|
||||||
"noEmitOnError": true,
|
"noEmitOnError": true,
|
||||||
"noImplicitAny": false,
|
"noImplicitAny": false,
|
||||||
"strictNullChecks": true,
|
"strictNullChecks": true,
|
||||||
"skipLibCheck": true,
|
"skipLibCheck": true,
|
||||||
|
"sourceMap": true,
|
||||||
"esModuleInterop": true,
|
"esModuleInterop": true,
|
||||||
"lib": ["es2017","dom"],
|
"lib": ["es2017","dom"],
|
||||||
"baseUrl": ".",
|
"baseUrl": ".",
|
||||||
|
|||||||
Reference in New Issue
Block a user