@open-core/identity 1.2.1 → 1.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -23,9 +23,7 @@ The recommended way to use the identity system is through **Constructor Injectio
23
23
  ```ts
24
24
  import { Server } from "@open-core/framework";
25
25
  import { AccountService } from "@open-core/identity";
26
- import { injectable } from "tsyringe";
27
26
 
28
- @injectable()
29
27
  @Server.Controller()
30
28
  export class MyController {
31
29
  // AccountService is automatically injected
@@ -12,10 +12,10 @@ var __param = (this && this.__param) || function (paramIndex, decorator) {
12
12
  };
13
13
  import { injectable, inject } from "tsyringe";
14
14
  import { Server } from "@open-core/framework";
15
- import * as bcrypt from "bcrypt";
16
15
  import { v4 as uuidv4 } from "uuid";
17
16
  import { IDENTITY_OPTIONS } from "../../tokens";
18
17
  import { IdentityStore } from "../../contracts";
18
+ import bcrypt from "bcryptjs";
19
19
  /**
20
20
  * Authentication provider for username and password credentials.
21
21
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-core/identity",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "description": "Enterprise-grade identity, authentication, and authorization plugin for OpenCore Framework",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -39,14 +39,13 @@
39
39
  "packageManager": "pnpm@10.13.1",
40
40
  "dependencies": {
41
41
  "@open-core/framework": "^0.2.4",
42
- "bcrypt": "^6.0.0",
42
+ "bcryptjs": "^3.0.3",
43
43
  "reflect-metadata": "^0.2.2",
44
44
  "tsyringe": "^4.10.0",
45
45
  "uuid": "^13.0.0",
46
46
  "zod": "^4.1.13"
47
47
  },
48
48
  "devDependencies": {
49
- "@types/bcrypt": "^6.0.0",
50
49
  "@types/node": "^22.19.1",
51
50
  "eslint": "^9.39.1",
52
51
  "eslint-config-prettier": "^10.1.8",