node-telegram-keyboard-wrapper
Advanced tools
Comparing version 2.0.0 to 2.0.1
{ | ||
"name": "node-telegram-keyboard-wrapper", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "A support to create keyboards in Telegram via bots", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -51,7 +51,7 @@ # Node telegram keyboard wrapper | ||
- [Visual Keyboards](#visual_keyboard) | ||
- [.addRow()](#method_addRow) | ||
- [.removeRow()](#method_removeRow) | ||
- [.emptyRow()](#method_emptyRow) | ||
- [.popRow()](#method_popRow) | ||
- [.rowLength()](#method_rowLength) | ||
- [.addRow()](#method_addrow) | ||
- [.removeRow()](#method_removerow) | ||
- [.emptyRow()](#method_emptyrow) | ||
- [.popRow()](#method_poprow) | ||
- [.rowLength()](#method_rowlength) | ||
- [.push()](#method_push) | ||
@@ -75,2 +75,8 @@ - [.pop()](#method_pop) | ||
## Classes architecture: | ||
This library is divided in the following class architecture: | ||
![](https://i.imgur.com/2ZtRzJd.png) | ||
<a name="visual_keyboard"></a> | ||
@@ -90,3 +96,3 @@ ## Visual Keyboard | ||
<a name="method_addRow"></a> | ||
<a name="method_addrow"></a> | ||
@@ -111,3 +117,3 @@ ### .addRow() | ||
<a name="method_removeRow"></a> | ||
<a name="method_removerow"></a> | ||
@@ -141,3 +147,3 @@ ### .removeRow() | ||
<a name="method_emptyRow"></a> | ||
<a name="method_emptyrow"></a> | ||
@@ -171,3 +177,3 @@ ### .emptyRow() | ||
<a name="method_popRow"></a> | ||
<a name="method_poprow"></a> | ||
@@ -192,3 +198,3 @@ ### .popRow() | ||
<a name="method_rowLength"></a> | ||
<a name="method_rowlength"></a> | ||
@@ -195,0 +201,0 @@ ### .rowLength() |
@@ -158,5 +158,2 @@ "use strict"; | ||
function outOfBoundsInverter(value, bound) { | ||
let depFork = deprecate; | ||
depFork.stream = process.stdout; | ||
depFork("outOfBoundsInverter changes index validation method. Unexpected behaviour may happen."); | ||
if (bound <= 0 && (value < 0 || value > bound)) { | ||
@@ -163,0 +160,0 @@ return 0; |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
33086
12
587
505
0