Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

iobroker.telegram-menu

Package Overview
Dependencies
Maintainers
2
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

iobroker.telegram-menu - npm Package Compare versions

Comparing version 0.6.9 to 0.6.10

28

io-package.json
{
"common": {
"name": "telegram-menu",
"version": "0.6.9",
"version": "0.6.10",
"news": {
"0.6.10": {
"en": "bug fix",
"de": "fehlerbehebung",
"ru": "исправление ошибки",
"pt": "correção de bugs",
"nl": "insecten",
"fr": "bug fix",
"it": "correzione bug",
"es": "bug",
"pl": "błąd",
"uk": "виправлення помилок",
"zh-cn": "bug fix"
},
"0.6.9": {

@@ -83,15 +96,2 @@ "en": "Rearranging listed actions #49\nwhen calling up the submenu, Text was send no entry found, fixed\nbug switch menu, fixed\nset a state, and receive the change of another state",

"zh-cn": "突然的检查不再可供采取行动,在无知的情况下,触发者已经使用。"
},
"0.6.3": {
"en": "user check, least one user must be checked",
"de": "benutzerüberprüfung, mindestens ein benutzer muss überprüft werden",
"ru": "проверка пользователя, хотя бы один пользователь должен быть проверен",
"pt": "verificação do usuário, pelo menos um usuário deve ser verificado",
"nl": "eén gebruiker moet gecontroleerd worden",
"fr": "contrôle utilisateur, le moins d'un utilisateur doit être vérifié",
"it": "controllo utente, almeno un utente deve essere controllato",
"es": "control de usuario, al menos un usuario debe ser revisado",
"pl": "wskaźnik użytkownika musi być sprawdzany przynajmniej jeden użytkownik",
"uk": "перевірка користувачів, принаймні один користувач повинен перевіряти",
"zh-cn": "用户检查,至少必须检查一名用户。"
}

@@ -98,0 +98,0 @@ },

@@ -318,2 +318,6 @@ "use strict";

setStateIdsToListenTo = setstate(_this, part, userToSend);
_this.log.debug("SubmenuData3" + JSON.stringify(setStateIdsToListenTo));
if (Array.isArray(setStateIdsToListenTo))
_subscribeAndUnSubscribeForeignStatesAsync(setStateIdsToListenTo, _this, true);
return true;

@@ -433,14 +437,24 @@ } else if (part.getData) {

*
* @param {Array} array
* @param {*} array
* @param {*} _this
*/
function _subscribeForeignStatesAsync(array, _this) {
array = deleteDoubleEntrysInArray(array);
_this.log.debug("array " + JSON.stringify(array));
array.forEach((element) => {
if (element.id) _this.log.debug("Subscribe State" + JSON.stringify(element.id));
_this.subscribeForeignStatesAsync(element.id);
_this.log.debug("Subscribe State: " + JSON.stringify(element));
_this.subscribeForeignStatesAsync(element);
});
}
/**
* Removes duplicate entries and saves the result
* @param {[]} arr Array
* @returns Array with unique entrys
*/
function deleteDoubleEntrysInArray(arr) {
return arr.filter((item, index) => arr.indexOf(item) === index);
}
/**
*
* @param {[]} array
* @param {any[]} array
* @param {*} _this

@@ -447,0 +461,0 @@ * @param {boolean} subscribe If true, then subscribe, else unsubscribe

{
"name": "iobroker.telegram-menu",
"version": "0.6.9",
"version": "0.6.10",
"description": "Easily create Telegram Menus",

@@ -5,0 +5,0 @@ "author": {

@@ -36,2 +36,6 @@ ![Logo](admin/telegram-menu.png)

-->
### 0.6.10 (2023-09-23)
- bug fix
### 0.6.9 (2023-09-23)

@@ -38,0 +42,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc