update dependency

This commit is contained in:
admin 2025-08-21 21:54:53 +02:00
parent bea445a94c
commit 60ef75ef7c
3 changed files with 12 additions and 12 deletions

16
package-lock.json generated
View File

@ -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",

View File

@ -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": {

View File

@ -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