Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Tags: posthook/posthook-node

Tags

v1.2.0

Toggle v1.2.0's commit message
Add WebSocket listener support (v1.2.0)

- Add Listen() and Stream() APIs for real-time hook delivery via WebSocket
- Add Result type (ack/accept/nack) shared across HTTP and WebSocket handlers
- Add expressHandler() for Express middleware with Result dispatch
- Add Posthook.Result static property for convenient access
- Add WebSocketMeta, ConnectionInfo types
- Add auto-reconnection, heartbeat monitoring, bounded concurrency
- Read SDK version from package.json at build time instead of hardcoding
- Add ws runtime dependency for WebSocket client

v1.1.0

Toggle v1.1.0's commit message
Release v1.1.0 — async hooks callbacks

v1.0.0

Toggle v1.0.0's commit message
Initial release: @posthook/node v1.0.0

Official Node.js/TypeScript SDK for the Posthook API.