@pegasimed.com/pegasi-iob-shared
v0.6.1
Published
Versioned shared TypeScript helpers for PEGASI IOB microservices.
Readme
PEGASI IOB Shared
Versioned TypeScript helpers for PEGASI IOB microservices.
Package name: @pegasimed.com/pegasi-iob-shared.
This package exists to remove duplicated low-level helpers without coupling service repositories to each other. Services must depend on released package versions, not sibling source paths.
Scope
- Environment/config parsing primitives.
- Stable JSON serialization for fingerprints and deterministic hashes.
- Prefix-based ID generation.
- Generic HS256 JWT verification helpers for Sprint services.
Non-goals
- No Fastify-specific decorators or request types.
- No database, AWS, queue, or service adapter code.
- No business rules owned by a specific PEGASI IOB service.
- No direct imports from
pegasi-iob-*service repositories.
Validation
npm ci
npm run validate
npm run buildVersioning
Use SemVer. Microservices should pin exact versions or controlled ranges and upgrade deliberately through normal PR review.
Publishing
npm login [email protected] --registry=https://registry.npmjs.org --auth-type=web
npm publish --access public --auth-type=web