@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/dist/index.js +6 -6
- package/dist/index.js.map +3 -3
- package/package.json +1 -1
- package/src/entities/middleware.ts +1 -2
package/package.json
CHANGED
|
@@ -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(
|
|
32
|
+
@Inject(Keys.guardClient)
|
|
34
33
|
private readonly clientInstance: IClient
|
|
35
34
|
) {}
|
|
36
35
|
|