@flusys/ng-auth 1.0.0-rc → 1.0.1
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 +3 -4
- package/fesm2022/flusys-ng-auth.mjs +622 -1272
- package/fesm2022/flusys-ng-auth.mjs.map +1 -1
- package/package.json +12 -12
- package/types/flusys-ng-auth.d.ts +70 -667
package/README.md
CHANGED
|
@@ -324,7 +324,7 @@ provideHttpClient(
|
|
|
324
324
|
Centralized endpoint definitions used by interceptors.
|
|
325
325
|
|
|
326
326
|
```typescript
|
|
327
|
-
import { AUTH_ENDPOINTS,
|
|
327
|
+
import { AUTH_ENDPOINTS, isEndpoint } from '@flusys/ng-auth';
|
|
328
328
|
|
|
329
329
|
// Endpoint constants
|
|
330
330
|
AUTH_ENDPOINTS.LOGIN // '/auth/login'
|
|
@@ -334,8 +334,7 @@ AUTH_ENDPOINTS.REGISTER // '/auth/register'
|
|
|
334
334
|
AUTH_ENDPOINTS.SELECT // '/auth/select'
|
|
335
335
|
AUTH_ENDPOINTS.SWITCH_COMPANY // '/auth/switch-company'
|
|
336
336
|
|
|
337
|
-
// Helper
|
|
338
|
-
isAuthEndpoint(url); // Check if URL is any auth endpoint
|
|
337
|
+
// Helper function
|
|
339
338
|
isEndpoint(url, endpoint); // Check if URL matches specific endpoint
|
|
340
339
|
```
|
|
341
340
|
|
|
@@ -1092,7 +1091,7 @@ If using `*hasPermission` directive, it will also respect wildcard:
|
|
|
1092
1091
|
|
|
1093
1092
|
---
|
|
1094
1093
|
|
|
1095
|
-
**Last Updated:** 2026-02-
|
|
1094
|
+
**Last Updated:** 2026-02-21
|
|
1096
1095
|
**Angular Version:** 21
|
|
1097
1096
|
|
|
1098
1097
|
## Component Checklist
|