@iobroker/adapter-core
Advanced tools
Comparing version 3.0.3 to 3.0.4
@@ -8,3 +8,3 @@ /** The root directory of JS-Controller */ | ||
*/ | ||
export interface AdapterInstance<HasObjectsCache extends boolean | undefined = undefined, HasStatesCache extends boolean | undefined = undefined> extends Omit<ioBroker.Adapter, "oObjects" | "oStates"> { | ||
export interface AdapterInstance<HasObjectsCache extends boolean | undefined = undefined, HasStatesCache extends boolean | undefined = undefined> extends ioBroker.Adapter { | ||
oObjects: HasObjectsCache extends true ? Exclude<ioBroker.Adapter["oObjects"], undefined> : undefined; | ||
@@ -11,0 +11,0 @@ oStates: HasStatesCache extends true ? Exclude<ioBroker.Adapter["oStates"], undefined> : undefined; |
{ | ||
"name": "@iobroker/adapter-core", | ||
"version": "3.0.3", | ||
"version": "3.0.4", | ||
"description": "Core module to be used in ioBroker adapters. Acts as the bridge to js-controller.", | ||
"engines": { | ||
"npm": ">=7.0.0" | ||
}, | ||
"author": { | ||
@@ -43,3 +46,2 @@ "name": "AlCalzone", | ||
"@alcalzone/release-script-plugin-license": "~3.5.9", | ||
"@iobroker/types": "^5.0.11", | ||
"@types/chai": "^4.3.4", | ||
@@ -46,0 +48,0 @@ "@types/chai-as-promised": "^7.1.5", |
@@ -70,7 +70,7 @@ # Adapter-Core | ||
- `commonTools.getInstalledInfo` - Get list of all installed adapters and controller version on this host | ||
- `commonTools.getLocalAddress` - Get the localhost (IPv6 or IPv4) address according to the ioBroker config | ||
- `commonTools.getListenAllAddress` - Get the "listen all" (IPv6 or IPv4) address according to the ioBroker config | ||
- `commonTools.isLocalAddress` - Check if given IPv4 or IPv6 ip address corresponds to localhost | ||
- `commonTools.isListenAllAddress` - Check if given IPv4 or IPv6 ip address corresponds to "listen all" address | ||
- `commonTools.ensureDNSOrder` - Ensure that DNS resolution is performed according to ioBroker config | ||
- `commonTools.getLocalAddress` - Get the localhost (IPv6 or IPv4) address according to the ioBroker config | ||
- `commonTools.getListenAllAddress` - Get the "listen all" (IPv6 or IPv4) address according to the ioBroker config | ||
- `commonTools.isLocalAddress` - Check if given IPv4 or IPv6 ip address corresponds to localhost | ||
- `commonTools.isListenAllAddress` - Check if given IPv4 or IPv6 ip address corresponds to "listen all" address | ||
- `commonTools.ensureDNSOrder` - Ensure that DNS resolution is performed according to ioBroker config | ||
@@ -117,19 +117,30 @@ And the following **modules** are exposed: | ||
--> | ||
### 3.0.4 (2023-10-12) | ||
- (foxriver76) ensure that utility methods work with the returned adapter instance on type level | ||
### 3.0.3 (2023-07-30) | ||
- (foxriver76) upgrade to new version of types package | ||
### 3.0.2 (2023-07-30) | ||
- (foxriver76) fix require of `@iobroker/types` in built module | ||
### 3.0.1 (2023-07-29) | ||
- (foxriver76) remove non-existing webserver from tools | ||
### 3.0.0 (2023-07-28) | ||
- (foxriver76) port from `@types/iobroker` to `@iobroker/types` | ||
- (foxriver76) export dns resolution methods | ||
- **BREAKING:** requires `npm` v7 or newer and/or Node.js 16 or newer | ||
### 2.6.8 (2023-03-24) | ||
- (Apollon77) Expose more JS-Controller internals under the `commonTools` export | ||
### 2.6.7 (2022-10-08) | ||
- (Apollon77) Expose more JS-Controller internals under the `commonTools` export | ||
@@ -136,0 +147,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
33850
25
223