iobroker.telegram 2.0.2 → 3.0.0
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/README.md +24 -12
- package/admin/jsonConfig.json +292 -338
- package/io-package.json +70 -27
- package/main.js +13 -61
- package/package.json +5 -9
package/README.md
CHANGED
|
@@ -1,15 +1,28 @@
|
|
|
1
1
|

|
|
2
|
-
# ioBroker telegram Adapter
|
|
3
2
|
|
|
4
|
-
|
|
5
|
-

|
|
6
|
-
[](https://www.npmjs.com/package/iobroker.telegram)
|
|
3
|
+
# ioBroker.telegram
|
|
7
4
|
|
|
8
|
-
](https://weblate.iobroker.net/engage/adapters/?utm_source=widget)
|
|
5
|
+
[](https://github.com/iobroker-community-adapters/ioBroker.telegram/blob/master/LICENSE)
|
|
10
6
|
[](https://www.npmjs.com/package/iobroker.telegram)
|
|
7
|
+

|
|
8
|
+
[](https://weblate.iobroker.net/engage/adapters/?utm_source=widget)</br>
|
|
9
|
+

|
|
10
|
+

|
|
11
|
+

|
|
12
|
+

|
|
13
|
+
</br>
|
|
14
|
+
**Version:** </br>
|
|
15
|
+
[](https://www.npmjs.com/package/iobroker.telegram)
|
|
16
|
+

|
|
17
|
+

|
|
18
|
+
</br>
|
|
19
|
+
**Tests:** </br>
|
|
20
|
+
[](https://github.com/iobroker-community-adapters/ioBroker.telegram/actions/workflows/test-and-release.yml)
|
|
21
|
+
[](https://github.com/iobroker-community-adapters/ioBroker.telegram/actions/workflows/codeql.yml)
|
|
22
|
+
|
|
23
|
+
## ioBroker telegram adapter
|
|
11
24
|
|
|
12
|
-
Use
|
|
25
|
+
Use telegram service to communicate with ioBroker
|
|
13
26
|
|
|
14
27
|
## Documentation
|
|
15
28
|
|
|
@@ -26,6 +39,10 @@ Use Telegram service to communicate with ioBroker
|
|
|
26
39
|
Placeholder for the next version (at the beginning of the line):
|
|
27
40
|
### **WORK IN PROGRESS**
|
|
28
41
|
-->
|
|
42
|
+
### 3.0.0 (2023-11-06)
|
|
43
|
+
* (boergegrunicke) BREAKING CHANGE: Socks5 support has been removed.
|
|
44
|
+
* (PeterVoronov ) Extended and improved the returned list of processed messages.
|
|
45
|
+
|
|
29
46
|
### 2.0.2 (2023-11-06)
|
|
30
47
|
* (mcm1957) Dependencies have been updated.
|
|
31
48
|
|
|
@@ -41,11 +58,6 @@ Use Telegram service to communicate with ioBroker
|
|
|
41
58
|
### 1.16.0 (2023-06-16)
|
|
42
59
|
* (foxriver76) We have added support for the `notification-manager` adapter
|
|
43
60
|
|
|
44
|
-
### 1.15.6 (2023-02-17)
|
|
45
|
-
* (bluefox) Implemented the optional escaping of characters in blockly
|
|
46
|
-
* (bluefox) Added the possibility to send updates of states only by changes
|
|
47
|
-
* (bluefox) Added option to select the quality of stored images
|
|
48
|
-
|
|
49
61
|
## License
|
|
50
62
|
|
|
51
63
|
The MIT License (MIT)
|
package/admin/jsonConfig.json
CHANGED
|
@@ -1,347 +1,301 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
}
|
|
23
|
-
],
|
|
24
|
-
"default": "false",
|
|
25
|
-
"label": "type"
|
|
26
|
-
},
|
|
27
|
-
"pollingInterval": {
|
|
28
|
-
"hidden": "data.server === 'true'",
|
|
29
|
-
"type": "number",
|
|
30
|
-
"sm": 12,
|
|
31
|
-
"md": 5,
|
|
32
|
-
"lg": 5,
|
|
33
|
-
"label": "Polling interval (ms)"
|
|
34
|
-
},
|
|
35
|
-
"token": {
|
|
36
|
-
"newLine": true,
|
|
37
|
-
"type": "text",
|
|
38
|
-
"sm": 12,
|
|
39
|
-
"md": 8,
|
|
40
|
-
"lg": 8,
|
|
41
|
-
"label": "token",
|
|
42
|
-
"help": "Read README.md how to get token",
|
|
43
|
-
"helpLink": "https://github.com/iobroker-community-adapters/ioBroker.telegram#iobroker-telegram-adapter"
|
|
44
|
-
},
|
|
45
|
-
"baseApiUrl": {
|
|
46
|
-
"newLine": true,
|
|
47
|
-
"type": "text",
|
|
48
|
-
"sm": 12,
|
|
49
|
-
"md": 8,
|
|
50
|
-
"lg": 8,
|
|
51
|
-
"label": "API URL"
|
|
52
|
-
},
|
|
53
|
-
"password": {
|
|
54
|
-
"newLine": true,
|
|
55
|
-
"type": "password",
|
|
56
|
-
"repeat": true,
|
|
57
|
-
"visible": false,
|
|
58
|
-
"sm": 12,
|
|
59
|
-
"md": 8,
|
|
60
|
-
"lg": 8,
|
|
61
|
-
"label": "password",
|
|
62
|
-
"help": "Leave it blank if no password desired"
|
|
63
|
-
},
|
|
64
|
-
"rememberUsers": {
|
|
65
|
-
"newLine": true,
|
|
66
|
-
"type": "checkbox",
|
|
67
|
-
"sm": 12,
|
|
68
|
-
"md": 8,
|
|
69
|
-
"lg": 8,
|
|
70
|
-
"label": "Remember authenticated users"
|
|
71
|
-
},
|
|
72
|
-
"doNotAcceptNewUsers": {
|
|
73
|
-
"newLine": true,
|
|
74
|
-
"type": "checkbox",
|
|
75
|
-
"sm": 12,
|
|
76
|
-
"md": 8,
|
|
77
|
-
"lg": 8,
|
|
78
|
-
"label": "Do not authenticate new users"
|
|
79
|
-
},
|
|
80
|
-
"useUsername": {
|
|
81
|
-
"newLine": true,
|
|
82
|
-
"type": "checkbox",
|
|
83
|
-
"sm": 12,
|
|
84
|
-
"md": 8,
|
|
85
|
-
"lg": 8,
|
|
86
|
-
"label": "Store username instead of firstname of remembered users"
|
|
87
|
-
},
|
|
88
|
-
"saveFiles": {
|
|
89
|
-
"newLine": true,
|
|
90
|
-
"type": "checkbox",
|
|
91
|
-
"sm": 12,
|
|
92
|
-
"md": 8,
|
|
93
|
-
"lg": 8,
|
|
94
|
-
"label": "Save media files"
|
|
95
|
-
},
|
|
96
|
-
"saveFilesQuality": {
|
|
97
|
-
"type": "select",
|
|
98
|
-
"sm": 12,
|
|
99
|
-
"md": 8,
|
|
100
|
-
"lg": 8,
|
|
101
|
-
"label": "Quality of media files",
|
|
102
|
-
"hidden": "!data.saveFiles",
|
|
103
|
-
"default": "0",
|
|
104
|
-
"options": [
|
|
105
|
-
{
|
|
106
|
-
"label": "All received files",
|
|
107
|
-
"value": ""
|
|
108
|
-
},
|
|
109
|
-
{
|
|
110
|
-
"label": "Low",
|
|
111
|
-
"value": "0"
|
|
112
|
-
},
|
|
113
|
-
{
|
|
114
|
-
"label": "Medium",
|
|
115
|
-
"value": "1"
|
|
116
|
-
},
|
|
117
|
-
{
|
|
118
|
-
"label": "High",
|
|
119
|
-
"value": "2"
|
|
120
|
-
},
|
|
121
|
-
{
|
|
122
|
-
"label": "High definition",
|
|
123
|
-
"value": "3"
|
|
124
|
-
}
|
|
125
|
-
]
|
|
126
|
-
},
|
|
127
|
-
"allowStates": {
|
|
128
|
-
"newLine": true,
|
|
129
|
-
"type": "checkbox",
|
|
130
|
-
"sm": 12,
|
|
131
|
-
"md": 8,
|
|
132
|
-
"lg": 8,
|
|
133
|
-
"label": "Allow state control"
|
|
134
|
-
},
|
|
135
|
-
"proxy": {
|
|
136
|
-
"newLine": true,
|
|
137
|
-
"type": "checkbox",
|
|
138
|
-
"sm": 12,
|
|
139
|
-
"md": 8,
|
|
140
|
-
"lg": 8,
|
|
141
|
-
"label": "Proxy Socks5 enable"
|
|
142
|
-
},
|
|
143
|
-
"proxyHost": {
|
|
144
|
-
"newLine": true,
|
|
145
|
-
"hidden": "!data.proxy",
|
|
146
|
-
"type": "text",
|
|
147
|
-
"sm": 12,
|
|
148
|
-
"md": 4,
|
|
149
|
-
"lg": 4,
|
|
150
|
-
"label": "proxy Host"
|
|
151
|
-
},
|
|
152
|
-
"proxyPort": {
|
|
153
|
-
"hidden": "!data.proxy",
|
|
154
|
-
"type": "number",
|
|
155
|
-
"min": 1,
|
|
156
|
-
"max": 65565,
|
|
157
|
-
"sm": 12,
|
|
158
|
-
"md": 4,
|
|
159
|
-
"lg": 4,
|
|
160
|
-
"label": "proxy Port"
|
|
161
|
-
},
|
|
162
|
-
"proxyLogin": {
|
|
163
|
-
"newLine": true,
|
|
164
|
-
"hidden": "!data.proxy",
|
|
165
|
-
"type": "text",
|
|
166
|
-
"sm": 12,
|
|
167
|
-
"md": 4,
|
|
168
|
-
"lg": 4,
|
|
169
|
-
"label": "Login"
|
|
170
|
-
},
|
|
171
|
-
"proxyPassword": {
|
|
172
|
-
"hidden": "!data.proxy",
|
|
173
|
-
"type": "password",
|
|
174
|
-
"repeat": false,
|
|
175
|
-
"visible": false,
|
|
176
|
-
"sm": 12,
|
|
177
|
-
"md": 4,
|
|
178
|
-
"lg": 4,
|
|
179
|
-
"label": "password"
|
|
180
|
-
}
|
|
2
|
+
"i18n": true,
|
|
3
|
+
"type": "tabs",
|
|
4
|
+
"items": {
|
|
5
|
+
"_options": {
|
|
6
|
+
"type": "panel",
|
|
7
|
+
"label": "Main settings",
|
|
8
|
+
"items": {
|
|
9
|
+
"server": {
|
|
10
|
+
"type": "select",
|
|
11
|
+
"sm": 12,
|
|
12
|
+
"md": 3,
|
|
13
|
+
"lg": 3,
|
|
14
|
+
"options": [
|
|
15
|
+
{
|
|
16
|
+
"label": "Polling",
|
|
17
|
+
"value": "false"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"label": "Server",
|
|
21
|
+
"value": "true"
|
|
181
22
|
}
|
|
23
|
+
],
|
|
24
|
+
"default": "false",
|
|
25
|
+
"label": "type"
|
|
182
26
|
},
|
|
183
|
-
"
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
"sm": 12,
|
|
191
|
-
"md": 4,
|
|
192
|
-
"lg": 4,
|
|
193
|
-
"label": "restarted",
|
|
194
|
-
"help": "restarted_help"
|
|
195
|
-
},
|
|
196
|
-
"restarting": {
|
|
197
|
-
"type": "text",
|
|
198
|
-
"sm": 12,
|
|
199
|
-
"md": 4,
|
|
200
|
-
"lg": 4,
|
|
201
|
-
"label": "restarting",
|
|
202
|
-
"help": "restarting_help"
|
|
203
|
-
},
|
|
204
|
-
"keyboard": {
|
|
205
|
-
"newLine": true,
|
|
206
|
-
"type": "text",
|
|
207
|
-
"sm": 12,
|
|
208
|
-
"md": 4,
|
|
209
|
-
"lg": 4,
|
|
210
|
-
"label": "Keyboard command",
|
|
211
|
-
"help": "Command to show the keyboard"
|
|
212
|
-
},
|
|
213
|
-
"rooms": {
|
|
214
|
-
"type": "checkbox",
|
|
215
|
-
"sm": 12,
|
|
216
|
-
"md": 4,
|
|
217
|
-
"lg": 4,
|
|
218
|
-
"label": "Use rooms in keyboard command",
|
|
219
|
-
"help": "Show the list of rooms before the device selection"
|
|
220
|
-
},
|
|
221
|
-
"storeRawRequest": {
|
|
222
|
-
"newLine": true,
|
|
223
|
-
"type": "checkbox",
|
|
224
|
-
"sm": 12,
|
|
225
|
-
"md": 8,
|
|
226
|
-
"lg": 8,
|
|
227
|
-
"label": "Remember raw request data"
|
|
228
|
-
},
|
|
229
|
-
"text2command": {
|
|
230
|
-
"newLine": true,
|
|
231
|
-
"type": "instance",
|
|
232
|
-
"adapter": "text2command",
|
|
233
|
-
"sm": 12,
|
|
234
|
-
"md": 4,
|
|
235
|
-
"lg": 4,
|
|
236
|
-
"label": "text2command instance",
|
|
237
|
-
"help": "Text2Command info"
|
|
238
|
-
},
|
|
239
|
-
"_custom": {
|
|
240
|
-
"newLine": true,
|
|
241
|
-
"type": "custom",
|
|
242
|
-
"sm": 12,
|
|
243
|
-
"md": 6,
|
|
244
|
-
"lg": 6,
|
|
245
|
-
"i18n": true,
|
|
246
|
-
"url": "custom/customComponents.js",
|
|
247
|
-
"name": "ConfigCustomTelegramSet/Components/TelegramComponent"
|
|
248
|
-
}
|
|
249
|
-
}
|
|
27
|
+
"pollingInterval": {
|
|
28
|
+
"hidden": "data.server === 'true'",
|
|
29
|
+
"type": "number",
|
|
30
|
+
"sm": 12,
|
|
31
|
+
"md": 5,
|
|
32
|
+
"lg": 5,
|
|
33
|
+
"label": "Polling interval (ms)"
|
|
250
34
|
},
|
|
251
|
-
"
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
"type": "certificate",
|
|
304
|
-
"certType": "chained",
|
|
305
|
-
"sm": 12,
|
|
306
|
-
"md": 3,
|
|
307
|
-
"lg": 3,
|
|
308
|
-
"label": "chained certificate"
|
|
309
|
-
}
|
|
310
|
-
}
|
|
35
|
+
"token": {
|
|
36
|
+
"newLine": true,
|
|
37
|
+
"type": "text",
|
|
38
|
+
"sm": 12,
|
|
39
|
+
"md": 8,
|
|
40
|
+
"lg": 8,
|
|
41
|
+
"label": "token",
|
|
42
|
+
"help": "Read README.md how to get token",
|
|
43
|
+
"helpLink": "https://github.com/iobroker-community-adapters/ioBroker.telegram#iobroker-telegram-adapter"
|
|
44
|
+
},
|
|
45
|
+
"baseApiUrl": {
|
|
46
|
+
"newLine": true,
|
|
47
|
+
"type": "text",
|
|
48
|
+
"sm": 12,
|
|
49
|
+
"md": 8,
|
|
50
|
+
"lg": 8,
|
|
51
|
+
"label": "API URL"
|
|
52
|
+
},
|
|
53
|
+
"password": {
|
|
54
|
+
"newLine": true,
|
|
55
|
+
"type": "password",
|
|
56
|
+
"repeat": true,
|
|
57
|
+
"visible": false,
|
|
58
|
+
"sm": 12,
|
|
59
|
+
"md": 8,
|
|
60
|
+
"lg": 8,
|
|
61
|
+
"label": "password",
|
|
62
|
+
"help": "Leave it blank if no password desired"
|
|
63
|
+
},
|
|
64
|
+
"rememberUsers": {
|
|
65
|
+
"newLine": true,
|
|
66
|
+
"type": "checkbox",
|
|
67
|
+
"sm": 12,
|
|
68
|
+
"md": 8,
|
|
69
|
+
"lg": 8,
|
|
70
|
+
"label": "Remember authenticated users"
|
|
71
|
+
},
|
|
72
|
+
"doNotAcceptNewUsers": {
|
|
73
|
+
"newLine": true,
|
|
74
|
+
"type": "checkbox",
|
|
75
|
+
"sm": 12,
|
|
76
|
+
"md": 8,
|
|
77
|
+
"lg": 8,
|
|
78
|
+
"label": "Do not authenticate new users"
|
|
79
|
+
},
|
|
80
|
+
"useUsername": {
|
|
81
|
+
"newLine": true,
|
|
82
|
+
"type": "checkbox",
|
|
83
|
+
"sm": 12,
|
|
84
|
+
"md": 8,
|
|
85
|
+
"lg": 8,
|
|
86
|
+
"label": "Store username instead of firstname of remembered users"
|
|
311
87
|
},
|
|
312
|
-
"
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
88
|
+
"saveFiles": {
|
|
89
|
+
"newLine": true,
|
|
90
|
+
"type": "checkbox",
|
|
91
|
+
"sm": 12,
|
|
92
|
+
"md": 8,
|
|
93
|
+
"lg": 8,
|
|
94
|
+
"label": "Save media files"
|
|
95
|
+
},
|
|
96
|
+
"saveFilesQuality": {
|
|
97
|
+
"type": "select",
|
|
98
|
+
"sm": 12,
|
|
99
|
+
"md": 8,
|
|
100
|
+
"lg": 8,
|
|
101
|
+
"label": "Quality of media files",
|
|
102
|
+
"hidden": "!data.saveFiles",
|
|
103
|
+
"default": "0",
|
|
104
|
+
"options": [
|
|
105
|
+
{
|
|
106
|
+
"label": "All received files",
|
|
107
|
+
"value": ""
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"label": "Low",
|
|
111
|
+
"value": "0"
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"label": "Medium",
|
|
115
|
+
"value": "1"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"label": "High",
|
|
119
|
+
"value": "2"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"label": "High definition",
|
|
123
|
+
"value": "3"
|
|
344
124
|
}
|
|
125
|
+
]
|
|
126
|
+
},
|
|
127
|
+
"allowStates": {
|
|
128
|
+
"newLine": true,
|
|
129
|
+
"type": "checkbox",
|
|
130
|
+
"sm": 12,
|
|
131
|
+
"md": 8,
|
|
132
|
+
"lg": 8,
|
|
133
|
+
"label": "Allow state control"
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
"_messages": {
|
|
138
|
+
"type": "panel",
|
|
139
|
+
"label": "Messages",
|
|
140
|
+
"items": {
|
|
141
|
+
"restarted": {
|
|
142
|
+
"newLine": true,
|
|
143
|
+
"type": "text",
|
|
144
|
+
"sm": 12,
|
|
145
|
+
"md": 4,
|
|
146
|
+
"lg": 4,
|
|
147
|
+
"label": "restarted",
|
|
148
|
+
"help": "restarted_help"
|
|
149
|
+
},
|
|
150
|
+
"restarting": {
|
|
151
|
+
"type": "text",
|
|
152
|
+
"sm": 12,
|
|
153
|
+
"md": 4,
|
|
154
|
+
"lg": 4,
|
|
155
|
+
"label": "restarting",
|
|
156
|
+
"help": "restarting_help"
|
|
157
|
+
},
|
|
158
|
+
"keyboard": {
|
|
159
|
+
"newLine": true,
|
|
160
|
+
"type": "text",
|
|
161
|
+
"sm": 12,
|
|
162
|
+
"md": 4,
|
|
163
|
+
"lg": 4,
|
|
164
|
+
"label": "Keyboard command",
|
|
165
|
+
"help": "Command to show the keyboard"
|
|
166
|
+
},
|
|
167
|
+
"rooms": {
|
|
168
|
+
"type": "checkbox",
|
|
169
|
+
"sm": 12,
|
|
170
|
+
"md": 4,
|
|
171
|
+
"lg": 4,
|
|
172
|
+
"label": "Use rooms in keyboard command",
|
|
173
|
+
"help": "Show the list of rooms before the device selection"
|
|
174
|
+
},
|
|
175
|
+
"storeRawRequest": {
|
|
176
|
+
"newLine": true,
|
|
177
|
+
"type": "checkbox",
|
|
178
|
+
"sm": 12,
|
|
179
|
+
"md": 8,
|
|
180
|
+
"lg": 8,
|
|
181
|
+
"label": "Remember raw request data"
|
|
182
|
+
},
|
|
183
|
+
"text2command": {
|
|
184
|
+
"newLine": true,
|
|
185
|
+
"type": "instance",
|
|
186
|
+
"adapter": "text2command",
|
|
187
|
+
"sm": 12,
|
|
188
|
+
"md": 4,
|
|
189
|
+
"lg": 4,
|
|
190
|
+
"label": "text2command instance",
|
|
191
|
+
"help": "Text2Command info"
|
|
192
|
+
},
|
|
193
|
+
"_custom": {
|
|
194
|
+
"newLine": true,
|
|
195
|
+
"type": "custom",
|
|
196
|
+
"sm": 12,
|
|
197
|
+
"md": 6,
|
|
198
|
+
"lg": 6,
|
|
199
|
+
"i18n": true,
|
|
200
|
+
"url": "custom/customComponents.js",
|
|
201
|
+
"name": "ConfigCustomTelegramSet/Components/TelegramComponent"
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
},
|
|
205
|
+
"_server": {
|
|
206
|
+
"hidden": "data.server === 'false'",
|
|
207
|
+
"hideOnlyControl": true,
|
|
208
|
+
"type": "panel",
|
|
209
|
+
"label": "Server settings",
|
|
210
|
+
"items": {
|
|
211
|
+
"url": {
|
|
212
|
+
"newLine": true,
|
|
213
|
+
"type": "text",
|
|
214
|
+
"sm": 12,
|
|
215
|
+
"md": 9,
|
|
216
|
+
"lg": 9,
|
|
217
|
+
"label": "url",
|
|
218
|
+
"help": "url_help"
|
|
219
|
+
},
|
|
220
|
+
"bind": {
|
|
221
|
+
"newLine": true,
|
|
222
|
+
"type": "ip",
|
|
223
|
+
"listenOnAllPorts": true,
|
|
224
|
+
"sm": 12,
|
|
225
|
+
"md": 6,
|
|
226
|
+
"lg": 6,
|
|
227
|
+
"label": "ip"
|
|
228
|
+
},
|
|
229
|
+
"port": {
|
|
230
|
+
"type": "number",
|
|
231
|
+
"min": 1,
|
|
232
|
+
"max": 65565,
|
|
233
|
+
"sm": 12,
|
|
234
|
+
"md": 3,
|
|
235
|
+
"lg": 3,
|
|
236
|
+
"label": "port",
|
|
237
|
+
"help": "port_help"
|
|
238
|
+
},
|
|
239
|
+
"certPublic": {
|
|
240
|
+
"newLine": true,
|
|
241
|
+
"type": "certificate",
|
|
242
|
+
"certType": "public",
|
|
243
|
+
"sm": 12,
|
|
244
|
+
"md": 3,
|
|
245
|
+
"lg": 3,
|
|
246
|
+
"label": "public certificate"
|
|
247
|
+
},
|
|
248
|
+
"certPrivate": {
|
|
249
|
+
"type": "certificate",
|
|
250
|
+
"certType": "private",
|
|
251
|
+
"sm": 12,
|
|
252
|
+
"md": 3,
|
|
253
|
+
"lg": 3,
|
|
254
|
+
"label": "private certificate"
|
|
255
|
+
},
|
|
256
|
+
"certChained": {
|
|
257
|
+
"type": "certificate",
|
|
258
|
+
"certType": "chained",
|
|
259
|
+
"sm": 12,
|
|
260
|
+
"md": 3,
|
|
261
|
+
"lg": 3,
|
|
262
|
+
"label": "chained certificate"
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
},
|
|
266
|
+
"_letsencrypt": {
|
|
267
|
+
"hidden": "data.server === 'false'",
|
|
268
|
+
"hideOnlyControl": true,
|
|
269
|
+
"type": "panel",
|
|
270
|
+
"label": "Let's Encrypt settings",
|
|
271
|
+
"items": {
|
|
272
|
+
"leEnabled": {
|
|
273
|
+
"type": "checkbox",
|
|
274
|
+
"sm": 12,
|
|
275
|
+
"md": 4,
|
|
276
|
+
"lg": 4,
|
|
277
|
+
"label": "Use Lets Encrypt certificates:"
|
|
278
|
+
},
|
|
279
|
+
"leUpdate": {
|
|
280
|
+
"newLine": true,
|
|
281
|
+
"hidden": "!data.leEnabled",
|
|
282
|
+
"type": "checkbox",
|
|
283
|
+
"sm": 12,
|
|
284
|
+
"md": 4,
|
|
285
|
+
"lg": 4,
|
|
286
|
+
"label": "Use this instance for automatic update:"
|
|
287
|
+
},
|
|
288
|
+
"leCheckPort": {
|
|
289
|
+
"hidden": "!data.leUpdate",
|
|
290
|
+
"type": "number",
|
|
291
|
+
"min": 1,
|
|
292
|
+
"max": 65565,
|
|
293
|
+
"sm": 12,
|
|
294
|
+
"md": 4,
|
|
295
|
+
"lg": 4,
|
|
296
|
+
"label": "Port to check the domain:"
|
|
345
297
|
}
|
|
298
|
+
}
|
|
346
299
|
}
|
|
300
|
+
}
|
|
347
301
|
}
|
package/io-package.json
CHANGED
|
@@ -1,8 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"common": {
|
|
3
3
|
"name": "telegram",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "3.0.0",
|
|
5
5
|
"news": {
|
|
6
|
+
"3.0.0": {
|
|
7
|
+
"en": "BREAKING CHANGE: Socks5 support has been removed.\nExtended and improved the returned list of processed messages.",
|
|
8
|
+
"de": "BREAKING CHANGE: Socks5 Unterstützung wurde entfernt.\nDie retournierte Liste der verarbeiteten Nachrichten wurde erweitert und verbessert.",
|
|
9
|
+
"ru": "ИЗМЕНЕНИЕ ЗАВТРА: Поддержка Socks5 была удалена.\nРасширенный и улучшенный возвращенный список обработанных сообщений.",
|
|
10
|
+
"pt": "BREAKING CHANGE: O suporte do Socks5 foi removido.\nEstendido e melhorado a lista retornada de mensagens processadas.",
|
|
11
|
+
"nl": "Socks5 steun is verwijderd.\nVerlengd en verbeterde de lijst met verwerkte berichten.",
|
|
12
|
+
"fr": "GÉNÉRAL : Le support Socks5 a été supprimé.\nÉtendu et amélioré la liste retournée des messages traités.",
|
|
13
|
+
"it": "Il supporto di calzini5 è stato rimosso.\nEsteso e migliorato l'elenco restituito dei messaggi elaborati.",
|
|
14
|
+
"es": "Cambio de aire: Se ha eliminado el apoyo de los calcetines 5.\nExtendió y mejoró la lista de mensajes procesados.",
|
|
15
|
+
"pl": "BREAKING CHANGE: Posługa Socks5 została usunięta.\nPociągnął i poprawił listę przetworzonych wiadomości.",
|
|
16
|
+
"uk": "Видалено підтримку Socks5.\nРозширений та покращений список отриманих повідомлень.",
|
|
17
|
+
"zh-cn": "消除了吉卜赛网:苏斯5号支助。.\n处理信息清单的扩大和改进。."
|
|
18
|
+
},
|
|
6
19
|
"2.0.2": {
|
|
7
20
|
"en": "Dependencies have been updated.",
|
|
8
21
|
"de": "Abhängigkeiten wurden aktualisiert.",
|
|
@@ -67,34 +80,64 @@
|
|
|
67
80
|
"pl": "Umożliwia to opcjonalną ucieczkę postaci w bloku\nDostarczanie możliwości wysyłania aktualizacji stanów tylko poprzez zmiany\nWstępna opcja do wyboru jakości przechowywanych obrazów",
|
|
68
81
|
"uk": "Впроваджено необов’язкове позначення символів в блоклі\nДодана можливість надсилати оновлення стану тільки за змінами\nДодано варіант вибрати якість збережених зображень",
|
|
69
82
|
"zh-cn": "B. 执行阻碍性质的选择\n增加只有改变才有可能派遣最新国家\n选择储存图像质量的增选办法"
|
|
70
|
-
},
|
|
71
|
-
"1.15.5": {
|
|
72
|
-
"en": "Added possibility to set `parse_mode` in the text message",
|
|
73
|
-
"de": "Möglichkeit zur Einstellung parse_mode in der Textnachricht",
|
|
74
|
-
"ru": "Добавлена возможность установки parse_mode в текстовом сообщении",
|
|
75
|
-
"pt": "Adicionado possibilidade de definir parse_mode na mensagem de texto",
|
|
76
|
-
"nl": "Toegevoegd mogelijk om parsemode in de sms te zetten",
|
|
77
|
-
"fr": "Ajout de la possibilité de définir parse_mode dans le message texte",
|
|
78
|
-
"it": "Aggiunta possibilità di impostare parse_mode nel messaggio di testo",
|
|
79
|
-
"es": "Añadido posibilidad de establecer parse_mode en el mensaje de texto",
|
|
80
|
-
"pl": "Wstępna możliwość ugruntowania parse_mode w wiadomości tekstowej",
|
|
81
|
-
"uk": "Додано можливість встановити parse_mode в текстовому повідомленні",
|
|
82
|
-
"zh-cn": "增加可能在案文中规定稀释。"
|
|
83
|
-
},
|
|
84
|
-
"1.15.2": {
|
|
85
|
-
"en": "Make sure the userid is a string to show warnings in the log\nAdded ukrainian language",
|
|
86
|
-
"de": "Stellen Sie sicher, dass das Userid ein String ist, um Warnungen im Protokoll anzuzeigen\nUkrainische Sprache hinzugefügt",
|
|
87
|
-
"ru": "Убедитесь, что userid является строкой, чтобы показать предупреждения в журнале\nДобавлен украинский язык",
|
|
88
|
-
"pt": "Certifique-se de que o userid é uma string para mostrar avisos no log\nAdicionado idioma ukrainian",
|
|
89
|
-
"nl": "Zorg ervoor dat de gebruiker een string is om waarschuwingen in het logboek te laten zien\nToegevoegd Oekraïense taal",
|
|
90
|
-
"fr": "Assurez-vous que le userid est une chaîne pour montrer les avertissements dans le journal\nAjout de la langue ukrainienne",
|
|
91
|
-
"it": "Assicurarsi che l'utenteid sia una stringa per mostrare avvisi nel registro\nAggiunto lingua ucraino",
|
|
92
|
-
"es": "Asegúrese de que el usuario es una cadena para mostrar advertencias en el registro\nAñadido el idioma ucraniano",
|
|
93
|
-
"pl": "Make sure the userid to smycz do pokazania ostrzeżeń w logu\nJęzyk ukrainowski",
|
|
94
|
-
"uk": "Переконайтеся, що користувач є рядок, щоб показати попередження в журналі\nДодано українську мову",
|
|
95
|
-
"zh-cn": "保证使用rid是在逻辑中发出警告的一个条件。\n增 编"
|
|
96
83
|
}
|
|
97
84
|
},
|
|
85
|
+
"messages": [
|
|
86
|
+
{
|
|
87
|
+
"condition": {
|
|
88
|
+
"operand": "and",
|
|
89
|
+
"rules": [
|
|
90
|
+
"oldVersion<3.0.0",
|
|
91
|
+
"newVersion>=3.0.0"
|
|
92
|
+
]
|
|
93
|
+
},
|
|
94
|
+
"title": {
|
|
95
|
+
"en": "Important notice!",
|
|
96
|
+
"de": "Wichtiger Hinweis!",
|
|
97
|
+
"ru": "Важное замечание!",
|
|
98
|
+
"pt": "Notícia importante!",
|
|
99
|
+
"nl": "Belangrijke mededeling!",
|
|
100
|
+
"fr": "Avis important!",
|
|
101
|
+
"it": "Avviso IMPORTANTE!",
|
|
102
|
+
"es": "Noticia importante!",
|
|
103
|
+
"pl": "Ważna uwaga!",
|
|
104
|
+
"zh-cn": "重要通知!",
|
|
105
|
+
"uk": "Важливе повідомлення!"
|
|
106
|
+
},
|
|
107
|
+
"text": {
|
|
108
|
+
"en": "SOCKS-5 proxy support has been removed with release 3.0.0.",
|
|
109
|
+
"de": "SOCKS-5 Proxy-Unterstützung wurde mit Release 3.0.0 entfernt.",
|
|
110
|
+
"ru": "SOCKS-5 прокси поддержка была удалена с выпуском 3.0.0.",
|
|
111
|
+
"pt": "O suporte proxy SOCKS-5 foi removido com versão 3.0.0.",
|
|
112
|
+
"nl": "Quality over Quantity (QoQ) Releases Vertaling:.",
|
|
113
|
+
"fr": "Le support de proxy SOCKS-5 a été retiré avec la sortie 3.0.0.",
|
|
114
|
+
"it": "Il supporto proxy SOCKS-5 è stato rimosso con il rilascio 3.0.0.",
|
|
115
|
+
"es": "El soporte proxy SOCKS-5 ha sido eliminado con la versión 3.0.0.",
|
|
116
|
+
"pl": "Obsługa protokołu SOCKS-5 została usunięta z wydaniem 3.0.0.",
|
|
117
|
+
"uk": "SOCKS-5 Проксі-підтримка була вилучена з релізом 3.0.0.",
|
|
118
|
+
"zh-cn": "SOCKS-5传票后,释放了3 000人。."
|
|
119
|
+
},
|
|
120
|
+
"link": "https://github.com/iobroker-community-adapters/ioBroker.telegram#changelog",
|
|
121
|
+
"level": "warn",
|
|
122
|
+
"linkText": {
|
|
123
|
+
"en": "Changelog",
|
|
124
|
+
"de": "Änderungsprotokoll",
|
|
125
|
+
"ru": "Список изменений",
|
|
126
|
+
"pt": "Registro de alterações",
|
|
127
|
+
"nl": "Wijzigingslog",
|
|
128
|
+
"fr": "Journal des modifications",
|
|
129
|
+
"it": "Registro delle modifiche",
|
|
130
|
+
"es": "registro de cambios",
|
|
131
|
+
"pl": "Dziennik zmian",
|
|
132
|
+
"zh-cn": "变更日志",
|
|
133
|
+
"uk": "Журнал змін"
|
|
134
|
+
},
|
|
135
|
+
"buttons": [
|
|
136
|
+
"agree",
|
|
137
|
+
"cancel"
|
|
138
|
+
]
|
|
139
|
+
}
|
|
140
|
+
],
|
|
98
141
|
"title": "Telegram",
|
|
99
142
|
"titleLang": {
|
|
100
143
|
"en": "Telegram",
|
package/main.js
CHANGED
|
@@ -26,7 +26,6 @@ const LE = utils.commonTools.letsEncrypt;
|
|
|
26
26
|
const https = require('https');
|
|
27
27
|
const axios = require('axios');
|
|
28
28
|
|
|
29
|
-
let socks;
|
|
30
29
|
|
|
31
30
|
let bot;
|
|
32
31
|
let users = {};
|
|
@@ -544,7 +543,10 @@ function _sendMessageHelper(dest, name, text, options) {
|
|
|
544
543
|
if (options && options.chatId !== undefined && options.user === undefined) {
|
|
545
544
|
options.user = adapter.config.useUsername ? users[options.chatId].userName : users[options.chatId].firstName;
|
|
546
545
|
}
|
|
547
|
-
|
|
546
|
+
// to push chatId value for the group chats - useful to process the errors, and list of processed messages.
|
|
547
|
+
if (options.chatId === undefined && options.user === undefined && name === 'chat' && dest) {
|
|
548
|
+
options.chatId = dest;
|
|
549
|
+
}
|
|
548
550
|
if (options && options.editMessageReplyMarkup !== undefined) {
|
|
549
551
|
adapter.log.debug(`Send editMessageReplyMarkup to "${name}"`);
|
|
550
552
|
bot && executeSending(() => bot.editMessageReplyMarkup(options.editMessageReplyMarkup.reply_markup, options.editMessageReplyMarkup.options), options, resolve);
|
|
@@ -785,7 +787,14 @@ function executeSending(action, options, resolve){
|
|
|
785
787
|
action()
|
|
786
788
|
.then(response => {
|
|
787
789
|
// put chat id and message id to the object, that will be returned
|
|
788
|
-
|
|
790
|
+
// delete message command return only true in response,
|
|
791
|
+
// to return deleted message id and chat id the next if construction is used:
|
|
792
|
+
if (response?.message_id) {
|
|
793
|
+
// The chatId is mostly used in code, instead of chat_id.
|
|
794
|
+
messageIds[options.chat_id ? options.chat_id : options.chatId] = response.message_id;
|
|
795
|
+
} else if (typeof response === 'boolean' && options?.deleteMessage?.options?.chat_id && options?.deleteMessage?.options?.message_id) {
|
|
796
|
+
messageIds[options.deleteMessage.options.chat_id] = options.deleteMessage.options.message_id;
|
|
797
|
+
}
|
|
789
798
|
// puts ids to the ioBroker database
|
|
790
799
|
saveSendRequest(response);
|
|
791
800
|
})
|
|
@@ -1707,8 +1716,6 @@ function processTelegramText(msg) {
|
|
|
1707
1716
|
}
|
|
1708
1717
|
|
|
1709
1718
|
function connect() {
|
|
1710
|
-
const proxy = adapter.config.proxy;
|
|
1711
|
-
|
|
1712
1719
|
if (bot) {
|
|
1713
1720
|
if (!adapter.config.server) {
|
|
1714
1721
|
try {
|
|
@@ -1738,44 +1745,6 @@ function connect() {
|
|
|
1738
1745
|
})
|
|
1739
1746
|
.catch(error => adapter.log.error(`getMe (reconnect) Error:${error}`));
|
|
1740
1747
|
} else {
|
|
1741
|
-
let agent;
|
|
1742
|
-
if (proxy === true) {
|
|
1743
|
-
adapter.log.debug('proxy enabled');
|
|
1744
|
-
let proxyHost = '';
|
|
1745
|
-
if (adapter.config && adapter.config.proxyHost !== undefined) {
|
|
1746
|
-
proxyHost = adapter.config.proxyHost;
|
|
1747
|
-
adapter.log.debug(`proxyHost: ${proxyHost}`);
|
|
1748
|
-
}
|
|
1749
|
-
let proxyPort = 1080;
|
|
1750
|
-
if (adapter.config && adapter.config.proxyPort !== undefined) {
|
|
1751
|
-
proxyPort = parseInt(adapter.config.proxyPort, 10) || 0;
|
|
1752
|
-
adapter.log.debug(`proxyPort: ${proxyPort}`);
|
|
1753
|
-
}
|
|
1754
|
-
let proxyLogin = '';
|
|
1755
|
-
if (adapter.config && adapter.config.proxyLogin !== undefined) {
|
|
1756
|
-
proxyLogin = adapter.config.proxyLogin;
|
|
1757
|
-
adapter.log.debug(`proxyLogin: ${proxyLogin}`);
|
|
1758
|
-
}
|
|
1759
|
-
let proxyPassword = '';
|
|
1760
|
-
if (adapter.config && adapter.config.proxyPassword !== undefined) {
|
|
1761
|
-
proxyPassword = adapter.config.proxyPassword;
|
|
1762
|
-
adapter.log.debug(`proxyPassword: ${proxyPassword}`);
|
|
1763
|
-
}
|
|
1764
|
-
const socksConfig = {
|
|
1765
|
-
proxyHost: proxyHost,
|
|
1766
|
-
proxyPort: proxyPort,
|
|
1767
|
-
auths: []
|
|
1768
|
-
};
|
|
1769
|
-
socks = socks || require('socksv5');
|
|
1770
|
-
|
|
1771
|
-
if (proxyLogin) {
|
|
1772
|
-
socksConfig.auths.push(socks.auth.UserPassword(proxyLogin, proxyPassword));
|
|
1773
|
-
} else {
|
|
1774
|
-
socksConfig.auths.push(socks.auth.None());
|
|
1775
|
-
}
|
|
1776
|
-
agent = new socks.HttpsAgent(socksConfig);
|
|
1777
|
-
}
|
|
1778
|
-
|
|
1779
1748
|
if (adapter.config.server) {
|
|
1780
1749
|
// Setup server way
|
|
1781
1750
|
const serverOptions = {
|
|
@@ -1783,9 +1752,6 @@ function connect() {
|
|
|
1783
1752
|
filepath: true,
|
|
1784
1753
|
baseApiUrl: adapter.config.baseApiUrl
|
|
1785
1754
|
};
|
|
1786
|
-
if (agent) {
|
|
1787
|
-
serverOptions.request = { agent: agent };
|
|
1788
|
-
}
|
|
1789
1755
|
bot = new TelegramBot(adapter.config.token, serverOptions);
|
|
1790
1756
|
if (adapter.config.url[adapter.config.url.length - 1] === '/') {
|
|
1791
1757
|
adapter.config.url = adapter.config.url.substring(0, adapter.config.url.length - 1);
|
|
@@ -1800,9 +1766,6 @@ function connect() {
|
|
|
1800
1766
|
filepath: true,
|
|
1801
1767
|
baseApiUrl: adapter.config.baseApiUrl
|
|
1802
1768
|
};
|
|
1803
|
-
if (agent) {
|
|
1804
|
-
pollingOptions.request = { agent };
|
|
1805
|
-
}
|
|
1806
1769
|
adapter.log.debug(`Start polling with: ${pollingOptions.polling.interval}(${typeof pollingOptions.polling.interval}) ms interval`);
|
|
1807
1770
|
bot = new TelegramBot(adapter.config.token, pollingOptions);
|
|
1808
1771
|
bot.setWebHook('').catch(error => {
|
|
@@ -1859,17 +1822,6 @@ function connect() {
|
|
|
1859
1822
|
callbackQuery.from.username}]${callbackQuery.data}`, true, err => err && adapter.log.error(err));
|
|
1860
1823
|
|
|
1861
1824
|
isAnswerForQuestion(adapter, callbackQuery);
|
|
1862
|
-
|
|
1863
|
-
// following code should be deleted: BF 2020.02.23
|
|
1864
|
-
//const action = callbackQuery.data;
|
|
1865
|
-
/* const msg = callbackQuery.message;
|
|
1866
|
-
const opts = {
|
|
1867
|
-
chat_id: msg.chat.id,
|
|
1868
|
-
message_id: msg.message_id,
|
|
1869
|
-
};
|
|
1870
|
-
let text = 'Ok';// = 'You hit button ' + action;
|
|
1871
|
-
|
|
1872
|
-
bot.editMessageText(text, opts); */
|
|
1873
1825
|
});
|
|
1874
1826
|
|
|
1875
1827
|
bot.on('polling_error', error => {
|
|
@@ -2118,4 +2070,4 @@ if (module && module.parent) {
|
|
|
2118
2070
|
} else {
|
|
2119
2071
|
// or start the instance directly
|
|
2120
2072
|
startAdapter();
|
|
2121
|
-
}
|
|
2073
|
+
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "iobroker.telegram",
|
|
3
3
|
"description": "The adapter allows to send and receive telegram messages from ioBroker and to be a broker.",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "3.0.0",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "bluefox",
|
|
7
7
|
"email": "dogafox@gmail.com"
|
|
@@ -31,17 +31,13 @@
|
|
|
31
31
|
"telegram",
|
|
32
32
|
"message"
|
|
33
33
|
],
|
|
34
|
-
"socksv5description": "Taken from https://github.com/christophgysin/socksv5/commits/fix-normailzeargs",
|
|
35
|
-
"optionalDependencies": {
|
|
36
|
-
"socksv5": "https://github.com/christophgysin/socksv5/tarball/7b4eba5b30ecdb6d9e656dcfede1e6884dc7c6d9"
|
|
37
|
-
},
|
|
38
34
|
"engines": {
|
|
39
35
|
"node": ">=16"
|
|
40
36
|
},
|
|
41
37
|
"dependencies": {
|
|
42
38
|
"@iobroker/adapter-core": "^3.0.4",
|
|
43
39
|
"axios": "^1.6.0",
|
|
44
|
-
"node-telegram-bot-api": "^0.
|
|
40
|
+
"node-telegram-bot-api": "^0.64.0"
|
|
45
41
|
},
|
|
46
42
|
"devDependencies": {
|
|
47
43
|
"@alcalzone/release-script": "^3.6.0",
|
|
@@ -55,15 +51,15 @@
|
|
|
55
51
|
"@types/mocha": "^10.0.3",
|
|
56
52
|
"@types/node": "^20.8.10",
|
|
57
53
|
"@types/proxyquire": "^1.3.30",
|
|
58
|
-
"@types/sinon": "^
|
|
54
|
+
"@types/sinon": "^17.0.0",
|
|
59
55
|
"@types/sinon-chai": "^3.2.11",
|
|
60
56
|
"chai": "^4.3.10",
|
|
61
57
|
"chai-as-promised": "^7.1.1",
|
|
62
|
-
"eslint": "^8.
|
|
58
|
+
"eslint": "^8.53.0",
|
|
63
59
|
"gulp": "^4.0.2",
|
|
64
60
|
"mocha": "^10.2.0",
|
|
65
61
|
"proxyquire": "^2.1.3",
|
|
66
|
-
"sinon": "^17.0.
|
|
62
|
+
"sinon": "^17.0.1",
|
|
67
63
|
"sinon-chai": "^3.7.0",
|
|
68
64
|
"typescript": "^5.2.2"
|
|
69
65
|
},
|