feathers-authentication-client
Advanced tools
Comparing version 0.3.1 to 0.3.2
# Change Log | ||
## [Unreleased](https://github.com/feathersjs/feathers-authentication-client/tree/HEAD) | ||
## [v0.3.1](https://github.com/feathersjs/feathers-authentication-client/tree/v0.3.1) (2017-03-10) | ||
[Full Changelog](https://github.com/feathersjs/feathers-authentication-client/compare/v0.3.0...v0.3.1) | ||
[Full Changelog](https://github.com/feathersjs/feathers-authentication-client/compare/v0.3.0...HEAD) | ||
**Closed issues:** | ||
- The latest tag on NPM is wrong [\#35](https://github.com/feathersjs/feathers-authentication-client/issues/35) | ||
- exp claim should be optional [\#33](https://github.com/feathersjs/feathers-authentication-client/issues/33) | ||
**Merged pull requests:** | ||
- Fix \#33 exp claim should be optional [\#34](https://github.com/feathersjs/feathers-authentication-client/pull/34) ([whollacsek](https://github.com/whollacsek)) | ||
## [v0.3.0](https://github.com/feathersjs/feathers-authentication-client/tree/v0.3.0) (2017-03-08) | ||
@@ -12,0 +16,0 @@ [Full Changelog](https://github.com/feathersjs/feathers-authentication-client/compare/v0.2.0...v0.3.0) |
@@ -293,3 +293,3 @@ 'use strict'; | ||
var app = this.app; | ||
return new Promise(function (resolve) { | ||
return new Promise(function (resolve, reject) { | ||
var accessToken = app.get('accessToken'); | ||
@@ -309,3 +309,3 @@ | ||
return resolve(token); | ||
}); | ||
}).catch(reject); | ||
}); | ||
@@ -312,0 +312,0 @@ } |
{ | ||
"name": "feathers-authentication-client", | ||
"description": "The authentication plugin for feathers-client", | ||
"version": "0.3.1", | ||
"version": "0.3.2", | ||
"homepage": "https://github.com/feathersjs/feathers-authentication-client", | ||
@@ -69,5 +69,5 @@ "main": "lib/index", | ||
"feathers-authentication-local": "^0.3.0", | ||
"feathers-hooks": "^1.6.0", | ||
"feathers-memory": "^0.8.0", | ||
"feathers-primus": "^1.4.1", | ||
"feathers-hooks": "^2.0.0", | ||
"feathers-memory": "^1.1.0", | ||
"feathers-primus": "^2.1.0", | ||
"feathers-rest": "^1.5.1", | ||
@@ -78,10 +78,10 @@ "feathers-socketio": "^1.4.1", | ||
"mocha": "^3.1.2", | ||
"primus": "^6.0.3", | ||
"primus": "^7.0.0", | ||
"primus-emitter": "^3.1.1", | ||
"rimraf": "^2.5.4", | ||
"semistandard": "^9.1.0", | ||
"semistandard": "^11.0.0", | ||
"socket.io-client": "^1.5.0", | ||
"superagent": "^2.3.0", | ||
"ws": "^1.1.1" | ||
"superagent": "^3.5.2", | ||
"ws": "^2.2.3" | ||
} | ||
} |
# feathers-authentication-client | ||
[](https://greenkeeper.io/) | ||
[](https://travis-ci.org/feathersjs/feathers-authentication-client) | ||
@@ -101,2 +103,3 @@ [](https://codeclimate.com/github/feathersjs/feathers-authentication-client) | ||
// NOTE: the order is important: auth must be configured _after_ rest/socket | ||
client.configure(hooks()) | ||
@@ -103,0 +106,0 @@ .configure(rest('http://localhost:3030').superagent(superagent)) |
164824
135