@nauth-toolkit/client 0.1.49 → 0.1.50
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/angular/index.cjs +220 -166
- package/dist/angular/index.cjs.map +1 -1
- package/dist/angular/index.d.mts +2 -3
- package/dist/angular/index.d.ts +2 -3
- package/dist/angular/index.mjs +223 -180
- package/dist/angular/index.mjs.map +1 -1
- package/package.json +6 -3
package/dist/angular/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { InjectionToken,
|
|
1
|
+
import { InjectionToken, ModuleWithProviders } from '@angular/core';
|
|
2
2
|
import * as rxjs from 'rxjs';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
4
|
import * as _angular_common_http from '@angular/common/http';
|
|
@@ -1335,7 +1335,6 @@ declare class NAuthClient {
|
|
|
1335
1335
|
* ```
|
|
1336
1336
|
*/
|
|
1337
1337
|
declare class AuthService {
|
|
1338
|
-
private injector?;
|
|
1339
1338
|
private readonly client;
|
|
1340
1339
|
private readonly config;
|
|
1341
1340
|
private readonly currentUserSubject;
|
|
@@ -1349,7 +1348,7 @@ declare class AuthService {
|
|
|
1349
1348
|
* Note: AngularHttpAdapter is automatically injected via Angular DI.
|
|
1350
1349
|
* This ensures all requests go through Angular's HttpClient and interceptors.
|
|
1351
1350
|
*/
|
|
1352
|
-
constructor(config?: NAuthClientConfig
|
|
1351
|
+
constructor(config?: NAuthClientConfig);
|
|
1353
1352
|
/**
|
|
1354
1353
|
* Current user observable.
|
|
1355
1354
|
*/
|
package/dist/angular/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { InjectionToken,
|
|
1
|
+
import { InjectionToken, ModuleWithProviders } from '@angular/core';
|
|
2
2
|
import * as rxjs from 'rxjs';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
4
|
import * as _angular_common_http from '@angular/common/http';
|
|
@@ -1335,7 +1335,6 @@ declare class NAuthClient {
|
|
|
1335
1335
|
* ```
|
|
1336
1336
|
*/
|
|
1337
1337
|
declare class AuthService {
|
|
1338
|
-
private injector?;
|
|
1339
1338
|
private readonly client;
|
|
1340
1339
|
private readonly config;
|
|
1341
1340
|
private readonly currentUserSubject;
|
|
@@ -1349,7 +1348,7 @@ declare class AuthService {
|
|
|
1349
1348
|
* Note: AngularHttpAdapter is automatically injected via Angular DI.
|
|
1350
1349
|
* This ensures all requests go through Angular's HttpClient and interceptors.
|
|
1351
1350
|
*/
|
|
1352
|
-
constructor(config?: NAuthClientConfig
|
|
1351
|
+
constructor(config?: NAuthClientConfig);
|
|
1353
1352
|
/**
|
|
1354
1353
|
* Current user observable.
|
|
1355
1354
|
*/
|