@spryker/actions
Advanced tools
Comparing version 0.2.0-rc.1 to 0.2.0-rc.2
@@ -6,2 +6,15 @@ # Change Log | ||
# [0.2.0-rc.2](https://github.com/spryker/ui-components/compare/@spryker/actions@0.2.0-rc.1...@spryker/actions@0.2.0-rc.2) (2021-12-28) | ||
### Features | ||
* migrated libraries from `tslint` to `eslint` ([b14f937](https://github.com/spryker/ui-components/commit/b14f937bfd7803341e6626dd491484aa4d9b1344)) | ||
* migrated storybook to the latest version ([cac4528](https://github.com/spryker/ui-components/commit/cac45288f9644fc20c4cff6b4a658a74130fbe2e)) | ||
* migrated to `nx` v13 ([6b67e50](https://github.com/spryker/ui-components/commit/6b67e504a2ff8e8a840f70e12aae056c31698b47)) | ||
# [0.2.0-rc.1](https://github.com/spryker/ui-components/compare/@spryker/actions@0.2.0-rc.0...@spryker/actions@0.2.0-rc.1) (2021-12-01) | ||
@@ -8,0 +21,0 @@ |
import { ModuleWithProviders } from '@angular/core'; | ||
import { ActionTypesDeclaration } from './types'; | ||
import * as i0 from "@angular/core"; | ||
import * as i1 from "@angular/common"; | ||
export declare class ActionsModule { | ||
static withActions(actions: ActionTypesDeclaration): ModuleWithProviders<ActionsModule>; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<ActionsModule, never>; | ||
static ɵmod: i0.ɵɵNgModuleDeclaration<ActionsModule, never, [typeof i1.CommonModule], never>; | ||
static ɵinj: i0.ɵɵInjectorDeclaration<ActionsModule>; | ||
} |
import { Injector } from '@angular/core'; | ||
import { InjectionTokenType } from '@spryker/utils'; | ||
import { ActionTypesToken } from './token'; | ||
import { ActionConfig, ActionsRegistry, ActionType, InferActionContext, InferActionReturn } from './types'; | ||
import { Observable } from 'rxjs'; | ||
import * as i0 from "@angular/core"; | ||
export declare class ActionsService { | ||
@@ -8,5 +11,7 @@ private injector; | ||
private actionHandlerTypes; | ||
constructor(injector: Injector, actionHandlers?: import("@spryker/utils").RegistryDeclaration<ActionsRegistry>[] | undefined); | ||
constructor(injector: Injector, actionHandlers?: InjectionTokenType<typeof ActionTypesToken>); | ||
trigger<C extends ActionConfig>(injector: Injector, config: C, context: InferActionContext<C['type']>): Observable<InferActionReturn<C['type']>>; | ||
isActionRegisteredType(type: ActionType): type is keyof ActionsRegistry; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<ActionsService, [null, { optional: true; }]>; | ||
static ɵprov: i0.ɵɵInjectableDeclaration<ActionsService>; | ||
} |
{ | ||
"name": "@spryker/actions", | ||
"version": "0.2.0-rc.1", | ||
"version": "0.2.0-rc.2", | ||
"peerDependencies": { | ||
"@angular/common": "^12.2.12", | ||
"@angular/core": "^12.2.12", | ||
"@angular/common": "^13.0.0", | ||
"@angular/core": "^13.0.0", | ||
"@spryker/utils": "^0.3.0", | ||
"deepmerge": "^4.2.2", | ||
"rxjs": "^7.4.0", | ||
"deepmerge": "^4.2.2", | ||
"@angular/cdk": "^12.2.12" | ||
"@angular/cdk": "^13.0.0" | ||
}, | ||
@@ -18,10 +18,22 @@ "dependencies": { | ||
}, | ||
"main": "bundles/spryker-actions.umd.js", | ||
"module": "fesm2015/spryker-actions.js", | ||
"es2015": "fesm2015/spryker-actions.js", | ||
"esm2015": "esm2015/spryker-actions.js", | ||
"fesm2015": "fesm2015/spryker-actions.js", | ||
"module": "fesm2015/spryker-actions.mjs", | ||
"es2020": "fesm2020/spryker-actions.mjs", | ||
"esm2020": "esm2020/spryker-actions.mjs", | ||
"fesm2020": "fesm2020/spryker-actions.mjs", | ||
"fesm2015": "fesm2015/spryker-actions.mjs", | ||
"typings": "spryker-actions.d.ts", | ||
"metadata": "spryker-actions.metadata.json", | ||
"exports": { | ||
"./package.json": { | ||
"default": "./package.json" | ||
}, | ||
".": { | ||
"types": "./spryker-actions.d.ts", | ||
"esm2020": "./esm2020/spryker-actions.mjs", | ||
"es2020": "./fesm2020/spryker-actions.mjs", | ||
"es2015": "./fesm2015/spryker-actions.mjs", | ||
"node": "./fesm2015/spryker-actions.mjs", | ||
"default": "./fesm2020/spryker-actions.mjs" | ||
} | ||
}, | ||
"sideEffects": false | ||
} |
/** | ||
* Generated bundle index. Do not edit. | ||
*/ | ||
/// <amd-module name="@spryker/actions" /> | ||
export * from './index'; |
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
257
38884
20
1