@iobroker/types 6.0.10-alpha.0-20240804-d9be20474 → 6.0.10

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/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2023 foxriver76<moritz.heusinger@gmail.com>,
3
+ Copyright (c) 2023-2024 foxriver76<moritz.heusinger@gmail.com>,
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/build/types.d.ts CHANGED
@@ -730,7 +730,19 @@ export declare class AdapterClass extends EventEmitter {
730
730
  getForeignStates(pattern: Pattern, callback: ioBroker.GetStatesCallback): void;
731
731
  getForeignStates(pattern: Pattern, options: unknown, callback: ioBroker.GetStatesCallback): void;
732
732
  private _getForeignStates;
733
+ /**
734
+ * Add subscription for given alias, if it is not a state it will be ignored
735
+ *
736
+ * @param aliasObj the alias object
737
+ * @param pattern pattern to subscribe for
738
+ */
733
739
  private _addAliasSubscribe;
740
+ /**
741
+ * Remove an alias subscribe
742
+ *
743
+ * @param sourceId id of the source object
744
+ * @param aliasObjOrIdx the alias target or the index of the targets array
745
+ */
734
746
  private _removeAliasSubscribe;
735
747
  subscribeForeignStates(pattern: Pattern, callback?: ioBroker.ErrorCallback): void;
736
748
  subscribeForeignStates(pattern: Pattern, options: unknown, callback?: ioBroker.ErrorCallback): void;
@@ -862,7 +874,7 @@ export declare interface AdapterOptionsConfig {
862
874
  }
863
875
 
864
876
  export declare interface AliasDetails {
865
- source: AliasDetailsSource | null;
877
+ source?: AliasDetailsSource;
866
878
  targets: AliasTargetEntry[];
867
879
  }
868
880
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iobroker/types",
3
- "version": "6.0.10-alpha.0-20240804-d9be20474",
3
+ "version": "6.0.10",
4
4
  "engines": {
5
5
  "node": ">=12.0.0"
6
6
  },
@@ -41,5 +41,5 @@
41
41
  ]
42
42
  }
43
43
  },
44
- "gitHead": "d05c5620385707d8c5b0a802621c6f194f5c3139"
44
+ "gitHead": "d40de94868ecdd0b3a44d7d46bbfc8239fb268cc"
45
45
  }