aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <valentineus@gmail.com>2017-06-07 19:47:42 +0300
committerValentin Popov <valentineus@gmail.com>2017-06-07 19:47:42 +0300
commit0d420f131907f1451d704cb4db2909d30a8c77d8 (patch)
tree5f5d68ef2fb2170a35e6344dba6dfe18158b445c
parent21b06809168af0f2b4bc8c909bdee1619aac57a3 (diff)
downloadiii-for-vk-0d420f131907f1451d704cb4db2909d30a8c77d8.tar.xz
iii-for-vk-0d420f131907f1451d704cb4db2909d30a8c77d8.zip
Release of version 0.0.4.HEADmaster
-rw-r--r--CHANGELOG.md7
-rw-r--r--README.md9
-rw-r--r--example.js2
-rw-r--r--package.json2
4 files changed, 11 insertions, 9 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index b729ef5..446c9c7 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,14 +1,15 @@
# Description of releases
-## 0.0.3 (05-06-2017)
+## 0.0.4 (07-06-2017)
+Fix:
+ - Fixed the sample file and the instruction for its launch.
+## 0.0.3 (05-06-2017)
Features:
- Added useful icons.
## 0.0.2 (05-06-2017)
-
Fix:
- Fixed exclusion files.
## 0.0.1 (05-06-2017)
-
Release. \ No newline at end of file
diff --git a/README.md b/README.md
index a0c5366..97c59ea 100644
--- a/README.md
+++ b/README.md
@@ -21,10 +21,11 @@ A simple example that implements an answering machine is at the root of the repo
This is the file `example.js`.
In the NPM package it is not included to reduce the volume:
```bash
-$ git clone https://github.com/valentineus/iii-for-vk.git
-$ cd ./iii-for-vk
-# Edit the file example.js
-$ node ./example.js
+$ npm init
+$ npm install --save iii-for-vk
+$ curl -L -o index.js https://raw.githubusercontent.com/valentineus/iii-for-vk/master/example.js
+// Edit the file index.js
+$ node ./index.js
```
## Expanding functionality
diff --git a/example.js b/example.js
index c90812d..b09b0c3 100644
--- a/example.js
+++ b/example.js
@@ -1,4 +1,4 @@
-var ChatBot = require('./lib/core.js');
+var ChatBot = require('iii-for-vk');
var bot = new ChatBot({
appID: "id", // The application ID
diff --git a/package.json b/package.json
index 7150a78..e1f08de 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "iii-for-vk",
- "version": "0.0.3",
+ "version": "0.0.4",
"description": "Simple automatic reply to incoming messages.",
"homepage": "https://github.com/valentineus/iii-for-vk",
"main": "lib/core.js",