mirror of
				https://github.com/valentineus/iii-client.git
				synced 2025-11-04 03:49:44 +03:00 
			
		
		
		
	Release of version 2.1.0.
This commit is contained in:
		@@ -1,4 +1,10 @@
 | 
				
			|||||||
# Description of releases
 | 
					# Description of releases
 | 
				
			||||||
 | 
					## 2.1.0 (28-09-2017)
 | 
				
			||||||
 | 
					Features:
 | 
				
			||||||
 | 
					 - The assembly system has been reworked, now the package is being assembled for use in browsers.
 | 
				
			||||||
 | 
					 - Added a system of automatic assembly and publishing.
 | 
				
			||||||
 | 
					 - Many small improvements to the package architecture.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## 2.0.0 (29-07-2017)
 | 
					## 2.0.0 (29-07-2017)
 | 
				
			||||||
Features:
 | 
					Features:
 | 
				
			||||||
 - Using Promise.
 | 
					 - Using Promise.
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -12,10 +12,18 @@ Simple API for communicating with the bot of the \"iii.ru\" service.
 | 
				
			|||||||
- Installation and processing of sessions.
 | 
					- Installation and processing of sessions.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## Installation
 | 
					## Installation
 | 
				
			||||||
 | 
					NodeJS:
 | 
				
			||||||
```bash
 | 
					```bash
 | 
				
			||||||
npm install --save iii-client
 | 
					npm install --save iii-client
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Browser:
 | 
				
			||||||
 | 
					```html
 | 
				
			||||||
 | 
					<script src="https://unpkg.com/iii-client@latest/dist/bundle.js">
 | 
				
			||||||
 | 
					    /* client - This is the global name for accessing the package */
 | 
				
			||||||
 | 
					</script>
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## Using
 | 
					## Using
 | 
				
			||||||
An example of a connection, receiving session identification and sending a bot message:
 | 
					An example of a connection, receiving session identification and sending a bot message:
 | 
				
			||||||
```javascript
 | 
					```javascript
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,6 +1,6 @@
 | 
				
			|||||||
{
 | 
					{
 | 
				
			||||||
    "name": "iii-client",
 | 
					    "name": "iii-client",
 | 
				
			||||||
    "version": "2.0.1",
 | 
					    "version": "2.1.0",
 | 
				
			||||||
    "description": "Simple API for communicating with the bot of the \"iii.ru\" service.",
 | 
					    "description": "Simple API for communicating with the bot of the \"iii.ru\" service.",
 | 
				
			||||||
    "homepage": "https://github.com/valentineus/iii-client",
 | 
					    "homepage": "https://github.com/valentineus/iii-client",
 | 
				
			||||||
    "license": "MIT",
 | 
					    "license": "MIT",
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user