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

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
@@ -30,7 +30,7 @@
30
30
  "main": "./dist/index.js",
31
31
  "name": "@bool-ts/guard-sdk",
32
32
  "peerDependencies": {
33
- "@bool-ts/core": "^2.0.3",
33
+ "@bool-ts/core": "^2.0.4",
34
34
  "reflect-metadata": "^0.2.2"
35
35
  },
36
36
  "private": false,
@@ -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.2"
49
+ "version": "1.0.2-beta.3"
50
50
  }
@@ -1,4 +1,6 @@
1
- export const authState = Symbol("__boolGuard::authState");
2
- export const guardMetadata = Symbol("__boolGuard::guardMetadata");
3
- export const service = Symbol("__boolGuard::authService");
4
- export const guardClient = Symbol("__boolGuard::guardClient");
1
+ const prefix = "boolGuard";
2
+
3
+ export const authState = Symbol.for(`__${prefix}::authState`);
4
+ export const guardMetadata = Symbol.for(`__${prefix}::guardMetadata`);
5
+ export const service = Symbol.for(`__${prefix}::authService`);
6
+ export const guardClient = Symbol.for(`__${prefix}::guardClient`);