Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

teabot

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

teabot - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

10

lib/chat.js

@@ -50,4 +50,2 @@ 'use strict';

}
config._putUpdate(_this);
});

@@ -68,2 +66,3 @@ };

this.userData[property] = data;
this._putUpdate(this);
return this.userData[property];

@@ -86,2 +85,3 @@ } else {

delete this.userData[property];
this._putUpdate(this);
}

@@ -92,2 +92,3 @@ };

this.userData = {};
this._putUpdate(this);
};

@@ -98,2 +99,3 @@

this.tempData[property] = data;
this._putUpdate(this);
return this.tempData[property];

@@ -116,2 +118,3 @@ } else {

delete this.tempData[property];
this._putUpdate(this);
}

@@ -122,2 +125,3 @@ };

this.tempData = {};
this._putUpdate(this);
};

@@ -154,2 +158,3 @@

this._putUpdate(this);
return this;

@@ -164,2 +169,3 @@ };

this.action = false;
this._putUpdate(this);
return this;

@@ -166,0 +172,0 @@ };

1

main.js

@@ -164,2 +164,3 @@ 'use strict';

Chat.prototype._putUpdate || (Chat.prototype._putUpdate = this._putUpdate.bind(this));
this.dialogs[chatId] || (this.dialogs[chatId] = {});

@@ -166,0 +167,0 @@ this.dialogs[chatId][userId] || (this.dialogs[chatId][userId] = new Chat(chatId, userId));

{
"name": "teabot",
"author": "Alexey Bystrov <strikeentco@gmail.com>",
"version": "1.1.1",
"version": "1.1.2",
"description": "TeaBot - a way to build interactive Telegram bots.",

@@ -6,0 +6,0 @@ "keywords": [

@@ -654,2 +654,5 @@ teabot

# Examples
* [@WezaBot](https://telegram.me/WezaBot) - [strikeentco/WezaBot](https://github.com/strikeentco/WezaBot)
* Webhook - [ex1.webhook.js](https://github.com/strikeentco/teabot/tree/master/examples/ex1.webhook.js)

@@ -656,0 +659,0 @@ * Long pooling - [ex2.pooling.js](https://github.com/strikeentco/teabot/tree/master/examples/ex2.pooling.js)

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