- Add Legal Office of the Master seal (SVG design with Maltese Cross, scales of justice, legal scroll) - Create legal-office-manifest-template.json for Legal Office credentials - Update SEAL_MAPPING.md and DESIGN_GUIDE.md with Legal Office seal documentation - Complete Azure CDN infrastructure deployment: - Resource group, storage account, and container created - 17 PNG seal files uploaded to Azure Blob Storage - All manifest templates updated with Azure URLs - Configuration files generated (azure-cdn-config.env) - Add comprehensive Azure CDN setup scripts and documentation - Fix manifest URL generation to prevent double slashes - Verify all seals accessible via HTTPS
@the-order/shared
Shared utilities for The Order services.
Features
- Error Handling: Standardized error handling middleware
- Environment Validation: Type-safe environment variable validation
- Logging: Structured logging with Pino
- Security: Security middleware (Helmet, CORS, rate limiting)
- Middleware: Common middleware utilities (correlation IDs, request logging)
Usage
import {
errorHandler,
createLogger,
registerSecurityPlugins,
addCorrelationId,
getEnv,
} from '@the-order/shared';
// Error handling
server.setErrorHandler(errorHandler);
// Logging
const logger = createLogger('my-service');
// Security
await registerSecurityPlugins(server);
// Middleware
addCorrelationId(server);
// Environment variables
const env = getEnv();