@dereekb/dbx-core 9.5.5 → 9.6.2
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/esm2020/lib/auth/router/provider/uirouter/hook.mjs +5 -5
- package/fesm2015/dereekb-dbx-core.mjs +4 -4
- package/fesm2015/dereekb-dbx-core.mjs.map +1 -1
- package/fesm2020/dereekb-dbx-core.mjs +4 -4
- package/fesm2020/dereekb-dbx-core.mjs.map +1 -1
- package/lib/auth/router/provider/uirouter/hook.d.ts +5 -1
- package/package.json +4 -4
|
@@ -2,7 +2,7 @@ import { TransitionHookFn, Transition, UIInjector } from '@uirouter/core';
|
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
import { SegueRefOrSegueRefRouterLink } from './../../../../router/segue';
|
|
4
4
|
import { DbxAuthService } from '../../../service/auth.service';
|
|
5
|
-
import { FactoryWithRequiredInput, Maybe } from '@dereekb/util';
|
|
5
|
+
import { FactoryWithRequiredInput, Maybe, Milliseconds } from '@dereekb/util';
|
|
6
6
|
import { Injector } from '@angular/core';
|
|
7
7
|
/**
|
|
8
8
|
* authTransitionHookFn() configuration. The values are handled as:
|
|
@@ -28,6 +28,10 @@ export interface AuthTransitionHookOptions {
|
|
|
28
28
|
* The state to redirect the user to. Defaults to defaultRedirectTarget.
|
|
29
29
|
*/
|
|
30
30
|
errorRedirectTarget?: string;
|
|
31
|
+
/**
|
|
32
|
+
* Timeout time for the decision obs. Defaults to 1000ms.
|
|
33
|
+
*/
|
|
34
|
+
timeoutTime?: Milliseconds;
|
|
31
35
|
}
|
|
32
36
|
export interface AuthTransitionHookConfig extends AuthTransitionHookOptions {
|
|
33
37
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dereekb/dbx-core",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.6.2",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "^14.0.0",
|
|
6
6
|
"@angular/core": "^14.0.0",
|
|
@@ -9,12 +9,12 @@
|
|
|
9
9
|
"@ngrx/effects": "^14.0.0",
|
|
10
10
|
"@ngrx/entity": "^14.0.0",
|
|
11
11
|
"@ngrx/store": "^14.0.0",
|
|
12
|
-
"@dereekb/util": "9.
|
|
13
|
-
"@dereekb/rxjs": "9.
|
|
12
|
+
"@dereekb/util": "9.6.2",
|
|
13
|
+
"@dereekb/rxjs": "9.6.2",
|
|
14
14
|
"@angular/platform-browser": "^14.0.0",
|
|
15
15
|
"@uirouter/core": "^6.0.8",
|
|
16
16
|
"date-fns": "^2.29.0",
|
|
17
|
-
"@dereekb/date": "9.
|
|
17
|
+
"@dereekb/date": "9.6.2",
|
|
18
18
|
"@angular/router": "^14.0.0"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|