Compare commits

..

2 Commits

Author SHA1 Message Date
55e65bd5d8 bump version 2024-08-08 21:26:27 -04:00
fb4290c983 update toolkit version 2024-08-08 21:25:36 -04:00
3 changed files with 5 additions and 4 deletions

View File

@ -1,5 +1,6 @@
# https://taskfile.dev
# tea releases c --asset releases/updux-4.0.0-alpha.2.tgz -p --title v4.0.0-alpha.2 --tag v4.0.0-alpha.2
version: '3'
vars:

View File

@ -25,7 +25,7 @@
"scripts": {
"docsify:serve": "docsify serve docs"
},
"version": "4.0.0-alpha.2",
"version": "4.0.0-alpha.3",
"repository": {
"type": "git",
"url": "git+https://github.com/yanick/updux.git"
@ -40,7 +40,7 @@
},
"homepage": "https://github.com/yanick/updux#readme",
"devDependencies": {
"@reduxjs/toolkit": "==2.0.0-alpha.5 ",
"@reduxjs/toolkit": "^2.2.7",
"@vitest/browser": "^0.23.1",
"@vitest/ui": "^2.0.5",
"docsify": "^4.13.1",

View File

@ -32,7 +32,7 @@ type CreateStoreOptions<D> = Partial<{
interface ActionCreator<T extends string, P, A extends Array<any>> {
type: T;
match: (
action: Action<unknown>,
action: Action<string>,
) => action is PayloadAction<P, T, never, never>;
(...args: A): PayloadAction<P, T, never, never>;
}
@ -119,7 +119,7 @@ export default class Updux<D extends DuxConfig> {
this.selectors,
);
let middleware = [effects];
let middleware = (gdm) => gdm().concat(effects);
const store: any = configureStore({
preloadedState,