@ngxs/router-plugin
Advanced tools
Comparing version 3.8.2-dev.master-59b0c4a to 3.8.2-dev.master-612d6fd
{ | ||
"name": "@ngxs/router-plugin", | ||
"description": "router plugin for @ngxs/store", | ||
"version": "3.8.2-dev.master-59b0c4a", | ||
"version": "3.8.2-dev.master-612d6fd", | ||
"sideEffects": false, | ||
@@ -12,7 +12,3 @@ "peerDependencies": { | ||
}, | ||
"module": "fesm2015/ngxs-router-plugin.mjs", | ||
"es2020": "fesm2020/ngxs-router-plugin.mjs", | ||
"esm2020": "esm2020/ngxs-router-plugin.mjs", | ||
"fesm2020": "fesm2020/ngxs-router-plugin.mjs", | ||
"fesm2015": "fesm2015/ngxs-router-plugin.mjs", | ||
"module": "fesm2022/ngxs-router-plugin.mjs", | ||
"typings": "index.d.ts", | ||
@@ -25,15 +21,11 @@ "exports": { | ||
"types": "./index.d.ts", | ||
"esm2020": "./esm2020/ngxs-router-plugin.mjs", | ||
"es2020": "./fesm2020/ngxs-router-plugin.mjs", | ||
"es2015": "./fesm2015/ngxs-router-plugin.mjs", | ||
"node": "./fesm2015/ngxs-router-plugin.mjs", | ||
"default": "./fesm2020/ngxs-router-plugin.mjs" | ||
"esm2022": "./esm2022/ngxs-router-plugin.mjs", | ||
"esm": "./esm2022/ngxs-router-plugin.mjs", | ||
"default": "./fesm2022/ngxs-router-plugin.mjs" | ||
}, | ||
"./internals": { | ||
"types": "./internals/index.d.ts", | ||
"esm2020": "./esm2020/internals/ngxs-router-plugin-internals.mjs", | ||
"es2020": "./fesm2020/ngxs-router-plugin-internals.mjs", | ||
"es2015": "./fesm2015/ngxs-router-plugin-internals.mjs", | ||
"node": "./fesm2015/ngxs-router-plugin-internals.mjs", | ||
"default": "./fesm2020/ngxs-router-plugin-internals.mjs" | ||
"esm2022": "./esm2022/internals/ngxs-router-plugin-internals.mjs", | ||
"esm": "./esm2022/internals/ngxs-router-plugin-internals.mjs", | ||
"default": "./fesm2022/ngxs-router-plugin-internals.mjs" | ||
} | ||
@@ -40,0 +32,0 @@ }, |
export { NgxsRouterPluginModule, withNgxsRouterPlugin } from './router.module'; | ||
export { RouterState, RouterStateModel } from './router.state'; | ||
export { ROUTER_STATE_TOKEN, RouterState, RouterStateModel } from './router.state'; | ||
export { RouterStateSerializer, DefaultRouterStateSerializer, SerializedRouterStateSnapshot } from './serializer'; | ||
export * from './router.actions'; | ||
export { NavigationActionTiming, NgxsRouterPluginOptions } from '@ngxs/router-plugin/internals'; |
@@ -83,2 +83,2 @@ import { NavigationCancel, NavigationError, NavigationExtras, Params, RouterStateSnapshot, RoutesRecognized, ResolveEnd, NavigationStart, NavigationEnd } from '@angular/router'; | ||
*/ | ||
export declare type RouterAction<T, V = RouterStateSnapshot> = RouterRequest<V> | RouterNavigation<V> | RouterCancel<T, V> | RouterError<T, V> | RouterDataResolved<V> | RouterNavigated<V>; | ||
export type RouterAction<T, V = RouterStateSnapshot> = RouterRequest<V> | RouterNavigation<V> | RouterCancel<T, V> | RouterError<T, V> | RouterDataResolved<V> | RouterNavigated<V>; |
import { NgZone, OnDestroy, Injector } from '@angular/core'; | ||
import { Router, RouterStateSnapshot } from '@angular/router'; | ||
import { StateContext, Store } from '@ngxs/store'; | ||
import { StateContext, StateToken, Store } from '@ngxs/store'; | ||
import { Navigate, RouterAction } from './router.actions'; | ||
@@ -12,3 +12,4 @@ import { RouterStateSerializer } from './serializer'; | ||
} | ||
export declare type RouterTrigger = 'none' | 'router' | 'store' | 'devtools'; | ||
export type RouterTrigger = 'none' | 'router' | 'store' | 'devtools'; | ||
export declare const ROUTER_STATE_TOKEN: StateToken<RouterStateModel<RouterStateSnapshot>>; | ||
export declare class RouterState implements OnDestroy { | ||
@@ -15,0 +16,0 @@ private _store; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
108548
24
1006
1