Skip to content

Commit

Permalink
Merge pull request #74 from tiagosiebler/exceptionFix
Browse files Browse the repository at this point in the history
fix exception parser scope
  • Loading branch information
tiagosiebler committed Jan 21, 2021
2 parents a6dad12 + 8981d2c commit c75b7b2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -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": [
Expand Down
2 changes: 1 addition & 1 deletion src/util/requestWrapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export default class RequestUtil {
}

throw response;
}).catch(this.parseException);
}).catch(e => this.parseException(e));
}

/**
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": ".",
Expand Down

0 comments on commit c75b7b2

Please sign in to comment.