@feathersjs/authentication-local
Advanced tools
Comparing version 4.3.11 to 4.4.0
@@ -6,2 +6,13 @@ # Change Log | ||
# [4.4.0](https://github.com/feathersjs/feathers/compare/v4.3.11...v4.4.0) (2019-11-27) | ||
### Features | ||
* **authentication:** Add parseStrategies to allow separate strategies for creating JWTs and parsing headers ([#1708](https://github.com/feathersjs/feathers/issues/1708)) ([5e65629](https://github.com/feathersjs/feathers/commit/5e65629b924724c3e81d7c81df047e123d1c8bd7)) | ||
## [4.3.11](https://github.com/feathersjs/feathers/compare/v4.3.10...v4.3.11) (2019-11-11) | ||
@@ -8,0 +19,0 @@ |
@@ -0,1 +1,4 @@ | ||
/// <reference types="@feathersjs/transport-commons/lib/routing" /> | ||
/// <reference types="@feathersjs/transport-commons/lib/channels" /> | ||
/// <reference types="@feathersjs/authentication/lib/service" /> | ||
import { HookContext } from '@feathersjs/feathers'; | ||
@@ -6,2 +9,2 @@ export interface HashPasswordOptions { | ||
} | ||
export default function hashPassword(field: string, options?: HashPasswordOptions): (context: HookContext<any>) => Promise<HookContext<any>>; | ||
export default function hashPassword(field: string, options?: HashPasswordOptions): (context: HookContext<any, import("@feathersjs/feathers").Service<any>>) => Promise<HookContext<any, import("@feathersjs/feathers").Service<any>>>; |
@@ -0,3 +1,6 @@ | ||
/// <reference types="@feathersjs/transport-commons/lib/routing" /> | ||
/// <reference types="@feathersjs/transport-commons/lib/channels" /> | ||
/// <reference types="@feathersjs/authentication/lib/service" /> | ||
import { HookContext } from '@feathersjs/feathers'; | ||
declare const _default: (...fields: string[]) => (context: HookContext<any>) => HookContext<any>; | ||
declare const _default: (...fields: string[]) => (context: HookContext<any, import("@feathersjs/feathers").Service<any>>) => HookContext<any, import("@feathersjs/feathers").Service<any>>; | ||
export default _default; |
@@ -7,4 +7,4 @@ /// <reference types="@feathersjs/transport-commons/lib/routing" /> | ||
hashPassword: typeof hashPassword; | ||
protect: (...fields: string[]) => (context: import("@feathersjs/feathers").HookContext<any>) => import("@feathersjs/feathers").HookContext<any>; | ||
protect: (...fields: string[]) => (context: import("@feathersjs/feathers").HookContext<any, import("@feathersjs/feathers").Service<any>>) => import("@feathersjs/feathers").HookContext<any, import("@feathersjs/feathers").Service<any>>; | ||
}; | ||
export { LocalStrategy } from './strategy'; |
{ | ||
"name": "@feathersjs/authentication-local", | ||
"description": "Local authentication strategy for @feathers/authentication", | ||
"version": "4.3.11", | ||
"version": "4.4.0", | ||
"homepage": "https://feathersjs.com", | ||
@@ -31,3 +31,3 @@ "main": "lib/", | ||
"engines": { | ||
"node": ">= 6" | ||
"node": ">= 12" | ||
}, | ||
@@ -47,5 +47,5 @@ "scripts": { | ||
"dependencies": { | ||
"@feathersjs/authentication": "^4.3.11", | ||
"@feathersjs/errors": "^4.3.11", | ||
"@feathersjs/feathers": "^4.3.11", | ||
"@feathersjs/authentication": "^4.4.0", | ||
"@feathersjs/errors": "^4.4.0", | ||
"@feathersjs/feathers": "^4.4.0", | ||
"bcryptjs": "^2.4.3", | ||
@@ -66,3 +66,3 @@ "debug": "^4.1.1", | ||
}, | ||
"gitHead": "2d95bfd7a7cf064ef95925649b45b3ebecdb86c4" | ||
"gitHead": "e157e5f1e149a843377cb38f0a72ac191ecc3b45" | ||
} |
284737
1426