From 60ef75ef7c8d516fe2c224a51c99dc5b67a74b91 Mon Sep 17 00:00:00 2001 From: admin Date: Thu, 21 Aug 2025 21:54:53 +0200 Subject: [PATCH] update dependency --- package-lock.json | 16 ++++++++-------- package.json | 4 ++-- src/password.hash.service.ts | 4 ++-- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/package-lock.json b/package-lock.json index ffc2a6b..240fe03 100644 --- a/package-lock.json +++ b/package-lock.json @@ -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", diff --git a/package.json b/package.json index 2369856..c84135d 100644 --- a/package.json +++ b/package.json @@ -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": { diff --git a/src/password.hash.service.ts b/src/password.hash.service.ts index f7bab84..62471fb 100644 --- a/src/password.hash.service.ts +++ b/src/password.hash.service.ts @@ -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