Comparing version 5.2.0 to 5.3.0
@@ -19,3 +19,3 @@ "use strict"; | ||
function composeStore() { | ||
var events = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : new _dotEvent.default(); | ||
var events = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : (0, _dotEvent.default)(); | ||
var state = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; | ||
@@ -27,3 +27,2 @@ | ||
events.setOp("store"); | ||
var store = { | ||
@@ -43,2 +42,6 @@ queue: Promise.resolve(), | ||
store.time = time.bind(bind); | ||
events.setDefaultOptions({ | ||
store: store | ||
}); | ||
events.setOp("store"); | ||
return store; | ||
@@ -45,0 +48,0 @@ } |
@@ -15,3 +15,3 @@ { | ||
], | ||
"version": "5.2.0", | ||
"version": "5.3.0", | ||
"description": "Event emitter & store that promotes decoupled and readable code", | ||
@@ -32,3 +32,3 @@ "keywords": [ | ||
"@dot-store/dot-prop-immutable": "^3.1.0", | ||
"dot-event": "^2.2.0" | ||
"dot-event": "^2.3.0" | ||
}, | ||
@@ -35,0 +35,0 @@ "devDependencies": { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
20482
280
Updateddot-event@^2.3.0