Comparing version 1.0.0-rc.3 to 1.0.0-rc.4
{ | ||
"name": "puregram", | ||
"version": "1.0.0-rc.3", | ||
"version": "1.0.0-rc.4", | ||
"main": "src/index.js", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -17,5 +17,3 @@ class InlineKeyboard { | ||
this.buttons = inlineKeyboard.buttons; | ||
return this; | ||
return inlineKeyboard; | ||
} | ||
@@ -110,3 +108,3 @@ | ||
static toJSON() { | ||
toJSON() { | ||
let { buttons } = this; | ||
@@ -113,0 +111,0 @@ |
@@ -20,8 +20,6 @@ class Keyboard { | ||
this.buttons = keyboard.buttons; | ||
return this; | ||
return keyboard; | ||
} | ||
static resize(resize = true) { | ||
resize(resize = true) { | ||
this.isResize = resize; | ||
@@ -32,3 +30,3 @@ | ||
static oneTime(oneTime = true) { | ||
oneTime(oneTime = true) { | ||
this.isOneTime = oneTime; | ||
@@ -39,3 +37,3 @@ | ||
static selective(selective = true) { | ||
selective(selective = true) { | ||
this.isSelective = selective; | ||
@@ -74,3 +72,3 @@ | ||
static toJSON() { | ||
toJSON() { | ||
let { buttons, isResize, isOneTime, isSelective } = this; | ||
@@ -77,0 +75,0 @@ |
let Telegram = require('./telegram'); | ||
let Context = require('./contexts/context'); | ||
let MessageContext = require('./contexts/message'); | ||
let CallbackQuery = require('./contexts/callback-query'); | ||
let { | ||
@@ -22,3 +26,6 @@ Keyboard, | ||
HTML, | ||
Context, | ||
MessageContext, | ||
CallbackQuery, | ||
}; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
260099
9108