update dependency
This commit is contained in:
parent
bea445a94c
commit
60ef75ef7c
16
package-lock.json
generated
16
package-lock.json
generated
@ -9,7 +9,7 @@
|
||||
"version": "1.0.6",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@apihub24/token-authentication": "^1.0.0",
|
||||
"@apihub24/token-authentication": "^1.0.4",
|
||||
"@nestjs/common": "^11.1.6",
|
||||
"@nestjs/config": "^4.0.2",
|
||||
"bcrypt": "^6.0.0"
|
||||
@ -38,18 +38,18 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@apihub24/repository": {
|
||||
"version": "1.0.1",
|
||||
"resolved": "https://registry.npmjs.org/@apihub24/repository/-/repository-1.0.1.tgz",
|
||||
"integrity": "sha512-ex3Z+lxsHtVKDTolJQqLHswq9SKfXzM/hWv17zsrhKqJwuGxO7CeBFM60aiuApZX9NqBhGAkPGGj9jt+F/Y9HQ==",
|
||||
"version": "1.0.3",
|
||||
"resolved": "https://registry.npmjs.org/@apihub24/repository/-/repository-1.0.3.tgz",
|
||||
"integrity": "sha512-m2twcVPrdnKAcnNQFabGzQ/18/kQUEtuqAuSzVBTEc3mxBKBQ5ex1+Cx4JP/sZ1HqdS4GisFXDa8zfrnpdcLaA==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/@apihub24/token-authentication": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/@apihub24/token-authentication/-/token-authentication-1.0.0.tgz",
|
||||
"integrity": "sha512-HbN4bumkGeJWVwRTWcNjphO36ljumQESCtY5kheEaBlOAoajqOOAP/cXq4afToIRZ9PJKdf5BPRlLU4uDKeICQ==",
|
||||
"version": "1.0.4",
|
||||
"resolved": "https://registry.npmjs.org/@apihub24/token-authentication/-/token-authentication-1.0.4.tgz",
|
||||
"integrity": "sha512-4v572LBbk9mDAthrYcI7wbm45gVki2GvZJUCKZPG7fYjR33M67+JtaVaLHy5jQ47QtOo1FF7cdF69wEq6nnn1g==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@apihub24/repository": "^1.0.1",
|
||||
"@apihub24/repository": "^1.0.3",
|
||||
"@nestjs/common": "^11.1.6",
|
||||
"@nestjs/config": "^4.0.2",
|
||||
"@nestjs/core": "^11.1.6",
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@apihub24/password-hasher",
|
||||
"version": "1.0.6",
|
||||
"version": "1.0.7",
|
||||
"description": "",
|
||||
"main": "dist/index.js",
|
||||
"types": "./dist/index.d.ts",
|
||||
@ -14,7 +14,7 @@
|
||||
"dependencies": {
|
||||
"@nestjs/common": "^11.1.6",
|
||||
"@nestjs/config": "^4.0.2",
|
||||
"@apihub24/token-authentication": "^1.0.0",
|
||||
"@apihub24/token-authentication": "^1.0.4",
|
||||
"bcrypt": "^6.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@ -1,10 +1,10 @@
|
||||
import { PasswordService } from "@apihub24/token-authentication";
|
||||
import { IPasswordService } from "@apihub24/token-authentication";
|
||||
import { Inject, Injectable } from "@nestjs/common";
|
||||
import { ConfigService } from "@nestjs/config";
|
||||
import bcrypt from "bcrypt";
|
||||
|
||||
@Injectable()
|
||||
export class PasswordHashService implements PasswordService {
|
||||
export class PasswordHashService implements IPasswordService {
|
||||
constructor(
|
||||
@Inject(ConfigService)
|
||||
private readonly configService: ConfigService
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user