@storex/core
Advanced tools
Comparing version 1.0.16 to 1.0.17
@@ -1,3 +0,3 @@ | ||
export * from "./store"; | ||
export * from "./update"; | ||
export * from "./objectWrapper"; | ||
export * from "./dispatcher"; | ||
export * from "./dispatch"; | ||
export * from "./wrappers"; |
@@ -6,4 +6,4 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__export(require("./store")); | ||
__export(require("./update")); | ||
__export(require("./objectWrapper")); | ||
__export(require("./dispatcher")); | ||
__export(require("./dispatch")); | ||
__export(require("./wrappers")); |
@@ -1,2 +0,2 @@ | ||
import { Store } from "./"; | ||
import { Dispatcher } from "./"; | ||
export declare enum SortInsEvents { | ||
@@ -6,3 +6,3 @@ AddItem = "add-item", | ||
} | ||
export declare class StoreIns extends Store { | ||
export declare class StoreIns extends Dispatcher { | ||
args1: any[]; | ||
@@ -9,0 +9,0 @@ args2: any; |
@@ -16,3 +16,3 @@ "use strict"; | ||
const events = Object.keys(SortInsEvents); | ||
class StoreIns extends _1.Store { | ||
class StoreIns extends _1.Dispatcher { | ||
constructor() { | ||
@@ -34,13 +34,13 @@ super({ events }); | ||
__decorate([ | ||
_1.update([SortInsEvents.AddItem]) | ||
_1.dispatch([SortInsEvents.AddItem]) | ||
], StoreIns.prototype, "action1", null); | ||
__decorate([ | ||
_1.update() | ||
_1.dispatch() | ||
], StoreIns.prototype, "action2", null); | ||
__decorate([ | ||
_1.update() | ||
_1.dispatch() | ||
], StoreIns.prototype, "action3", null); | ||
__decorate([ | ||
_1.update() | ||
_1.dispatch() | ||
], StoreIns.prototype, "action4", null); | ||
exports.StoreIns = StoreIns; |
{ | ||
"name": "@storex/core", | ||
"version": "1.0.16", | ||
"version": "1.0.17", | ||
"description": "Binding store to your app", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
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
11067
21
300
1