Skip to content

Commit

Permalink
chore(deps): upgrade sendgrid version to latest (novuhq#4999)
Browse files Browse the repository at this point in the history
* chore(deps): upgrade sendgrid version

* fix: sendgrid mapper for axios
  • Loading branch information
scopsy authored Dec 18, 2023
1 parent 8dba437 commit b092fcb
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 21 deletions.
2 changes: 1 addition & 1 deletion apps/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"@novu/shared": "^0.22.0",
"@novu/stateless": "^0.22.0",
"@novu/testing": "^0.22.0",
"@sendgrid/mail": "^7.6.0",
"@sendgrid/mail": "^8.1.0",
"@sentry/hub": "^7.40.0",
"@sentry/node": "^7.40.0",
"@sentry/tracing": "^7.40.0",
Expand Down
36 changes: 18 additions & 18 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion providers/sendgrid/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,7 @@
module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
};
moduleNameMapper: {
axios: 'axios/dist/node/axios.cjs',
},
};
2 changes: 1 addition & 1 deletion providers/sendgrid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
},
"dependencies": {
"@novu/stateless": "^0.22.0",
"@sendgrid/mail": "^7.7.0"
"@sendgrid/mail": "^8.1.0"
},
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "1.0.2",
Expand Down

0 comments on commit b092fcb

Please sign in to comment.