@bool-ts/guard-sdk 1.0.2-beta.3 → 1.0.2-beta.5

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/package.json CHANGED
@@ -46,5 +46,5 @@
46
46
  "test": "bun --hot run __test/index.ts"
47
47
  },
48
48
  "types": "./dist/index.d.ts",
49
- "version": "1.0.2-beta.3"
49
+ "version": "1.0.2-beta.5"
50
50
  }
@@ -4,7 +4,6 @@ import type { IClient, TAuthState } from "../interfaces/client.interface";
4
4
  import { Middleware as BoolMiddleware, Context, Inject, RequestHeaders } from "@bool-ts/core";
5
5
  import { object, string } from "zod/v4";
6
6
  import { Keys } from "../constants";
7
- import { Client } from "../instances";
8
7
 
9
8
  const headersSchema = object({
10
9
  authorization: string()
@@ -30,7 +29,7 @@ export class Middleware implements IMiddleware {
30
29
  * @param tenantAppModesService
31
30
  */
32
31
  constructor(
33
- @Inject(Client)
32
+ @Inject(Keys.guardClient)
34
33
  private readonly clientInstance: IClient
35
34
  ) {}
36
35