Comparing version 1.0.2 to 1.0.3
@@ -165,3 +165,3 @@ 'use strict'; | ||
}); | ||
this.emit('sent', options.message); | ||
this.emit('sent', options.id, options.message); | ||
}; | ||
@@ -168,0 +168,0 @@ |
{ | ||
"name": "botly", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Simple Facebook Messenger Bot API", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -267,3 +267,3 @@ <img src="https://raw.githubusercontent.com/Askrround/botly/master/botly_logo.png" width="250" height="250" /> | ||
botly.on("sent", message => { | ||
botly.on("sent", (to, message) => { | ||
/* track it */ | ||
@@ -275,3 +275,3 @@ }); | ||
#### version 1.0.2 | ||
#### version 1.0.3 | ||
- added send event - useful for tracking | ||
@@ -278,0 +278,0 @@ |
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
81479