Skip to content

Commit

Permalink
fix: bump deps and add bugsnag info
Browse files Browse the repository at this point in the history
  • Loading branch information
dubisdev committed Dec 2, 2022
1 parent 3cef20c commit 6c6726f
Show file tree
Hide file tree
Showing 3 changed files with 221 additions and 209 deletions.
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,17 @@
"license": "SEE LICENSE IN LICENSE.md",
"devDependencies": {
"@jgoz/esbuild-plugin-typecheck": "2.0.0",
"@semantic-release/changelog": "6.0.1",
"@semantic-release/changelog": "6.0.2",
"@semantic-release/exec": "6.0.3",
"@types/crypto-js": "4.1.1",
"@types/node": "18.11.9",
"@types/node": "18.11.10",
"@types/twitter-autohook": "1.7.0",
"@typescript-eslint/eslint-plugin": "5.44.0",
"@typescript-eslint/parser": "5.44.0",
"@typescript-eslint/eslint-plugin": "5.45.0",
"@typescript-eslint/parser": "5.45.0",
"commitizen": "4.2.5",
"concurrently": "7.6.0",
"cz-conventional-changelog": "3.3.0",
"esbuild": "0.15.15",
"esbuild": "0.15.16",
"eslint": "8.28.0",
"eslint-config-airbnb-base": "15.0.0",
"eslint-plugin-import": "2.26.0",
Expand All @@ -38,10 +38,10 @@
"dependencies": {
"@bugsnag/js": "7.18.0",
"@doist/todoist-api-typescript": "2.1.2",
"axios": "1.1.3",
"axios": "1.2.0",
"crypto-js": "4.1.1",
"dotenv": "16.0.3",
"mongoose": "6.7.2",
"mongoose": "6.7.5",
"twitter-api-v2": "1.12.9"
},
"engines": {
Expand Down
7 changes: 5 additions & 2 deletions src/services/bugsnag.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
import Bugsnag from '@bugsnag/js';

Bugsnag.start(process.env.BUGSNAG_API_KEY || '');
Bugsnag.start( {
apiKey: process.env.BUGSNAG_API_KEY || '',
appVersion: 'oauth-service',
});

export default Bugsnag;
export default Bugsnag;
Loading

0 comments on commit 6c6726f

Please sign in to comment.