AHeissenberger
AHeissenberger
Explore posts from servers
NNovu
Created by AHeissenberger on 9/11/2024 in #💬│support
How to open the notification center popup programmatical with javascript?
The notification center has been included as a web component:
import { NotificationCenterWebComponent } from "@novu/notification-center";

customElements.define(
"notification-center-component",
NotificationCenterWebComponent
);
import { NotificationCenterWebComponent } from "@novu/notification-center";

customElements.define(
"notification-center-component",
NotificationCenterWebComponent
);
Are there any methods on the webcomponent?
2 replies
TtRPC
Created by AHeissenberger on 6/3/2023 in #❓-help
AWS Lambda / How to set Cookies inside Procedures
How can I set and remove cookies similar to ctx.res.cookie(..) with Express when using the aws lambda adapter. My configuration is: * node 18 * tRPC 10 * aws lambda adapter / APIGatewayProxyEventV2 I do not need CORS - I only need to write/delete Cookies I tried awsLambdaRequestHandler but was not able to access anything I added to context in my procedure to be visible there. Thank you for the support and this great tool! Andreas
3 replies