@iobroker/types 5.0.9 → 5.0.11

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/build/types.d.ts CHANGED
@@ -1,7 +1,6 @@
1
1
  /// <reference types="node" />
2
2
 
3
3
  import { EventEmitter } from 'events';
4
- import type Winston from 'winston';
5
4
 
6
5
  /**
7
6
  * Polyfill to allow calling without `new`
@@ -1157,7 +1156,7 @@ declare class Log {
1157
1156
  * @param level The log level
1158
1157
  * @param logger logger instance
1159
1158
  */
1160
- constructor(namespaceLog: string, level: string, logger: Winston.Logger);
1159
+ constructor(namespaceLog: string, level: string, logger: any);
1161
1160
  silly(msg: string): void;
1162
1161
  debug(msg: string): void;
1163
1162
  info(msg: string): void;
package/index.js ADDED
@@ -0,0 +1 @@
1
+ // this empty file is needed as a entry point for adapter-core to export the `@iobroker/types` in a developer friendly way
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iobroker/types",
3
- "version": "5.0.9",
3
+ "version": "5.0.11",
4
4
  "engines": {
5
5
  "node": ">=12.0.0"
6
6
  },
@@ -22,7 +22,7 @@
22
22
  "build": "ts-node build.ts",
23
23
  "test": "tsd"
24
24
  },
25
- "main": "",
25
+ "main": "index.js",
26
26
  "types": "index.d.ts",
27
27
  "license": "MIT",
28
28
  "publishConfig": {
@@ -41,5 +41,5 @@
41
41
  ]
42
42
  }
43
43
  },
44
- "gitHead": "4f0d4d7f7bee6d419567f5fa864677a337a1cea5"
44
+ "gitHead": "d813abf88d4a029a150777c2da5b162f93aa1a71"
45
45
  }