@oino-ts/types 0.10.3 → 0.11.0

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.
@@ -134,7 +134,14 @@ export declare abstract class OINOLog {
134
134
  */
135
135
  static exportLogLevels(): any[];
136
136
  /**
137
- * Import log levels from an array of objects with domain, channel, method and level.
137
+ * Set log levels from an array of objects with domain, channel, method and level overwriting existing values (i.e. non-existing values are not affected).
138
+ *
139
+ * @param logLevels array of log level objects
140
+ *
141
+ */
142
+ static setLogLevels(logLevels: any[]): void;
143
+ /**
144
+ * Import log levels from an array of objects with domain, channel, method and level resetting existing values (i.e. non-existing values get removed).
138
145
  *
139
146
  * @param logLevels array of log level objects
140
147
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oino-ts/types",
3
- "version": "0.10.3",
3
+ "version": "0.11.0",
4
4
  "description": "OINO TS package for types.",
5
5
  "author": "Matias Kiviniemi (pragmatta)",
6
6
  "license": "MPL-2.0",
@@ -18,6 +18,8 @@
18
18
  "dependencies": {
19
19
  },
20
20
  "devDependencies": {
21
+ "typescript": "~5.9.0",
22
+ "@types/node": "^22.0.0"
21
23
  },
22
24
  "files": [
23
25
  "index.d.ts",