@hichchi/ngx-auth 0.0.7 → 0.0.8
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 +108 -109
- package/fesm2022/hichchi-ngx-auth.mjs +0 -1
- package/fesm2022/hichchi-ngx-auth.mjs.map +1 -1
- package/package.json +5 -5
- package/types/hichchi-ngx-auth.d.ts +2 -3
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hichchi/ngx-auth",
|
|
3
3
|
"description": "A utility library for Angular applications with common services, interceptors, and state management",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.8",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -19,10 +19,10 @@
|
|
|
19
19
|
"@angular/core": "^21.1.4",
|
|
20
20
|
"@angular/forms": "^21.1.4",
|
|
21
21
|
"@angular/router": "^21.1.4",
|
|
22
|
-
"@hichchi/nest-connector": "0.0.
|
|
23
|
-
"@hichchi/ngx-ui": "0.0.
|
|
24
|
-
"@hichchi/ngx-utils": "0.0.
|
|
25
|
-
"@hichchi/utils": "0.0.
|
|
22
|
+
"@hichchi/nest-connector": "0.0.8",
|
|
23
|
+
"@hichchi/ngx-ui": "0.0.8",
|
|
24
|
+
"@hichchi/ngx-utils": "0.0.8",
|
|
25
|
+
"@hichchi/utils": "0.0.8",
|
|
26
26
|
"@ngrx/signals": "^21.0.1",
|
|
27
27
|
"rxjs": "^7.8.2"
|
|
28
28
|
},
|
|
@@ -233,7 +233,7 @@ declare class AuthFormComponent {
|
|
|
233
233
|
authState: {
|
|
234
234
|
signedIn: _angular_core.Signal<boolean>;
|
|
235
235
|
sessionId: _angular_core.Signal<string | null>;
|
|
236
|
-
user: _angular_core.Signal<User<string, string> | null>;
|
|
236
|
+
user: _angular_core.Signal<User<string, string, _hichchi_nest_connector_auth.TenantSlug> | null>;
|
|
237
237
|
accessToken: _angular_core.Signal<_hichchi_nest_connector_auth.AccessToken | null>;
|
|
238
238
|
refreshToken: _angular_core.Signal<_hichchi_nest_connector_auth.RefreshToken | null>;
|
|
239
239
|
accessTokenExpiresOn: _angular_core.Signal<Date | null>;
|
|
@@ -862,7 +862,7 @@ interface AuthStateModel<Data extends object = object> {
|
|
|
862
862
|
declare const AuthState: _angular_core.Type<{
|
|
863
863
|
signedIn: Signal<boolean>;
|
|
864
864
|
sessionId: Signal<string | null>;
|
|
865
|
-
user: Signal<User<string, string> | null>;
|
|
865
|
+
user: Signal<User<string, string, _hichchi_nest_connector_auth.TenantSlug> | null>;
|
|
866
866
|
accessToken: Signal<AccessToken | null>;
|
|
867
867
|
refreshToken: Signal<RefreshToken | null>;
|
|
868
868
|
accessTokenExpiresOn: Signal<Date | null>;
|
|
@@ -1352,7 +1352,6 @@ declare class NgxHichchiAuthModule {
|
|
|
1352
1352
|
* @see {@link AuthConfig} Interface defining the configuration structure
|
|
1353
1353
|
* @see {@link AUTH_CONFIG} Injection token for the authentication configuration
|
|
1354
1354
|
* @see {@link AuthService} Service that uses the provided configuration
|
|
1355
|
-
* @see {@link TENANT_HEADER_KEY} Constant used to attach tenant header to requests
|
|
1356
1355
|
*/
|
|
1357
1356
|
static forRoot(config: AuthConfig): ModuleWithProviders<NgxHichchiAuthModule>;
|
|
1358
1357
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgxHichchiAuthModule, never>;
|