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.5.0 to 0.5.1

28

io-package.json
{
"common": {
"name": "telegram-menu",
"version": "0.5.0",
"version": "0.5.1",
"news": {
"0.5.1": {
"en": "sent to the wrong instance, fixed",
"de": "an die falsche instanz gesendet, fixiert",
"ru": "отправлено в неправильный экземпляр, исправлено",
"pt": "enviado para a instância errada, corrigido",
"nl": "verzonden naar de verkeerde instantie",
"fr": "envoyé à la mauvaise instance, fixe",
"it": "inviato all'istanza sbagliata, fisso",
"es": "enviado al caso equivocado, fijo",
"pl": "wysłany do niewłaściwej instancji, ustalony",
"uk": "відправлений на неправильний екземпляр, фіксований",
"zh-cn": "向错误案件发出的固定通知"
},
"0.5.0": {

@@ -83,15 +96,2 @@ "en": "trigger avoid duplicate entries and sort alphabetical\nadapter stops responding after some time, fixed #42\ngenerate Trigger in Action, fixed\nmath value for getstate\nsettings instance #41, menus, fixed\nno spellcheck for input fields\nmenu go back to last Sides",

"zh-cn": "重新命名\n与用户建立团体"
},
"0.1.1": {
"en": "shift rows\nsmall fixes\nDarkmode fixed\noption, return text without value\nget all Values of functions",
"de": "schaltreihen\nkleine fixierungen\nDarkmode fest\noption, text ohne wert zurückgeben\nalle Werte der Funktionen",
"ru": "сменные строки\nнебольшие исправления\nDarkmode фиксированный\nвариант, обратный текст без значения\nполучить все значения функций",
"pt": "turnos\npequenas correções\nDarkmode corrigido\nopção, retornar texto sem valor\nobter todos os valores das funções",
"nl": "quality over quantity (qoq) releases vertaling:\nkleine fixes\nDarkmode gemaakt\noptie, terugkeren zonder waarde\nalle functies krijgen",
"fr": "lignes de quart\npetites corrections\nDarkmode fixed\noption, texte de retour sans valeur\nobtenir toutes les valeurs des fonctions",
"it": "spostare le righe\npiccole correzioni\nDarkmode fisso\nopzione, restituire il testo senza valore\nottenere tutti i valori delle funzioni",
"es": "turno de filas\npequeños accesorios\nModo oscuro fijo\nopción, devolver texto sin valor\nobtener todos los Valores de las funciones",
"pl": "rzędy zwrotne\ndrobne rozwiązanie\nDarkmode fixed\nopcja zwrotu tekstu bez wartości\nuzyskuje wszystkie funkcje",
"uk": "зсувні рядки\nмаленькі кріплення\nDarkmode фіксований\nваріант, повернення тексту без значення\nотримувати всі значення функцій",
"zh-cn": "更替\n小型配件\n达库姆固定\n备选案文:不附加价值的返回案文\n获得所有职能的价值"
}

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

@@ -6,3 +6,3 @@ const sendToTelegram = require("./telegram").sendToTelegram;

function getstate(_this, part, userToSend) {
function getstate(_this, part, userToSend, telegramInstance) {
try {

@@ -54,3 +54,3 @@ let text = "";

_this.log.debug("User to send: " + JSON.stringify(userToSend));
if (userToSend) sendToTelegram(_this, userToSend, text);
if (userToSend) sendToTelegram(_this, userToSend, text, undefined, telegramInstance);
}

@@ -57,0 +57,0 @@ i++;

@@ -22,2 +22,3 @@ /**

_this.log.debug("Send this to : " + JSON.stringify(user));
_this.log.debug("Instance : " + JSON.stringify(instance));
if (keyboard.length == 0) {

@@ -24,0 +25,0 @@ _this.sendTo(

@@ -203,3 +203,3 @@ "use strict";

} else if (part.getData) {
getstate(_this, part, userToSend);
getstate(_this, part, userToSend, instanceTelegram);
} else if (part.sendPic) {

@@ -225,3 +225,9 @@ try {

this.log.debug("Send Pic to Telegram");
sendToTelegram(_this, userToSend, path);
sendToTelegram(
_this,
userToSend,
path,
undefined,
instanceTelegram,
);

@@ -243,3 +249,4 @@ let timeoutToClear = {};

if (typeof userToSend == "string") this.log.debug("Send No Entry to Telegram");
if (checkboxNoEntryFound) sendToTelegram(this, userToSend, textNoEntryFound);
if (checkboxNoEntryFound)
sendToTelegram(this, userToSend, textNoEntryFound, undefined, instanceTelegram);
}

@@ -283,3 +290,9 @@ // Auf Setstate reagieren und Wert schicken

this.log.debug("Send Set to Telegram");
sendToTelegram(this, element.userToSend, textToSend);
sendToTelegram(
this,
element.userToSend,
textToSend,
undefined,
instanceTelegram,
);
// Die Elemente auf die Reagiert wurde entfernen

@@ -329,3 +342,4 @@ setStateIdsToListenTo.splice(key, 1);

_this.log.debug("SubMenuData " + JSON.stringify(subMenuData));
if (subMenuData && subMenuData[0]) sendToTelegramSubmenu(_this, userToSend, subMenuData[0], subMenuData[1]);
if (subMenuData && subMenuData[0])
sendToTelegramSubmenu(_this, userToSend, subMenuData[0], subMenuData[1], instanceTelegram);
}

@@ -332,0 +346,0 @@

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

@@ -24,3 +24,3 @@ "author": {

"dependencies": {
"@iobroker/adapter-core": "^2.6.8"
"@iobroker/adapter-core": "^3.0.3"
},

@@ -49,3 +49,3 @@ "devDependencies": {

"mocha": "^10.2.0",
"prettier": "^2.8.8",
"prettier": "^3.0.0",
"proxyquire": "^2.1.3",

@@ -52,0 +52,0 @@ "sinon": "^15.2.0",

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

-->
### 0.5.1 (2023-08-05)
- sent to the wrong instance, fixed
### 0.5.0 (2023-08-05)

@@ -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