Comparing version 2.0.0 to 2.0.1
@@ -11,3 +11,3 @@ export interface IReduces<State> { | ||
export interface IActions<State> { | ||
[key: string]: (this: IStore<State> & IGetters<State> & IActions<State> & IMutations<State>, type: string, ...args: any[]) => any; | ||
[key: string]: (this: IStore<State> & IGetters<State> & IActions<State> & IMutations<State>, ...args: any[]) => any; | ||
} | ||
@@ -25,2 +25,3 @@ export interface IMutations<State> { | ||
}; | ||
getState: () => State; | ||
dispatch: (...args: any[]) => any; | ||
@@ -27,0 +28,0 @@ } |
@@ -20,4 +20,3 @@ declare class StoreModule { | ||
setActions(store: any): void; | ||
getter(name: string): void; | ||
dispatch(action: any, ...args: any): any; | ||
dispatch(action: any, ...args: any[]): any; | ||
getState(): any; | ||
@@ -24,0 +23,0 @@ } |
@@ -196,3 +196,2 @@ "use strict"; | ||
} | ||
getter(name) { } | ||
dispatch(action, ...args) { | ||
@@ -199,0 +198,0 @@ return this.store.dispatch({ |
{ | ||
"name": "kpdux", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "js lib", | ||
"author": "Kris Papercut <kearis666@gmail.com>", | ||
"license": "ISC", | ||
"main": "lib/index.js", | ||
"types": "lib/index.d.ts", | ||
"main": "./lib/index.js", | ||
"types": "./lib/index.d.ts", | ||
"keywords": [ | ||
@@ -10,0 +10,0 @@ "kp", |
AI-detected possible typosquat
Supply chain riskAI has identified this package as a potential typosquat of a more popular package. This suggests that the package may be intentionally mimicking another package's name, description, or other metadata.
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
27812
759