@togatherlabs/shared-utils 1.2.0 → 1.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +20 -24
- package/dist/constants/index.d.ts +2 -0
- package/dist/constants/index.d.ts.map +1 -0
- package/dist/constants/index.js +2 -0
- package/dist/constants/index.js.map +1 -0
- package/dist/constants/sample.d.ts +4 -0
- package/dist/constants/sample.d.ts.map +1 -0
- package/dist/constants/sample.js +4 -0
- package/dist/constants/sample.js.map +1 -0
- package/dist/helpers/formatDate.d.ts +2 -0
- package/dist/helpers/formatDate.d.ts.map +1 -0
- package/dist/helpers/formatDate.js +11 -0
- package/dist/helpers/formatDate.js.map +1 -0
- package/dist/helpers/index.d.ts +2 -0
- package/dist/helpers/index.d.ts.map +1 -0
- package/dist/helpers/index.js +2 -0
- package/dist/helpers/index.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/logger/logger.d.ts +4 -1
- package/dist/logger/logger.d.ts.map +1 -1
- package/dist/logger/logger.js +2 -2
- package/dist/logger/logger.js.map +1 -1
- package/dist/types/AccountRole.d.ts +8 -0
- package/dist/types/AccountRole.d.ts.map +1 -0
- package/dist/types/AccountRole.js +8 -0
- package/dist/types/AccountRole.js.map +1 -0
- package/dist/types/IAccountContext.d.ts +7 -0
- package/dist/types/IAccountContext.d.ts.map +1 -0
- package/dist/types/IAccountContext.js +2 -0
- package/dist/types/IAccountContext.js.map +1 -0
- package/dist/types/index.d.ts +4 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/index.js +4 -0
- package/dist/types/index.js.map +1 -0
- package/dist/types/user.d.ts +6 -0
- package/dist/types/user.d.ts.map +1 -0
- package/dist/types/user.js +2 -0
- package/dist/types/user.js.map +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,28 +2,24 @@
|
|
|
2
2
|
|
|
3
3
|
Shared utilities library for Togather services, providing production-grade utilities including logger, validators, and common helpers.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
# Togather Shared Utilities
|
|
6
|
+
|
|
7
|
+
A collection of shared utilities and helpers for Togather services. This library provides production-ready, reusable components to maintain consistency across the infrastructure.
|
|
8
|
+
|
|
9
|
+
## Installation
|
|
6
10
|
|
|
7
11
|
```bash
|
|
8
12
|
pnpm add @togatherlabs/shared-utils
|
|
9
13
|
```
|
|
10
14
|
|
|
11
|
-
##
|
|
12
|
-
|
|
13
|
-
### Logger Module
|
|
14
|
-
Production-ready logging built on [Pino](https://getpino.io/) with:
|
|
15
|
-
- 🔒 Automatic sensitive data redaction
|
|
16
|
-
- 📊 Structured logging with context
|
|
17
|
-
- 🎨 Environment-aware (pretty dev logs, JSON production logs)
|
|
18
|
-
- 🔧 Fully configurable
|
|
19
|
-
- ⚡ High performance
|
|
20
|
-
|
|
21
|
-
## 📚 Available Modules
|
|
15
|
+
## Available Modules
|
|
22
16
|
|
|
23
17
|
### Logger
|
|
24
18
|
|
|
19
|
+
Production-ready structured logging built on [Pino](https://getpino.io/). Features include automatic sensitive data redaction, environment-aware formatting (pretty logs in development, JSON in production), and full configurability.
|
|
20
|
+
|
|
25
21
|
```typescript
|
|
26
|
-
import { Logger,
|
|
22
|
+
import { Logger, type LoggerConfig } from '@togatherlabs/shared-utils/logger';
|
|
27
23
|
|
|
28
24
|
// Minimal - uses defaults
|
|
29
25
|
const logger = new Logger();
|
|
@@ -41,7 +37,7 @@ logger.error({ err, label: 'database' }, 'Connection failed');
|
|
|
41
37
|
|
|
42
38
|
**Full documentation**: [Logger README](./src/logger/README.md)
|
|
43
39
|
|
|
44
|
-
##
|
|
40
|
+
## Usage
|
|
45
41
|
|
|
46
42
|
### Basic Import
|
|
47
43
|
|
|
@@ -96,7 +92,7 @@ class UserService {
|
|
|
96
92
|
}
|
|
97
93
|
```
|
|
98
94
|
|
|
99
|
-
##
|
|
95
|
+
## Development
|
|
100
96
|
|
|
101
97
|
### Setup
|
|
102
98
|
|
|
@@ -138,7 +134,7 @@ togather-shared-utils/
|
|
|
138
134
|
└── README.md
|
|
139
135
|
```
|
|
140
136
|
|
|
141
|
-
##
|
|
137
|
+
## Publishing
|
|
142
138
|
|
|
143
139
|
### Version Bumping
|
|
144
140
|
|
|
@@ -175,7 +171,7 @@ The publish script automatically:
|
|
|
175
171
|
- ✅ Publishes to npm
|
|
176
172
|
- ✅ Creates and pushes git tag
|
|
177
173
|
|
|
178
|
-
##
|
|
174
|
+
## Workflow
|
|
179
175
|
|
|
180
176
|
### Adding a New Feature
|
|
181
177
|
|
|
@@ -206,7 +202,7 @@ The publish script automatically:
|
|
|
206
202
|
pnpm run publish:npm
|
|
207
203
|
```
|
|
208
204
|
|
|
209
|
-
##
|
|
205
|
+
## Commit Convention
|
|
210
206
|
|
|
211
207
|
This project uses [Conventional Commits](https://www.conventionalcommits.org/):
|
|
212
208
|
|
|
@@ -236,7 +232,7 @@ integration with external logging services.
|
|
|
236
232
|
|
|
237
233
|
Use `pnpm run commit` for an interactive commit prompt.
|
|
238
234
|
|
|
239
|
-
##
|
|
235
|
+
## Testing
|
|
240
236
|
|
|
241
237
|
```bash
|
|
242
238
|
# Run tests (when available)
|
|
@@ -246,26 +242,26 @@ pnpm test
|
|
|
246
242
|
pnpm test:coverage
|
|
247
243
|
```
|
|
248
244
|
|
|
249
|
-
##
|
|
245
|
+
## Documentation
|
|
250
246
|
|
|
251
247
|
- [Logger Documentation](./src/logger/README.md)
|
|
252
248
|
|
|
253
|
-
##
|
|
249
|
+
## Contributing
|
|
254
250
|
|
|
255
251
|
1. Follow the commit convention
|
|
256
252
|
2. Write tests for new features
|
|
257
253
|
3. Update documentation
|
|
258
254
|
4. Ensure all checks pass before publishing
|
|
259
255
|
|
|
260
|
-
##
|
|
256
|
+
## License
|
|
261
257
|
|
|
262
258
|
Internal use only - Togather Infrastructure
|
|
263
259
|
|
|
264
|
-
##
|
|
260
|
+
## Support
|
|
265
261
|
|
|
266
262
|
For questions or issues, contact the platform team.
|
|
267
263
|
|
|
268
|
-
##
|
|
264
|
+
## Related Packages
|
|
269
265
|
|
|
270
266
|
- [@togatherlabs/shared-protos](../togather-shared-protos) - Shared Protocol Buffers
|
|
271
267
|
- [@togatherlabs/event-sdk](../togather-shared-events) - Event handling SDK
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/constants/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/constants/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sample.d.ts","sourceRoot":"","sources":["../../src/constants/sample.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;CAElB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sample.js","sourceRoot":"","sources":["../../src/constants/sample.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,MAAM,GAAG;IACrB,IAAI,EAAE,GAAG;CACT,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"formatDate.d.ts","sourceRoot":"","sources":["../../src/helpers/formatDate.ts"],"names":[],"mappings":"AAAA,wBAAgB,UAAU,CAAC,IAAI,EAAE,IAAI,EAAE,MAAM,SAAU,GAAG,MAAM,CAU/D"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export function formatDate(date, locale = 'en-IN') {
|
|
2
|
+
if (!(date instanceof Date) || Number.isNaN(date.getTime())) {
|
|
3
|
+
throw new Error('Invalid Date');
|
|
4
|
+
}
|
|
5
|
+
return date.toLocaleDateString(locale, {
|
|
6
|
+
year: 'numeric',
|
|
7
|
+
month: 'short',
|
|
8
|
+
day: 'numeric',
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=formatDate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"formatDate.js","sourceRoot":"","sources":["../../src/helpers/formatDate.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,UAAU,CAAC,IAAU,EAAE,MAAM,GAAG,OAAO;IACtD,IAAI,CAAC,CAAC,IAAI,YAAY,IAAI,CAAC,IAAI,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC,EAAE,CAAC;QAC7D,MAAM,IAAI,KAAK,CAAC,cAAc,CAAC,CAAC;IACjC,CAAC;IAED,OAAO,IAAI,CAAC,kBAAkB,CAAC,MAAM,EAAE;QACtC,IAAI,EAAE,SAAS;QACf,KAAK,EAAE,OAAO;QACd,GAAG,EAAE,SAAS;KACd,CAAC,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/helpers/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/helpers/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC"}
|
package/dist/index.d.ts
CHANGED
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAAc,mBAAmB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC"}
|
package/dist/index.js
CHANGED
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,uBAAuB;AACvB,cAAc,mBAAmB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,uBAAuB;AACvB,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC"}
|
package/dist/logger/logger.d.ts
CHANGED
|
@@ -40,7 +40,10 @@ export declare class Logger implements ILogger {
|
|
|
40
40
|
* @param options - logger options for advanced configuration
|
|
41
41
|
* @param config - Environment configuration passed from the service
|
|
42
42
|
*/
|
|
43
|
-
constructor(options
|
|
43
|
+
constructor({ options, config }: {
|
|
44
|
+
options?: LoggerOptions;
|
|
45
|
+
config?: LoggerConfig;
|
|
46
|
+
});
|
|
44
47
|
info(labels: object | string, msg?: string, ...args: unknown[]): void;
|
|
45
48
|
warn(labels: object | string, msg?: string, ...args: unknown[]): void;
|
|
46
49
|
error(labels: object | string, msg?: string, ...args: unknown[]): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logger.d.ts","sourceRoot":"","sources":["../../src/logger/logger.ts"],"names":[],"mappings":"AAAA,OAAa,EAAqC,KAAK,aAAa,EAAE,MAAM,MAAM,CAAC;AAEnF,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAG5C,MAAM,WAAW,YAAY;IAC5B,mEAAmE;IACnE,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,yDAAyD;IACzD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,mCAAmC;IACnC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,wBAAwB;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;CAClB;AAED;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,qBACa,MAAO,YAAW,OAAO;IACrC,OAAO,CAAC,MAAM,CAAqB;IAEnC;;;;;OAKG;gBACS,OAAO,CAAC,EAAE,aAAa,
|
|
1
|
+
{"version":3,"file":"logger.d.ts","sourceRoot":"","sources":["../../src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,GAAG,IAAI;IAItE,KAAK,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,CAAC,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,OAAO,EAAE,GAAG,IAAI;CAGtE"}
|
package/dist/logger/logger.js
CHANGED
|
@@ -40,7 +40,7 @@ let Logger = class Logger {
|
|
|
40
40
|
* @param options - logger options for advanced configuration
|
|
41
41
|
* @param config - Environment configuration passed from the service
|
|
42
42
|
*/
|
|
43
|
-
constructor(options, config) {
|
|
43
|
+
constructor({ options, config }) {
|
|
44
44
|
const nodeEnv = config?.nodeEnv || 'development';
|
|
45
45
|
const isDevelopment = nodeEnv === 'development';
|
|
46
46
|
const isProduction = nodeEnv === 'production';
|
|
@@ -132,7 +132,7 @@ let Logger = class Logger {
|
|
|
132
132
|
};
|
|
133
133
|
Logger = __decorate([
|
|
134
134
|
injectable(),
|
|
135
|
-
__metadata("design:paramtypes", [Object
|
|
135
|
+
__metadata("design:paramtypes", [Object])
|
|
136
136
|
], Logger);
|
|
137
137
|
export { Logger };
|
|
138
138
|
//# sourceMappingURL=logger.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logger.js","sourceRoot":"","sources":["../../src/logger/logger.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,IAA+D,MAAM,MAAM,CAAC;AACnF,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAEvC,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAanC;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEI,IAAM,MAAM,GAAZ,MAAM,MAAM;IACV,MAAM,CAAqB;IAEnC;;;;;OAKG;IACH,YAAY,
|
|
1
|
+
{"version":3,"file":"logger.js","sourceRoot":"","sources":["../../src/logger/logger.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,IAA+D,MAAM,MAAM,CAAC;AACnF,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAEvC,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AuB,EAAE,GAAY,EAAE,GAAG,IAAe;QAC9D,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC,CAAC;IACzC,CAAC;IAED,KAAK,CAAC,MAAuB,EAAE,GAAY,EAAE,GAAG,IAAe;QAC9D,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC,CAAC;IACzC,CAAC;IAED,KAAK,CAAC,MAAuB,EAAE,GAAY,EAAE,GAAG,IAAe;QAC9D,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC,CAAC;IACzC,CAAC;CACD,CAAA;AA9GY,MAAM;IADlB,UAAU,EAAE;;GACA,MAAM,CA8GlB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AccountRole.d.ts","sourceRoot":"","sources":["../../src/types/AccountRole.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW;;;;;;CAMd,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AccountRole.js","sourceRoot":"","sources":["../../src/types/AccountRole.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,WAAW,GAAG;IAC1B,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;IACd,aAAa,EAAE,eAAe;IAC9B,cAAc,EAAE,gBAAgB;IAChC,SAAS,EAAE,WAAW;CACb,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IAccountContext.d.ts","sourceRoot":"","sources":["../../src/types/IAccountContext.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAEpD,MAAM,WAAW,eAAe;IAC/B,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,CAAC,OAAO,WAAW,CAAC,CAAC,MAAM,OAAO,WAAW,CAAC,CAAC;CACtD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IAccountContext.js","sourceRoot":"","sources":["../../src/types/IAccountContext.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../src/types/user.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,OAAO;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACd"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user.js","sourceRoot":"","sources":["../../src/types/user.ts"],"names":[],"mappings":""}
|
package/package.json
CHANGED