@clipboard-health/util-ts 3.7.0 → 3.8.1

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@clipboard-health/util-ts",
3
3
  "description": "TypeScript utilities.",
4
- "version": "3.7.0",
4
+ "version": "3.8.1",
5
5
  "bugs": "https://github.com/ClipboardHealth/core-utils/issues",
6
6
  "dependencies": {
7
7
  "tslib": "2.8.1"
package/src/index.d.ts CHANGED
@@ -3,6 +3,7 @@ export * from "./lib/deepFreeze";
3
3
  export * from "./lib/errors";
4
4
  export * from "./lib/forceCast";
5
5
  export * from "./lib/functional";
6
+ export * from "./lib/logger";
6
7
  export * from "./lib/nullish";
7
8
  export * from "./lib/strings";
8
9
  export * from "./lib/types";
package/src/index.js CHANGED
@@ -6,6 +6,7 @@ tslib_1.__exportStar(require("./lib/deepFreeze"), exports);
6
6
  tslib_1.__exportStar(require("./lib/errors"), exports);
7
7
  tslib_1.__exportStar(require("./lib/forceCast"), exports);
8
8
  tslib_1.__exportStar(require("./lib/functional"), exports);
9
+ tslib_1.__exportStar(require("./lib/logger"), exports);
9
10
  tslib_1.__exportStar(require("./lib/nullish"), exports);
10
11
  tslib_1.__exportStar(require("./lib/strings"), exports);
11
12
  tslib_1.__exportStar(require("./lib/types"), exports);
package/src/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../packages/util-ts/src/index.ts"],"names":[],"mappings":";;;AAAA,uDAA6B;AAC7B,2DAAiC;AACjC,uDAA6B;AAC7B,0DAAgC;AAChC,2DAAiC;AACjC,wDAA8B;AAC9B,wDAA8B;AAC9B,sDAA4B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../packages/util-ts/src/index.ts"],"names":[],"mappings":";;;AAAA,uDAA6B;AAC7B,2DAAiC;AACjC,uDAA6B;AAC7B,0DAAgC;AAChC,2DAAiC;AACjC,uDAA6B;AAC7B,wDAA8B;AAC9B,wDAA8B;AAC9B,sDAA4B"}
@@ -0,0 +1,9 @@
1
+ export type LogFunction = (...params: unknown[]) => void;
2
+ /**
3
+ * Logger interface for structured logging operations.
4
+ */
5
+ export interface Logger {
6
+ info: LogFunction;
7
+ warn: LogFunction;
8
+ error: LogFunction;
9
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=logger.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"logger.js","sourceRoot":"","sources":["../../../../../packages/util-ts/src/lib/logger.ts"],"names":[],"mappings":""}