puvox-library 1.0.53 → 1.0.54

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.
@@ -2641,8 +2641,8 @@ const puvox_library =
2641
2641
  if (!this.startsWith(chat_id, '-100')) chat_id = '-100' + chat_id;
2642
2642
  text = this.br2nl(text);
2643
2643
  text = this.stripTags(text,'<b><strong><i><em><u><ins><s><strike><del><a><code><pre>'); // allowed: https://core.telegram.org/bots/api#html-style
2644
- text = text.substring(0, 4095); //max telegram message length 4096
2645
2644
  text = this.encode_html_entities(text);
2645
+ text = text.substring(0, 4095); //max telegram message length 4096
2646
2646
  const requestOpts = Object.assign({'chat_id':chat_id, 'text':text}, extra_opts);
2647
2647
  delete requestOpts['cache'];
2648
2648
  delete requestOpts['is_repeated_call'];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "puvox-library",
3
- "version": "1.0.53",
3
+ "version": "1.0.54",
4
4
  "description": "library-class-javascript",
5
5
  "main": "library_standard.js",
6
6
  "scripts": {