@feathersjs/authentication-oauth
Advanced tools
Comparing version 4.5.6 to 4.5.7
@@ -6,2 +6,13 @@ # Change Log | ||
## [4.5.7](https://github.com/feathersjs/feathers/compare/v4.5.6...v4.5.7) (2020-07-24) | ||
### Bug Fixes | ||
* **typescript:** Revert add overload types for `find` service methods ([#1972](https://github.com/feathersjs/feathers/issues/1972))" ([#2025](https://github.com/feathersjs/feathers/issues/2025)) ([a9501ac](https://github.com/feathersjs/feathers/commit/a9501acb4d3ef58dfb87d62c57a9bf76569da281)) | ||
## [4.5.6](https://github.com/feathersjs/feathers/compare/v4.5.5...v4.5.6) (2020-07-12) | ||
@@ -8,0 +19,0 @@ |
@@ -107,3 +107,3 @@ "use strict"; | ||
const result = yield this.entityService.find(Object.assign(Object.assign({}, params), { query })); | ||
const [entity = null] = Array.isArray(result) ? result : result.data; | ||
const [entity = null] = result.data ? result.data : result; | ||
debug('findEntity returning', entity); | ||
@@ -110,0 +110,0 @@ return entity; |
{ | ||
"name": "@feathersjs/authentication-oauth", | ||
"description": "oAuth 1 and 2 authentication for Feathers. Powered by Grant.", | ||
"version": "4.5.6", | ||
"version": "4.5.7", | ||
"homepage": "https://feathersjs.com", | ||
@@ -46,6 +46,6 @@ "main": "lib/", | ||
"dependencies": { | ||
"@feathersjs/authentication": "^4.5.6", | ||
"@feathersjs/errors": "^4.5.5", | ||
"@feathersjs/express": "^4.5.6", | ||
"@feathersjs/feathers": "^4.5.5", | ||
"@feathersjs/authentication": "^4.5.7", | ||
"@feathersjs/errors": "^4.5.7", | ||
"@feathersjs/express": "^4.5.7", | ||
"@feathersjs/feathers": "^4.5.7", | ||
"debug": "^4.1.1", | ||
@@ -61,5 +61,5 @@ "express-session": "^1.17.1", | ||
"@types/express-session": "^1.17.0", | ||
"@types/lodash": "^4.14.157", | ||
"@types/mocha": "^7.0.2", | ||
"@types/node": "^14.0.22", | ||
"@types/lodash": "^4.14.158", | ||
"@types/mocha": "^8.0.0", | ||
"@types/node": "^14.0.25", | ||
"axios": "^0.19.2", | ||
@@ -69,5 +69,5 @@ "mocha": "^8.0.1", | ||
"ts-node": "^8.10.2", | ||
"typescript": "^3.9.6" | ||
"typescript": "^3.9.7" | ||
}, | ||
"gitHead": "be8edf9d6828fe568a6fb8b0b8b0371a8cb6875d" | ||
"gitHead": "a1a8ee535b4337ff8132858095eabf0969c3b6d3" | ||
} |
@@ -106,5 +106,4 @@ // @ts-ignore | ||
}); | ||
const [ entity = null ] = result.data ? result.data : result; | ||
const [ entity = null ] = Array.isArray(result) ? result : result.data | ||
debug('findEntity returning', entity); | ||
@@ -111,0 +110,0 @@ |
Sorry, the diff of this file is not supported yet
53648
Updated@feathersjs/errors@^4.5.7
Updated@feathersjs/express@^4.5.7
Updated@feathersjs/feathers@^4.5.7