diff --git a/package-lock.json b/package-lock.json index d25509a..58efbb1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,15 +1,15 @@ { "name": "@apihub24/in-memory-sessions", - "version": "1.0.4", + "version": "2.0.0-alpha.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@apihub24/in-memory-sessions", - "version": "1.0.4", + "version": "2.0.0-alpha.0", "license": "MIT", "dependencies": { - "@apihub24/authentication": "^1.0.1", + "@apihub24/authentication": "2.0.0-alpha.0", "@nestjs/common": "^11.1.6" }, "devDependencies": { @@ -36,9 +36,9 @@ } }, "node_modules/@apihub24/authentication": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@apihub24/authentication/-/authentication-1.0.1.tgz", - "integrity": "sha512-nWw75ofQKHxE0dI7PzvNBQNcQrX/HSrzuAJTYNu42BoCROba1NUz8QAodTn5+3dIeQEzw127gtSb6D7yW0B8Jg==", + "version": "2.0.0-alpha.0", + "resolved": "https://registry.npmjs.org/@apihub24/authentication/-/authentication-2.0.0-alpha.0.tgz", + "integrity": "sha512-e7ZGD2fHSo2LJFuu9/6lJ4JMq52anK1jUe5btusVbNRzAP+8lrFcwytlctLUF2Adtlg/DgLGrLzCgSm+g19TVw==", "license": "MIT" }, "node_modules/@babel/code-frame": { diff --git a/package.json b/package.json index a6730aa..d80cc03 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@apihub24/in-memory-sessions", - "version": "1.0.4", + "version": "2.0.0-alpha.0", "description": "", "main": "dist/index.js", "types": "./dist/index.d.ts", @@ -12,7 +12,7 @@ "rel": "npm i && npm run build && npm run test:coverage" }, "dependencies": { - "@apihub24/authentication": "^1.0.1", + "@apihub24/authentication": "2.0.0-alpha.0", "@nestjs/common": "^11.1.6" }, "devDependencies": { diff --git a/src/in.memory.sessions.module.spec.ts b/src/in.memory.sessions.module.spec.ts index 03bf9a6..e247a45 100644 --- a/src/in.memory.sessions.module.spec.ts +++ b/src/in.memory.sessions.module.spec.ts @@ -1,5 +1,6 @@ import { TestingModule, Test } from "@nestjs/testing"; import { InMemorySessionsModule } from "./"; +import { APIHUB24_SESSION_SERVICE } from "@apihub24/authentication"; describe("InMemorySessionsModule Tests", () => { let module: TestingModule | null = null; @@ -12,7 +13,7 @@ describe("InMemorySessionsModule Tests", () => { it("should get InMemorySessionService by injection Key", () => { expect(module).toBeDefined(); - const service = module?.get("@apihub24/session_service"); + const service = module?.get(APIHUB24_SESSION_SERVICE); expect(service).toBeDefined(); }); });