keep-me-posted
Advanced tools
Comparing version 0.1.1 to 0.1.2
{ | ||
"name": "keep-me-posted", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "Keep yourself posted for website updates", | ||
@@ -5,0 +5,0 @@ "repository": "github:ZimGil/keep-me-posted", |
@@ -1,2 +0,2 @@ | ||
# keep-me-posted | ||
# keep-me-posted | ||
Execute code on a web page, send yourself a telegram message. | ||
@@ -48,5 +48,6 @@ | ||
// The bot will send a message "Hi..." | ||
// Avoiding a message | ||
keepMePosted(URL, () => {a: 1}, settings); | ||
// return any non string value that does not contain a "message" property | ||
keepMePosted(URL, () => ({a: 1}), settings); | ||
// This will return a Promise that will resolve with the object: | ||
@@ -53,0 +54,0 @@ // { a: 1 } |
5474
57