@yaghmori/notification-service
v0.1.2
Published
Client SDK for notification-service — inbox HTTP/SSE, Nest TCP patterns, Kafka send topics, Zod DTOs
Readme
@yaghmori/notification-service
Novu-model client for notification-service (HTTP trigger · Nest TCP · Kafka).
Docs
- docs/PROTOCOL_GUIDE.md — full HTTP / TCP / Kafka for Node and .NET
- docs/USAGE.md — practical usage
- docs/NUGET_TRUSTED_PUBLISHING.md — publish
Yaghmori.NotificationServicewithout API keys
SDKs: npm · sdk/dotnet
import { createNotificationHttpClient } from '@yaghmori/notification-service';
const notifications = createNotificationHttpClient({
baseUrl: process.env.NOTIFICATION_SERVICE_URL,
auth: { apiKey: process.env.NOTIFICATION_SERVICE_API_KEY! },
});
await notifications.trigger('welcome-onboarding', {
to: 'user-123',
payload: { firstName: 'Ada' },
});End-user inbox UI: @yaghmori/notification-inbox (HMAC subscriber auth against /v1/inbox/*).
