Open
Description
Hi Novu Team,
I noticed that the current documentation for the @novu/js package still references the use of an apiKey when initializing the Novu instance:
import { Novu } from "@novu/js";
const novu = new Novu({
apiKey: 'YOUR_API_KEY',
});
However, this no longer seems to work, as the apiKey property is not recognized or used by the latest version of the SDK. The correct initialization method appears to be:
import { Novu } from "@novu/js";
export const novu = new Novu({
applicationIdentifier: '',
subscriberId: '',
});
To help avoid confusion for other developers, I recommend updating the documentation to reflect this change. I’m happy to contribute by submitting a PR to update the docs if that would be helpful.
Let me know how you’d like to proceed!
Metadata
Metadata
Assignees
Labels
No labels