New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

corvid-storeon

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

corvid-storeon - npm Package Compare versions

Comparing version

to
3.0.1

2

package.json
{
"name": "corvid-storeon",
"version": "3.0.0",
"version": "3.0.1",
"description": "A tiny event-based state manager Storeon for Corvid by Wix",

@@ -5,0 +5,0 @@ "main": "lib/es5.js",

@@ -65,3 +65,3 @@ # corvid-storeon

Latest available version: `v2.3.1` [Check status](https://www.wix.com/corvid/npm-modules)
Latest available version: `v3.0.0` [Check status](https://www.wix.com/corvid/npm-modules)

@@ -180,3 +180,3 @@ <img src="assets/cs.png" width="500" alt="Install corvid-storeon">

// Business logic
function appModule(store) {
const appModule = (store) => {
store.on("@init", () => {

@@ -193,6 +193,6 @@ return {

});
}
};
// Devtools
function logger(store) {
const logger = (store) => {
store.on("@dispatch", (state, [event, data]) => {

@@ -208,5 +208,5 @@ if (event === "@changed") {

});
}
};
export default createStoreon([
export const store = createStoreon([
appModule,

@@ -213,0 +213,0 @@ (wixWindow.viewMode === "Preview" && logger),