@feathersjs/authentication
Advanced tools
Comparing version 4.0.0-pre.2 to 4.0.0-pre.3
@@ -48,3 +48,3 @@ "use strict"; | ||
const authResult = yield authService.authenticate(authentication, authParams, ...strategies); | ||
context.params = lodash_1.merge({}, params, lodash_1.omit(authResult, 'accessToken')); | ||
context.params = lodash_1.merge({}, params, lodash_1.omit(authResult, 'accessToken'), { authenticated: true }); | ||
return context; | ||
@@ -51,0 +51,0 @@ } |
@@ -19,3 +19,3 @@ "use strict"; | ||
const config = super.configuration; | ||
return Object.assign({}, config, { entity: authConfig.entity, service: authConfig.service, header: 'Authorization', schemes: ['Bearer', 'JWT'] }); | ||
return Object.assign({ entity: authConfig.entity, service: authConfig.service, header: 'Authorization', schemes: ['Bearer', 'JWT'] }, config); | ||
} | ||
@@ -22,0 +22,0 @@ verifyConfiguration() { |
{ | ||
"name": "@feathersjs/authentication", | ||
"description": "Add Authentication to your FeathersJS app.", | ||
"version": "4.0.0-pre.2", | ||
"version": "4.0.0-pre.3", | ||
"homepage": "https://feathersjs.com", | ||
@@ -41,3 +41,3 @@ "main": "lib/", | ||
"dependencies": { | ||
"@feathersjs/errors": "^4.0.0-pre.2", | ||
"@feathersjs/errors": "^4.0.0-pre.3", | ||
"debug": "^4.1.1", | ||
@@ -49,16 +49,16 @@ "jsonwebtoken": "^8.5.1", | ||
"devDependencies": { | ||
"@feathersjs/feathers": "^4.0.0-pre.2", | ||
"@types/debug": "^4.1.3", | ||
"@feathersjs/feathers": "^4.0.0-pre.3", | ||
"@types/debug": "^4.1.4", | ||
"@types/jsonwebtoken": "^8.3.2", | ||
"@types/lodash": "^4.14.123", | ||
"@types/lodash": "^4.14.132", | ||
"@types/mocha": "^5.2.6", | ||
"@types/node": "^12.0.0", | ||
"@types/node": "^12.0.2", | ||
"@types/uuid": "^3.4.4", | ||
"feathers-memory": "^3.0.2", | ||
"mocha": "^6.0.2", | ||
"mocha": "^6.1.4", | ||
"shx": "^0.3.2", | ||
"ts-node": "^8.0.3", | ||
"typescript": "^3.4.2" | ||
"ts-node": "^8.2.0", | ||
"typescript": "^3.4.5" | ||
}, | ||
"gitHead": "d665b9470435d6db0ecddd1fb152ab4a87266c52" | ||
"gitHead": "19eb75737659e3e4b57765c1653d23c86fd2e1c3" | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
628282