Skip to content

Commit

Permalink
1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
chabokci committed Dec 26, 2018
1 parent 9dc3572 commit 2d1f61d
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 15 deletions.
6 changes: 2 additions & 4 deletions README.md
Expand Up @@ -77,9 +77,7 @@ There are a number of configuration parameters which can be set for the ChabokPu
```js
const auth = {
appId: 'APP_ID',
apiKey: 'API_KEY',
username: 'USERNAME',
password: 'PASSWORD',
webKey: 'WEB_TOKEN',
devMode: true
}
const options = {
Expand All @@ -90,7 +88,7 @@ const auth = {
silent: false,
};

const chabok = new chabokpush.Chabok(authConfig, options)
const chabok = new chabokpush.Chabok(auth, options)

chabok.on('registered', deviceId => console.log('DeviceId ', deviceId))

Expand Down
2 changes: 1 addition & 1 deletion dist/ChabokSDKWorker.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions dist/chabokpush.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "chabokpush",
"version": "1.0.3",
"version": "1.1.0",
"description": "Chabok Javascript client for browsers, React-Native, Web Workers & Node.js",
"main": "dist/chabokpush.min.js",
"homepage": "http://chabokpush.com/",
Expand Down
2 changes: 1 addition & 1 deletion sample/ChabokSDKWorker.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 2 additions & 4 deletions sample/index.html
Expand Up @@ -59,7 +59,7 @@
<nav class="navbar bg-light">
<a class="navbar-brand" href="#">
<img src="https://raw.githubusercontent.com/jangholi/chabok-assets/master/chaboklogoblue.png" height="30" class="d-inline-block align-top" alt="">
Chabok Web SDK Sample v1.0.3
Chabok Web SDK Sample v1.1.0
</a>
<button type="button" id="status" class="btn btn-danger pull-right">Disconnected</button>
</nav>
Expand Down Expand Up @@ -120,9 +120,7 @@ <h4 class="float-left">Messages List</h4>
const validFeedback = document.querySelector(".valid-feedback")
const authConfig = {
appId: 'chabok-starter',
apiKey: 'ae98537a4fb4957277374083a356d2ceb63372c4',
username: 'chabok-starter',
password: 'chabok-starter',
webKey: '1b98c60220b7e07c76142ea0635f69fb0dba5d7d',
devMode: true
};
const options = {
Expand Down

0 comments on commit 2d1f61d

Please sign in to comment.