-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(js): Remove @novu/shared dependency #6906
base: next
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for novu-stg-vite-dashboard-poc ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
93da3ec
to
e8a6c4f
Compare
@novu/client
@novu/framework
@novu/headless
@novu/js
@novu/nest
@novu/nextjs
@novu/node
@novu/notification-center
novu
@novu/providers
@novu/react
@novu/react-native
@novu/shared
@novu/stateless
commit: |
@@ -32,7 +26,6 @@ export class Novu implements Pick<NovuEventEmitter, 'on'> { | |||
constructor(options: NovuOptions) { | |||
this.#inboxService = new InboxService({ | |||
backendUrl: options.backendUrl ?? PRODUCTION_BACKEND_URL, | |||
userAgent: options.__userAgent ?? userAgent, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is needed for useragent analytics from @novu/react and other packages
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch. I will add it back.
Clone HTTP client from @novu/client to remove all @novu/shared leakages in @novu/js
e8a6c4f
to
64d796d
Compare
What changed? Why was the change needed?
Clone HTTP client from @novu/client to remove all @novu/shared leakages in @novu/js